MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

jclampy
MAME Fan
Reged: 09/16/11
Posts: 105
Send PM


Timeline of CHD versions?
#302820 - 01/18/13 10:00 AM


Hi,

Anybody actually know which Mame versions match up to the various CHD versions.
For example; I am refering to what was the MAME version when CHD version 1 began and then which MAME versions did the CHD versions change with?

Did CHD version 1 begin with Mame version 0.59?
Are we at CHD version 5 now?

I feel interested to know the CHD version timeline if someone would like to enlighten me.

Edit:
0.77u1 - New CHD format and management tools hdcomp is now chdman
0.80u3 - Preliminary CD-ROM support for CHDMAN.

Would these signify a CHD version changes? If so would that be v2 and v3?

I notice some CHD games were added with Mame version 0.80u3 but does anyone have any idea what were some of the first CHD titles added to Mame? (0.77u2 for Biofreaks and NFL Blitz) any earlier?

Thanks.

Edited by jclampy (01/18/13 10:35 AM)



Read about my latest custom HLSL setup here;
http://gamingnos.blogspot.com/



Roman
Regular
Reged: 09/21/03
Posts: 1584
Send PM


Re: Timeline of CHD versions? new [Re: jclampy]
#302821 - 01/18/13 10:28 AM


iirc area51 was the first added one and yes, the current chd version is "5"



jclampy
MAME Fan
Reged: 09/16/11
Posts: 105
Send PM


Re: Timeline of CHD versions? [Updated] new [Re: Roman]
#302822 - 01/18/13 10:39 AM


Sorry Roman didn't see your post because I was still editing my other one.

You are right, the first of the Area 51 dump's was added with version 0.62

Edit:
0.33b06 for M.A.C.H. 3 (0.126u4 proper laser disc support)
0.74u1 for HipHopMania (0.83 Fixed harddisk image)
0.76u1 for Beatmania
0.63 for Killer Instinct 1 & 2 (disk in .dat 0.63)
0.62 for Vicious Circle (disk in .dat 0.62 listed as nodump)
0.62 for Maximum Force (disk in .dat 0.62 listed as nodump)
0.62 for Area51 (disk in .dat 0.62 listed as nodump)

Although Mame v0.62 is the first version with the addition of actual CHD game data implemented into the .dat file. On further investigation they seem to be listed as 'No Good Dump Known'.

So, the next step would be to try and find the first Mame version with the first acknowledgement of a good dump CHD.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Also my primary questions;

Anybody actually know which Mame versions match up to the various CHD versions.
For example; I am refering to what was the MAME version when CHD version 1 began and then which MAME versions did the CHD versions change with?

CHD version 1 must begin with Mame version 0.59 (first game CHD in .dat with version 0.62)

I feel interested to know the CHD version timeline if someone would like to enlighten me.

0.77u1 - New CHD format and management tools hdcomp is now chdman
0.80u3 - Preliminary CD-ROM support for CHDMAN.

Would these signify CHD version changes? If so would that be v2 and v3? Anyone know the others?

Thanks.

Edited by jclampy (01/18/13 10:36 PM)



Read about my latest custom HLSL setup here;
http://gamingnos.blogspot.com/



krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


Re: Timeline of CHD versions? [Updated] new [Re: jclampy]
#302862 - 01/18/13 11:17 PM


At one point, I tried to make up a document that tracked the various CHD versions but it quickly turned into an massive task.

In addition to the CHD format versions, the CHDs themselves were sometimes redumped or modified, so there can be multiple versions of a CHD with a single format as well as CHDs with multiple formats over time.

Tim Morrow did a lot of work tracking CHD revisions to MAME up to a certain point, so there's might be something useful here...
http://members.iinet.net.au/~tmorrow/emulation/emulation.html



GroovyMAME support forum on BYOAC



jclampy
MAME Fan
Reged: 09/16/11
Posts: 105
Send PM


Re: Timeline of CHD versions? [Updated] new [Re: krick]
#302869 - 01/19/13 05:22 AM


Thanks Krick I'll give that site a read... On closer inspection it probably doesn't have answers to my specific 'version' questions though.

I ran a -listroms on Mame063 .exe and found that to be first version where 'working' CHD were added for atleast these five games:
Area 51
Killer Instinct
Killer Instinct 2
Maximum Force
Vicious Circle



Read about my latest custom HLSL setup here;
http://gamingnos.blogspot.com/



