Page 1 of 1

Trying to run Keyboard with Game

Posted: Tue Dec 27, 2005 8:23 pm
by angola
Hi and Merry Xmas.

I'm new here and have little intention of getting seriously into PS2 development, but I have a problem that is causing me massive headaches.

I have a game in development and I need to run it with a keyboard to access cheat codes etc. However I'm running a Pstwo (slimline) with a Matrix Infinity 1.54 chip, and there is no keyboard support included in the game.

As I understand it I need to somehow get the usbd.irx driver to run at the same time as the game. My guess is that I could unpack the original DVD, add the usbd.irx file, edit the Elf to call the driver and repack the whole thing onto a burned DVD. But I have no idea how, nor what tools I would need to do this. Could someone explain how this could be done? And please use idiot-proof explanations as this is the first time I've fooled around with PS2 stuff.

BTW: It's a bit embarassing to get back to the developer on this (believe me!) so I really need to solve this without them.

Posted: Tue Dec 27, 2005 10:05 pm
by weltall
from what i understand you are talking about a official game. if so you can't do this. also if you get to load the driver there won't be anything listening to keyboard event, so it's useless. if you talk about cheat codes from pc they won't work in any way better using a cheat device or checking sites like gamefaqs.

Posted: Tue Dec 27, 2005 11:11 pm
by angola
Thanks weltall. It's an official game in development that I'm officially working on, so I don't think there are any legal problems (if that was what you meant.)

The keyboard events should be picked up as the cheats are implemented in the debug version of the game I have. The problem is that I should have a debug console available with a keyboard, but for complicated reasons I don't. I therefore need to get this workaround to work.

Any help would be much appreciated.

Posted: Wed Dec 28, 2005 3:58 am
by Drakonite
We don't do official game hacking here.

If you really are an official dev then you should be going through the proper channels.

Posted: Wed Dec 28, 2005 8:03 pm
by angola
Ok, Drakonite. Though it's hardly a hack that could upset anyone I understand your point of view.

I guess I'll just have to swallow my pride and go through the proper channels as you suggest.

Posted: Thu Dec 29, 2005 6:31 am
by J.F.
It's not a matter of pride, it's a matter of getting your money's worth. You paid through the nose to get official developer status. You should take any opportunity to take advantage of it. Not using the developer support when you pay for it is like buying a Ferrari and then refusing to go to the dealer to get the scheduled oil change done under warranty and instead going to Jiffy-Lube. :)

Besides, Sony's developer channel probably has several examples of adding keyboard support to a program.