Previous Thread
Next Thread
Print Thread
Chdman help #117379 05/27/20 09:22 PM
Joined: May 2020
Posts: 1
S
screws Offline OP
Member
OP Offline
Member
S
Joined: May 2020
Posts: 1
With some time on my hands, I've been trying to recreate some SEGA CD chds, and seem to have hit a snag. My steps, which have worked for most of them, are:

- get the sha (using sha1sum) of the "pre-files" (cue, bin, wav, etc)
- make sure they match what is in the segacd.xml (via the source comments for each game)
- run
Code
chdman createcd -i "input.cue" -o "output.chd"

- check the "Data SHA1:" of the created chd with
Code
chdman info -i "output.chd"
to the sha1 value found in the xml (or run the chd through clrmamepro)

Unfortunately a few of the created chd files do not match the values in the xml. Going through the history of the segacd.xml file on git, I noticed that the chd files I am having issue with were all updated in commit 022430913cda3521a010046357061a2cc408b8f2 (10/16/2016: "Fix most of the faulty sha1."). I noticed that all the sha1 values I am getting with my created chd files match the previous sha1 values that were edited via this commit of the segacd.xml file.
I do not see any reference on how these new sha1 values were obtained, and I'm a beginner when it comes to chdman so I'm not sure if I am missing a command line switch or I have to insert certain metadata into the chd? Thanks for any input.

As an example:
I get: Dracula Unleashed (USA) (Disc 1).chd Data SHA1: a622e34eece3b778be5db57e286f660dfa6eb24f
Currently in xml: <disk name="dracula unleashed (usa) (disc 1)" sha1="307c0779dace5d95f3e7a0ccee18c00356ca2362"/>
What was edited by commit 0224309...: <disk name="dracula unleashed (usa) (disc 1)" sha1="a622e34eece3b778be5db57e286f660dfa6eb24f"/>

Ubuntu 18.04, self compiled .221 with TOOLS (though I was experiencing the same issue with .220)

Re: Chdman help [Re: screws] #117405 06/08/20 01:48 PM
Joined: Jul 2006
Posts: 100
R
r0ni Offline
Senior Member
Offline
Senior Member
R
Joined: Jul 2006
Posts: 100
The chd sha1 values in the xml file are likely chdman v4 and current chdman is v5. The values in the xml will 100% of the time be different. It does not mean your file is bad or wrong, just that no one has updated the info since the chd format has changed.


SDLMAME OSX Intel Builds: http://sdlmame.lngn.net/

Moderated by  R. Belmont 

Who's Online Now
4 registered members (box, 3 invisible), 38 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,812
Posts115,977
Members4,914
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3