apeman
Surfer
Reged: 09/22/03
Posts: 129
Loc: HI
Send PM


Re: Timeline of CHD versions? [Updated] new [Re: jclampy]
#302914 - 01/20/13 07:15 AM


You probably already know this, but chdman info -i will give you the CHD version of the file in question...



jclampy
MAME Fan
Reged: 09/16/11
Posts: 105
Send PM


Re: Timeline of CHD versions? [Updated] new [Re: apeman]
#302919 - 01/20/13 08:05 AM


Actually now that I think about it, that wouldn't be able to help me in finding when the CHD version changes were?
Maybe I am asking about the version changes of the actual CHDMAN utility? I dunno.

Still kind of hopeing somebody might have an idea around when each CHD version changed. I mean, some people comment about v2 or v3 or v4...etc. So, I thought someone might have an inkling.

World still spins without knowing though, so..

Edited by jclampy (01/20/13 08:10 AM)



Read about my latest custom HLSL setup here;
http://gamingnos.blogspot.com/



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: Timeline of CHD versions? [Updated] new [Re: jclampy]
#302928 - 01/20/13 10:56 AM


Have you browsed all of the previous whatsnew.txt on mamedev.org?

http://mamedev.org/releases/whatsnew_0146.txt


Quote:


Major CHD/chdman update: [Aaron Giles]
The CHD version number has been increased from 4 to 5. This means any
diff CHDs will no longer work. If you absolutely need to keep the
data for any existing ones you have, find both the diff CHD and the
original CHD for the game in question and upgrade using these
commands:

rename diff\game.dif diff\game-old.dif chdman copy -i
diff\game-old.dif -ip roms\game.chd -o diff\game.dif -op roms\game.chd
-c none

Specifics regarding this change:

Defined a new CHD version 5. New features/behaviors of this version:
* support for up to 4 codecs; each block can use 1 of the 4
* new LZMA codec, which tends to do better than zlib overall
* new FLAC codec, primarily used for CDs (but can be applied
anywhere)
* upgraded AVHuff codec now uses FLAC for encoding audio
* new Huffman codec, used to catch more nearly-uncompressable blocks
* compressed CHDs now use a compressed map for significant savings
* CHDs now are aware of a "unit" size; each hunk holds 1 or more
units (in general units map to sectors for hard disks/CDs)
* diff'ing against a parent now diffs at the unit level, greatly
improving compression

Rewrote and modernized chd.c. CHD versions prior to 3 are
unsupported, and version 3/4 CHDs are only supported for reading.
Creating a new CHD now leaves the file open. Added methods to read
and write at the unit and byte level, removing the need to handle
this manually. Added metadata access methods that pass astrings and
dynamic_buffers to simplify the interfaces. A companion class
chd_compressor now implements full multithreaded compression,
analyzing and compressing multiple hunks independently in parallel.
Split the codec implementations out into a separate file chdcodec.*

Updated harddisk.c and cdrom.c to rely on the caching/byte-level
read/ write capabilities of the chd_file class. cdrom.c (and chdman)
now also pad CDs to 4-frame boundaries instead of hunk boundaries,
ensuring that the same SHA1 hashes are produced regardless of the
hunk size.

Rewrote chdman.exe entirely, switching from positional parameters to
proper options. Use "chdman help" to get a list of commands, and
"chdman help " to get help for any particular command. Many
redundant commands were removed now that additional flexibility is
available. Some basic mappings:

Old: chdman -createblankhd New: chdman
createhd -o -chs ,,

Old: chdman -createuncomphd .... New: chdman
createhd -i -o -c none ....

Old: chdman -verifyfix New: chdman verify -i -f

Old: chdman -merge New: chdman copy
-i -ip -o

Old: chdman -diff New: chdman
copy -i -o -op

Old: chdman -update New: chdman copy -i
-o

Added new core file coretmpl.h to hold core template classes. For now
just one class, dynamic_array<> is defined, which acts like an array
of a given object but which can be appended to and/or resized. Also
defines dynamic_buffer as dynamic_array for holding an
arbitrary buffer of bytes. Expect to see these used a lot.

Added new core helper hashing.c/.h which defines classes for each of
the common hashing methods and creator classes to wrap the
computation of these hashes. A future work item is to reimplement the
core emulator hashing code using these.

Split bit buffer helpers out into C++ classes and into their own
public header in bitstream.h.

Updated huffman.c/.h to C++, and changed the interface to make it
more flexible to use in nonstandard ways. Also added huffman
compression of the static tree for slightly better compression rates.

