Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: AGGIEZ on May 26, 2004, 04:25:31 pm

Title: JoyMonkey!! Can you write a batch file....
Post by: AGGIEZ on May 26, 2004, 04:25:31 pm
to get rid of all the freaking Majong games?!?!?!?!?  ;)
Title: Re:JoyMonkey!! Can you write a batch file....
Post by: Tiger-Heli on May 26, 2004, 05:11:27 pm
to get rid of all the freaking Majong games?!?!?!?!?  ;)
I think MAMEContentManager www.mameworld.net/mcm can get rid of the Roms for you.

If you want to eliminate the games - there are a couple of options.  If you don't have a frontend preference, download EmuLoader from www.mameworld.net/emuloader and use it's parental lock editor to remove the games from the gamelist.

If you don't want the games in MAME, but want to use some other frontend, it is fairly simple to do, but requires a lot of steps.

First, learn to compile your own MAME - this is fairly easy from http://www.mame.net/downmain.html (win32 compile utilities halfway down the page) and additional info here http://www.mameworld.net/compile32/ (ignore the MAME32 stuff).

Next, you want to open up src\driver.c in WordPad and remove (or comment out by typing // at the start of the line) the games that you don't want listed.  Easiest thing is to search on mah, but you'll also find tomahawk and dimahoo, so don't do a global replace.

Then Recompile and these games will not show up in the game list.
Title: Re:JoyMonkey!! Can you write a batch file....
Post by: Tiger-Heli on May 26, 2004, 05:18:05 pm
check your PM.
Title: Re:JoyMonkey!! Can you write a batch file....
Post by: JoyMonkey on May 26, 2004, 05:50:21 pm
This should do the trick. Take this TXT file and rename it BAT, then just run it from your roms folder and it'll move all the mahjong roms to c:\mahjong

This is based on games listed as Mahjong in Catver.ini

hope this helps!

Edit: For the record, Mahjong games take up 477megs and irritate the hell out of me. If I had any idea how to play mahjong, or the slightest idea of what it's about, maybe I'd feel differently. Is there a Mahjong guide out there somewhere?
Title: Re:JoyMonkey!! Can you write a batch file....
Post by: PaulT on May 26, 2004, 06:44:42 pm
You can try here.
http://mahjonginmame.nm.ru/ (http://mahjonginmame.nm.ru/)

Ted
Title: Re:JoyMonkey!! Can you write a batch file....
Post by: AGGIEZ on May 26, 2004, 08:22:53 pm
This should do the trick. Take this TXT file and rename it BAT, then just run it from your roms folder and it'll move all the mahjong roms to c:\mahjong

This is based on games listed as Mahjong in Catver.ini

hope this helps!

Edit: For the record, Mahjong games take up 477megs and irritate the hell out of me. If I had any idea how to play mahjong, or the slightest idea of what it's about, maybe I'd feel differently. Is there a Mahjong guide out there somewhere?

So, let me get this straight. Save the nomajong.txt to the ROMS folder and then rename it nomajong.bat? That doesn't change the file type from .txt to .bat. I need laymens directions... ???
Title: Re:JoyMonkey!! Can you write a batch file....
Post by: JoyMonkey on May 26, 2004, 08:32:52 pm
A batch file is just a text file containing a set of DOS instructions, running a bat from DOS or windows will execute every command listed in the bat. It's one of the few cases where simply renaming the file extension changes the file-type; because it ends in .bat windows knows to run it instead of opening notepad.
Title: Re:JoyMonkey!! Can you write a batch file....
Post by: AGGIEZ on May 26, 2004, 08:51:34 pm
A batch file is just a text file containing a set of DOS instructions, running a bat from DOS or windows will execute every command listed in the bat. It's one of the few cases where simply renaming the file extension changes the file-type; because it ends in .bat windows knows to run it instead of opening notepad.

This is what I get when I run it....

"The syntax of the command is incorrect"
Title: Re:JoyMonkey!! Can you write a batch file....
Post by: JoyMonkey on May 26, 2004, 09:52:28 pm
It worked fine for me, it's the same as the other batch files I've done. Have you tried running nomahjong.bat from the command prompt? It uses the standard DOS 'mkdir' and 'move' commands. I know some versions of windows don't recognise the 'move' command without a little help.

If running it from the command prompt doesn't work, try downloading move.exe from here:
http://www.techadvice.com/specs/files_dl.asp?fnid=29627
and put it in yout roms folder along with nomahjong.bat