DiscImageCreator

User avatar
pablogm123
Posts: 836
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by pablogm123 »

I agree. While there is a room for improvement, C2 parameter is useful once and for all.

Another suggestion / wish list:

-A function to either generate automatically .sfv, .md5 and .sha1 files (for the splitted tracks and the monolithic image) or output to a .txt files the CRC-32, MD5 and SHA-1 hashes of the dump, for the individual tracks and the single file image.

Examples of .sfv, .md5 and .sha1 files I am speaking about:

https://www.dropbox.com/s/j74jg0iymz226 … ope%29.sfv
https://www.dropbox.com/s/n62xlhqonjahv … ope%29.md5
https://www.dropbox.com/s/qzkfppalw0fy2 … pe%29.sha1
On semi-vacation. MSF/AMSF to LBA/offset and viceversa calculator: link
To write properly occidental characters contained in japanese titles: screenshot
Spaces must be the fullwidth variant: link / screenshot
User avatar
Nexy
Posts: 729
Joined: Mon Jun 08, 2026 1:26 am

Re: DiscImageCreator

Post by Nexy »

If you add hashing, I would prefer that they can be outputted in clrmame format for using in the newdisc menu.

I think that F1REB4LL's suggestion of error correction be used so we can be sure that the cache is defeated on re-read.

:EDIT:

Got testing results back from other person with different HW revision 5224a.

DIC w/C2 is now functioning properly with his drive. =]
Last edited by Nexy on Tue Oct 15, 2013 12:38 am, edited 1 time in total.
Plextor PX-760A 1.07 (+30) : Plextor PX-716SA 1.11 (+30) : Plextor PX-W5224A 1.04 (+30) : Plextor PX-W4824 1.07 (+30) : Plextor PX-W4012TA 1.07 (+98) : Plextor PX-W1610TA (+99) : Plextor PX-W1210TA 1.10 (+99) : Lite-On LTR-48246S (+6) : Lite-On LTR-52246S (+6) : Lite-On LH-20A1H LL0DN (+6) : BenQ DW1655 BCIB (+618) : ASUS DRW-2014L1 1.02 (+6) : Yamaha CRW-F1 (+733) : Optiarc SA-7290H5 1H44 (+48) : ASUS BW-16D1HT 3.02 (+6)
F1ReB4LL
Posts: 3395
Joined: Mon Jun 08, 2026 1:26 am

Re: DiscImageCreator

Post by F1ReB4LL »

There should be more logic in determining, if the EAN sector between tracks belongs to the previous or to the next track. https://redump.info/disc/2664/ -- here it doesn't belong to the previous sector, as usual, but to the next one. And it's common for PCE games. So it's better to compare the last pregap digit with the rest of pregaps and choose the one closer to the rest of pregaps, in this case it's "0" everywhere (00:02:00), so it can't be "4" (00:01:74).
MrX_Cuci
Posts: 745
Joined: Mon Jun 08, 2026 1:26 am

Re: DiscImageCreator

Post by MrX_Cuci »

So what is the recommened version now? WIP2? Or isn't it tested enough yet?
sarami
Posts: 1762
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by sarami »

wip2 is work in progress yet.
F1ReB4LL wrote:I still think it's better to read all the sectors "as is", make a list of incorrect ones and reread them after all the sectors were read. That should give better results, since when you read 1 sector many times, it may return cached results and when you reread all bad sectors in a batch after you have dumped the whole disc, you can be sure no caching is involved
Fixing your ways. But as a result, I think that the reading number of times is not so different.
Nexy wrote:I would prefer that they can be outputted in clrmame format for using in the newdisc menu.
me too. Please wait.
F1ReB4LL wrote:There should be more logic in determining, if the EAN sector between tracks belongs to the previous or to the next track.
PC Engine Disc is very irregular. I buy it and check it.
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
F1ReB4LL
Posts: 3395
Joined: Mon Jun 08, 2026 1:26 am

Re: DiscImageCreator

Post by F1ReB4LL »

