Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: rbarr110 on July 15, 2009, 06:26:35 pm
-
I'll admit it, I looked/searched a little, but got lazy and am taking the easy route...
How do I launch a PC game from Mamewah, I have had a copy of X-wing vs Tie fighter laying around for years and have never played it. It looks kinda fun and seems like a decent arcade machine game.
Anyone do it? PC games launched from Mamewah.
Thanks
-
Make the INI file look for "roms" with a "lnk" extension?
-
King Nerd is correct. Make a batch file in each game dir, make a shortcut to it and drop it in the root of your PCGames dir - [emurootpath]\[emuname]
e.g.
Timeshock.bat
closemul.exe Timeshock.exe
You'll need a go.bat as a parent batch file to run each lnk.
go.bat
@echo off
%1 /wait
### 21pcgames.ini (mamewah v1.62) ###
emulator_title PC Games
### List Generation Settings ###
rom_path [emurootpath]\[emuname]
rom_extension lnk
dat_file
nms_file [emurootpath]\[emuname]\pcgames.nms
catver_ini_file
list_generation_method rom_folder
### Execution Settings ###
pre_emulator_app_commandlines
emulator_commandline [emurootpath]\[emuname]\go.bat "[rompath]\[name].[romext]"{dosbox}{safelaunch}
post_emulator_app_commandlines
general_app_commandlines
-
Actually you can just set:
rom_path c:\put_your_lnks_here
rom_extension lnk
list_generation_method rom_folder
emulator_commandline pc
Mamewah will launch the target of the Windows shortcut (lnk) files.
-
Actually you can just set:
rom_path c:\put_your_lnks_here
rom_extension lnk
list_generation_method rom_folder
emulator_commandline pc
Mamewah will launch the target of the Windows shortcut (lnk) files.
Minwah, is that command line a MAMEWah feature or something even more arcane?
-
Actually you can just set:
rom_path c:\put_your_lnks_here
rom_extension lnk
list_generation_method rom_folder
emulator_commandline pc
Mamewah will launch the target of the Windows shortcut (lnk) files.
^^ this makes mamewah hang, then next time I launch mamewah, it crashes my machine. Tried this with v.1.63, 1.65 and 1.68 :(
EDIT: well, it works if I do not rename the shortcuts. I.E. "shortcut to ether vapor.exe" .... but, is there any way around this; can I rename the shortcut and still have mamewah launch it?
-
^^ this makes mamewah hang, then next time I launch mamewah, it crashes my machine. Tried this with v.1.63, 1.65 and 1.68 :(
EDIT: well, it works if I do not rename the shortcuts. I.E. "shortcut to ether vapor.exe" .... but, is there any way around this; can I rename the shortcut and still have mamewah launch it?
Ive renamed mine and they all work just fine. Whats the log giving you when it crashes? Have you refreshed the gamelist or are you not able to get that far?
-
Thanks for the reply :) Here's mamewah launching fine (without re-naming the shortcuts):
8/19/2009 1:31:59 PM MAMEWAH v1.63 launched
8/19/2009 1:31:59 PM Cursor scheme: Windows Default, Arrow: (None), Wait: (None), AppStarting: (None)
8/19/2009 1:31:59 PM Desktop colour: 0
8/19/2009 1:31:59 PM Wallpaper filename:
8/19/2009 1:31:59 PM Desktop display mode: 1024x600 @ 60Hz, 32bit colour
8/19/2009 1:31:59 PM Decimal symbol: '.'
8/19/2009 1:31:59 PM Games list read: doujin-0.lst
8/19/2009 1:32:00 PM Mode 800 x 600 @ 60Hz, 16bit colour selected after 2 attempt(s) at 1/2 second intervals.
8/19/2009 1:32:00 PM Layout selected: C:\mamewah163\config\doujin\\layout.lay
8/19/2009 1:32:00 PM No. joystick devices attached: 0
8/19/2009 1:32:00 PM Ctrlr file selected: C:\mamewah163\config\mamewah.cfg
8/19/2009 1:32:00 PM Keyboard enabled
8/19/2009 1:32:06 PM List generation started...
8/19/2009 1:32:06 PM List generation finished
8/19/2009 1:32:06 PM Games list read: doujin-0.lst
8/19/2009 1:32:51 PM Mode 1024 x 600 @ 60Hz, 32bit colour selected after 1 attempt(s) at 1/2 second intervals.
8/19/2009 1:33:03 PM MAMEWAH quit
And here, after re-naming the shortcuts:
8/19/2009 1:34:37 PM MAMEWAH v1.63 launched
8/19/2009 1:34:37 PM Cursor scheme: Windows Default, Arrow: (None), Wait: (None), AppStarting: (None)
8/19/2009 1:34:37 PM Desktop colour: 0
8/19/2009 1:34:37 PM Wallpaper filename:
8/19/2009 1:34:37 PM Desktop display mode: 1024x600 @ 60Hz, 32bit colour
8/19/2009 1:34:37 PM Decimal symbol: '.'
8/19/2009 1:34:37 PM Games list read: doujin-0.lst
8/19/2009 1:34:38 PM Mode 800 x 600 @ 60Hz, 16bit colour selected after 2 attempt(s) at 1/2 second intervals.
8/19/2009 1:34:38 PM Layout selected: C:\mamewah163\config\doujin\\layout.lay
8/19/2009 1:34:39 PM No. joystick devices attached: 0
8/19/2009 1:34:39 PM Ctrlr file selected: C:\mamewah163\config\mamewah.cfg
8/19/2009 1:34:39 PM Keyboard enabled
8/19/2009 1:35:00 PM List generation started...
8/19/2009 1:35:00 PM List generation finished
8/19/2009 1:35:00 PM Games list read: doujin-0.lst
8/19/2009 1:35:37 PM Mode 1024 x 600 @ 60Hz, 32bit colour selected after 1 attempt(s) at 1/2 second intervals.
8/19/2009 1:35:50 PM MAMEWAH quit
Note: the laptop I'm testing this on has a screen res. of 1024x600, but this behavior happens on my cab setup with a CRT monitor as well.
Strange thing; if I re-name the shortcuts to, for example: "EtherVapor.lnk" they work just fine .. anything else, and the system slows to a crawl, and when I try to launch a game, it hangs and dumps me back to mamewah, and everthing is super-slow until I exit mamewah.
I also tried setting the folder to "hide known file extensions" and same thing happens.
Running WinXP home, on both the laptop and the PC in my cab.
... very strange indeed ...
-
Update: If I name the shortcuts to ie: "Blue Wish ressurrection.exe" it also works (which looks nicer than 'blabla.lnk')
If I leave out the ".lnk" or ".exe", it causes mamewah to hang, then windows crashes when I try to exit.
Any ideas why? It's not the end of the world, but it's driving me mad, like a tiny splinter in the back of my brain ;D