CHD in RC ?

Get help with running Romcenter 3 here. Please do not post roms requests or illegal links, posts will be deleted.

Moderator: Wanderer

Forum rules
No roms requests or illegal links
SyNTaXer

CHD in RC ?

Post by SyNTaXer »

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
User avatar
RomCenter
Author
Author
Posts: 1525
Joined: Fri Sep 28, 2001 12:34 pm
Location: France
Contact:

Post by RomCenter »

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. :P

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.
Guest

Post by Guest »

thank you for info.
User avatar
Logiqx
Puzzle bobble
Puzzle bobble
Posts: 129
Joined: Sun Sep 30, 2001 10:50 am
Contact:

Post by Logiqx »

RomCenter wrote: use another algorithm, and include the new chd 'signature' in mame datafile.
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:

[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.
User avatar
RomCenter
Author
Author
Posts: 1525
Joined: Fri Sep 28, 2001 12:34 pm
Location: France
Contact:

Post by RomCenter »

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.
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.

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.
SyNTaXer

Post by SyNTaXer »

Hi there,

anything new in checking CHD files ?
nice day, bye
User avatar
RomCenter
Author
Author
Posts: 1525
Joined: Fri Sep 28, 2001 12:34 pm
Location: France
Contact:

Post by RomCenter »

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 8) .
Eric - RomCenter developer
Report bugs here.
SyNTaXer

Post by SyNTaXer »

thank you, these are the best news in a boring day like this :-(
let's hope and see. bye
Locked