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: Individual Game CFG/INI IN MAME  (Read 3091 times)

0 Members and 1 Guest are viewing this topic.

Chunce DeLeone

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 414
  • Last login:August 16, 2012, 02:58:11 pm
Individual Game CFG/INI IN MAME
« on: October 30, 2007, 12:52:06 pm »
Don't want to start a debate:  Modern Games benefit from D3D, Classics Benefit from DDRAW.  So I have basically two different CFG's I like to use.  So my choices are leave the MAME.CFG for the modern roms and then make individual CFG's for all the classics, which are hundreds and hundreds.  Does anyone have a quicker way than manually creating individual game.cfg's for hundreds of games? 

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Individual Game CFG/INI IN MAME
« Reply #1 on: October 30, 2007, 01:15:11 pm »

Chunce DeLeone

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 414
  • Last login:August 16, 2012, 02:58:11 pm
Re: Individual Game CFG/INI IN MAME
« Reply #2 on: October 30, 2007, 03:25:50 pm »
Is there a program where I can paste a list of rom names, then point to a master ini file, and generate ini's named after the list of roms with the contents of the master ini?

gonzo90017

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1034
  • Last login:June 23, 2019, 02:41:07 pm
  • I'm a llama!
Re: Individual Game CFG/INI IN MAME
« Reply #3 on: October 30, 2007, 04:00:39 pm »
If you do it the way I explain in the link it'll do exactly that. .

First Download Shalom TXT http://www.danish-shareware.dk/soft/stxt/

Now you have to create a bat file so open Shalom TXt and open the first rom list. Now click on Edit>Select All. Then click on Tools


Then  select Add to each line. Under "Put this in front of each line" type "copy yourini.ini " (without the quotes and include a space after ini) and under Add this to the end of each line type ".ini" (without the quotes) and click on apply. If it looks like the screenshot click ok.



Click on File>Save as.. modern.bat (make sure Save as Type is set to All Files (*.*) )


8. Take the bat file and put it in your MAME folder and double click on it. In a few seconds your folder should be filled with ini files.

Chunce DeLeone

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 414
  • Last login:August 16, 2012, 02:58:11 pm
Re: Individual Game CFG/INI IN MAME
« Reply #4 on: October 31, 2007, 08:04:16 am »
I really appreciate the help I will try that!!!!!!

NOP

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 916
  • Last login:September 19, 2017, 08:22:27 pm
  • I stole my avatar.
    • winterMAME
Re: Individual Game CFG/INI IN MAME
« Reply #5 on: October 31, 2007, 09:51:58 am »
Is there a program where I can paste a list of rom names, then point to a master ini file, and generate ini's named after the list of roms with the contents of the master ini?

http://www.waste.org/~winkles/ROMLister

ROMLister can help with that too.

Just type in a year, say "1983" into the -find: window and select "batch file" for the output.
In the popup window for the batch file, type in something like this:

copy c:\master.cfg c:\mame\cfg\%ROM%.cfg

It'll create the batch file for you and insert the ROM name in where %ROM% is.

That'll cover all the games manufactured in 1983.  You *may* get a some stragglers if "1983" ever shows up in one of the ROM checksums, but those should be easy to spot.  If I put my head to it (it's early for me at the moment) I could probably come up with a better search for you than just the year, but I'd think you could whip through the classics in a couple minutes this way.

-jeff!



Chunce DeLeone

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 414
  • Last login:August 16, 2012, 02:58:11 pm
Re: Individual Game CFG/INI IN MAME
« Reply #6 on: October 31, 2007, 10:02:53 am »
Thats a sweet answer!!!!!