User Tools

Site Tools


subdirs

This is an old revision of the document!


Single Archive Options

RomVault has the ability to store your sets in a variety of ways using the Single Archive option in Directory Settings. This feature is unique to RomVault - no other ROM manager can manipulate the way sets are stored. The examples below demonstrate what each option does.


Assume a DAT with the following games:

<game name="game1">
   <rom name="file1.rom" size="1024" crc="12345678"/>
</game>
<game name="game2">
   <rom name="file2.rom" size="1024" crc="12345678"/>
</game>
<game name="game3">
   <rom name="file1.rom" size="1024" crc="12345678"/>
   <rom name="file3.rom" size="1024" crc="12345678"/>
</game>

Add SubDirs

This will put every ROM into a parent directory using the set name.

  • game1/file1.rom
  • game2/file2.rom
  • game3/file1.rom
  • game3/file3.rom

No SubDirs

This will put every ROM into the base directory. If there are any ROM name conflicts, the ROMs will be renamed by appending an underscore character and an incrementing number:

  • file1.rom
  • file1_0.rom
  • file2.rom
  • file3.rom

Add SubDirs if conflicts

This will put every ROM into the base directory. If there are any ROM name conflicts, the ROMs with name conflicts will be placed in subdirectories using the set name:

  • game1/file1.rom
  • game3/file1.rom
  • file2.rom
  • file3.rom

Add SubDirs if multiple roms

This will put ROMs into the base directory if the following conditions are met:

  • The set must consist of one ROM
  • The set name must match the ROM name minus the file extension.

All other ROMs will be placed in subdirectories using the set name. This option is very useful in combination with the “file” archive type for DATs that are predominately single-file sets, like ISOs.

  • game3/file1.rom
  • game3/file3.rom
  • file1.rom
  • file2.rom

Note: This option does not currently work with files that have a double file extension, like iso.dec or nkit.gcz. For flattening those sets use the “No SubDirs” or “Add SubDirs if conflicts” options.

subdirs.1606508805.txt.gz · Last modified: 2020/11/27 11:26 (external edit)