Sections
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
CLRMame Pro is one of the most useful utilities available to the emulation scene. I started using it about November 2000 and now I swear by it. Once I had it sorted I saved myself about 300MB of hard disk space and was completely surprised just how mucked up my rom files were. Nearly all emulators use rom files to store their games. What CLRMame Pro does is to check all of the individual rom files against a data file to make sure that they have the right information in them. Data files are available for nearly all arcade emulators and also some console games too. A word of warning though, because this program moves, adds, deletes and renames files it is best to have a backup of any files that you check because the author of CLRMame and myself take no responsibility for any lost files. Update! This tutorial has now been updated to only deal with version 3 or above of this great utility. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Once you've installed Winzip, right click over the CMPro zip file and select "extract to ...". In the dialog box that appears use the directory "C:\CMPro" and then press the "Extract" button. If you want to make life a little easier you can download the "EXE" version which when clicked will automatically install itself. This way uses an installer which you can specify a path for you files. You will need to remember this path in order to install downloaded data files. Also you can access CLRMame from your start menu. You can also create a shortcut on your desktop by simply right clicking over the CMPro icon and selecting Send To and then desktop in the menu that appears. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This tutorial will cover two possible setups in CLRMame, one that
uses a data file to generate a rom list and one that uses an executable
file to generate a rom list. Setting up a "DATFILE" A data file (or datfile) contains all of the information of the roms required by an emulator. In the rom files that you download from the net there will be several rom images which need to have the correct name, size, and CRC (a CRC is a check to make sure a file is complete). Any problems in these criteria can cause a game to fail to run. You can download datfiles from www.logiqx.com or from the CLRMame homepage. Once you have the datfile you want extract the zip to the C:\CMPro\datfiles directory. If the datfile information doesn't appear in the profiler screen then press the refresh list button. If you are using v2.5 or up then you'll see a folder icon appear which says New Dat File. Press the + next to the folder and you'll see you dat file. Select it and press Load/Update and this window will appear...
Pressing Update will let you use information that you've already set up for another dat file. This can be useful if you are just updating to a newer version of the dat file. Default will let you create new information for the dat file in the settings section of the main menu. See below for details. Default.cmp will load settings from this file which you can have a
standard set of settings in. Setting up an "EXE" file This is a little harder than a datfile. Before you can do this you need to have one of the command line versions of Mame, Raine, Pinmame or Mess as these are the only executables supported. What CLRMame does is use the listing options of these emulators to build its own datfile. This can be useful if you have the latest version of one of the three emulators and if no datfile is availble. In the bottom of the profiler screen ther is a section that says "Use and emulator binary to create a datfile" this is where all the action takes place. The first thing to do is to select the executable you want to use to create the datfile. For arguments sake lets set up the best emulator around Mame! Press the little folder button next to the filename box and a small file window will open. Find the Mame "exe" file (normally in the C:\Mame\ directory), highlight it and press OK. In the next line you can type in a name for you new profile. Type Mame for now. The bottom line lets you set the parser engine that CLRMame will use to create the datfile. As I've said above there are four supported types and you need to use Mame on this occasion. The last thing to do is press the Add button and you will see that next to the profile name there is a small picture of a computer this is used to differentiate this profile from one generated from a datfile. You should see a screen like this... The last thing to do is press the Load/Update button and you will see the following window as CLRMame sets up the datfile...
Once CLRMame has finished extracting the data it will ask you some questions regarding the data and some of the games its found. Press yes to all questions and finally you will see the CLRMame main menu.
Setting up your new profile Press the settings button as you need to tell CLRMame where the roms are that it needs to check. You will now see this window...
To do this make sure that "ROM Paths" is selected and then you need to press the "Add" button in the paths section. A small file window will open where you can select the roms directory you need. The other paths you can set up are samples (Needed by Mame), additional files , unneeded (lets you filter out file types using their extensions like *.txt) and sets. If you are using a dat file for non rom files such as flyers or cabinet pictures for Mame you must follow a few pointers. Firstly it's best to leave the files in a single zip file e.g. flyers.zip or cabinets.zip. You will also need to set up the path for the zipped file under the ROM Paths tab. This next part gives you an example of how to set up the paths for you profile. I'll use Mame as its one of the hardest to set up. First you need to tell CLRMame where to find the Mame roms and samples (as Mame needs samples for certain games and they need to be checked also). In the ROM paths section press add and find your mame\roms directory. Now You will now need to change where it say "ROM Paths" to "Sample Paths", press add and find your Mame\Samples directory. Make sure both directories that you have set up have ticks next to them and now you can finally press OK. You can also see there is a section called misc. options.
Press OK when you're done and you should go back to the start window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This part of the tutorial will deal with Mame and will therefore require you to set up a Mame executable file or Mame datfile in the settings. Once set up click the scanner button and this window should appear...
As you can see from above there are alot of options to click. Here
is a description of the options.
To do a complete scan of Mame roms then heres what you need to do. Select sets, roms and samples in the "You want to scan" area. Select all of the options in the scan system box. Make sure all of the boxed are checked in the "Check" section but dont check any of the fix boxes yet. You need to decide now what kind of romsets you are using. If you have split sets (most common) then check that option. If you have downloaded merged sets then check that option. If you aren't sure then read the merger section before continuing. If you happy then press the scan button and you should now see this box...
As the scanner runs it is more than likely that you will see sets appearing in the results window...
Next to the file name you will see either of two icons. The first one looks like a file with an X on it which signifies a missing rom file. The second one is just a red X which signifies that the rom file exists but there is a problem with it. If you click the small + it will show more details of the problem with file. Wait for the scanner to finish and a statistics window will appear like this...
This window gives a summary of all the problems that you have with you rom files. As you can see I've nearly got the complete set and some of the roms Ihave aren't all perfect however the first time I ran CLRMame I had to download about 50 sets again because of certain errors, had loads of extra files and was generally a mess. After running fix on all options, merging all my files, splitting all my files and removing all the extra files I saved over 300MB of space. I'll go into merging and splitting later. But enough about me, lets look at some of the problems you might have. Firstly to fix all of the "fixable" problems select the "case", "unneeded" and "name" fix check boxes and press the fastscan button. This will be quicker than the full scan and will correct alot of problems. Sometimes you might think that theres nothing happening but normally CLRMame is processing a large rom file. Once done you will only be left with the really problematic rom files. You can find out what is wrong with these files but selecting / deselecting the check boxes in the check / fix section. As you do this the list in the results window will change to reflect your selection. You can also see which individual roms are wrong by pressing the "+" next to is name in the results window. Realistically the only solution to any of the problems left in the list is to re-download the rom file. The rebuilder may sort out some problems and sometimes if it is a CRC32 problems there are small utlilties available to sort them out. Check out www.sys2064.com for these files. Now as long as you don't change the profile in the profiler CLRMame will hold all the scanned information in the scanner so you can start downloading rom files and simply press the fastscan button to check / fix any new problems If your brain hasn't exploded yet lets check out the rebuilder. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
What rebuilder does is take rom files from the source directory, sorts them out and save the new file into the destination directory. It will only do this to the romsets specified in the Rebuild System section (e.g. if NeoGeo is selected, only NeoGeo games will be rebuilt). Heres a description of the options.
When I was sorting out my files I never used the rebuilder as it can wreck the rom files. You should only use it if you have your files backed up. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Heres a run down of the options.
What I did to sort out my rom sets was to run merger and select "Non Merged Sets" which created a set of roms with all the necessary files they needed to run in them. This used up 3.5GIG of hard disk space. I then ran scanner as if they were split sets and removed all of the unneeded roms. This left me with only split rom files and no merged ones. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DirToDat | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
To access this window you need to go to the main menu and press the about buuton. On the new window you will see the Dir2Dat button. what Dir2Dat does is take a folder of roms, extract the rom information such as name, size etc... and create a new datfile. As it scans you can make it zip your roms as well as merge/split them and other things too.
You have to be aware that Dir2Dat makes a pretty scruffy datfile and you will need to get a text editor out to clean it up a bit. The best thing to do is to compare your dat to one from the CLRMame site and you'll get a pretty good idea of what you need to do. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
©2000-2003 MrV2K