skmp / reicast-emulator

Reicast was a multiplatform Sega Dreamcast emulator
https://reicast.emudev.org
Other
1.1k stars 344 forks source link

Please add support for Redump.org UNLICENSED / MIL-CD (Multisessional CD-Rom) bin/cue #1840

Open dizzzy77 opened 4 years ago

dizzzy77 commented 4 years ago

Hi reicast team, thank you very much for adding support for Redump style bin/cue for GD-Roms last year. It was very kind and thoughtful of your team <3

Mil-CDs and Unlicensed games (Multisessional CD-Roms) being a different format, are defined in their own way in our sets, example:

REM SESSION 01
FILE "GameShark Video Game Enhancer - Upgrade Disk (USA) (Unl) (Track 1).bin" BINARY
  TRACK 01 AUDIO
    INDEX 01 00:00:00
REM SESSION 02
FILE "GameShark Video Game Enhancer - Upgrade Disk (USA) (Unl) (Track 2).bin" BINARY
  TRACK 02 MODE2/2352
    INDEX 01 00:00:00

As TOSEC is also considering using the same-style cues as us when they add multisessional CD-Roms to their Dreamcast sets. So I figured now would be a good time to ebeg your team to add support.

If you wish to test with bins, a few examples are searchable archive.org: "GameShark CDX (USA) Dreamcast" and "Cheats 'N Codes Volume 1 (USA) Dreamcast"

Please consider adding support if time provides. Thank you for the consideration. Keep up the great work.

skmp commented 4 years ago

Will try to fit in 20.04/20.04b.

Thanks for the heads up

On Sun, 22 Mar 2020, 04:42 dizzzy77, notifications@github.com wrote:

Hi reincast team, thank you very much for adding support for Redump style bin/cue for GD-Roms last year. It was very kind and thoughtful of your team <3

Mil-CDs and Unlicensed games (Multisessional CD-Roms) being a different format, are defined in their own way in our sets, example:

REM SESSION 01 FILE "GameShark Video Game Enhancer - Upgrade Disk (USA) (Unl) (Track 1).bin" BINARY TRACK 01 AUDIO INDEX 01 00:00:00 REM SESSION 02 FILE "GameShark Video Game Enhancer - Upgrade Disk (USA) (Unl) (Track 2).bin" BINARY TRACK 02 MODE2/2352 INDEX 01 00:00:00

As TOSEC is also considering using the same-style cues as us when they add multisessional CD-Roms to their Dreamcast sets. So I figured now would be a good time to ebeg your team to add support.

If you wish to test with bins, a few examples are searchable archive.org: "GameShark CDX (USA) Dreamcast", "Cheats 'N Codes Volume 1 (USA) Dreamcast", "GameShark Lite (USA) Dreamcast"

Please consider adding support if time provides. Thank you for the consideration. Keep up the great work.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/reicast/reicast-emulator/issues/1840, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADAAMWGRQBCEIAL5TGMBGTRIV3J5ANCNFSM4LREIK6Q .

skmp commented 4 years ago

@DimitrisVlachos @stjordanis @einsteinx2 can any of you looking into extending our cue parser in imgread?

skmp commented 4 years ago

Hum, might actually do it for today's live stream

skmp commented 4 years ago

I'll do that

skmp commented 4 years ago

@dizzzy77 is there some CUE spec I can review somewhere? I'll do some guesswork but hacky code is hacky

dizzzy77 commented 4 years ago

REM SESSION designates the session of the multisessional disc being called. As I understand both sessions need to be mounted similar to how you mount LD and HD areas in the Redump GD-Rom cues.

Below are the cues for all of the Dreamcast multisessional discs in redump:

REM SESSION 01
FILE "Action Replay CDX - Demo Version (UK) (Unl) (Track 1).bin" BINARY
  TRACK 01 AUDIO
    INDEX 01 00:00:00
REM SESSION 02
FILE "Action Replay CDX - Demo Version (UK) (Unl) (Track 2).bin" BINARY
  TRACK 02 MODE2/2352
    INDEX 01 00:00:00
REM SESSION 01
FILE "GameShark CDX (USA) (Unl) (Final Version) (Track 1).bin" BINARY
  TRACK 01 AUDIO
    INDEX 01 00:00:00
REM SESSION 02
FILE "GameShark CDX (USA) (Unl) (Final Version) (Track 2).bin" BINARY
  TRACK 02 MODE2/2352
    INDEX 01 00:00:00
