This post is intended to provide examples to development of what I meant by REMarking out non-compliant data in the Option to "Force Compliant CUE" sheet for separate tracks suggestion above under General (so users can have compliant CUE sheets for use in programs such as foobar2000 that don't support non-compliant CUE sheets). See also Issue #179 and Issue #268
First an example of a non-compliant CUE as written by CUERipper, EAC and CUETools to preserve gap information in a file-per-track rip.
REM DISCID B50C550D
PERFORMER "Black Stone Cherry"
TITLE "Kentucky"
CATALOG 0819873012757
REM DATE 2016
REM GENRE "Rock"
REM COMMENT "CUERipper v2.1.6 Copyright (C) 2008-13 Grigory Chudov"
FILE "01 The Way of the Future.flac" WAVE
TRACK 01 AUDIO
PERFORMER "Black Stone Cherry"
TITLE "The Way of the Future"
ISRC NLB931600001
INDEX 01 00:00:00
TRACK 02 AUDIO
PERFORMER "Black Stone Cherry"
TITLE "In Our Dreams"
ISRC NLB931600002
INDEX 00 03:51:03
FILE "02 In Our Dreams.flac" WAVE
INDEX 01 00:00:00
TRACK 03 AUDIO
PERFORMER "Black Stone Cherry"
TITLE "Shakin' My Cage"
ISRC NLB931600003
INDEX 00 03:48:03
FILE "03 Shakin' My Cage.flac" WAVE
INDEX 01 00:00:00
TRACK 04 AUDIO
PERFORMER "Black Stone Cherry"
TITLE "Soul Machine"
ISRC NLB931600004
INDEX 00 04:08:22
FILE "04 Soul Machine.flac" WAVE
INDEX 01 00:00:00
TRACK 05 AUDIO
PERFORMER "Black Stone Cherry"
TITLE "Long Ride"
ISRC NLB931600005
INDEX 00 03:59:17
FILE "05 Long Ride.flac" WAVE
INDEX 01 00:00:00
TRACK 06 AUDIO
PERFORMER "Black Stone Cherry"
TITLE "War"
ISRC NLB931600006
INDEX 00 04:01:59
FILE "06 War.flac" WAVE
INDEX 01 00:00:00
TRACK 07 AUDIO
PERFORMER "Black Stone Cherry"
TITLE "Hangman"
ISRC NLB931600007
INDEX 00 04:06:09
FILE "07 Hangman.flac" WAVE
INDEX 01 00:00:00
TRACK 08 AUDIO
PERFORMER "Black Stone Cherry"
TITLE "Cheaper to Drink Alone"
ISRC NLB931600008
INDEX 00 03:55:53
FILE "08 Cheaper to Drink Alone.flac" WAVE
INDEX 01 00:00:00
TRACK 09 AUDIO
PERFORMER "Black Stone Cherry"
TITLE "Rescue Me"
ISRC NLB931600009
INDEX 00 03:49:21
FILE "09 Rescue Me.flac" WAVE
INDEX 01 00:00:00
TRACK 10 AUDIO
PERFORMER "Black Stone Cherry"
TITLE "Feelin' Fuzzy"
ISRC NLB931600010
INDEX 00 03:44:46
FILE "10 Feelin' Fuzzy.flac" WAVE
INDEX 01 00:00:00
TRACK 11 AUDIO
PERFORMER "Black Stone Cherry"
TITLE "Darkest Secret"
ISRC NLB931600011
INDEX 00 03:14:18
FILE "11 Darkest Secret.flac" WAVE
INDEX 01 00:00:00
TRACK 12 AUDIO
PERFORMER "Black Stone Cherry"
TITLE "Born to Die"
ISRC NLB931600012
INDEX 00 03:59:57
FILE "12 Born to Die.flac" WAVE
INDEX 01 00:00:00
TRACK 13 AUDIO
PERFORMER "Black Stone Cherry"
TITLE "The Rambler"
ISRC NLB931600013
INDEX 00 04:30:72
FILE "13 The Rambler.flac" WAVE
INDEX 01 00:00:00
Below is a compliant version of the CUE written by EAC's sister program "Easy Audio Copy" (by Andre Wiethoff).
INDEX 00 lines are REMarked out and the FILE line does not get placed after the INDEX 00 line.
This CUE works in foobar2000 and gap information is preserved.
REM GENRE Rock
REM DATE 2016
REM DISCID B50C550D
REM COMMENT "Easy Audio Copy 1.0.2.5"
CATALOG 0819873012757
PERFORMER "Black Stone Cherry"
TITLE "Kentucky"
FILE "01 The Way Of The Future.flac" WAVE
TRACK 01 AUDIO
TITLE "The Way Of The Future"
PERFORMER "Black Stone Cherry"
ISRC NLB931600001
INDEX 01 00:00:00
FILE "02 In Our Dreams.flac" WAVE
TRACK 02 AUDIO
TITLE "In Our Dreams"
PERFORMER "Black Stone Cherry"
ISRC NLB931600002
REM INDEX 00 03:51:03
INDEX 01 00:00:00
FILE "03 Shakin' My Cage.flac" WAVE
TRACK 03 AUDIO
TITLE "Shakin' My Cage"
PERFORMER "Black Stone Cherry"
ISRC NLB931600003
REM INDEX 00 03:48:03
INDEX 01 00:00:00
FILE "04 Soul Machine.flac" WAVE
TRACK 04 AUDIO
TITLE "Soul Machine"
PERFORMER "Black Stone Cherry"
ISRC NLB931600004
REM INDEX 00 04:08:22
INDEX 01 00:00:00
FILE "05 Long Ride.flac" WAVE
TRACK 05 AUDIO
TITLE "Long Ride"
PERFORMER "Black Stone Cherry"
ISRC NLB931600005
REM INDEX 00 03:59:17
INDEX 01 00:00:00
FILE "06 War.flac" WAVE
TRACK 06 AUDIO
TITLE "War"
PERFORMER "Black Stone Cherry"
ISRC NLB931600006
REM INDEX 00 04:01:59
INDEX 01 00:00:00
FILE "07 Hangman.flac" WAVE
TRACK 07 AUDIO
TITLE "Hangman"
PERFORMER "Black Stone Cherry"
ISRC NLB931600007
REM INDEX 00 04:06:09
INDEX 01 00:00:00
FILE "08 Cheaper To Drink Alone.flac" WAVE
TRACK 08 AUDIO
TITLE "Cheaper To Drink Alone"
PERFORMER "Black Stone Cherry"
ISRC NLB931600008
REM INDEX 00 03:55:53
INDEX 01 00:00:00
FILE "09 Rescue Me.flac" WAVE
TRACK 09 AUDIO
TITLE "Rescue Me"
PERFORMER "Black Stone Cherry"
ISRC NLB931600009
REM INDEX 00 03:49:21
INDEX 01 00:00:00
FILE "10 Feelin' Fuzzy.flac" WAVE
TRACK 10 AUDIO
TITLE "Feelin' Fuzzy"
PERFORMER "Black Stone Cherry"
ISRC NLB931600010
REM INDEX 00 03:44:46
INDEX 01 00:00:00
FILE "11 Darkest Secret.flac" WAVE
TRACK 11 AUDIO
TITLE "Darkest Secret"
PERFORMER "Black Stone Cherry"
ISRC NLB931600011
REM INDEX 00 03:14:18
INDEX 01 00:00:00
FILE "12 Born To Die.flac" WAVE
TRACK 12 AUDIO
TITLE "Born To Die"
PERFORMER "Black Stone Cherry"
ISRC NLB931600012
REM INDEX 00 03:59:57
INDEX 01 00:00:00
FILE "13 The Rambler.flac" WAVE
TRACK 13 AUDIO
TITLE "The Rambler"
PERFORMER "Black Stone Cherry"
ISRC NLB931600013
REM INDEX 00 04:30:72
INDEX 01 00:00:00
This is a non-compliant CUE with an actual Hidden Track One Audio (HTOA). There are gaps before Track 5 and Track 12.
REM DISCID 9A0A5B0C
PERFORMER "Sick Puppies"
TITLE "Connect"
CATALOG 5099942321958
REM DATE 2013
REM COMMENT "CUERipper v2.1.6 Copyright (C) 2008-13 Grigory Chudov"
FILE "00 (HTOA).flac" WAVE
TRACK 01 AUDIO
PERFORMER "Sick Puppies"
TITLE "Die to Save You"
ISRC USUM71307069
INDEX 00 00:00:00
FILE "01 Die to Save You.flac" WAVE
INDEX 01 00:00:00
FILE "02 There’s No Going Back.flac" WAVE
TRACK 02 AUDIO
PERFORMER "Sick Puppies"
TITLE "There’s No Going Back"
ISRC USUM71305552
INDEX 01 00:00:00
FILE "03 Walking Away.flac" WAVE
TRACK 03 AUDIO
PERFORMER "Sick Puppies"
TITLE "Walking Away"
ISRC USUM71305551
INDEX 01 00:00:00
FILE "04 Gunfight.flac" WAVE
TRACK 04 AUDIO
PERFORMER "Sick Puppies"
TITLE "Gunfight"
ISRC USUM71305557
INDEX 01 00:00:00
TRACK 05 AUDIO
PERFORMER "Sick Puppies"
TITLE "Poison"
ISRC USUM71305558
INDEX 00 02:54:52
FILE "05 Poison.flac" WAVE
INDEX 01 00:00:00
FILE "06 Where Did the Time Go.flac" WAVE
TRACK 06 AUDIO
PERFORMER "Sick Puppies"
TITLE "Where Did the Time Go"
ISRC USUM71305550
INDEX 01 00:00:00
FILE "07 Telling Lies.flac" WAVE
TRACK 07 AUDIO
PERFORMER "Sick Puppies"
TITLE "Telling Lies"
ISRC USUM71305553
INDEX 01 00:00:00
FILE "08 Connect.flac" WAVE
TRACK 08 AUDIO
PERFORMER "Sick Puppies"
TITLE "Connect"
ISRC USUM71305562
INDEX 01 00:00:00
FILE "09 Run.flac" WAVE
TRACK 09 AUDIO
PERFORMER "Sick Puppies"
TITLE "Run"
ISRC USUM71305546
INDEX 01 00:00:00
FILE "10 The Trick the Devil Did.flac" WAVE
TRACK 10 AUDIO
PERFORMER "Sick Puppies"
TITLE "The Trick the Devil Did"
ISRC USUM71305547
INDEX 01 00:00:00
FILE "11 Healing Now.flac" WAVE
TRACK 11 AUDIO
PERFORMER "Sick Puppies"
TITLE "Healing Now"
ISRC USUM71305548
INDEX 01 00:00:00
TRACK 12 AUDIO
PERFORMER "Sick Puppies"
TITLE "Under a Very Black Sky"
ISRC USUM71305549
INDEX 00 04:12:19
FILE "12 Under a Very Black Sky.flac" WAVE
INDEX 01 00:00:00
Andre handles the HTOA in an interesting way with Easy Audio Copy.
All the lines from the first FILE command up to the first INDEX 01 command are REMarked out. A PREGAP command replaces the FILE command for the Hidden track (HTOA) and the INDEX 00 command. The lines associated with the first track are repeated in compliant order.
This CUE works in foobar2000. Gaps and HTOA information are retained. The hidden track remains hidden and will not show up in foobar2000 with this CUE. That is to be expected.
REM GENRE Rock: Alternative Rock
REM DATE 2013
REM DISCID 9A0A5B0C
REM COMMENT "Easy Audio Copy 1.0.1.0"
CATALOG 5099902871325
PERFORMER "Sick Puppies"
TITLE "Connect"
FILE "01 Die to Save You.flac" WAVE
TRACK 01 AUDIO
TITLE "Die to Save You"
PERFORMER "Sick Puppies"
ISRC USUM71307069
REM FILE "00 Hidden track.flac"
REM TRACK 01 AUDIO
REM TITLE "Die to Save You"
REM PERFORMER "Sick Puppies"
REM ISRC USUM71307069
REM INDEX 00 00:00:00
PREGAP 01:05:33
REM FILE "01 Die to Save You.flac" WAVE
INDEX 01 00:00:00
FILE "02 There's No Going Back.flac" WAVE
TRACK 02 AUDIO
TITLE "There's No Going Back"
PERFORMER "Sick Puppies"
ISRC USUM71305552
INDEX 01 00:00:00
FILE "03 Walking Away.flac" WAVE
TRACK 03 AUDIO
TITLE "Walking Away"
PERFORMER "Sick Puppies"
ISRC USUM71305551
INDEX 01 00:00:00
FILE "04 Gunfight.flac" WAVE
TRACK 04 AUDIO
TITLE "Gunfight"
PERFORMER "Sick Puppies"
ISRC USUM71305557
INDEX 01 00:00:00
FILE "05 Poison.flac" WAVE
TRACK 05 AUDIO
TITLE "Poison"
PERFORMER "Sick Puppies"
ISRC USUM71305558
REM INDEX 00 02:54:52
INDEX 01 00:00:00
FILE "06 Where Did the Time Go.flac" WAVE
TRACK 06 AUDIO
TITLE "Where Did the Time Go"
PERFORMER "Sick Puppies"
ISRC USUM71305550
INDEX 01 00:00:00
FILE "07 Telling Lies.flac" WAVE
TRACK 07 AUDIO
TITLE "Telling Lies"
PERFORMER "Sick Puppies"
ISRC USUM71305553
INDEX 01 00:00:00
FILE "08 Connect.flac" WAVE
TRACK 08 AUDIO
TITLE "Connect"
PERFORMER "Sick Puppies"
ISRC USUM71305562
INDEX 01 00:00:00
FILE "09 Run.flac" WAVE
TRACK 09 AUDIO
TITLE "Run"
PERFORMER "Sick Puppies"
ISRC USUM71305546
INDEX 01 00:00:00
FILE "10 The Trick the Devil Did.flac" WAVE
TRACK 10 AUDIO
TITLE "The Trick the Devil Did"
PERFORMER "Sick Puppies"
ISRC USUM71305547
INDEX 01 00:00:00
FILE "11 Healing Now.flac" WAVE
TRACK 11 AUDIO
TITLE "Healing Now"
PERFORMER "Sick Puppies"
ISRC USUM71305548
INDEX 01 00:00:00
FILE "12 Under a Very Black Sky.flac" WAVE
TRACK 12 AUDIO
TITLE "Under a Very Black Sky"
PERFORMER "Sick Puppies"
ISRC USUM71305549
REM INDEX 00 04:12:19
INDEX 01 00:00:00
Currently CUETools cannot parse the gap and HTOA information from an Easy Audio Copy compliant CUE.
Naturally CUETools would need to be able to parse this type of CUE in order to convert a file-per-track rip to a single file Image (keeping the gap information and HTOA audio).