EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: pucci on 06 October 2023, 21:41

Title: support empty directories
Post by: pucci on 06 October 2023, 21:41
the new SEGA All and Teknoparrot dats are unusable with ClrMAME Pro because they require empty directory support
Title: Re: support empty directories
Post by: Roman on 07 October 2023, 08:52
Do you have an example dat?
Title: Re: support empty directories
Post by: pucci on 11 October 2023, 18:24
TeknoParrot Collection (2023-10-07_RomVault): https://workupload.com/file/qLRnrNCPv38
Sega ALL.NET Collection - Sega ALLS (2023-10-02): https://workupload.com/file/qLRnrNCPv38
Sega ALL.NET Collection - Sega RingEdge-Wide (2023-10-02): https://workupload.com/file/fk8FKZ4aSUA
Sega ALL.NET Collection - Sega Nu (2023-09-19): https://workupload.com/file/tZkNWnYrYpQ
Sega ALL.NET Collection - Namco (2023-09-21): https://workupload.com/file/RAbbYu79TA6
Sega ALL.NET Collection - Other (2023-09-21): https://workupload.com/file/53tqNC8MdCA

Title: Re: support empty directories
Post by: Roman on 12 October 2023, 06:52
So not really MAME related ;-)

<rom name="2D/" size="0" crc="00000000" md5="d41d8cd98f00b204e9800998ecf8427e" sha1="da39a3ee5e6b4b0d3255bfef95601890afd80709" />
<rom name="A/" size="0" crc="00000000" md5="d41d8cd98f00b204e9800998ecf8427e" sha1="da39a3ee5e6b4b0d3255bfef95601890afd80709" />
<rom name="audience/" size="0" crc="00000000" md5="d41d8cd98f00b204e9800998ecf8427e" sha1="da39a3ee5e6b4b0d3255bfef95601890afd80709" />

hmm...wonder where md5/sha1 comes from ;-)

Well, easiest would be to auto-add an empty file when it finds a name ending on "/" when it loads the dat
...but then of course you'd have to add the files (can't get rebuilt due to missing hashes)...
will think about it....but don't count on any solution any time soon ;-)