MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

mw
MAME Fan
Reged: 01/01/07
Posts: 76
Send PM
Re: Chdman questions
07/26/15 06:25 PM


> I'm a developer. I'm working on DAT management software and looking for some
> information on chdman's functionality.
>
> Specifically - I'd like to get the hashes (crc, sha1, md5, etc.) of all files inside
> a chd (before they were compressed), without havcing to extract them first. Is this
> possible, or could I make a feature request?
>
> If anyone can put me in touch with the right people, I'd be appreciative!

Question: what exactly is the "etc."

The sha1 of the uncompressed data is already available with the "info" command of chdman.exe. But you really have to run a "verify" command to trust it (in case the CHD file is damaged). Which takes as long as an extraction.

I gather that, to save HD space and time, you want to extract to memory and compute various other hashes.

So it depends on what the "etc" is, because that will have to be coded into the variant of chdman you are asking for.

Your best bet for a work-around at this time is to use PeaZip. It has a tool (called PeaUtils on the tool menu) that computes various (15*) kinds of hashes on a file. But you will have to use the chdman extract command to create the file for PeaZip to look at.

* from the help .pdf, supported hashes: Adler32, CRC16/24/32/64, eDonkey, MD4, MD5, Ripemd160, SHA1, SHA224/256/386/512, Whirlpool512

Edit:

Here is a link to a more ambitious CRC calculator, which allows you to define you own algorithm.

http://reveng.sourceforge.net/

Edited by mw (07/26/15 06:33 PM)







Entire thread
Subject Posted by Posted on
* Chdman questions midget35 07/26/15 12:58 PM
. * Re: Chdman questions mw  07/26/15 06:25 PM
. * Re: Chdman questions midget35  07/26/15 07:27 PM
. * Re: Chdman questions R. Belmont  07/27/15 04:42 PM
. * Re: Chdman questions mw  07/27/15 04:52 AM
. * Re: Chdman questions CiroConsentino  07/26/15 07:44 PM
. * Re: Chdman questions midget35  07/26/15 09:24 PM
. * Re: Chdman questions CiroConsentino  07/26/15 11:37 PM
. * Re: Chdman questions midget35  07/27/15 05:13 PM
. * Re: Chdman questions R. Belmont  07/27/15 05:20 PM
. * Re: Chdman questions midget35  07/27/15 05:49 PM
. * Re: Chdman questions mw  07/27/15 08:40 PM
. * Re: Chdman questions midget35  07/28/15 08:32 PM
. * Re: Chdman questions mw  07/29/15 08:40 AM
. * Re: Chdman questions midget35  07/29/15 10:06 AM
. * Re: Chdman questions Haze  07/27/15 06:07 PM
. * Re: Chdman questions midget35  07/27/15 06:26 PM
. * Re: Chdman questions Haze  07/27/15 06:57 PM
. * Re: Chdman questions midget35  07/27/15 07:59 PM
. * Re: Chdman questions R. Belmont  07/27/15 08:20 PM
. * Re: Chdman questions midget35  07/27/15 08:55 PM
. * Re: Chdman questions R. Belmont  07/27/15 09:48 PM
. * Re: Chdman questions midget35  07/27/15 11:22 PM
. * Re: Chdman questions Moose  07/28/15 02:17 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 150 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3468