Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: JoytoKey Batch File  (Read 2547 times)

0 Members and 1 Guest are viewing this topic.

Slope

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 43
  • Last login:May 02, 2015, 03:43:21 am
JoytoKey Batch File
« 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.

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: JoytoKey Batch File
« Reply #1 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

Slope

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 43
  • Last login:May 02, 2015, 03:43:21 am
Re: JoytoKey Batch File
« Reply #2 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