MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Haze
Reged: 09/23/03
Posts: 5245
Send PM
Re: Chdman questions
07/27/15 06:07 PM


the problem is that things like .cue and .bin are really bad approximations of a CD and eventually the internal format of the CHD will progress well beyond a level where those things can even be represented.

the SHA1 of the CHD is the SH1 of all the data and metadata that the CHD format uses to store a CD.

cuesheets can contain information like the filename of the .bin file (and even the path it's stored on) as well sa comment fields and the like, completely arbitrary information that we have no reason to store. It's also a loose and badly defined format (or at least badly used, many pieces of software interpret the same cues in different ways which has actually been a major problem in building software lists)

When CHDMAN outputs a .cue and .bin (or any other format) it attempts to build them based on the data that is stored in the CHD the best it can, nowhere is the original .cue or .bin being stored. If we were to store the original cue data in the CHD as non-hashed data people would quickly remove it anyway (as we see with romsets, readmes getting stripped etc.) If we store the original cue data and hash it we'd be hashing arbitrary data meaning you could have a CHD with the exact same data but different internal hashes because of an additional comment in the cue file or similar.

Also remember CHD is used for a lot more than CDs, and is completely unaware of the underlying file systems.







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 241 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3469