1 (edited by Balthier 2009-03-18 09:43:38)

Topic: Converting MAME NAOMI chds to GD-ROMs

edit - removed guide

Re: Converting MAME NAOMI chds to GD-ROMs

And what's the point of this?

AKUMA™ wrote:

Now go to Command Prompt since chdman.exe is a DOS tool.  Make sure your current directory that the files are in is listed in the DOS window.

It's a console Win32 tool and won't run under MS-DOS.

Re: Converting MAME NAOMI chds to GD-ROMs

Akuma, I don't want to cut off your work, but this is the well known method to convert CHD to make them playable on NullDC.
Moreover it's nothing I think Redump care about as the images you can obtain are like DC dumps by dumpcast (no write offset correction, missing pregap for some data tracks).

Instead it will be a great and good thing that some owners of Naomi gdroms will dump them the same way we dump DC gdroms.

My patch requests thread
--------------------------------

Re: Converting MAME NAOMI chds to GD-ROMs

Rocknroms wrote:

Instead it will be a great and good thing that some owners of Naomi gdroms will dump them the same way we dump DC gdroms.

Ask Yuki from No-Intro tongue

5 (edited by Balthier 2009-03-16 03:48:02)

Re: Converting MAME NAOMI chds to GD-ROMs

[

F1ReB4LL wrote:

And what's the point of this?

AKUMA™ wrote:

Now go to Command Prompt since chdman.exe is a DOS tool.  Make sure your current directory that the files are in is listed in the DOS window.

It's a console Win32 tool and won't run under MS-DOS.

Gimme a break already.  I was in a hurry yesterday morning when I posted that.  DOS, command line, bah whatever.  If it's in a black n white box on my screen I just call it DOS lol tongue

Rocknroms wrote:

Akuma, I don't want to cut off your work, but this is the well known method to convert CHD to make them playable on NullDC.
Moreover it's nothing I think Redump care about as the images you can obtain are like DC dumps by dumpcast (no write offset correction, missing pregap for some data tracks).

Instead it will be a great and good thing that some owners of Naomi gdroms will dump them the same way we dump DC gdroms.

I don't want the Dumpcast method though.  See that's what confuses me about GDs is that Dumpcast does them one way and you guys do them the other way.  Also, I haven't seen anything anywhere on how to reverse NAOMI chds to GD-ROMs other than 1 guide that was posted at a few different sites word for word, and it uses bin2iso which doesn't seem to make the right cue sheets at all, because even when I changed the last track to Mode1 instead of audio IsoBuster would get errors.  And that guide was intended just for getting the last track so you could run it in nullDC-Naomi, it didn't cover what I am trying to do, which is obtain the full image from the chds (which I did).

I was taking notes from the images I made and noticed that most of the images had either 300 or 450 sectors of data in Track 1 (sectors 0-299 and 0-449 respectively).

Track 2's seem to have about 1983 or 1984 sectors of data (only 4 images have all zeroes in the first sector of Track 2).  Only the Gundam games are different, with 1998 sectors of data (from sectors 600 to 2597).  All the track 3's are the same size except for CVS 2 2001 because the track is too small, and I read a few other places that it was probably a bad dump.

Also like I said, all the track03.bin's that I made matched the ones that Dumpcast has listed, and comparing notes between the Dreamcast dats from Redump and Dumpcast, there's no difference in the filesizes or checksums for track03.bin's of Dreamcast games.  So I figure the same goes for NAOMI games as well.  The only thing I see with Dumpcast is that they remove the 150 sectors of zero data from the end of Track 1, and add 150 sectors of zero data to the end of Track 2.  When I did it their way, yeah I got perfect NAOMI tosec images, which I DON'T want.  But all in all I do believe I am on the right track here.

For SFZ3 Upper for example:
track 01 sectors 0-299 contain actual data
track 01 sectors 300-449 are all zeroes (Track 02 pregap?)
sector 450 is the first sector of Track 02, but is all zeroes.  sectors 451-2433 contain data.  2434 to 44999 are all zeroes again.
45000 is where Track 03 starts, and it ends at 549149, which is consistent with all of them barring CVS2 2001.
Capcom vs SNK 2000 Pro is setup the exact same way as SFZ3 Upper too.

EDIT-  I'm just going to use the Dreamcast method in the other thread here for adjusting the pregap on the NAOMI images (remove 352800 bytes from the end of Track 01 and add to beginning of Track 02).  It looks like the NAOMI images are just like Dreamcast images in so many ways.  I think this is the only step left and then the images will be correct.  Hopefully like you said RocknRoms someone will dump the NAOMI images like Redump does.  I would be pleasantly surprised if someone did and their dumps match what I end up with from the CHDs.

Re: Converting MAME NAOMI chds to GD-ROMs

About track01-02 (call it low density): you have to move pregap on beginning of track02, so yes those 150 empty sectors are pregap of track02, but you have to cut it from end of track01 and add the same size 0x00 at beginning of track02.

About high density (track03 or more): first you have to be sure that there's only one track (I don't know if Naomi gdroms are only made of 3 tracks as DC ones can be also of more tracks in high density), then high density is always the same size in the sector range 45000-549150.

