Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Slope on March 12, 2006, 05:13:13 pm

Title: JoytoKey Batch File
Post by: Slope on March 12, 2006, 05:13:13 pm
I have a couple of emulators that require that I map my gamepad differently for each.  Using MameWAH, you can specify a program to run pre and post running of the emulator (awesome btw :)

Anyway, I know you can run joytokey from a command prompt and load the appropriate .cfg file specified.  The problem is, if I type the contents of the batch file, it works fine.  If I run the batch file, it hangs after it loads joytokey.  Is there anyway around this?  Has anyone else seen this behavior?

Thanks again for your help.
Title: Re: JoytoKey Batch File
Post by: jcrouse on March 12, 2006, 07:54:02 pm
Here is the "pre_emulator_apps_commandlines" that I use for Virtualboy in MameWAH:

c:\winipac\winipac.exe "c:\winipac\profiles\[emuname].ipc" /program;c:\joytokey\joytokey.exe vb{nowait}{autoquit}

Note: "vb" is the name of the mapping profile. It works great for me.

Good Luck,
John
Title: Re: JoytoKey Batch File
Post by: Slope on March 12, 2006, 11:35:10 pm
Thanks for your help...that worked like a champ.  Not sure why I can't use a .bat file, but whatever...  ;D