Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: JoyMonkey!! Can you write a batch file....  (Read 2486 times)

0 Members and 1 Guest are viewing this topic.

AGGIEZ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 304
  • Last login:January 30, 2017, 05:59:50 pm
JoyMonkey!! Can you write a batch file....
« on: May 26, 2004, 04:25:31 pm »
to get rid of all the freaking Majong games?!?!?!?!?  ;)

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:JoyMonkey!! Can you write a batch file....
« Reply #1 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.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:JoyMonkey!! Can you write a batch file....
« Reply #2 on: May 26, 2004, 05:18:05 pm »
check your PM.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

JoyMonkey

  • Voodoo Wiki Master . . .
  • Wiki Master
  • Trade Count: (+5)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2899
  • Last login:June 16, 2025, 09:16:27 pm
  • Candy is Dandy but Liquor is Quicker
    • JoyMonkey.com
Re:JoyMonkey!! Can you write a batch file....
« Reply #3 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?
« Last Edit: May 26, 2004, 05:54:07 pm by JoyMonkey »

PaulT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:August 13, 2007, 04:46:31 pm
Re:JoyMonkey!! Can you write a batch file....
« Reply #4 on: May 26, 2004, 06:44:42 pm »
You can try here.
http://mahjonginmame.nm.ru/

Ted

AGGIEZ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 304
  • Last login:January 30, 2017, 05:59:50 pm
Re:JoyMonkey!! Can you write a batch file....
« Reply #5 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... ???

JoyMonkey

  • Voodoo Wiki Master . . .
  • Wiki Master
  • Trade Count: (+5)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2899
  • Last login:June 16, 2025, 09:16:27 pm
  • Candy is Dandy but Liquor is Quicker
    • JoyMonkey.com
Re:JoyMonkey!! Can you write a batch file....
« Reply #6 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.
« Last Edit: May 26, 2004, 08:35:27 pm by JoyMonkey »

AGGIEZ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 304
  • Last login:January 30, 2017, 05:59:50 pm
Re:JoyMonkey!! Can you write a batch file....
« Reply #7 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"

JoyMonkey

  • Voodoo Wiki Master . . .
  • Wiki Master
  • Trade Count: (+5)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2899
  • Last login:June 16, 2025, 09:16:27 pm
  • Candy is Dandy but Liquor is Quicker
    • JoyMonkey.com
Re:JoyMonkey!! Can you write a batch file....
« Reply #8 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