Created flac.c/.h as simplified C++ wrappers around the FLAC
interface. A future work item is to convert the samples sound device
to a modern device and leverage this for reading FLAC files.

Renamed avcomp.* to avhuff.*, updated to C++, and added support for
FLAC as the audio encoding mechanism. The old huffman audio is still
supported for decode only.







Anonymous
Unregistered
Send PM


Re: Timeline of CHD versions? [Updated] new [Re: krick]
#302941 - 01/20/13 08:25 PM


> In addition to the CHD format versions, the CHDs themselves were sometimes redumped
> or modified, so there can be multiple versions of a CHD with a single format as well
> as CHDs with multiple formats over time.

And sometimes the CHD produces the checksum no matter what version it is, so you don't necessarily have to upgrade it either. I still haven't upgraded any of the unchanged v4 chd's. I'm not sure if anyone on the mame team has.



jclampy
MAME Fan
Reged: 09/16/11
Posts: 105
Send PM


Re: Timeline of CHD versions? [Updated] new [Re: B2K24]
#303097 - 01/23/13 03:34 AM


> Have you browsed all of the previous whatsnew.txt on mamedev.org?
>
> http://mamedev.org/releases/whatsnew_0146.txt
>
> Major CHD/chdman update: [Aaron Giles]
> The CHD version number has been increased from 4 to 5.

Thanks B2K24 for pointing that out; Version 0.145u1 to be exact.

Are the other version number changes that well defined or specified at all though? Hence from my original post:
0.77u1 - New CHD format and management tools hdcomp is now chdman
0.80u3 - Preliminary CD-ROM support for CHDMAN.
Would these signify a CHD version changes? If so would that be v2 and v3?

Cheers.



Read about my latest custom HLSL setup here;
http://gamingnos.blogspot.com/



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: Timeline of CHD versions? [Updated] new [Re: jclampy]
#303098 - 01/23/13 04:05 AM


> Thanks B2K24 for pointing that out; Version 0.145u1 to be exact.
>
> Are the other version number changes that well defined or specified at all though?
> Hence from my original post:
> 0.77u1 - New CHD format and management tools hdcomp is now chdman
> 0.80u3 - Preliminary CD-ROM support for CHDMAN.
> Would these signify a CHD version changes? If so would that be v2 and v3?
>
> Cheers.

Everything should be well defined all in the previous whatsnew.txt


Quote:


0.130u1
-------

IMPORTANT NOTE: The CHD format has undergone a change with this
release. The main reason for this change is to include some of the
key metadata into the hashes for the CHDs. This ensures that the
metadata is valid and prevents abuse.

The first impact you will find is that all of your CHD differencing
files are invalid. Just delete your "diff" directory contents
entirely.

The second impact is that all your existing CHDs will warn you that
they have incorrect hashes. This is expected. Your old CHDs should
still work fine, so if you can live with the "bad ROM" warnings, you
don't really need to do anything. However, if this bugs you or you
want to be "clean", you can update your CHDs, using this command
line:

chdman -update

for each one of your CHDs. This will take a while, but will produce
CHDs that match the new checksums posted in the drivers.

Updated CHD format to version 4. Checksums are now computed and
stored separately for raw data and metadata, and metadata is now
checksummed by default. [Aaron Giles]

Updated chdman to support a generic metadata addition system:
chdman -addmetatext []
chdman -addmetabin []
[Aaron Giles]

Changed the CHD verify interfaces to pass back a structure containing
all the necessary data for verification and fixing. [Aaron Giles]





jclampy
MAME Fan
Reged: 09/16/11
Posts: 105
Send PM


Re: Timeline of CHD versions? [Updated] new [Re: B2K24]
#303100 - 01/23/13 05:36 AM


B2K24 Thanks for the response.

I'll see if I can find the version 2 and 3 changes.

Edit1:
0.77u1 is definately a version change. Doesn't specify what version number though. Looking on historic forums someone said version 2 and someone else version 3. I think I have an idea how to find out though, from what apeman said in earlier post.
From my quick test it appears to be change to version 3 unless I stuffed it up.
If true then 0.80u3 is not a version change.

So, I just need to pinpoint the change to version 2 now.
(somewhere inbetween versions 0.63 and 0.77)

Edited by jclampy (01/23/13 06:26 AM)



Read about my latest custom HLSL setup here;
http://gamingnos.blogspot.com/


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

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