Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Hi, I would like to know how to automatically send button presses in my emulator config for PC Engine CD games. I know how to SendKeys in advanced configuration, but not how to send joystick buttons.

The reason being, for every PC Engine CD game, you have to press Run (Start) to load the CD every time, and I would like to run these games in the screensaver.

I would rather not use JoyToKey as I emulate many computers that use keyboards.

Posted

If you use MagicEngine you can choose 'keyboard' and map additional keys as well as joystick keys. I haven't put this to practice yet, but it's on my short list so I can map save and load state keys in xpadder, and when I looked it over it seems this is indeed doable. You could map a run key to the keyboard and then use SendKeys.

I'll try and map some kbd keys and see it it actually works.

Posted

Thanks Adultery, but I don't own a copy of MagicEngine. I find Ootake to be very good instead, and free.

Posted

Ah, then I can't help I'm afraid. I'll have to hand this off to another resident. :)

Sorry bud.

Posted

Hi, I would like to know how to automatically send button presses in my emulator config for PC Engine CD games. I know how to SendKeys in advanced configuration, but not how to send joystick buttons.

The reason being, for every PC Engine CD game, you have to press Run (Start) to load the CD every time, and I would like to run these games in the screensaver.

I would rather not use JoyToKey as I emulate many computers that use keyboards.

What's your command-line please?

Posted

Command Line: ootake.exe SYSCARD.pce

Launch Before: ""C:\Program Files\DAEMON Tools Lite\DTLite.exe" -mount 0,"[ROMPATH]\[ROMFILE]""

Posted

Command Line: ootake.exe SYSCARD.pce

Launch Before: ""C:\Program Files\DAEMON Tools Lite\DTLite.exe" -mount 0,"[ROMPATH]\[ROMFILE]""

Not sure the SYSCARD.pce is required in the command-line since it's loaded at first setup and then is called from then on. Maybe try the following command-line and see if it loads the image. Don't use this emulator or this system so I can not test past this. Sorry.

Ootake.exe /CD

Edit: I guess this gives the same results? Again hard to test with no images to test with.

Posted

That command line works just as before. Thanks for pointing out that the syscard.pce is not required after the first run.

Just realised I can use the Advanced Config Editor to map keys to joystick buttons for this emulator only, then use the relevant keystroke in the SendKeys field. I'll set it up and post how well it works.

Posted

OK, Using Ben Baker's Advanced Config Editor I can map the joybuttons to keystrokes for this emulator only. SendKeys starts the game automatically. The only problem is that the editor does not differentiate between joystick IDs in the joymapping section, and as my Player 1 and Player 2 joysticks are identical, 2-player is not an option. I hope this makes sense.

It's not a big game breaker, just wish it was a little bit better :)

Posted

OK, Using Ben Baker's Advanced Config Editor I can map the joybuttons to keystrokes for this emulator only. SendKeys starts the game automatically. The only problem is that the editor does not differentiate between joystick IDs in the joymapping section, and as my Player 1 and Player 2 joysticks are identical, 2-player is not an option. I hope this makes sense.

It's not a big game breaker, just wish it was a little bit better :)

Yes. Makes sense. Well glad you got it sorted it out. Please mark as resolved if you feel it is. If not then feel free to ask any other questions.

Guest
This topic is now closed to further replies.
×
×
  • Create New...