DiscImageCreator

sarami
Posts: 1762
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by sarami »

FatArnold wrote:I tried dumping some gd-rom today with my PX-708. Unfortunately I get a segfault as soon as I enable /c2. Without /c2 the dump starts. Happens both on linux and the latest windows release.
Uploaded test version.
F1ReB4LL wrote:DIC dump to the left, old bin-cue dump to the right. And I really don't think these 2 bytes should be zeroed.
How about cdtoimg?
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
User avatar
ajshell1
Posts: 362
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by ajshell1 »

I'm going to try dumping that disc with all of the other methods I can find, and then see what sarami has to say.

I finished that data dump. It doesn't match a dump that I made with an older version of DIC

EDIT: setting the drive speed to 4x seems to have fixed it. Yay!

And the dump that I made matches a dump with an older version of DIC.
Last edited by ajshell1 on Sat Sep 22, 2018 11:01 pm, edited 1 time in total.
FatArnold
Posts: 301
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by FatArnold »

sarami wrote:
FatArnold wrote:I tried dumping some gd-rom today with my PX-708. Unfortunately I get a segfault as soon as I enable /c2. Without /c2 the dump starts. Happens both on linux and the latest windows release.
Uploaded test version.
Thank you so much for everything! Tried reading a GD-ROM just now and the dump went just as it should.

However, now it segfaults after the dump. But all the data seem to be dumped correctly Image

Code: Select all

AppVersion
    x86, AnsiBuild, 20180923 110347
/c2 val1 is omitted. set [4000]
/c2 val2 is omitted. set [0]
/home/rebecca/Desktop/DiscImageCreator_linux_test/4Wheel/ doesn't exist, so create.
CurrentDirectory
    /home/rebecca/Desktop/DiscImageCreator_linux_test
WorkingPath
     Argument: 4Wheel/4Wheel.bin
     FullPath: /home/rebecca/Desktop/DiscImageCreator_linux_test/4Wheel/4Wheel.bin
        Drive: /
    Directory: home/rebecca/Desktop/DiscImageCreator_linux_test/4Wheel/
     Filename: 4Wheel
    Extension: .bin
StartTime: 2018/09/23(Sun) 11:16:05
Set the drive speed: 2822KB/sec
This drive supports [OpCode: 0xd8, SubCode: 0]
This drive supports [OpCode: 0xd8, SubCode: 1]
This drive supports [OpCode: 0xd8, SubCode: 2]
This drive supports [OpCode: 0xd8, SubCode: 8]
Checking SubQ adr (Track) 18/18
Checking SubRtoW (Track) 18/18
Reading DirectoryRecord    1/   1
Set OpCode: 0xd8, SubCode: 8(Raw)
Creating .scm from 45000 to 549151 (LBA) 549150
No C2 errors
Descrambling img (LBA) 504149/504150
Exec /home/rebecca/Desktop/DiscImageCreator_linux_test/./EccEdc_linux.out check /home/rebecca/Desktop/DiscImageCreator_linux_test/4Wheel/4Wheel.img
FILE: /home/rebecca/Desktop/DiscImageCreator_linux_test/4Wheel/4Wheel.img
Checking sectors (LBA) 504149/504149
[NO ERROR] User data vs. ecc/edc match all
Segmentation fault
Logs: https://mega.nz/#!6gAACaYK!AC-o6GHrPiW9 … yJStw7GHsY
User avatar
celebi
Posts: 182
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by celebi »

But READ12 (0xa8) can't read it. Perhaps READ CD (0xbe) is also same. It's weird...
Is this a protection? I don't know. Maybe iR0b0t or Jackal or reentrant know it?
I re-checked again with CD Manipulator and Clone CD, it seems that even those tools don't know how to handle this sector properly. Clone CD fills sector 150 with "55" while CD Manipulator fills the same sector with "00". Does that make any sense? Which tool should I trust more?

Would it be helpful to upload a subdump dump?
Last edited by celebi on Sun Sep 23, 2018 10:49 am, edited 1 time in total.
ASUS BW-16D1HT 3.10 (Ribshark firmware) | Plextor W4012TA | LiteOn SOHD-167T | Sony Optiarc AD-7290H
reentrant
Posts: 719
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by reentrant »

By saying sector 150 you mean:
A: Sector with MSF 00:02:00
B: Sector with MSF 00:04:00

Some tools start sectors numbering from 0 and some from 150...
In any way plz upload SCM dump that HAS that faulty sector...
worhil
Posts: 2
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by worhil »

Is there any command combination that will restart an interrupted run? I got a Address boundary error partway through retrying sectors with c2 errors, and I'd like to tell it to continue testing the sectors noted in the c2Errors file. It looks like you can specify the sectors to retry yourself manually, but it'd be much nicer if it could resume without too much manual intervention.
User avatar
celebi
Posts: 182
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by celebi »

In any way plz upload SCM dump that HAS that faulty sector...
Sorry, the sector 150 I'm referring to is at 00:02:00.

What's the best way to obtain an .scm dump without DIC? Dumping with DIC fails so early that it doesn't create a .scm file. I tried with "cd", "data" and "audio" option.
Last edited by celebi on Sun Sep 23, 2018 12:23 pm, edited 1 time in total.
ASUS BW-16D1HT 3.10 (Ribshark firmware) | Plextor W4012TA | LiteOn SOHD-167T | Sony Optiarc AD-7290H
sarami
Posts: 1762
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by sarami »