sarami wrote:
F1ReB4LL wrote:There should be more logic in determining, if the EAN sector between tracks belongs to the previous or to the next track.
PC Engine Disc is very irregular. I buy it and check it.
Nope, you don't understand Image EAN sector itself is a replacement of one of the usual subchannels sectors. And when you see it between 2 tracks - it can be either the last sector of the previous track or the first sector of the next track, you can only guess Image So you should compare it against the rest of the gaps. For example, you have such EAN sector between 2 tracks and it either belongs to the previous sector (and the gap is 00:01:74) or to the next sector (and the gap is 00:02:00) => you need to compare both cases against the rest of the gaps. If all the other gaps end with 00, then this one is obviously 00:02:00. If only the first gap ends with 00 and all the rest (at least 2) end with 74, then this one is obviously 00:01:74. Hope, you've got my point.
You don't need to buy, I can give you .sub examples.
sarami
Posts: 1762
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by sarami »

Thanks all.
WIP3
http://www.mediafire.com/download/u0olo2c51f2qv13/
change: c2 error fix logic.
add: output hash(crc32, md5, sha1) to .dat file

>EAN Sector
Please wait.
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
User avatar
pablogm123
Posts: 836
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by pablogm123 »

Could you post the Unicode release of WIP3?

Wishlist:

-An option to override (for certain CDDAs with data pushed to the lead-out, such as the example posted below) the standard offset correction proposed by AccurateRip.

-This text can be removed, no longer applicable.
c2: Check C2 error (Only CD)
        Take twice as long
-To remove the [TRACK x] sections of the generated ccd file, and the CATALOG entrie as well. These sections aren't needed because the gaps and EAN/MCN are already defined by the actual subcode when burning the disc using the RAW DAO 96 mode of CloneCD. And add one CR+LF to separe each section, to read better the generated file.

Original:

Code: Select all

https://www.dropbox.com/s/zp80ugnqam4ulib/Original.ccd
My suggestion:

Code: Select all

https://www.dropbox.com/s/tzf8nhk9e14k6ay/Modified.ccd


Problems detected:

-An error is reported and the dump contain something unexpected: non-deinterleaved subcode data interleaved with the main channel. Dumping this audio disc.

Command line used: discimagecreator -rall g: 8 Tenbu-CDDA c2

Code: Select all

OS
        MajorVersion: 5, MinorVersion: 2, BuildNumber: 3790
AppVersion
        x86, Ansi build
BuildDate
        Oct 25 2013 22:13:58
Input File Name
         path: Tenbu-CDDA
        drive:
          dir:
        fname: Tenbu-CDDA
          ext:
Start -> 2013-10-25(Fri) 15:47:40
Creating bin from 36992 to 36992 (LBA)  36992
Creating img(LBA)  36991/ 36991

Creating bin, cue, ccd(Track)  2/ 2
Failed to search file [F:exec][L:255]
End -> 2013-10-25(Fri) 15:48:46
Screenshot of the dumped files, with the foreign and unexpected data selected

Image

Image

-Dumping a game CD (mixed mode CD) the same error is reported, but dumped files don't contain anything weird and hashes are the expected ones:

Command line used: discimagecreator -rall g: 8 Tenbu c2

Code: Select all

OS
        MajorVersion: 5, MinorVersion: 2, BuildNumber: 3790
AppVersion
        x86, Ansi build
BuildDate
        Oct 25 2013 22:13:58
Input File Name
         path: Tenbu
        drive:
          dir:
        fname: Tenbu
          ext:
Start -> 2013-10-25(Fri) 15:59:09
Creating bin from 195346 to 195347 (LBA) 195347
Creating img(LBA) 195345/195345

Descrambling data sector of img(LBA)  92039/ 92039
Creating bin, cue, ccd(Track)  9/ 9
Failed to search file [F:exec][L:255]
End -> 2013-10-25(Fri) 16:04:46
P.S.: No dat file is generated.
Last edited by pablogm123 on Fri Oct 25, 2013 9:21 am, edited 1 time in total.
On semi-vacation. MSF/AMSF to LBA/offset and viceversa calculator: link
To write properly occidental characters contained in japanese titles: screenshot
Spaces must be the fullwidth variant: link / screenshot
sarami
Posts: 1762
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by sarami »

Code: Select all

Input File Name
         path: Tenbu-CDDA
        drive:
          dir:
        fname: Tenbu-CDDA
          ext:
