Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
directory_dir2dat_guide [2021/12/31 17:26] – hiccup | directory_dir2dat_guide [2023/11/17 12:33] (current) – hiccup | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Directory Dir2Dat Guide ====== | ====== Directory Dir2Dat Guide ====== | ||
+ | todo: document how to use RomVault for this, as that is a much better option | ||
- | If the " | + | **Warning: there currently is no supported dir2dat tool that properly distinguishes between empty files and folders. As a workaround, you should use store the output of |
+ | `dir /s` (if you are using Windows) or `ls -R` (if you are using Linux) alongside the datfile.** | ||
+ | |||
+ | If the " | ||
{{: | {{: | ||
- | Make sure to lay out the data as with the following | + | In other words, make sure only the following boxes are checked in that section: |
+ | * Scan Subfolders | ||
+ | * Add MD5 | ||
+ | * Add SHA1 | ||
+ | * Add 0-File For Empty Folder | ||
+ | * Set-Subfolder Mode | ||
+ | * Keep Archives As Files | ||
+ | * Keep CHDs As ROMs | ||
+ | |||
+ | You can also press the Load button and load {{ : | ||
+ | |||
+ | Make sure to lay out the data as with the following example. | ||
+ | |||
+ | {{: | ||
- | {{:carts:sony: | + | You can test this setup is working correctly by hashing the contents of {{ :test_dir_structure.zip |this zip}} and comparing the datfile that clrmamepro creates with {{ :test_dir_structure.dat.zip |
- | You can test this setup is working correctly by hashing the contents of {{ : | + | There will also be a top-level entry called |