EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: mametoc on 28 April 2021, 20:12

Title: Possible turn md5 hash file contents to dat/xml file compatible clrmamepro?.
Post by: mametoc on 28 April 2021, 20:12
Partial content of a file whit md5 extension opened whit notepad:

0475719385d5577ffcd900329cb9aebc *h005_pc.bin
60006f2de10307bedc1187b82b3b56e5 *h0052_pc.bin
df116fc6d36181206c45a830d4197ff9 *h0053_pc.bin
e567f65d1be558ed82242de3e9671087 *h005b_pc.bin
d9a7026748da1d24ce04301e812e857d *h005bc_pc.bin
215909e7ea9eced668139af7592ba0ac *h006_pc.bin
0076547f75f1a611637dbd95321ae198 *h006b_pc.bin

Thank you.
Title: Re: Possible turn md5 hash file contents to dat/xml file compatible clrmamepro?.
Post by: Roman on 28 April 2021, 21:01
Well...of course it's possible to write a converter for such files....but of course you need some additional information like a set name and optionally crc32, size information. Cmpro does not convert such files and won't do this in the future.
Title: Re: Possible turn md5 hash file contents to dat/xml file compatible clrmamepro?.
Post by: mametoc on 29 April 2021, 18:45
Thanks, the idea is like another post i made some days ago.

But now i've noticed around 35 games in TeknoparrotUI had the option to check MD5 hash, exist some app or emu rom manager capable to fix folders and delete unneded files/folders to clean the dump (like cmpro)?, using the "game title".md5 file (supplied by the same TP team) or other automated way?.

Thanks.
Title: Re: Possible turn md5 hash file contents to dat/xml file compatible clrmamepro?.
Post by: Roman on 30 April 2021, 06:52
The easiest would be to ask the authors if they can produce a better output :) Something in XML which either is directly something compatible to common datfiles or XML which can be easily transformed via xslt into something useful.
Title: Re: Possible turn md5 hash file contents to dat/xml file compatible clrmamepro?.
Post by: yescabernetnointernet on 30 April 2021, 07:47
See if you can convert it wirh https://github.com/SabreTools/SabreTools
Title: Re: Possible turn md5 hash file contents to dat/xml file compatible clrmamepro?.
Post by: mametoc on 30 April 2021, 17:47
The easiest would be to ask the authors if they can produce a better output :) Something in XML which either is directly something compatible to common datfiles or XML which can be easily transformed via xslt into something useful.

Yes, i insisted many times in Teknoparrot reedit (whitout any response), i don't know why they don't adopt the easy way dat/xml to manage files and preserve clean dumps. According whit mi info the md5 adoption validation is only to avoid modified files to prevent cheating in online play, not even for user managing files purposes. So i've dont have faith...

Thanks.
Title: Re: Possible turn md5 hash file contents to dat/xml file compatible clrmamepro?.
Post by: mametoc on 30 April 2021, 18:00
See if you can convert it wirh https://github.com/SabreTools/SabreTools

Thanks i'll give a try.