Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: moonchilddave on July 18, 2009, 01:47:46 pm
-
I'm using Mamewah 1.68 and using JoyToKey under Daphne. All works well, except when I quit a game, JoyToKey is still running which screws things up. Is there any way to have Mamewah quit it? An example of my game config:
### dle11.ini (mamewah v1.68) ###
### Execution Settings ###
pre_emulator_app_commandlines c:\program files\ultramap\ultramap.exe c:\mame\ugc\[name].ugc{nodosbox}{nosafelaunch};c:\program files\joytokey\joytokey.exe{nowait}{autoquit}
emulator_commandline c:\daphne\daphne.exe dle11 vldp -framefile C:/daphne/vldp_dl/lair/lair.txt -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir C:\daphne -fastboot -bank 0 11011001 -bank 1 00100011 -latency 175 -noserversend -sound_buffer 2048 -fullscreen -x 640 -y 480{nodosbox}{nosafelaunch}
post_emulator_app_commandlines
Also, is there a way to specify a different configuration for JoyToKey from the command line ("joytokey.exe daphne" doesn't seem to work) ? I didn't see anything at all in the docs.
-
Using the {autoquit} option it should kill Joytokey once you exit the game.
To load a different .cfg file the .cfg has to be in the same folder as joytokey. Also your command line should be something like this:
c:\program files\joytokey\joytokey.exe daphne.cfg{nowait}{autoquit}
-
Odd... wasn't working before but it seems to be working now. However I still see it pop up just before the game even though in the settings I have it set to start up inconized. Is there any other alternative to JoyToKey that works any better. I mean it works as advertised - but I'd love to get rid of that brief pop up.
-
Try xpadder (http://xpadder.com/). You can buy the latest version, or if you prefer you can download (http://www.mediafire.com/download.php?2mynjvmy35x) one of the last freeware versions.
( I included a small tutorial ;D)
-
I just got around to installing from the link provided on MediaFire listed above. Of course, before doing so, I scanned the archive with Symantec AV. The 3 files included as the tutorial were instantly quarenteed - being listed as a trojan horse (they looked to be in a foreign language anyway). Perhaps it was a false alarm - but better safe than sorry. Anyone else downloading may want to just trash those 3 files to start with, or if you did click on them, run a scan now.
Or better yet... download from a reliable source: http://www.softpedia.com/get/System/System-Miscellaneous/Xpadder.shtml
-
Well what can I tell you. You got some false positive. I would get a new antivirus if I were you. The 3 files you are referring to are tutorials like I made using a program called Screen2exe (http://www.screen-record.com/screen2exe.htm). They have been downloaded thousands of times in the last couple of years. This is the first time I here of an antivirus detecting it as a virus.
Edit: I forgot to mention that Mediafire scans all files for viruses when they are being uploaded.
-
Well, I'm using a Federal Government (free to anyone in the government) licensed version of Symantec Endpoint Protection (Version 11.0.3001.2224) with all the latest definition files... So far it has served me well, and like I said - better safe than sorry. Wasn't accusing you of trying to propagate something bad. I'm just very carefull about what I download from filesharing sites like rapidshare and mediafire so I always scan them first.
-
I've been running PPJoyKey for years using batch files to load and kill the application. Here is how to do it.
In this example, I'm using PPJoyKey for playing Virtua Tennis:
1) Install the software and configure the virtual joysticks as normal.
2) Create a shortcut to run PPJoyKey in the application's folder, call in something like "PPJoyKeyVT.lnk".
3) Right-click on the new shortcut to edit the properties, so that it loads the config file you want, e.g.:
"C:\PPkey\PPJoyKey.exe c:\ppkey\virtua1.ini"
You can now double-click on that the new shortcut to make sure it works properly.
However, MameWAH doesn't like launching shortcuts for some reason, so let's wrap that in a batch file:
3) Make a short batch file like this, and call it something like "ppjoykeyVT.bat":
"@ECHO OFF
C:\ppkey\ppjoykeyVT.lnk
EXIT"
That's the launching all worked out.
4) To close the application, we make another batch file (e.g. close.bat) to kill the task from the command line:
"@ECHO OFF
taskkill.exe /F /IM ppjoykey.exe
EXIT"
Now that we have done our batch files, we need to get the MameWAH config right.
5) Edit our MameWAH config (virtua.ini) to launch these batch files as pre- and post- emulator commands (PPJoyKey command lines bolded):
"pre_emulator_app_commandlines c:\PPKey\ppjoykeyVT.bat;c:\utils\daemon\daemon.exe -mount 0,"c:\cdimages\virtua tennis.nrg"
emulator_commandline c:\VTennis\closemul.exe "Virtua_tennis_PC.exe"{nodosbox}{safelaunch}
post_emulator_app_commandlines c:\PPKey\close.bat;c:\utils\daemon\daemon.exe -unmount 0"
That is it! Enjoy!
Zeb.
PS - As you can also see, I also load and unload the Virtua Tennis disk image seamlessly by using Daemon Tools from the command line.