Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

*View All Threads*Show in Threaded Mode


Subjectbiofreak, CMP says it's wrong, why? new Reply to this message
Posted byjoemagiera
Posted on03/15/04 09:07 AM



I used Winrar to create biofreak.raw, then chdman to create, update and verify biofreak.chd. Everything came back with good results. But when I run ClrMamePro (version 3.25), it reports:
integrity md5 check failed:
integrity sha1 check failed:
chd update needed:
wrong chd md5:

Can anyone please explain where I went wrong? Thanks much,

Joe




SubjectRe: biofreak, CMP says it's wrong, why? new Reply to this message
Posted byRoman
Posted on03/15/04 09:30 AM



> I used Winrar to create biofreak.raw, then chdman to create, update and verify
> biofreak.chd. Everything came back with good results. But when I run
> ClrMamePro (version 3.25), it reports:
> integrity md5 check failed:
> integrity sha1 check failed:
> chd update needed:
> wrong chd md5:
>
> Can anyone please explain where I went wrong? Thanks much,


It reports no values only the upper mentioned strings????
Maybe it's just locked by a different program. Check out the warnings window below the scanner, too.

Roman Scherzer
ClrMamePro


SubjectRe: biofreak, CMP says it's wrong, why? new Reply to this message
Posted byjoemagiera
Posted on03/15/04 02:21 PM



> > I used Winrar to create biofreak.raw, then chdman to create, update and verify
> > biofreak.chd. Everything came back with good results. But when I run
> > ClrMamePro (version 3.25), it reports:
> > integrity md5 check failed:
> > integrity sha1 check failed:
> > chd update needed:
> > wrong chd md5:
> >
> > Can anyone please explain where I went wrong? Thanks much,
>
>
> It reports no values only the upper mentioned strings????
> Maybe it's just locked by a different program. Check out the warnings window
> below the scanner, too.
>
> Roman Scherzer
> ClrMamePro

Hi Roman,

I did not include the values to keep the posting shorter. The full context of the scanner output for biofreak is:

BioFreaks (prototype) [folder: biofreak]
integrity md5 check failed: biofreak.chd [wrong: a2b7c16f1b83096931df2bbe32baee98] [right: f4663a3fd0ceed436756710b97d283e4]
integrity sha1 check failed: biofreak.chd [wrong: 726b2dd586f9a29b35a9379d15990370f83930d1] [right: 88b87cb651b97eac117c9342127938e30dc8c138]
chd update needed: biofreak.chd [726b2dd586f9a29b35a9379d15990370f83930d1] [needed sha1: 88b87cb651b97eac117c9342127938e30dc8c138]
wrong chd md5: biofreak.chd [wrong: a2b7c16f1b83096931df2bbe32baee98] [right: f4663a3fd0ceed436756710b97d283e4]

What is interesting (?) to me is that I did the chdman "-update" and the chdman verify specifically gave me good messages on the MD5 and SHA1 verification. Any advice much appreciated. Thanks,

Joe




SubjectRe: biofreak, CMP says it's wrong, why? new Reply to this message
Posted byRoman
Posted on03/15/04 02:46 PM



> What is interesting (?) to me is that I did the chdman "-update" and the chdman
> verify specifically gave me good messages on the MD5 and SHA1 verification.

Well...doesn't have to be interesting at all. If the rawimage was different to the original one in MAME, you get an error-free chdman output, since it simply calculates the checksums of the 'wrong' rawimage.

ClrMamePro recalculates the sha1/md5 values of the raw image (by decompressing the chd) and compares it with a) the stored one in the chd header and b) the one in the used datfile/mame rominformation.
And that seem to fail...so find a correct image.
The raw file has to have the mentioned sha1 and md5 values. Yours have different ones, so it's not the one which mame wants.

Again: chdman only compares the values with the one in the chdheader, not against the ones which mame wants.

Roman Scherzer
ClrMamePro


SubjectRe: biofreak, CMP says it's wrong, why? USER ERROR new Reply to this message
Posted byjoemagiera
Posted on03/15/04 02:58 PM



> > What is interesting (?) to me is that I did the chdman "-update" and the
> chdman
> > verify specifically gave me good messages on the MD5 and SHA1 verification.
>
> Well...doesn't have to be interesting at all. If the rawimage was different to
> the original one in MAME, you get an error-free chdman output, since it simply
> calculates the checksums of the 'wrong' rawimage.
>
> ClrMamePro recalculates the sha1/md5 values of the raw image (by decompressing
> the chd) and compares it with a) the stored one in the chd header and b) the one
> in the used datfile/mame rominformation.
> And that seem to fail...so find a correct image.
> The raw file has to have the mentioned sha1 and md5 values. Yours have different
> ones, so it's not the one which mame wants.
>
> Again: chdman only compares the values with the one in the chdheader, not
> against the ones which mame wants.
>
> Roman Scherzer
> ClrMamePro
>
Thank you Roman. Your feedback led me to more investigation and I found the problem to be a "user error" (as you probably suspected). When I originally did the "-createhd" I did not use the [cylinders headers sectors] parameters. This led to an acceptable .chd to be created in chdman, but not equal to what MAME expects (and CMP checks for). I went through the procedure again (using the proper parameters) and it passed CMP.

Sorry about the false alert. I'll try to do more investigation on my own before posting next time.

Joe




SubjectRe: biofreak, CMP says it's wrong, why? USER ERROR Reply to this message
Posted byRoman
Posted on03/15/04 03:02 PM



> Sorry about the false alert. I'll try to do more investigation on my own before
> posting next time.


no problem

Roman Scherzer
ClrMamePro


View All Threads*Show in Threaded Mode