RetroArch icon indicating copy to clipboard operation
RetroArch copied to clipboard

Neo Geo CD dump fails after 5% for every disc

Open ZikZakFR opened this issue 1 year ago • 7 comments

Description

Neo Geo CD disc can not be dumped.

Expected behavior

CUE/BIN file to be successfully dumped.

Actual behavior

Passing 5% of the progression the dump aborts with a failure.

Steps to reproduce the bug

  1. Insert a Neo Geo CD disk
  2. Launch retroarch
  3. Dump the CD
  4. Wait for the crash around 5%

Bisect Results

I dumped several SegaCD/MegaCD games without any issue. All my Neo Geo CD games are failing around 5% and the disk surface isn't to be blamed. A DD of the disk doesn't report any issue, nor ripping the audio session.

Version/Commit

  • RetroArch: 1.17.0 / ad8975cb5a

Environment information

  • OS: Linux
  • Compiler: GCC 13.2.1

ZikZakFR avatar Feb 21 '24 06:02 ZikZakFR

I checked with a random example but could not reproduce. Can you get a RetroArch log of it happening? Also, is the .cue created before the crash happens, and if so, does it contain anything?

zoltanvb avatar Feb 24 '24 11:02 zoltanvb

I checked with a random example but could not reproduce. Can you get a RetroArch log of it happening? Also, is the .cue created before the crash happens, and if so, does it contain anything?

Yes, the cue and a bin are created then it crashes. How can I retrieve a log of the error?

Just tried with KOF97, the dump went steadily up to 10%, stalled then crashed. The disc is pristine, no scratch visible. 5.0K Feb 24 13:48 cdrom-240224-134827.cue 80M Feb 24 13:50 'cdrom-240224-134827 (Track 01).bin'

if I use abcde then I can rip the whole 45 audio tracks without any issue.

ZikZakFR avatar Feb 24 '24 12:02 ZikZakFR

I swapped the dvd disk drive for another (a BD drive this time) and the result is the same (albeit faster). logs: [INFO] [CDROM]: Starting disc dump... [INFO] [CDROM]: Dumping track 1... [INFO] [CDROM]: Dump finished. If I run the dump then it fails as it can't find the second track.

ZikZakFR avatar Feb 24 '24 14:02 ZikZakFR

Can you list the contents of the .cue file? It is a simple text file. And how big is track01 dump exactly?

So far I am unable to reproduce, based on the redump .cue the disk is certainly not usual - for one thing, it has 99 indexes in the first track while normally there are max. 2, but that should not matter too much (even though RetroArch dump will not preserve those). Maybe there is also something off-standard with the track size as well.

zoltanvb avatar Feb 26 '24 09:02 zoltanvb

Just tried with "Super Sidekicks 2", it stopped at 7% Track 1 is 46MB big. Cue indicates 15 bin tracks. It's like for my NeoGeoCD games it only dump the first track.

ZikZakFR avatar Feb 26 '24 18:02 ZikZakFR

Can you please put here the exact contents of the created .cue file (it is a simple text file, any text editor should be able to show it), and the exact size of the created .bin file (in bytes - unfortunately "46MB", "80M" is a rounded value, not useful for locating the problem).

zoltanvb avatar Mar 02 '24 14:03 zoltanvb

Can you please put here the exact contents of the created .cue file (it is a simple text file, any text editor should be able to show it), and the exact size of the created .bin file (in bytes - unfortunately "46MB", "80M" is a rounded value, not useful for locating the problem).

Sure thing. Here is another attempt, this time with KOF94. Stopped at 5% ls -l cdrom-240302-174009* 39146688 Mar 2 17:41 'cdrom-240302-174009 (Track 01).bin' 2513 Mar 2 17:40 cdrom-240302-174009.cue

FILE "cdrom-240302-174009 (Track 01).bin" BINARY
  TRACK 01 MODE1/2352
    INDEX 01 00:00:00
FILE "cdrom-240302-174009 (Track 02).bin" BINARY
  TRACK 02 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 03).bin" BINARY
  TRACK 03 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 04).bin" BINARY
  TRACK 04 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 05).bin" BINARY
  TRACK 05 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 06).bin" BINARY
  TRACK 06 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 07).bin" BINARY
  TRACK 07 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 08).bin" BINARY
  TRACK 08 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 09).bin" BINARY
  TRACK 09 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 10).bin" BINARY
  TRACK 10 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 11).bin" BINARY
  TRACK 11 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 12).bin" BINARY
  TRACK 12 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 13).bin" BINARY
  TRACK 13 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 14).bin" BINARY
  TRACK 14 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 15).bin" BINARY
  TRACK 15 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 16).bin" BINARY
  TRACK 16 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 17).bin" BINARY
  TRACK 17 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 18).bin" BINARY
  TRACK 18 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 19).bin" BINARY
  TRACK 19 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 20).bin" BINARY
  TRACK 20 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 21).bin" BINARY
  TRACK 21 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 22).bin" BINARY
  TRACK 22 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "cdrom-240302-174009 (Track 23).bin" BINARY
  TRACK 23 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00

ZikZakFR avatar Mar 02 '24 16:03 ZikZakFR

Sorry to say, I tried with multiple approaches, but could not replicate the issue, dump was always going through. Maybe it is something with original Neo Geo CDs, but I do not have any of those nearby. Let's leave the issue open, maybe someone else can pick it up.

zoltanvb avatar Mar 23 '24 10:03 zoltanvb

Indeed, so far only these discs showed that issue. SegaCD, MegaCD, Saturn discs? Flawless dumps.

Let's hope someone can confirm if they get the same issue with the originals and with the same build I use.

ZikZakFR avatar Mar 23 '24 16:03 ZikZakFR