REM SESSION 01
FILE "GameShark CDX (USA) (Unl) (Track 1).bin" BINARY
  TRACK 01 AUDIO
    INDEX 01 00:00:00
REM SESSION 02
FILE "GameShark CDX (USA) (Unl) (Track 2).bin" BINARY
  TRACK 02 MODE2/2352
    INDEX 01 00:00:00
REM SESSION 01
FILE "GameShark Video Game Enhancer - Upgrade Disk (USA) (Unl) (Track 1).bin" BINARY
  TRACK 01 AUDIO
    INDEX 01 00:00:00
REM SESSION 02
FILE "GameShark Video Game Enhancer - Upgrade Disk (USA) (Unl) (Track 2).bin" BINARY
  TRACK 02 MODE2/2352
    INDEX 01 00:00:00
REM SESSION 01
FILE "Hermes (Europe) (Unl) (Track 01).bin" BINARY
  TRACK 01 AUDIO
    INDEX 01 00:00:00
FILE "Hermes (Europe) (Unl) (Track 02).bin" BINARY
  TRACK 02 AUDIO
    INDEX 01 00:00:00
FILE "Hermes (Europe) (Unl) (Track 03).bin" BINARY
  TRACK 03 AUDIO
    INDEX 01 00:00:00
FILE "Hermes (Europe) (Unl) (Track 04).bin" BINARY
  TRACK 04 AUDIO
    INDEX 01 00:00:00
FILE "Hermes (Europe) (Unl) (Track 05).bin" BINARY
  TRACK 05 AUDIO
    INDEX 01 00:00:00
FILE "Hermes (Europe) (Unl) (Track 06).bin" BINARY
  TRACK 06 AUDIO
    INDEX 01 00:00:00
FILE "Hermes (Europe) (Unl) (Track 07).bin" BINARY
  TRACK 07 AUDIO
    INDEX 01 00:00:00
FILE "Hermes (Europe) (Unl) (Track 08).bin" BINARY
  TRACK 08 AUDIO
    INDEX 01 00:00:00
FILE "Hermes (Europe) (Unl) (Track 09).bin" BINARY
  TRACK 09 AUDIO
    INDEX 01 00:00:00
FILE "Hermes (Europe) (Unl) (Track 10).bin" BINARY
  TRACK 10 AUDIO
    INDEX 01 00:00:00
FILE "Hermes (Europe) (Unl) (Track 11).bin" BINARY
  TRACK 11 AUDIO
    INDEX 01 00:00:00
FILE "Hermes (Europe) (Unl) (Track 12).bin" BINARY
  TRACK 12 AUDIO
    INDEX 01 00:00:00
REM SESSION 02
FILE "Hermes (Europe) (Unl) (Track 13).bin" BINARY
  TRACK 13 MODE2/2352
    INDEX 01 00:00:00
REM SESSION 01
FILE "MP3 DC - Use MP3 Audio CD's on Your Dreamcast (Europe) (Unl) (Track 1).bin" BINARY
  TRACK 01 MODE2/2352
    INDEX 01 00:00:00
REM SESSION 02
FILE "MP3 DC - Use MP3 Audio CD's on Your Dreamcast (Europe) (Unl) (Track 2).bin" BINARY
  TRACK 02 MODE2/2352
    INDEX 01 00:00:00
REM SESSION 01
FILE "MP3 DC - Use MP3 Audio CD's on Your Dreamcast (USA) (Unl) (Track 1).bin" BINARY
  TRACK 01 MODE2/2352
    INDEX 01 00:00:00
REM SESSION 02
FILE "MP3 DC - Use MP3 Audio CD's on Your Dreamcast (USA) (Unl) (Track 2).bin" BINARY
  TRACK 02 MODE2/2352
    INDEX 01 00:00:00
skmp commented 4 years ago

@dizzzy77 so the spec is EITHER REM SESSION or REM SINGLE DENSITY or whatever?

skmp commented 4 years ago

also kind of confusing that the format doesn't have a version field like REM REDUMP v1 on top. Very hard to keep compat with other .cue files - the code ends up nasty :/

dizzzy77 commented 4 years ago

For GD-Roms: REM SINGLE-DENSITY AREA / REM HIGH-DENSITY AREA

For multisessional CD-Roms: REM SESSION 01 / REM SESSION 02

Thanks.