By the way if you don't have the original to have a correct dump you cannot have nothing useful for Redump project.

My patch requests thread
--------------------------------

7 (edited by Balthier 2009-03-18 09:46:33)

Re: Converting MAME NAOMI chds to GD-ROMs

Rocknroms wrote:

About track01-02 (call it low density): you have to move pregap on beginning of track02, so yes those 150 empty sectors are pregap of track02, but you have to cut it from end of track01 and add the same size 0x00 at beginning of track02.

About high density (track03 or more): first you have to be sure that there's only one track (I don't know if Naomi gdroms are only made of 3 tracks as DC ones can be also of more tracks in high density), then high density is always the same size in the sector range 45000-549150.

By the way if you don't have the original to have a correct dump you cannot have nothing useful for Redump project.

Right I understand that.  But there are already 7 comfirmed dumps from Dumpcast, and generally from what I've seen they are spot-on barring the fact that they leave out the pregap on the track02.bin's.   4 of those 7 confirmed dumps are available as CHDs in MAME that can be successfully converted to GDs, and they are the following:

name "Dynamic Golf v2.002 (2001)(Sega)(JP)[!][Virtua Golf]"
description "Dynamic Golf v2.002 (2001)(Sega)(JP)[!][Virtua Golf]"
rom ( name "Dynamic Golf v2.002 (2001)(Sega)(JP)[!][Virtua Golf].gdi" size 87 crc 468c1495 md5 346fea58ab1a55c577138c5b04319157 sha1 980036e44ad9d694ea1699cd05c86ccd0c894c47 )
rom ( name track01.bin size 1058400 crc 3844ca3c md5 d42339b7949585091a5a50186c96afe9 sha1 821f5cac0e29be895330c5a1bf1bdbfb4ad2466d )
rom ( name track02.raw size 5016816 crc bf247b5d md5 bc3784299401a5712ad94dd586d4ec58 sha1 efc56306cad01be4709c06d8621deb4c3ae92923 )
rom ( name track03.bin size 1185760800 crc 61f4fa45 md5 8490d08f4b8b623e911f42c7620aa0b6 sha1 bb85ba2c98e19487fa761c9da1e5ee886a70f1e5 )

name "Guilty Gear XX - The Midnight Carnival v1.001 (2002)(Sammy)(JP)[!]"
description "Guilty Gear XX - The Midnight Carnival v1.001 (2002)(Sammy)(JP)[!]"
rom ( name "Guilty Gear XX - The Midnight Carnival v1.001 (2002)(Sammy)(JP)[!].gdi" size 87 crc 468c1495 md5 346fea58ab1a55c577138c5b04319157 sha1 980036e44ad9d694ea1699cd05c86ccd0c894c47 )
rom ( name track01.bin size 1058400 crc d87266da md5 c961e42d17afd8f5e447b71a334d6970 sha1 a1b6622681a1d7291a43c3f99e69274585f1c224 )
rom ( name track02.raw size 5016816 crc a7fc6e91 md5 19c8bb8afb29fedc6e72c56849b14534 sha1 f47e1ac15a991896f1236665321d4a5b2bd1c89c )
rom ( name track03.bin size 1185760800 crc 20ac72f3 md5 35a57faa136a8c8bc608140a79fda659 sha1 1d2a13ba78f9d56c7c4356b36558c32347e88017 )

