I Need A Script


prot1972

Still Fresh
Joined
Dec 22, 2009
Messages
2
Hi folks,
excuse my poor english.
I'd like to make a script to launch a specific mame rom, i.e. gng; i tried to put in the mame's directory this:

#!/bin/sh
./mame gng
sync
cd /usr/gp2x
exec /usr/gp2x/gp2xmenu

but it doesn't work.
Can anyone help me?
thanx!
 
Define doesn't work --

-- does the gp2xmenu come back up, or does it just go to black screen? or does it not run at all?
-- I forget the mame command line options; does it require "-rom gng" or anything, or is that sufficient? is 'gng' the right shortname for the game? do you need to specify -rompath?
-- do you know if this MAME port even supports command line options, or has all that been subverted to put on the GUI? (I forget again shoudl be easy to guess at from the zip contents .. is the GUI part separate from the MAME emu part, or is the menu built into the emu? If its built in, the command line processing might well have been dropped.)

jeff
 
Back
Top