Skip to main content

Topic: Cuetools: How can I repair a disc image (Read 2694 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • mrgou
  • [*][*]
Cuetools: How can I repair a disc image
Hi,

Cuetools is apparently able to "repair a damaged CD image if the disc is in CTDB and if the damage is not too severe." But how do you do that? I see no such option in cuetools, and I'd like to try and repair an image created with EAC.

Thanks!

  • gib
  • [*][*][*]
Cuetools: How can I repair a disc image
Reply #1
A long time ago, shortly after CueTools added the ability to fix rips, I tested the functionality by intentionally changing a few samples of a .wav on one of my rips.  As I recall, I simply had CueTools verify the rip, and when it saw it was in error, it offered to fix it.  This was a long time ago, so my recollection could be wrong about that.

The point of that probably needless exposition is that I just tried the same thing now and CueTools did NOT offer to fix the rip.  So, either I'm completely mistaken, or the way CueTools works has changed a bit over time. 

In any event, I did tinker around and figure out how to make it work.  This may not be the only way to do it, but it's how I did it just now.  Make sure your settings are as follows:

-  In the upper left corner, select "fix" from the dropdown.
-  In the "Action" section, select "Encode" as well as "repair" in the dropdown. 
-  In the "Mode" section, choose what you want (presumably image + cue)
-  In the "Audio Output" section, choose your preferred output.  I used .wav, but any lossless format would be fine. 

And that's it.  Just choose your .cue sheet in the "input" section and make sure you choose an output path/name for the, well, output.  If it can fix the rip, it will do so.  I didn't try damaging the .wav file to the point it couldn't fix it, but I imagine it will tell you if the rip is unfixable.
  • Last Edit: 02 August, 2013, 03:26:01 AM by gib

  • korth
  • [*][*][*][*][*]
Cuetools: How can I repair a disc image
Reply #2
Quote
- In the upper left corner, select "fix" from the dropdown.

This is wrong. That 'profile' is for the 'fix offset' script. You don't need to switch profiles to use the 'repair' script. (You could create one for the 'repair' script though if you wish.)
  • Last Edit: 02 August, 2013, 08:07:38 AM by korth
korth

  • mrgou
  • [*][*]
Cuetools: How can I repair a disc image
Reply #3
Quote
- In the upper left corner, select "fix" from the dropdown.

This is wrong. That 'profile' is for the 'fix offset' script. You don't need to switch profiles to use the 'repair' script. (You could create one for the 'repair' script though if you wish.)


So what should I do? Because this doesn't work. It simply does a verification:



Thanks!

  • korth
  • [*][*][*][*][*]
Cuetools: How can I repair a disc image
Reply #4
Could you post the complete log? (in a CODEBOX please) The pic only shows a partial view.

Edit: You blurred out the complete Input section so I can't see if you selected a single image. Repair doesn't work in 2.1.4 if multiple CTDB recovery records exist when you select a folder. Link
Edit: Also you will need to select Image+CUE or Tracks in the Mode section. Wav doesn't support Embedded.
  • Last Edit: 02 August, 2013, 08:34:46 AM by korth
korth

  • mrgou
  • [*][*]
Cuetools: How can I repair a disc image
Reply #5
Could you post the complete log? (in a CODEBOX please) The pic only shows a partial view.

Edit: You blurred out the complete Input section so I can't see if you selected a single image. Repair doesn't work in 2.1.4 if multiple CTDB recovery records exist when you select a folder. Link
Edit: Also you will need to select Image+CUE or Tracks in the Mode section. Wav doesn't support Embedded.

After selecting Image+CUE, same thing happens, no new image in the output folder. My input is the single .cue file created by EAC, next to the wav file. Track 12 is the bad one which I'm hoping to repair.

Code: [Select]
[CUETools log; Date: 2/08/2013 16:26:29; Version: 2.1.4]
[CTDB TOCID: QsD3RhzghajZIv4O3of_H336WQ8-] found.
Track | CTDB Status
  1  | (4/4) Accurately ripped
  2  | (4/4) Accurately ripped
  3  | (4/4) Accurately ripped
  4  | (4/4) Accurately ripped
  5  | (4/4) Accurately ripped
  6  | (4/4) Accurately ripped
  7  | (4/4) Accurately ripped
  8  | (4/4) Accurately ripped
  9  | (4/4) Accurately ripped
 10  | (4/4) Accurately ripped
 11  | (4/4) Accurately ripped
 12  | (0/4) No match
[AccurateRip ID: 00218d08-01396ba2-a211840c] found.
Track  [  CRC  |  V2  ] Status
 01    [1d851be6|6e105c90] (1+0/1) Accurately ripped
 02    [9932018f|5e666d71] (1+0/1) Accurately ripped
 03    [9d21117e|a179147a] (1+0/1) Accurately ripped
 04    [9c575397|aea853ee] (1+0/1) Accurately ripped
 05    [2738e740|9a9b8eae] (1+0/1) Accurately ripped
 06    [6dfee318|86157b2c] (1+0/1) Accurately ripped
 07    [a83dab3e|56450eb2] (1+0/1) Accurately ripped
 08    [cea32d36|0b696106] (1+0/1) Accurately ripped
 09    [b580d542|442a0dde] (1+0/1) Accurately ripped
 10    [bde4c2fd|47422daa] (1+0/1) Accurately ripped
 11    [601c5bc9|a0d0272e] (1+0/1) Accurately ripped
 12    [c3e48a8a|a04063fb] (0+0/1) No match

Track Peak [ CRC32  ] [W/O NULL] [  LOG  ]
 --  99,9 [6EF025E9] [44B98684]  CRC32 
 01  99,9 [A0E49507] [40FB672A]         
 02  99,9 [29446DE2] [A2CFAD31]         
 03  99,9 [77C07F7E] [7664A92B]         
 04  99,9 [F71947BC] [7DDFBC68]         
 05  99,9 [B1B56F86] [362C909C]         
 06  94,9 [869197A7] [E315F958]         
 07  93,5 [1E3992B6] [81365D72]         
 08  99,9 [9C7AB60B] [BB299C12]         
 09  99,9 [D9AF2BEF] [2D0003A1]         
 10  99,9 [BBFC3848] [84311EEA]         
 11  99,9 [3F5B7144] [DF55B124]         
 12  99,9 [FA51BDFE] [18B9813C]         

  • korth
  • [*][*][*][*][*]
Cuetools: How can I repair a disc image
Reply #6
Sorry but this cannot be repaired.

Quote
12 | (0/4) No match


No match means that too many samples differ (or in some cases that no recovery record exists). It would need to say something like '(3/4) differs in 78 samples @01:41:24' for it to be repairable. link
  • Last Edit: 02 August, 2013, 10:56:17 AM by korth
korth

  • lvqcl
  • [*][*][*][*][*]
  • Developer
Cuetools: How can I repair a disc image
Reply #7
I think that "No match" means that CueTools doesn't recognize the track as slightly damaged but repairable.

...too slow!
  • Last Edit: 02 August, 2013, 11:00:31 AM by lvqcl

  • mrgou
  • [*][*]
Cuetools: How can I repair a disc image
Reply #8
Aaaah, okaaaay!

Thank you guys!

  • gib
  • [*][*][*]
Cuetools: How can I repair a disc image
Reply #9
Quote
- In the upper left corner, select "fix" from the dropdown.

This is wrong. That 'profile' is for the 'fix offset' script. You don't need to switch profiles to use the 'repair' script. (You could create one for the 'repair' script though if you wish.)

Thanks for pointing that out.  Choosing "fix" will indeed work (as it did for me), but it's an unnecessary step since the "default" profile can do the job just fine.  I wish I had tinkered a little more last night and noticed that!