Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: wipeout667 on November 22, 2003, 01:44:14 am

Title: MAMEWAH Default Startup Game?
Post by: wipeout667 on November 22, 2003, 01:44:14 am
Is there any way to get MAMEWAH to load up a default game (i.e. PacMan) on startup?  If the user chooses to exit then it'll go to the standard MAMEWAH menu.  Possible or no?

Title: Re:MAMEWAH Default Startup Game?
Post by: papaschtroumpf on November 22, 2003, 04:25:17 am
Not natively, at least that I know of.
Here's a way, but it's not pretty:

MameWah remembers the last list and game selected in its mamewah.cfg file, so you could come up with a way to for the entries in the fiole to be the file you want. If you have any programming experience you can write a script/program that does that for you, otherwise just edit the file by hand, save it under a different name, and launch mamewah from a batch file that replaces the current mamewah.cfg with your file (somewhat dangerous since you loose any other changes that mamewah has made to the cfg file).

that takes care of selecting the same game every time you start mamewh but still doesn't start the game. To do this type of things I use a program called AutoIt (freeware, just google for it) that can send keys to any windows program: all you have to do is set it up to send the "1" key to mamewah after it starts up. There may be other ways or wrappers to do this too.

Not pretty but if it's really important to you it can be done.
Title: Re:MAMEWAH Default Startup Game?
Post by: eightbit on November 22, 2003, 11:37:29 am
Is there any way to get MAMEWAH to load up a default game (i.e. PacMan) on startup?  If the user chooses to exit then it'll go to the standard MAMEWAH menu.  Possible or no?


Launch command line mame with the game that you want from a batch file. Their is a command to tell it to wait untill that program finishes, I don't remember it off hand then launch mamewah from the batch file.

I hate batch files....
Title: Re:MAMEWAH Default Startup Game?
Post by: Rocky on November 23, 2003, 12:41:45 pm
wipeout,

create a batch file to run on start up.

c:
cd\mame
start /wait c:\mame\mame.exe -pacman
cd\mamewah
mamewah.exe


Change any necessary drive / directory commands.

Good luck,

Rocky
Title: Re:MAMEWAH Default Startup Game?
Post by: papaschtroumpf on November 23, 2003, 03:14:45 pm
i.e. run your game first, then launch mamewah!
Title: Re:MAMEWAH Default Startup Game?
Post by: chris_lemasters on November 25, 2003, 10:36:24 pm
Very Creative Solution!!!