Skip to content

My ROM 1G1R DAT+ ROM Folder Workflow

This is my workflow to create my own 1G1R DAT from a folder of ROM set.

Prerequisite

We will need a ROM manager first.

ROM Manager

There are several ROM Manager that I tried, best is RomVault.

I was using RomCenter for a while until I discovered an unknown error when loading Sony Playstation 1 DAT, which prompted me to search for another rom manager.

Why RomVault instead of RomCenter?

  • Able to view, update and refresh all DATs from a single folder. In RomCenter, you have to select a DAT, then create a .rdt database that only RomCenter can used. Using RomVault eliminate the need for such intermediate files.

Untitled

Workflow

1. Create DAT from folder

Download clrmamepro.

Select Dir2Dat button to create a DAT file from a folder.

Untitled

Make sure to check the settings as below.

Untitled

💡 It is important to check Scan Subfolders and Set-Subfolder Mode so that every subfolder files in the source folder is captured in hierarchy format instead of a flat structure. Useful for ROM that might contain other file like textures, which is common for Translated ROM sets.

The output DAT will have the <machine ...> </machine> root for each set. Since Retool 1G1R only understand <game ...> </game> format, we have to replace all occurance of them.

Use Visual Studio Code or Notepad++ to replace the following strings:

  • From text<machine to <game
  • From text </machine to </game

The final DAT should look like the following:

Untitled

Save the DAT.

2. Configure Retool 1G1R generator python script

Clone my repo from …

Modify config.json to add a new entry, especially rom_dir and headers.dat_name

Untitled

Run gen.py. That will output a DAT.json file that will group all similar titles under each set that Retool 1G1R will use when deciding which rom to keep for each title.

Copy the newly generated DAT.json file to retool_dir/clonelists folder. E.g. retool-2.01.5-win-x86-64\clonelists\

Untitled

3. Launch Retool

Run Retool and drag/select the DAT file generated from Step 1.

Untitled

Following are the options I used when generating 1G1R DAT.

Untitled

Untitled

Untitled

Untitled

Untitled

Output DAT

Untitled

4. Copy the 1G1R DAT to RomVault DAT Folder

Copy the .dat file generated from Retool to RomVault DAT folder.

Select Update DATs > Update New DATs to refresh the DAT.

Untitled

You should see a new entry.

Untitled

Right click on it and select Set Dir Settings to set a ROM dir for this system.

Untitled

Untitled

Optionally, you can ask RomVault to delete/move all set that is not from the 1G1R DAT by checking the Only Keep Complete Sets option in Advanced Options.

Untitled

Press the bottom right Apply button.

Untitled

Right click and choose Scan Quick (Headers Only) which is recommended if your set is already in zipped format. Read https://wiki.romvault.com/doku.php?id=scanning_fixing_levels for more info.

Untitled

The scan should picked up all the roms.

Untitled

However, noticed that there might be some numbers in the top statistics of ROMs Unknown. That means RomVault had detected some zip files that are not from the 1G1R DAT.

To remove it, first click Find Fixes so that RomVault know what action to take for those Unknown Roms.

Untitled

Result after Find Fixes. Noticed the color and icon for the action.

Untitled

Finally, click Fix ROMs from RomVault left menu bar or via the menu bar to execute the actions.

Untitled

Result

Untitled

Untitled

That’s it! You now have a cleaned 1G1R rom folder!