This shows you the differences between two versions of the page.
| Both sides previous revision
Previous revision
|
Last revision
Both sides next revision
|
directory_dir2dat_guide [2021/12/31 18:52] hiccup |
directory_dir2dat_guide [2021/12/31 18:59] hiccup |
| {{:general:directory_dir2_dat_folder_structure.png?400|}} | {{:general:directory_dir2_dat_folder_structure.png?400|}} |
| |
| 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 |this pre-made datfile}} . Currently there is no solid solution for "directory hashing" that supports SHA256, so you can leave that hash type out. | 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 |this pre-made datfile}} . Currently there is no solid solution for "directory hashing" that supports SHA256, so you can leave that hash type out. |
| | |
| | In the created datfile, directories, including empty ones, are represented as files with a size of "0" and a CRC32 of "-", and no other attributes. The filename is set as you would expect (e.g. "dirwithemptydir\emptydir2" for one of the directories in the example, except it will have "_" appended to it when clrmamepro is used on Windows, and "\_" when clrmamepro is used on Linux. |