Difference between revisions of "RL tutorial batchFiles"

From BYOAC OLD Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:
 
<BR>
 
<BR>
 
While ROMLister wasn't designed for this purpose, it has shown to be a useful tool for anything you need to do repetitively on a set of ROM names.
 
While ROMLister wasn't designed for this purpose, it has shown to be a useful tool for anything you need to do repetitively on a set of ROM names.
 +
<BR><BR>
 +
For example, a user wanted to create an .ini file for all of the vertical games on his cabinet.  This ini file told MAME to display the video in a certain mode.  The details are not important for this discussion, but what was needed was that the same .ini file was created for every vertical ROM on his machine.
 +
<br><br>
 +
1) Using ROMLister, create a list of all the vertical games available.  See [[RL_tutorial_firstList | this tutorial]].<BR>
 +
2) Then from the working list window, select batch file for the output type.<BR>
 +
3) In the batch file text popup window, he typed in "copy c:\vertical.ini %ROM%.ini" and saved this batch file into the ini folder in his MAME setup.<BR>
 +
<BR>
 +
[[Image:RL_batchfile.jpg |thumb|ROMLister Batch file creator]]
 
<BR>
 
<BR>
For example, a user wanted to create an .ini file for all of the vertical games on his cabinet.  This ini file told MAME to display the video in a certain mode.  The details are not important for this discussion, but what was needed was that the same .ini file was created for every vertical ROM on his machine.
 
<br>
 
1) Using ROMLister, the user was able to create a list of all the vertical games available.  See tutorial.
 
2) Then from the working list window, select batch file for the output type.
 
3) In the batch file text popup window, he typed in "copy c:\vertical.ini %ROM%.ini" and saved this batch file into the ini folder in his MAME setup.
 
 
<br>
 
<br>
 
He then created a single .ini file called vertical.ini and placed it in the root folder of his C: drive.
 
He then created a single .ini file called vertical.ini and placed it in the root folder of his C: drive.
 
When the batch file was executed, it repeatedly copied c:\vertical.ini and saved the file as each ROM name in his ini folder, thus creating the same vertical setup configuration for every vertical game on his machine.
 
When the batch file was executed, it repeatedly copied c:\vertical.ini and saved the file as each ROM name in his ini folder, thus creating the same vertical setup configuration for every vertical game on his machine.
 +
<BR>
 +
<BR>
 +
[[RL_tutorials | Return to ROMLister tutorials]]

Revision as of 17:12, 12 August 2008

All about batch files.
While ROMLister wasn't designed for this purpose, it has shown to be a useful tool for anything you need to do repetitively on a set of ROM names.

For example, a user wanted to create an .ini file for all of the vertical games on his cabinet. This ini file told MAME to display the video in a certain mode. The details are not important for this discussion, but what was needed was that the same .ini file was created for every vertical ROM on his machine.

1) Using ROMLister, create a list of all the vertical games available. See this tutorial.
2) Then from the working list window, select batch file for the output type.
3) In the batch file text popup window, he typed in "copy c:\vertical.ini %ROM%.ini" and saved this batch file into the ini folder in his MAME setup.

ROMLister Batch file creator



He then created a single .ini file called vertical.ini and placed it in the root folder of his C: drive. When the batch file was executed, it repeatedly copied c:\vertical.ini and saved the file as each ROM name in his ini folder, thus creating the same vertical setup configuration for every vertical game on his machine.

Return to ROMLister tutorials