## Settings Dialog

Here you can enable/disable a lot of important and useful options. This is the place where you can edit your ROM/sample paths, your backup folder and other stuff.

The title bar shows the currently selected profile and the number of selected sets. This behaviour was changed to a tool tip appearing when hovering over the title.

####

#### Misc Options

- Preserve Archive Date/Time

> Keep the date/time stamp of archive files when doing any operation on it. This includes scanning/fixing, rebuilding, merging. Of course the date/time will be changed when you merge sets to a new destination or rebuild sets to a new, not existing destinations.

- Preserve File Date/Time

> Keep the date/time stamp of files (and files within archive files). This includes scanning/fixing, rebuilding, merging.

- Make Backups

> Check this box to make backups of files which will be removed by a 'fix unneeded' scanner-operation. The files will be stored in the folder which you can set here, too. Of course you can browse for the folder. Default: <clrmameproPath>\backup

- Thread Priority

> You can choose a priority for the clrmamepro thread. Lower priorities will allow other programs to run with more CPU time while clrmamepro scans or rebuilds. This combo box was moved to the compressor options window.

#### DatFile Errors

> These buttons were moved to profiler options window recently.

#### Buttons

- Save As Def.

  The current settings (including pathentries) is saved to <clrmame>\default.cmp and is used whenever you click on "Set Default" or click on DEFAULT while loading a new datfile. Even new exe-based datfiles will use these settings then. Simply delete the "default.cmp" file if you don't want to use it anymore.

- Set Default

> Resets all options to default states/values. You can select if "default.cmp" or the internal defaults should be used.

- Export DatFile...

> Exports the current data to a file in 'datfile syntax'. Useful if you want to convert ROMCenter datfiles. This button was moved to Scanner's Sets Window

- Compressor

> This button brings you to the Compressor Settings:

> - Full Zip Structure Scan

> > If enabled, clrmamepro scans zipfiles in a more strict way, so that zipfilestructure errors can be found. It's a bit slower though, but a bit more secure.

> - OEM/ANSI conversion

>   This option handles OEM To ANSI / ANSI To OEM conversion on filenames inside archives. Keep this enabled as long as you don't use and non-standard characters in the datfiles/archivefiles. If you get rom renaming issues and you know that the dat includes such characters, toggle this option and try again. Keep in mind that this conversion heavily depends on your currently selected codepage.

> - Zip Compr. Level

>   Here you can set the compression level for zipfiles. It can be a value from 0 (storing) to 9 (highest compression).

> - ZipCache

>   Enables the usage of a ZipCache. This will increase the zipping speed. You can enter values of 1 to 64 MB.

> - Additional Zip-Flush

> > Enabling this option will do some additional flush operations while zipping files. It slows down the zipping process a bit. If you have problems with the created zipfiles you should try this option. You should check your system as well, because possible problems are caused by your hardware. This could be: bad RAM settings, bad RAM, corrupt harddisks, not installed or out-of-date chipsetdrivers, too high overclocked systems, etc.

> - Mark useless Folder structs as unneeded

> > Some archive programs add a fake and useless entry for subfolders. You can use the fix unneeded option to remove these structures when this options is enabled.

> - Thread Priority

> > You can choose a priority for the clrmamepro thread. Lower priorities will allow other programs to run with more CPU time while clrmamepro scans or rebuilds.

#### Paths- / Unneeded Masks Selection / Headers

Here you can switch between (Global)Addpaths, ROM, or samplepaths, header selector, exludepaths and the unneededmask selectors.

The single paths will be displayed in the tree control. They can be enabled and disabled by (un-)checking the checkbox in front of the pathname.

Disabled paths will be ignored while scanning / merging. Paths which don't exist will be disabled !

Headers: Starting with clrmamepro 3.90 you have the option to enable header detection for files. A header is usually a not-unique byteblock at the start (or end) of a file. Skipping this information is important for hash calculation. In clrmamepro you can define header structures via xml. For further information you should read the xmlheaders.txt file.

Exclude-Paths are used when scanning for unneeded sets. Folders which are listed here won't be marked as unneeded. Useful if you use some subromfolders.

Dir2Dat-Paths can be used in Dir2Dat as multiple source-paths. Setup paths here and enable the belonging option in Dir2Dat.

Unneeded Masks: You can setup any kind of string (like '*.txt' or 'readme.*') as an unneeded mask ! Files which matches the mask won't be marked as unneeded when doing an unneeded check. Only files within sets (folders/zipfiles) are masked. So a set + unneeded check doesn't use these masks.

- Select All

> Enables all of the current paths or headers.

- Select None

> Disables all of the current paths or headers.

- Change

  You can change the currently selected path. Only enabled for Rom/Sample/Addpaths.

- Remove

> This will remove the currently selected path from the list. This button is only enabled for paths...not for sets. If you select the root entry (e.g. ROM-PATHS), you will be able to remove all listed paths at once.

- Add

> Here you can add a path to the list. You can also use drag&drop to add folders

- Import Paths

  Here you can import the pathinformation from ini/cfg files.

- Invert

  This button will invert the currently selected items.

- LEFT/RIGHT Buttons

> This button is only enabled in the 'paths' view. With this button you can change the order of the paths.