CHD in RC ?
Moderator: Wanderer
Forum rules
No roms requests or illegal links
No roms requests or illegal links
CHD in RC ?
anybody knows if it is possible to check chds in RC? The is no dat file available with crc data, which we can use in RC. only dats with sha1 and md5 calculations are available. it would be very nice if anybody can send me a dat file for chds created with RC or tell me a workaround, but please do not tell me to use clrmame. thanks
Hi
RomCenter uses a plugin to identify a rom. The actual plugin only calculates crc. The chd support is possible if you know the crc of chd, and add them in the mame datafile. Unfortunatly, the crc is not available in mame.exe, and it can't be automatically included in datafile with datutil.
Note also that the crc calculation of a chd takes a lonnnnnnnnng time because these files are very bigs. You notice that when romcenter scan directories with chd.
The best solution for chd is to modify the 'arcade.dll' plugin so that it doesn't calculate the crc for chd anymore, but use another algorithm, and include the new chd 'signature' in mame datafile.
Unfortunatly, I'm working on the new romcenter version, and don't have much time to spend on that point. If someone with some programming skill is interested, he can easily add sha1 (or other method...) support for chd in the arcade plugin...
RomCenter uses a plugin to identify a rom. The actual plugin only calculates crc. The chd support is possible if you know the crc of chd, and add them in the mame datafile. Unfortunatly, the crc is not available in mame.exe, and it can't be automatically included in datafile with datutil.
Note also that the crc calculation of a chd takes a lonnnnnnnnng time because these files are very bigs. You notice that when romcenter scan directories with chd.

The best solution for chd is to modify the 'arcade.dll' plugin so that it doesn't calculate the crc for chd anymore, but use another algorithm, and include the new chd 'signature' in mame datafile.
Unfortunatly, I'm working on the new romcenter version, and don't have much time to spend on that point. If someone with some programming skill is interested, he can easily add sha1 (or other method...) support for chd in the arcade plugin...
Eric - RomCenter developer
Report bugs here.
Report bugs here.
If someone is prepared to make the plugin changes I could easily extend the RomCenter format supported by DatUtil. I'd invent a new section for CHDs and instead of CRC, SHA1 would be used. For example:RomCenter wrote: use another algorithm, and include the new chd 'signature' in mame datafile.
[DISKS]
¬cryptklr¬Crypt Killer (GQ420 UAA)¬cryptklr¬Crypt Killer (GQ420 UAA)¬420uaa04¬18fe867c44982bacf0d3ff8453487cd06425a6b7¬¬¬¬
The last three fields would handle the size (never known), cloneof and merge information. So, this would be consistent with the existing ROM/RESOURCE formats.
I might actually do this anyway so that information is not lost when converting to RomCenter format.
Any thoughts Eric?
Btw, CHDs do not always have '.chd' in their filename (according to the listxml) so they need to be in a seperate section rather than implied by filename.
It's fine, Logiqx. Adding chd this way is ok. I just have to check with romcenter if it works, and modify it to make it works if needed.Logiqx wrote:
I might actually do this anyway so that information is not lost when converting to RomCenter format.
Any thoughts Eric?
Btw, CHDs do not always have '.chd' in their filename (according to the listxml) so they need to be in a seperate section rather than implied by filename.
I didn't noticed yet that chd does not already have a .chd in the filename. It means we can't detect a chd inside a plugin...
I should add a new parameters to tell the plugin what type of file I send...
So, we just have to find someone who want to add sha1 support in arcade.dll.
Eric - RomCenter developer
Report bugs here.
Report bugs here.
CHD will be supported in romcenter 3. That's all I can say for now.
Developpement is quite hard to build something fast. Hopefully we will have something to test some day
.
Developpement is quite hard to build something fast. Hopefully we will have something to test some day

Eric - RomCenter developer
Report bugs here.
Report bugs here.