Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Chunce DeLeone on October 30, 2007, 12:52:06 pm

Title: Individual Game CFG/INI IN MAME
Post by: Chunce DeLeone 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? 
Title: Re: Individual Game CFG/INI IN MAME
Post by: gonzo90017 on October 30, 2007, 01:15:11 pm
You can make a batch file Just follow this method and you should be ok. (http://forum.arcadecontrols.com/index.php?topic=70828.0)
Title: Re: Individual Game CFG/INI IN MAME
Post by: Chunce DeLeone 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?
Title: Re: Individual Game CFG/INI IN MAME
Post by: gonzo90017 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
(http://www.hotlinkfiles.com/files/317684_zo0et/7.jpg)

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.
(http://www.hotlinkfiles.com/files/317682_nt0hv/7.1.jpg)


Click on File>Save as.. modern.bat (make sure Save as Type is set to All Files (*.*) )
(http://www.hotlinkfiles.com/files/317683_z6qzo/7.2.jpg)

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.
(http://www.hotlinkfiles.com/files/317685_jyusj/8.jpg)
Title: Re: Individual Game CFG/INI IN MAME
Post by: Chunce DeLeone on October 31, 2007, 08:04:16 am
I really appreciate the help I will try that!!!!!!
Title: Re: Individual Game CFG/INI IN MAME
Post by: NOP 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!


Title: Re: Individual Game CFG/INI IN MAME
Post by: Chunce DeLeone on October 31, 2007, 10:02:53 am
Thats a sweet answer!!!!!