I didn't suppose that drive and dir was null string.
Where is file created? In case of windows7, C:\Users\<username>
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
User avatar
pablogm123
Posts: 836
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by pablogm123 »

Image

Image

Files are created in the expected folder, c:\temp.


===============================

I have to specify the absolute path of the output file so that discimagecreator will work OK. Previous releases worked OK with relative paths.

Image

Image

Image

===============================

I strongly think that the hashes of the single file image and the overread part should be stored into a separated .dat file, so that the .dat can be used to submit the dumps as is it, without cutting/deleting anything.

Instead of:

Code: Select all

        <rom name="Test (Track 01).bin" size="22007664" crc="695cbd0e" md5="bde971cfe8f86bc2dcfaf863f759823c" sha1="1bb24ed4874882e3e41db4b1cf8b2130be5493e2"/>
        <rom name="Test (Track 02).bin" size="4812192" crc="712aa00a" md5="97dbe54a83324eb07e2eb58af4366449" sha1="d6b673285b0dfed78afecc6b5ab47d62c5bd4c91"/>
        <rom name="Test (Track 03).bin" size="10591056" crc="14e115db" md5="42777657546f96f6343b075880bc433c" sha1="eab4c74de41d399fad7cf7bca9ea3e0942a6082f"/>
        <rom name="Test (Track 04).bin" size="49396704" crc="30614992" md5="75a725b2dc23d034d69a9609d7c2919e" sha1="757ce8199bd8c0535bc81d97d7c3bb48b9a0c484"/>
        <rom name="Test (Track 05).bin" size="49396704" crc="fa277a55" md5="3ee9af95307a2451152b7ceae7d85baa" sha1="65dbb0f512605389cf832e218db0a029232ce46e"/>
        <rom name="Test (Track 06).bin" size="49396704" crc="2d333c0b" md5="bcf0bdf1d8f378effc9eacb361e5189a" sha1="35fca09480ca880e321359f3622adf54be241a9b"/>
        <rom name="Test (Track 07).bin" size="49396704" crc="76debae8" md5="a5554704c3c5154c3d48dd6d5f556512" sha1="2f285e7c9a04679d597b94b0826a8c8d05019d0c"/>
        <rom name="Test (Track 08).bin" size="49396704" crc="76b54493" md5="fad997de6349cb3e2ea672fb133f18cc" sha1="f2ce6b3b884dd80090b18000c860d4f9b5f7c927"/>
        <rom name="Test (Track 09).bin" size="49396704" crc="c0f1960a" md5="edba053337114eb04735be56a0f4f875" sha1="f19df3b99407c0c3660bfd4f931ff801f4a09c35"/>
        <rom name="Test (Track 10).bin" size="49396704" crc="202d43a9" md5="f313d66551b839e859958fd3fc6c9cc8" sha1="6143253d9001d8072bfd6e33c71301f0604ddc6d"/>
        <rom name="Test (Track 11).bin" size="49396704" crc="1f71f588" md5="27112576eb14eb59e8c1d766758a6235" sha1="59721618cef37f46026bfc1570920ecb1982acaf"/>
        <rom name="Test (Track 12).bin" size="49396704" crc="90ae9a7a" md5="9cafe2a5cf0c2333ec62aed6491bee94" sha1="285203fa563a934a1e2345eb072ff5b14003c7a9"/>
        <rom name="Test (Track 13).bin" size="49396704" crc="a4b672be" md5="2b10bb48487e8e5874bc2e0544e796ff" sha1="6ece379704ba9f79ef53fcd4b888b8e9c67c7a71"/>
        <rom name="Test (Track 14).bin" size="50984304" crc="f2b7e73b" md5="3e43604d7fa0e05c776608c50ec5bdd9" sha1="c1bec3d9f041750cc45def404304870916811450"/>
        <rom name="Test (Track 15).bin" size="49396704" crc="308b608d" md5="b2e499d8f4f3355e8f3d5b66daf27ec5" sha1="c820531b0cea1a503fc38bcd21b7eb846137a24c"/>
        <rom name="Test (Track 16).bin" size="3984288" crc="ef421e96" md5="438e402e804c9922af32ff11f094d52d" sha1="ec25d0165241be025174d4f713b42a79a4a8b335"/>
        <rom name="Test (Track 17).bin" size="2474304" crc="9aa1ee4c" md5="9e7ce788f4072835c942291c9592035a" sha1="619a597408599b5b2cef1a3b2592b960d71037c1"/>
        <rom name="Test (Track 18).bin" size="11470704" crc="8bb16d1f" md5="999a4626bc1bc83866e35509191c79a4" sha1="e020a94db1ca300d621a34ea313d7c16f2291734"/>
        <rom name="Test (Track 19).bin" size="11473056" crc="5ba6d9c1" md5="6ba4a10865ae11f67077133330b267c0" sha1="e80957ad4c9aedbf756e039057041705bac7d196"/>
        <rom name="Test (Track 20).bin" size="11470704" crc="366945ad" md5="66879d8f6f86f1acf43e986b84e010e8" sha1="868ed316e29e030392f05e68be0c2b3061ea4763"/>
        <rom name="Test (Track 21).bin" size="11473056" crc="703e48be" md5="8573560c3179d657386a84fe07b2f0d4" sha1="c76d3d0b26a58754759cc1396fcc33e9281c54ee"/>
        <rom name="Test (Track 22).bin" size="12352704" crc="e9522535" md5="8413bb1634998aa04c363aedfedf3226" sha1="1eff452220065a6b4bcf268d2099bcfe121681e2"/>
        <rom name="Test (Track 23).bin" size="9003456" crc="3f81fdff" md5="39321c80cc9ec171385c97b95c1c2530" sha1="f3965757875dd3c9bce6909792366ed273dad2b1"/>
        <rom name="Test (Track 24).bin" size="16988496" crc="ee4b1788" md5="9d9b26fa1d10b2359730b45162d38331" sha1="73b3e60fdcd51790ed4d15aaa75f28df8fd85876"/>
        <rom name="Test.bin" size="2352" crc="be97ce3f" md5="9e297efc7a522480ef89a4a7f39ce560" sha1="fe1a9e36e57b299b68f2d0f07bbed05c08d460ed"/>
        <rom name="Test.img" size="722449728" crc="1d7594fe" md5="7b6227648094f309c597ebc4a766ecb4" sha1="87b316d0e1ecf58d3a32067c4e504be7b5492243"/>
