sysprogs / WinCDEmu

GNU Lesser General Public License v3.0
1.06k stars 149 forks source link

CUE sheets with FLAC audio tracks not supported #8

Open eadmaster opened 8 years ago

eadmaster commented 8 years ago

Having audio tracks compressed in FLAC is a great space-saver and i definitively need this feature to replace Daemon Tools Lite.

Example CUE:

REM DISCID 970EB00A
PERFORMER "Acclaim"
TITLE "Forsaken"
FILE "Forsaken (USA) (Track 01).bin" BINARY
  TRACK 01 MODE1/2352
    INDEX 01 00:00:00
FILE "Forsaken (USA).flac" WAVE
  TRACK 02 AUDIO
    INDEX 01 00:00:00
  TRACK 03 AUDIO
    INDEX 01 05:17:17
  TRACK 04 AUDIO
    INDEX 01 10:34:69
  TRACK 05 AUDIO
    INDEX 01 15:31:45
  TRACK 06 AUDIO
    INDEX 01 20:41:15
  TRACK 07 AUDIO
    INDEX 01 25:42:47
  TRACK 08 AUDIO
    INDEX 01 29:44:21
  TRACK 09 AUDIO
    INDEX 01 33:52:22
  TRACK 10 AUDIO
    INDEX 01 37:47:01
sysprogs commented 8 years ago

Hi,

Thanks for the suggestion, however that would be a fairly complex thing to support.

If anyone from the community decides to contribute this feature, we would happily integrate it in to the mainstream branch, but we would not develop it ourselves, sorry.


Best regards,

Ivan Shcherbakov

From: Andrea [mailto:notifications@github.com] Sent: Tuesday, September 29, 2015 4:57 AM To: sysprogs/WinCDEmu Subject: [WinCDEmu] CUE sheets with FLAC audio tracks not supported (#8)

Having audio tracks stored in FLAC is a great space-saver.

Example CUE:

REM DISCID 970EB00A PERFORMER "Acclaim" TITLE "Forsaken" REM COMMENT "CUERipper v2.1.4 Copyright (C) 2008-12 Grigory Chudov" FILE "Forsaken (USA) (Track 01) (trimmed).bin" BINARY TRACK 01 MODE1/2352 INDEX 01 00:00:00 FILE "Forsaken.flac" WAVE TRACK 02 AUDIO INDEX 01 00:00:00 TRACK 03 AUDIO INDEX 01 05:17:17 TRACK 04 AUDIO INDEX 01 10:34:69 TRACK 05 AUDIO INDEX 01 15:31:45 TRACK 06 AUDIO INDEX 01 20:41:15 TRACK 07 AUDIO INDEX 01 25:42:47 TRACK 08 AUDIO INDEX 01 29:44:21 TRACK 09 AUDIO INDEX 01 33:52:22 TRACK 10 AUDIO INDEX 01 37:47:01

— Reply to this email directly or view it on GitHub https://github.com/sysprogs/WinCDEmu/issues/8 .Image removed by sender.

Warriors-Blade commented 8 years ago

I happen to know a workaround if it helps.

You know about the open source audio converter/ripper free:ac?

you can drag & drop the cue into that and extract/convert the audio tracks to your exact preference , its a excellent tool.

single flac & cue only works in the dev nightly builds not the stable builds.

mirh commented 6 years ago

FILE "Forsaken (USA) (Track 01).bin" BINARY

I think binary might be the problem. I have the same issue with the images created by CDXplorer (last file)

metapea commented 5 years ago

I know it can be done, since other software like Daemon Tools mount FLAC with CUE sheets easily. I've been waiting for this for years now.

tehKaiN commented 4 years ago

I just stumbled upon same problem with multiple .bin specified in single .cue file. In my case I have data track in single .bin file and audio tracks in separate ones.

HunterZ commented 3 years ago

From looking at the source, it seems that WinCDEmu doesn't support BIN/CUE audio track playback at all. Issues #26 and #29 also request this support.

Seems like the thing to do would be to link against a license-compatible audio player library, and implement support for the audio track playback API by feeding audio data to the library from the BIN or whatever WAV/MP3/FLAC/etc. files are specified by the CUE.

This would be a killer feature that would allow people to stop using malware-infected freemium alternatives in order to play old games and such.

Edit: I guess you'd ideally also want to support providing a decompressed PCM stream in case someone decides to be silly and try to re-rip the mounted drive into a new image? Maybe Windows even supports the playback part if you give it a PCM stream, so you may only need the audio library to decompress various audio formats; I'm not familiar with the API.