devmiyax / yabause

Yabause is a Sega Saturn emulator and took over as Yaba Sanshiro
http://www.uoyabause.org
GNU General Public License v2.0
217 stars 39 forks source link

CHD MODE1/2048 Read Failures #801

Open energeticokay opened 3 years ago

energeticokay commented 3 years ago

Many CHDs load to the cd player as if the disk image were corrupt.

The same behavior happens on standalone Yabause on Win10, Kronos libtretro on Win10, and YabaSanshiro libretro on both Win10 and Android. This behavior does NOT happen with mednafen / beetle saturn libretro or with the same CHD uncompressed as bin/cue.

I haven't yet determined why certain CHDs have this issue and others do not. I would be glad to post any logs or other example information to help debug this but I am not sure what to post yet. Any suggestions?

I tried experimenting with a CHD that had this issue (Ninpen Manmaru). bin/cue: loads into game & works great chdman default settings: no load chdman double hunksize: no load chdman no compression: no load

energeticokay commented 3 years ago

One thing I noticed here:

the cue sheets for the CHDs that fail seem to have binary as MODE1/2048, where the ones that do load show MODE1/2352. Is that helpful?

energeticokay commented 3 years ago

Ok - the problem is definitely isolated to CHDs containing MODE1/2048 data. I converted the data track on a failing CHD to MODE1/2352 using cdmage and re-compressed that. It worked.