This:

Code: Select all

        <rom name="Test (Track 01).bin" size="22007664" crc="695cbd0e" md5="bde971cfe8f86bc2dcfaf863f759823c" sha1="1bb24ed4874882e3e41db4b1cf8b2130be5493e2"/>
        <rom name="Test (Track 02).bin" size="4812192" crc="712aa00a" md5="97dbe54a83324eb07e2eb58af4366449" sha1="d6b673285b0dfed78afecc6b5ab47d62c5bd4c91"/>
        <rom name="Test (Track 03).bin" size="10591056" crc="14e115db" md5="42777657546f96f6343b075880bc433c" sha1="eab4c74de41d399fad7cf7bca9ea3e0942a6082f"/>
        <rom name="Test (Track 04).bin" size="49396704" crc="30614992" md5="75a725b2dc23d034d69a9609d7c2919e" sha1="757ce8199bd8c0535bc81d97d7c3bb48b9a0c484"/>
        <rom name="Test (Track 05).bin" size="49396704" crc="fa277a55" md5="3ee9af95307a2451152b7ceae7d85baa" sha1="65dbb0f512605389cf832e218db0a029232ce46e"/>
        <rom name="Test (Track 06).bin" size="49396704" crc="2d333c0b" md5="bcf0bdf1d8f378effc9eacb361e5189a" sha1="35fca09480ca880e321359f3622adf54be241a9b"/>
        <rom name="Test (Track 07).bin" size="49396704" crc="76debae8" md5="a5554704c3c5154c3d48dd6d5f556512" sha1="2f285e7c9a04679d597b94b0826a8c8d05019d0c"/>
        <rom name="Test (Track 08).bin" size="49396704" crc="76b54493" md5="fad997de6349cb3e2ea672fb133f18cc" sha1="f2ce6b3b884dd80090b18000c860d4f9b5f7c927"/>
        <rom name="Test (Track 09).bin" size="49396704" crc="c0f1960a" md5="edba053337114eb04735be56a0f4f875" sha1="f19df3b99407c0c3660bfd4f931ff801f4a09c35"/>
        <rom name="Test (Track 10).bin" size="49396704" crc="202d43a9" md5="f313d66551b839e859958fd3fc6c9cc8" sha1="6143253d9001d8072bfd6e33c71301f0604ddc6d"/>
        <rom name="Test (Track 11).bin" size="49396704" crc="1f71f588" md5="27112576eb14eb59e8c1d766758a6235" sha1="59721618cef37f46026bfc1570920ecb1982acaf"/>
        <rom name="Test (Track 12).bin" size="49396704" crc="90ae9a7a" md5="9cafe2a5cf0c2333ec62aed6491bee94" sha1="285203fa563a934a1e2345eb072ff5b14003c7a9"/>
        <rom name="Test (Track 13).bin" size="49396704" crc="a4b672be" md5="2b10bb48487e8e5874bc2e0544e796ff" sha1="6ece379704ba9f79ef53fcd4b888b8e9c67c7a71"/>
        <rom name="Test (Track 14).bin" size="50984304" crc="f2b7e73b" md5="3e43604d7fa0e05c776608c50ec5bdd9" sha1="c1bec3d9f041750cc45def404304870916811450"/>
        <rom name="Test (Track 15).bin" size="49396704" crc="308b608d" md5="b2e499d8f4f3355e8f3d5b66daf27ec5" sha1="c820531b0cea1a503fc38bcd21b7eb846137a24c"/>
        <rom name="Test (Track 16).bin" size="3984288" crc="ef421e96" md5="438e402e804c9922af32ff11f094d52d" sha1="ec25d0165241be025174d4f713b42a79a4a8b335"/>
        <rom name="Test (Track 17).bin" size="2474304" crc="9aa1ee4c" md5="9e7ce788f4072835c942291c9592035a" sha1="619a597408599b5b2cef1a3b2592b960d71037c1"/>
        <rom name="Test (Track 18).bin" size="11470704" crc="8bb16d1f" md5="999a4626bc1bc83866e35509191c79a4" sha1="e020a94db1ca300d621a34ea313d7c16f2291734"/>
        <rom name="Test (Track 19).bin" size="11473056" crc="5ba6d9c1" md5="6ba4a10865ae11f67077133330b267c0" sha1="e80957ad4c9aedbf756e039057041705bac7d196"/>
        <rom name="Test (Track 20).bin" size="11470704" crc="366945ad" md5="66879d8f6f86f1acf43e986b84e010e8" sha1="868ed316e29e030392f05e68be0c2b3061ea4763"/>
        <rom name="Test (Track 21).bin" size="11473056" crc="703e48be" md5="8573560c3179d657386a84fe07b2f0d4" sha1="c76d3d0b26a58754759cc1396fcc33e9281c54ee"/>
        <rom name="Test (Track 22).bin" size="12352704" crc="e9522535" md5="8413bb1634998aa04c363aedfedf3226" sha1="1eff452220065a6b4bcf268d2099bcfe121681e2"/>
        <rom name="Test (Track 23).bin" size="9003456" crc="3f81fdff" md5="39321c80cc9ec171385c97b95c1c2530" sha1="f3965757875dd3c9bce6909792366ed273dad2b1"/>
        <rom name="Test (Track 24).bin" size="16988496" crc="ee4b1788" md5="9d9b26fa1d10b2359730b45162d38331" sha1="73b3e60fdcd51790ed4d15aaa75f28df8fd85876"/>
And this in another .dat file (or dropped at all):

Code: Select all

        <rom name="Test.bin" size="2352" crc="be97ce3f" md5="9e297efc7a522480ef89a4a7f39ce560" sha1="fe1a9e36e57b299b68f2d0f07bbed05c08d460ed"/>
        <rom name="Test.img" size="722449728" crc="1d7594fe" md5="7b6227648094f309c597ebc4a766ecb4" sha1="87b316d0e1ecf58d3a32067c4e504be7b5492243"/>
Last edited by pablogm123 on Fri Oct 25, 2013 11:19 am, edited 1 time in total.
On semi-vacation. MSF/AMSF to LBA/offset and viceversa calculator: link
To write properly occidental characters contained in japanese titles: screenshot
Spaces must be the fullwidth variant: link / screenshot
Post Reply