Ringed Disc Dumping Guide

From Redump Wiki

(Difference between revisions)
Jump to: navigation, search
(24 intermediate revisions not shown)
Line 3: Line 3:
==CD Dumping==
==CD Dumping==
===Hardware Required===
===Hardware Required===
-
* [[DiscImageCreator: Optical Disc Drive Compatibility|Compatible Plextor]]
+
* [http://wiki.redump.org/index.php?title=DiscImageCreator:_Optical_Disc_Drive_Compatibility Compatible Plextor]
* Liteon SOHD-167T
* Liteon SOHD-167T
 +
 +
===Tools Required===
 +
* [https://github.com/saramibreak/DiscImageCreator DIC]/[https://github.com/SabreTools/MPF MPF]
 +
* [https://www.redfox.bz/en/clonecd.html CloneCD] (Free Trial)
 +
* [https://github.com/saramibreak/EccEdc/ ECCEDC.exe] (Optional)
 +
* [http://forum.redump.org/post/79852/#p79852 CDArchive]
 +
*[http://ftp.ntu.edu.tw/pub/cpatch/c/cdmage/source/cdmage1-02-1b5.rar CDMage]
===Dumping===
===Dumping===
-
'''Step 1''': Try a Plextor + MPF/DIC dump. To get all the information for data + audio you need to actually complete the dump procedure with DIC, clicking on the opened Windows terminal will pause the dumping process. At that point open the disc drive, press enter and let the "dump" go on. DIC will spit out a lot of errors because of course there's no disc in the drive, but pause it again as soon as the ending ring sector it's going to be skipped by dumping procedure. then close the drive, wait some time to let Windows recognize the disc again, and at that point press enter on the terminal window to let the process continue. if everything is correct, the dump will end and generate an incomplete track 1.bin (errors to be noticed inside the eccedc.txt file), but the other tracks from track 2 to the end of the disc, and the cue file of course, should be fine. Of course the ring will cause some c2 error so when you're at that point just close everything and remove the disc
 
-
with this first step you can obtain still useful data, like the disc offset and the PVD from the maininfo.txt file (you would have to get it manually otherwise).
 
-
'''Step 2''': Put the disc in the SOHD-167T drive, and do a copy with CloneCD, that can quickly (not so quickly... but anyway) skip through the ring.
+
'''Step 1''': First attempt to dump the ring protected disc in DIC/MPF using a compatible Plextor drive. This is to acquire information about the disc and generate logs, the actual dump does not matter and is not complete. If the dump does complete without errors, it is not a ring protected disc. During the dump, DIC may/should freeze once it reaches the sector that the ring protection starts. At this point, pause DIC by clicking into the console window (possible to do this in Windows 10 and Windows 11, probably doesn't work in Linux), and eject the disc from the drive. Afterwards, continue the DIC dump by pressing Enter in the console window. This allows DIC to skip the ring entirely as there is no disc in the drive. Once you believe DIC has passed all of that ring's protected sectors, pause DIC again, insert the disc, and wait for Windows to detect the disc. Once the disc has been detected by Windows it is safe to continue the DIC dump. Repeat for multiple rings. Once DIC is finished you will have generated logs for the disc containing information such as the offset and PVD. You might want to also try to dump the disc with DIC without using the /c2 parameter for an easier task.
-
from that point on, when you have the clone cd image, you'll have to use the SOHD-167T drive to run the tool called CDArchive[http://forum.redump.org/post/79852/#p79852]. it's a command line tool only, it's not for the faint of heart, and from this point on this will require A LOT OF TIME AND PATIENCE because you need to re-read multiple times backwards from the latest readable sector the drive will make a lot of "grinding" noises, you will need multiple retries, and sometimes you can feel the urge of throwing everything in the trash but in the end you will get some new readable sectors... and at that point, still using cdarchive, you'll need to "merge" the CloneCD .img file with the new extracted sectors.
+
-
Command line example:
 
-
cdarchive --mode=ext --extrdrive=G  --extrstart=279050 --extrend=279094 --extroverread=0 --extrretries=50 --extrskip=1000 --extrdirection=b --extrdiscmode="cd" --extrsectdir="E:\CDArchive\test" --extrrefcue="E:\CDArchive\test\test.cue"
 
-
cdarchive --mode=mer --merdiscmode=cd --mersrcdir="E:\CDArchive\test" --meroutcue="E:\CDArchive\test\test.cue"
 
-
that's a full command:
+
'''Step 2''': Move the disc over to the SOHD-167T drive, this will be used for the rest of the guide. Open CloneCD, select "Read to Image file," select the SOHD-167T drive at the top, select the "Protected PC Game" profile, and click Next. Save the IMAGE file wherever you'd like in an easy to access spot for future Command Prompt access. IMPORTANT: Put a checkmark where it asks to create a Cue-Sheet (.CUE) file, this is required for future steps. Allow CloneCD to finish dumping, this may take a while and may appear like it is making no progress, but let it continue. CloneCD will skip the ring protected sectors and generate a (nearly) complete dump. The drive will eject the disc on completion, remember to insert it back when the dump is complete.
-
--mode could be "ext" or "mer", to extract or merge sectors;
+
-
--extrdrive is for the drive letter
+
-
--extrstart & end is for the starting and ending sectors
+
-
--extroverread i don't have a clue
+
-
--extrretries means that every sector will be tested for that specific amount of times. i suggest not going much higher number than 100. let the drive cool down for a bit and then try again
+
-
--extrskip i don't have a clue either
+
-
--extrdirection should be f for front or b for back, use the "b" all the times
+
-
--extrdiscmode is for CD or DVD media
+
-
--extrsectdir is the folder where you will place the extracted sectors (remember to create this folder before running this application)
+
-
--extrrefcue is for the CloneCD cue file related to the previous image file
+
-
another thing: CDArchive needs to be running in a console with administrative privileges
 
-
write cmd in the W10 search bar, right click on it, open it as administrator, accept to give the privileges, and then use "cd + the folder path" to run the application directly from its folder.
 
-
==DVD Dumping Guide==
+
'''Step 3''': Open the CloneCD log after (or before) it finishes by clicking "Tool > Log ..." in the CloneCD window. The log will show what sectors were skipped but it may not be exact. To see what exact sectors are missing we will want to run the CloneCD IMAGE.IMG file through ECCEDC.exe. Open a command prompt window (Win + R, type CMD, Enter). Navigate to where you placed ECCEDC.exe and run the command: "ECCEDC.exe checkex <location of IMAGE.cue file>". ECCEDC will generate a log in that location (IMAGE.cue_EdcEcc_Track_1.txt), navigate to it and open it (it's recommend to use Notepad++ because the file is large and makes Notepad lag). Press CTRL + F to open the Find window and search for the first line that says "2336 bytes have been already replaced at 0x55". This is where the ring protection starts. Make a note somewhere of the sector this starts and ends in (It may only be one sector). Repeat for all rings. When you are done you should have a range that the ring protection covers (Ex. 215808-220474).
-
also, we use cdarchive to dump ring protected DVDs. As it's explained here[http://forum.redump.org/post/79852/#p79852] in the command line you'll have to use " --extrdiscmode=dvd " and a special cue file with this information:
+
-
FILE "FILE.ISO" BINARY
+
 
 +
'''Step 4''': Open an elevated Command Prompt window. In the Windows search bar, type "CMD", right click "Command Prompt" and click "Open as Administrator". Navigate in CMD to where you placed CDArchive and run the following command after filling in the required information:
 +
 
 +
'''Template''':
 +
 
 +
'''cdarchive.exe --mode=ext --extrdrive=<DriveLetter>  --extrstart=0 --extrend=<LASTSectorOfRingProtection> --extroverread=0 --extrretries=50 --extrskip=1000 --extrdirection=b --extrdiscmode="cd" --extrsectdir="<SectorExtractionDirectory>" --extrrefcue="<LocationOfIMAGE.cue>"'''
 +
 
 +
'''Example''':
 +
 
 +
'''cdarchive.exe --mode=ext --extrdrive=E --extrstart=0 --extrend=220474 --extroverread=0 --extrretries=50 --extrskip=1000 --extrdirection=b --extrdiscmode="cd" --extrsectdir="D:\CDArchive\Extracted" --extrrefcue="D:\Dumps\IMAGE.cue"'''
 +
 
 +
CDArchive will attempt to read sectors at the end of the ring protection. If CDArchive gets stuck on one sector after multiple attempts, you may move on to the start of the protection and attempt to read those sectors. Repeat for all rings. This process will likely take several hours. If your drive feels like it is overheating, give it a break and let it cool down. Hot drives don't work as well for reading sectors.
 +
 
 +
 
 +
'''Step 5''': While still in the command prompt and navigated to where CDArchive is, run the following command filling in the required information:
 +
 
 +
'''Template''':
 +
 
 +
'''cdarchive.exe --mode=mer --merdiscmode=cd --mersrcdir="<SectorExtractionDirectory>" --meroutcue="<LocationOfIMAGE.cue>"'''
 +
 
 +
'''Example''':
 +
 
 +
'''cdarchive.exe --mode=mer --merdiscmode=cd --mersrcdir="D:\CDArchive\Extracted" --meroutcue="D:\Dumps\IMAGE.cue"'''
 +
 
 +
This will merge all the newly required sectors and complete the dump.
 +
 
 +
 
 +
'''Step 6''': Before sending the dump informations to Redump, check the image file with the CDMage tool. If there's some errors, repair them. The yellow sectors only needs to be repaired, red sectors are empty and missing, because of the ring protection.
 +
 
 +
===CDArchive Variables===
 +
 
 +
--mode -> Could be "ext" (extract) or "mer" (merge), to extract or merge sectors;
 +
--extrdrive -> Drive Letter for SOHD-167T
 +
--extrstart -> Start of sector range you want CDArchive to scan
 +
--extrend -> End of sector range you want CDArchive to scan
 +
--extroverread -> Read X amount of sectors before/after the range (Helpful for resetting drive to a "valid" state)
 +
--extrretries -> Number of times CDArchive will attempt to read a sector before moving on
 +
--extrskip -> Number of unread sectors until stopping, count resets upon successful sector read.
 +
--extrdirection -> Can be "f" (Forwards) or "b" (Backwards) for which direction you want CDArchive to scan. Backwards is recommended.
 +
--extrdiscmode -> Media type (CD or DVD)
 +
--extrsectdir -> Folder where you will place the extracted sectors (remember to create this folder before running this application)
 +
--extrrefcue -> is for the CloneCD cue file related to the previous image file
 +
 
 +
==DVD Dumping==
 +
 
 +
===Hardware Required===
 +
 
 +
* Any DVD Drive (Unconfirmed)
 +
 
 +
CDArchive is used for dumping Ring Protected DVDs. As it's explained [http://forum.redump.org/post/79852/#p79852 here] in the command line you'll have to use "--extrdiscmode=dvd" and a special cue file with this information:
 +
 
 +
FILE "FILE.ISO" BINARY  
   TRACK 01 MODE3/2048
   TRACK 01 MODE3/2048
     INDEX 01 00:00:00  
     INDEX 01 00:00:00  
-
DVD command line examples:
+
See the CD Dumping section for command examples and templates.
-
cdarchive --mode=ext --extrdrive=G --extrstart=0  --extrend=5710 --extroverread=0 --extrretries=50 --extrskip=1000 --extrdirection=b --extrdiscmode="dvd" --extrsectdir="E:\CDArchive\test" --extrrefcue="E:\CDArchive\test.cue"
+
-
cdarchive --mode=mer --merdiscmode=dvd --mersrcdir=E:\CDArchive\test --meroutcue=E:\CDArchive\test.cue
+
-
 
+
-
for DVDs any drive can be used i guess, i've tried multiple drives with no differences in dumping process.
+
[[Category:Dumping Guides]]
[[Category:Dumping Guides]]

Revision as of 05:06, 20 May 2022

Ringed Discs have physical separators[1], preventing the disc to be properly dumped by typical means. This guide is for data only discs, data + audio tracks needs a different procedure to get the right .cue file. Note: this guide is not for Dreamcast / GD-Roms which also have rings, see GD-Rom Dumping Guide.

Contents

CD Dumping

Hardware Required

Tools Required

Dumping

Step 1: First attempt to dump the ring protected disc in DIC/MPF using a compatible Plextor drive. This is to acquire information about the disc and generate logs, the actual dump does not matter and is not complete. If the dump does complete without errors, it is not a ring protected disc. During the dump, DIC may/should freeze once it reaches the sector that the ring protection starts. At this point, pause DIC by clicking into the console window (possible to do this in Windows 10 and Windows 11, probably doesn't work in Linux), and eject the disc from the drive. Afterwards, continue the DIC dump by pressing Enter in the console window. This allows DIC to skip the ring entirely as there is no disc in the drive. Once you believe DIC has passed all of that ring's protected sectors, pause DIC again, insert the disc, and wait for Windows to detect the disc. Once the disc has been detected by Windows it is safe to continue the DIC dump. Repeat for multiple rings. Once DIC is finished you will have generated logs for the disc containing information such as the offset and PVD. You might want to also try to dump the disc with DIC without using the /c2 parameter for an easier task.


Step 2: Move the disc over to the SOHD-167T drive, this will be used for the rest of the guide. Open CloneCD, select "Read to Image file," select the SOHD-167T drive at the top, select the "Protected PC Game" profile, and click Next. Save the IMAGE file wherever you'd like in an easy to access spot for future Command Prompt access. IMPORTANT: Put a checkmark where it asks to create a Cue-Sheet (.CUE) file, this is required for future steps. Allow CloneCD to finish dumping, this may take a while and may appear like it is making no progress, but let it continue. CloneCD will skip the ring protected sectors and generate a (nearly) complete dump. The drive will eject the disc on completion, remember to insert it back when the dump is complete.


Step 3: Open the CloneCD log after (or before) it finishes by clicking "Tool > Log ..." in the CloneCD window. The log will show what sectors were skipped but it may not be exact. To see what exact sectors are missing we will want to run the CloneCD IMAGE.IMG file through ECCEDC.exe. Open a command prompt window (Win + R, type CMD, Enter). Navigate to where you placed ECCEDC.exe and run the command: "ECCEDC.exe checkex <location of IMAGE.cue file>". ECCEDC will generate a log in that location (IMAGE.cue_EdcEcc_Track_1.txt), navigate to it and open it (it's recommend to use Notepad++ because the file is large and makes Notepad lag). Press CTRL + F to open the Find window and search for the first line that says "2336 bytes have been already replaced at 0x55". This is where the ring protection starts. Make a note somewhere of the sector this starts and ends in (It may only be one sector). Repeat for all rings. When you are done you should have a range that the ring protection covers (Ex. 215808-220474).


Step 4: Open an elevated Command Prompt window. In the Windows search bar, type "CMD", right click "Command Prompt" and click "Open as Administrator". Navigate in CMD to where you placed CDArchive and run the following command after filling in the required information:

Template:

cdarchive.exe --mode=ext --extrdrive=<DriveLetter> --extrstart=0 --extrend=<LASTSectorOfRingProtection> --extroverread=0 --extrretries=50 --extrskip=1000 --extrdirection=b --extrdiscmode="cd" --extrsectdir="<SectorExtractionDirectory>" --extrrefcue="<LocationOfIMAGE.cue>"

Example:

cdarchive.exe --mode=ext --extrdrive=E --extrstart=0 --extrend=220474 --extroverread=0 --extrretries=50 --extrskip=1000 --extrdirection=b --extrdiscmode="cd" --extrsectdir="D:\CDArchive\Extracted" --extrrefcue="D:\Dumps\IMAGE.cue"

CDArchive will attempt to read sectors at the end of the ring protection. If CDArchive gets stuck on one sector after multiple attempts, you may move on to the start of the protection and attempt to read those sectors. Repeat for all rings. This process will likely take several hours. If your drive feels like it is overheating, give it a break and let it cool down. Hot drives don't work as well for reading sectors.


Step 5: While still in the command prompt and navigated to where CDArchive is, run the following command filling in the required information:

Template:

cdarchive.exe --mode=mer --merdiscmode=cd --mersrcdir="<SectorExtractionDirectory>" --meroutcue="<LocationOfIMAGE.cue>"

Example:

cdarchive.exe --mode=mer --merdiscmode=cd --mersrcdir="D:\CDArchive\Extracted" --meroutcue="D:\Dumps\IMAGE.cue"

This will merge all the newly required sectors and complete the dump.


Step 6: Before sending the dump informations to Redump, check the image file with the CDMage tool. If there's some errors, repair them. The yellow sectors only needs to be repaired, red sectors are empty and missing, because of the ring protection.

CDArchive Variables

--mode -> Could be "ext" (extract) or "mer" (merge), to extract or merge sectors;
--extrdrive -> Drive Letter for SOHD-167T
--extrstart -> Start of sector range you want CDArchive to scan
--extrend -> End of sector range you want CDArchive to scan
--extroverread -> Read X amount of sectors before/after the range (Helpful for resetting drive to a "valid" state)
--extrretries -> Number of times CDArchive will attempt to read a sector before moving on
--extrskip -> Number of unread sectors until stopping, count resets upon successful sector read.
--extrdirection -> Can be "f" (Forwards) or "b" (Backwards) for which direction you want CDArchive to scan. Backwards is recommended.
--extrdiscmode -> Media type (CD or DVD)
--extrsectdir -> Folder where you will place the extracted sectors (remember to create this folder before running this application)
--extrrefcue -> is for the CloneCD cue file related to the previous image file

DVD Dumping

Hardware Required

  • Any DVD Drive (Unconfirmed)

CDArchive is used for dumping Ring Protected DVDs. As it's explained here in the command line you'll have to use "--extrdiscmode=dvd" and a special cue file with this information:

FILE "FILE.ISO" BINARY 
 TRACK 01 MODE3/2048
   INDEX 01 00:00:00 

See the CD Dumping section for command examples and templates.

Personal tools