Everything on this page is set in the Output step, in four frames: Destination (the folder, and what to do when it is not empty), Writing the files (mode, conflicts, verification), Multi-disk games (subfolder, playlist) and Directory tree (pattern, articles, preview). The cross at the end of the destination field empties it.

The Pattern describes the folders created for each
game, with variables in braces. For instance, with
{publisher}/{year}/{title}/, the file
Another World (1991)(Delphine)(FR)[!].adf goes to
Delphine/1991/Another World/.
Type the pattern in the field, or use the two menus under it:
| Preset | Pattern | Suits |
|---|---|---|
| Publisher / Year / Title (TOSEC) | {publisher}/{year}/{title}/ |
TOSEC collections |
| Country / Title (No-Intro, Redump) | {country}/{title}/ |
Consoles sorted by region |
| Letter / Title | {letter}/{title}/ |
Alphabetical folders |
| Chipset / Letter / Title (Amiga) | {chipset}/{letter}/{title}/ |
A folder per Amiga (AGA, OCS-AGA, OCS-ECS) |
Choosing a preset goes back to In folders, from the pattern if All at the root was chosen (see below).
At the bottom of the Directory tree frame, the preview shows
where the sort would write three files with the current options:
destination, folders and file name (a .zip archive in ZIP
mode). It is refreshed as you type, and when the source, the convention,
the DAT, the destination, the mode or the options below change.
The preview warns about a pattern that would not do what it says: an
unknown variable (the sort drops it), a brace without its pair (it would
stay in the folder name), or a pattern that writes into
_unmatched, the folder of the non-conforming files.
| Variable | Content | Example |
|---|---|---|
{title} |
Title, without technical tags | Another World |
{letter} |
First letter of the title (# for digits and
symbols) |
A |
{country} |
Country or region, as written in the name | FR, Europe |
{language} |
Language, as written in the name; otherwise the language of its
country (a TOSEC name such as (FR) omits it) |
fr, M3 |
{version} |
Version or revision | v1.1 |
{publisher} |
Publisher (TOSEC) | Delphine |
{year} |
Year of release (TOSEC) | 1991 |
{system} |
System or computer model (TOSEC) | A500 |
{chipset} |
Chipset an Amiga release needs (TOSEC): AGA (AGA only),
OCS-AGA (both, or fixed for AGA), OCS-ECS
(anything else, a name without a mark included) |
AGA |
{video} |
Video standard (TOSEC) | PAL |
{dump_status} |
Dump status (TOSEC) | Verified, Clean, Cracked,
BadDump |
{genre} |
Genre of the machine, from the category file (MAME) | Shooter |
{category} |
Genre and subgenre of the machine (MAME) | Shooter - Flying Vertical |
An unknown value gives Unknown (empty for
{version}). The names are cleaned of the characters
forbidden by Windows or Linux, and very long paths are supported on
Windows.
The Layout line, at the top of the Directory tree frame, offers two choices: In folders, from the pattern (the default) or All at the root (no subfolders), which puts every file at the root of the destination. It is an option of its own: the pattern stays in its field, greyed with Insert Variable, and is used again when you go back to the folders or choose a preset. A sentence under the two choices recalls it. Restore leading articles stays active, as it also applies to the subfolder of a multi-disk game. A multi-disk game still gets its subfolder if One subfolder per game (Multi-disk games frame) is checked.
A software of a MAME
software list always goes into the folder of its list, where MAME
looks for it: with All at the root,
megadriv/sonic.zip under the destination; with a pattern,
its folders come above that of the list.
Legend of Zelda, The becomes
The Legend of Zelda in the folder names.The Multi-disk games frame, next to Writing the files:
Mode is a list: each entry gives the name of the mode and a sentence saying what it does (its tooltip has the details), and the sentence of the selected mode stays under the list.
| Mode | What happens | Source | Notes |
|---|---|---|---|
| Copy | Files are copied | Unchanged | The safest choice. |
| Move | Files are moved | Emptied of the kept files | Instant on the same disk; across disks, copied, written to the disk, then deleted. An inspected archive is never moved: its members are extracted. |
| Hard link | A second name for the same data | Unchanged | No extra space. Same disk only; not on FAT32 / exFAT. An emulator that writes to the file (an ADF floppy in WinUAE, for instance) also changes the one in the source: they are the same data. |
| Symlink | A shortcut pointing to the source | Must stay in place | No extra space. On Windows, creating symbolic links may require the Developer Mode or administrator rights. An emulator that writes to the file changes the one in the source. |
| ZIP | One ZIP archive per file | Unchanged | A descriptor and its tracks share one archive. |
About the ZIP mode: the archives are in the TorrentZip format, which RomVault and igir recognize. This format fixes everything that could differ from one tool to another (order of the files, date, compression, headers): an archive only depends on its content, and two sorts of the same files give byte-identical archives, like those of these tools. A ROM manager therefore takes them as already in order, without compressing them again, and a shared collection stays the same from one user to another. Compressing takes longer than copying. With Verify copied files, every archive is read again and its TorrentZip signature checked. A MAME set, which already is an archive, and its CHDs are copied as they are (see MAME DATs), and so is a software of a MAME list.
Files Excluded by a filter and
Duplicates are never written: they stay in the source,
even in Move mode. Non-conforming files are transferred
to _unmatched/ at the root of the destination.
Isolate non-conforming files in _unmatched, below Verify copied files, is checked by default. Uncheck it to leave the non-conforming files in the source: the results still show them as Non-conforming, with left in the source in their reason and no target, but the sort does not write them, even in Move mode. They do not count in the volume written nor in the FAT32 warning, their box in the results cannot be checked, and the log counts them in one line. The option is saved in the configuration and in the profiles, so the command line follows it too.
With Verify copied files, below Conflicts, every file copied, extracted from an archive or moved to another disk is read again and its CRC32 is compared with the data read from the source (in ZIP mode, every file of the archive, and the TorrentZip signature of the archive). On a mismatch (faulty disk, cable, network), the copy is deleted, the source is kept, and the file is marked in error. Links are not verified. This slows the sort down, since every file is read twice.
Conflicts decides what happens when a file with the same name already exists at the target:
name_01.ext, name_02.ext...A descriptor and its tracks are always resolved together: they all receive the same suffix, and the descriptor is rewritten to reference the renamed tracks.
An .m3u playlist follows the same rule: a playlist
already there is kept (Skip), joined by a new
name_01.m3u (Auto-rename) or replaced
(Overwrite).
A MAME set and its CHDs are never renamed, nor is a software of a MAME list, since MAME only finds them by their names: with Auto-rename, they are skipped as duplicates.
_purged/<date>/ inside the destination, and undo puts it back.