Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: massive88 on January 22, 2008, 01:56:30 pm
-
No one seems to have updated wikis, ini's, or working programs that represent what is needed to get pc games to work in the most recent version of Mamewah.
As a sample im trying to run a batch file to get Gridwars to start. I just did a clean copy and am editing the mame.ini file. My batch file simply runs the exe.
My ini file looks like:
### Execution Settings ###
pre_emulator_app_commandlines
emulator_commandline PC [name].bat{autodosbox}{nosafelaunch}
post_emulator_app_commandlines
general_app_commandlines
and my log file shows up with:
1/22/2008 12:45:01 PM MAMEWAH v1.62 launched
1/22/2008 12:45:01 PM Cursor scheme: (None), Arrow: (None), Wait: (None), AppStarting: (None)
1/22/2008 12:45:01 PM Desktop colour: 0
1/22/2008 12:45:01 PM Wallpaper filename: firefox.bmp
1/22/2008 12:45:01 PM Desktop display mode: 1920x1200 @ 60Hz, 32bit colour
1/22/2008 12:45:01 PM Decimal symbol: '.'
1/22/2008 12:45:01 PM Games list read: mame-0.lst
1/22/2008 12:45:01 PM Layout selected: C:\Emulators\config\layout.lay
1/22/2008 12:45:02 PM No. joystick devices attached: 0
1/22/2008 12:45:02 PM Ctrlr file selected: C:\Emulators\config\mamewah.cfg
1/22/2008 12:45:02 PM Keyboard enabled
1/22/2008 12:45:06 PM List generation started...
1/22/2008 12:45:06 PM List generation finished
1/22/2008 12:45:06 PM Games list read: mame-0.lst
1/22/2008 12:45:07 PM gridwars.bat does not exist in LaunchApplication.
1/22/2008 12:45:16 PM gridwars.bat does not exist in LaunchApplication.
1/22/2008 12:45:19 PM MAMEWAH quit
Please help, I cant figure this out for the life of me.
-
I think it should go something like this.
### pcgame.ini (mamewah v1.62) ###
:blah:
emulator_title PC Games
### List Generation Settings ###
rom_path C:\juegos\pcgame
rom_extension bat
dat_file auto:[emuexepath]\[emuexename].dat
nms_file auto:[emuexepath]\[emuexename].nms
catver_ini_file auto:[emuexepath]\catver.ini
list_generation_method rom_folder
### Execution Settings ###
pre_emulator_app_commandlines
emulator_commandline PC
post_emulator_app_commandlines
general_app_commandlines
-
That makes no sense to me because you are not specifying anything to run. Not that I fully understand what the PC command is supposed to do anyway.
I tried it anyway, and nothing happened, I generated my list (successfully) and tried to run the bat three times, it never even showed up in the log:
1/22/2008 2:32:09 PM MAMEWAH v1.62 launched
1/22/2008 2:32:09 PM Cursor scheme: (None), Arrow: (None), Wait: (None), AppStarting: (None)
1/22/2008 2:32:09 PM Desktop colour: 0
1/22/2008 2:32:09 PM Wallpaper filename: firefox.bmp
1/22/2008 2:32:09 PM Desktop display mode: 1920x1200 @ 60Hz, 32bit colour
1/22/2008 2:32:09 PM Decimal symbol: '.'
1/22/2008 2:32:09 PM Games list read: mame-0.lst
1/22/2008 2:32:09 PM Layout selected: C:\Emulators\config\layout.lay
1/22/2008 2:32:09 PM No. joystick devices attached: 0
1/22/2008 2:32:09 PM Ctrlr file selected: C:\Emulators\config\mamewah.cfg
1/22/2008 2:32:09 PM Keyboard enabled
1/22/2008 2:32:12 PM List generation started...
1/22/2008 2:32:12 PM List generation finished
1/22/2008 2:32:12 PM Games list read: mame-0.lst
1/22/2008 2:32:19 PM MAMEWAH quit
Maybe Ill just switch to MaLa and see if I can get it working there, does anyone else have any suggestions here?
-
Wow talk about spoke too soon, just got it working after posting this. Hah!
For posterity's sake:
1) Create links to the batch files or exe's you wish to run
2) Group all links into a folder
3) Setup your Ini similarly:
### List Generation Settings ###
rom_path c:\Emulators
rom_extension lnk
dat_file
nms_file
catver_ini_file c:\mame\catver.ini
list_generation_method rom_folder
### Execution Settings ###
pre_emulator_app_commandlines
emulator_commandline PC
post_emulator_app_commandlines
general_app_commandlines
4) Things learned: ONLY works with lnk (shortcuts) files. But you can make shortcuts to batch files, so it shouldnt be an issue.
-
I'm not near my machine right now, but from memory what I did was to put the rom_extension as bat and then put the full path into the emulator_commandline like this:
C:\Program Files\LegoStarWarsI\LegoStarWars.bat
In doing this I there has to be a separate config folder for each PC application, which also means a separate page within Mamewah, but I only have a few installed anyhow so it's no big deal for me.