name "Sports Jam v1.005 (2000)(Sega)(JP)[!]"
description "Sports Jam v1.005 (2000)(Sega)(JP)[!]"
rom ( name "Sports Jam v1.005 (2000)(Sega)(JP)[!].gdi" size 87 crc 468c1495 md5 346fea58ab1a55c577138c5b04319157 sha1 980036e44ad9d694ea1699cd05c86ccd0c894c47 )
rom ( name track01.bin size 1058400 crc f09ca7eb md5 35ddcbfc115264182c4fe20eba2af50c sha1 59e116f0d2cc013198993915a36de25dae0e1e48 )
rom ( name track02.raw size 5016816 crc 4d60a1f2 md5 94c4472ccedd6e6b31821d21c981777d sha1 885a2922a257fadbc4690c64b4fc75f1a59e5435 )
rom ( name track03.bin size 1185760800 crc 74c7d6d4 md5 8fa564b0f66b19a9add06c0272d07f51 sha1 1256edc49be8f73603e9ee9c0a4cc705924854dc )

name "Super Major League v1.001 (2001)(Sega)(JP)[!][World Series Baseball]"
description "Super Major League v1.001 (2001)(Sega)(JP)[!][World Series Baseball]"
rom ( name "Super Major League v1.001 (2001)(Sega)(JP)[!][World Series Baseball].gdi" size 87 crc 468c1495 md5 346fea58ab1a55c577138c5b04319157 sha1 980036e44ad9d694ea1699cd05c86ccd0c894c47 )
rom ( name track01.bin size 1058400 crc d61f4891 md5 7d88d18bcd0119e06b3a15b044680aad sha1 19416455ffd79bf63724b74c647b6b7b2c36efd5 )
rom ( name track02.raw size 5016816 crc 596eb2be md5 232156886ebf242afa77d402f801e9e5 sha1 dbc2367da0df8b5a4db935cc6280cd46d7c75bf1 )
rom ( name track03.bin size 1185760800 crc c075af77 md5 90876efbdd54e97da03e8ce231d7385a sha1 5eeb30b61b51e724d70976bce3834ca7e9d987c2 )

After adding pregap to the 2nd tracks on all of those games, we end up with the following for the 2nd tracks:

Dynamic Golf v2.002 (2001)(Sega)(JP)[!][Virtua Golf]
rom ( name Track02.bin size 5369616 crc 624592aa md5 7ab9c91ca3a16ff047bd7e6b6fda1ec8 sha1 46ac7273fd39992d3180bde000f06f07ea4e740f )

Guilty Gear XX - The Midnight Carnival v1.001 (2002)(Sammy)(JP)[!]
rom ( name Track02.bin size 5369616 crc 7a9d8766 md5 d04269d245e7bce488fd8d7da8b2b601 sha1 5c341a06d918f880974f93239b1461ce66e57d0f )

Sports Jam v1.005 (2000)(Sega)(JP)[!]
rom ( name Track02.bin size 5369616 crc 90014805 md5 7357c3febfa4050f3012deb6a404abe9 sha1 aee4b9790f2b089dd94c65714109048c6b8848cf )

Super Major League v1.001 (2001)(Sega)(JP)[!][World Series Baseball]
rom ( name Track02.bin size 5369616 crc 840f5b49 md5 a2286bd254388488408fde8589932c13 sha1 e5b38862b206043806912549dee0d7bad7052e38 )

So at least you can be somewhat sure that in the future if someone comes along and dumps the NAOMI games your way, they will more than likely match what I just posted.  I also took notes on these games and the other ones that haven't been confirmed yet.  Track01's and Track02's seem to have a consistency on their sizes.

Track01 generally consists of 300 or 450 data sectors (4-6 seconds) for most games.  Only a handful of the games are different.
Track02 is generally 1984 data sectors, and 4 games actually have 1998 data sectors.  Ikaruga is weird because the second track begins where the first one ends, there's no zero data in between.

but anyway, if no one's interested in this info then you can just close the thread.