Uploaded test. http://www.mediafire.com/file/eq80y20l9 … st.7z/file

fixed: Skipped this error.

Code: Select all

LBA[000000, 0000000]: [F:ReadCDForFileSystem][L:574]
    Opcode: 0xa8
    ScsiStatus: 0x02 = CHECK_CONDITION
    SenseData Key-Asc-Ascq: 03-02-83 = MEDIUM_ERROR - VENDOR UNIQUE ERROR
lpCmd: a8, 00, 00, 00, 00, 00, 00, 00, 00, 01, 00, 00
dwBufSize: 2048
added: support unnamed protection
I created 2 text files. 1st line is comment. 2nd line is file name.
EdcEccErrorProtect.txt (e.g. https://redump.info/disc/45814/ )

Code: Select all

# This is a file to fix the edc/ecc error sector. Please write the file name you want to fix the error
CD.IDX
ReadErrorProtect.txt (e.g. https://redump.info/disc/43270/ )

Code: Select all

# This is a file not to read sector. Please write the file name you want to read skipping
SYSTEM.LSK
To use this file, please use /sf option.


added: support laserlock and proring (needs optiarc drive)
How to dump (almost same CDArchive)
e.g. https://redump.info/disc/30992/
1. dump the disc except the protected file using plextor drive.

Code: Select all

DiscImageCreator.exe cd <driveletter> <filename> <drivespeed> /sf
* DIC detects the protection like this.

Code: Select all

Detected [LASERLOK.IN], from 337 to 10336

2. when dumping finished, eject the disc from plex drive and insert it in optiarc drive.
3. dump the protected file

Code: Select all

DiscImageCreator.exe data <driveletter> <filename> <drivespeed> 337 10338 /sf /sk 76
* CD has a offset, so please specify more +1 or +2 than endlba. (e.g. 10336 -> 10338)
* /sk is below.

Code: Select all

        /sk     Skip sector for physical protect (e.g. proring, LaserLock etc.)
                        val     sector num
4. merge plextor image and optiarc image

Code: Select all

DiscImageCreator.exe merge <plex img> <opti img>
* I don't test yet about other ring protection.

FatArnold wrote:However, now it segfaults after the dump. But all the data seem to be dumped correctly
cue file is missing. Is windows build also same?
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
reentrant
Posts: 719
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by reentrant »

sarami: It's going in a good direction but to speed things up you could also code sector range extraction from those discs. It's way faster to read specific 'n' sectors than entire cd, and merge command that merges single sectors - just like CDArchive does.

celebi:

Code: Select all

========== OpCode[0xd8]: SubCode[0]: Check Drive + CD offset ==========
========== LBA[000000, 0000000]: Main Channel ==========
       +0 +1 +2 +3 +4 +5 +6 +7  +8 +9 +A +B +C +D +E +F
0000 : 5C 7A B9 E3 32 C9 D5 96  DF 2E D8 1C 5A 89 FB 26   \z..2.......Z..&
0010 : C3 5A D1 FB 1C 43 49 F1  F6 C4 46 D3 72 DD E5 99   .Z...CI...F.r...
0020 : 00 FF FF FF FF FF FF FF  00 FF FF FF FF FF FF FF   ................
0030 : FF FF FF 00 01 82 00 61  00 28 00 1E 80 08 60 06   .......a.(....`.
0040 : A8 02 FE 81 80 60 60 28  28 1E 9E 88 68 66 AE AA   .....``((...hf..
0050 : FC 7F 01 E0 00 48 00 36  80 16 E0 0E C8 04 56 83   .....H.6......V.
0060 : 7E E1 E0 48 48 36 B6 96  F6 EE C6 CC 52 D5 FD 9F   ~..HH6......R...
0070 : 01 A8 00 7E 80 20 60 18  28 0A 9E 87 28 62 9E A9   ...~. `.(...(b..
0080 : A8 7E FE A0 40 78 30 22  94 19 AF 4A FC 37 01 D6   .~..@x0"...J.7..
I don't like this lines:
0020 : 00 FF FF FF FF FF FF FF  00 FF FF FF FF FF FF FF   ................
0030 : FF FF FF 00 01 82 00 61

D8 reads ok, but 'higher level' read commands fail. So my conclusion is that there's something either with Header or ECC/EDC.
It looks like these devices don't like such patterns?
Last edited by reentrant on Mon Sep 24, 2018 1:04 am, edited 1 time in total.
User avatar
celebi
Posts: 182
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by celebi »

Uploaded test. http://www.mediafire.com/file/eq80y20l9 … st.7z/file

fixed: Skipped this error.
Thanks a lot, with this test version I was able to dump this disk. Interestingly the checksums doesn't match with either CD Manipulator or Clone CD.

And even more interesting is that edcchk hasn't detected an error in sector 150 (00:02:00) and just detected it as Mode 1 data sector.
Last edited by celebi on Tue Sep 25, 2018 2:29 pm, edited 1 time in total.
ASUS BW-16D1HT 3.10 (Ribshark firmware) | Plextor W4012TA | LiteOn SOHD-167T | Sony Optiarc AD-7290H
Post Reply