Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Cue Sheet Track Boundaries (Read 1345 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Cue Sheet Track Boundaries

I've ripped my favorite PS1 game and it runs in Mednafen! But.... no music.

I have verified the cue sheet by playing the audio tracks using VLC media player.  I've ripping with CloneCD, ALcohol 120, and Imageburn into both formats: ccd/img and bin/cue and in all cases the audio plays the same.

However, still mednafen will only play track 02 in full, with all other tracks suddenly stopping after 1-2 seconds. I've tried manually tweaking the track boundaries, and it causes different tracks to play more or less amounts of audio, but then there can be other game glitches. The original CD has no issues and plays fine.

Here's the cue:
Code: [Select]
FILE "shingata_kururin_pa.bin" BINARY
  TRACK 01 MODE2/2352
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    INDEX 01 01:04:60
  TRACK 03 AUDIO
    INDEX 01 02:22:10
  TRACK 04 AUDIO
    INDEX 01 05:00:46
  TRACK 05 AUDIO
    INDEX 01 07:42:45
  TRACK 06 AUDIO
    INDEX 01 10:01:41
  TRACK 07 AUDIO
    INDEX 01 12:37:70
  TRACK 08 AUDIO
    INDEX 01 15:04:37
  TRACK 09 AUDIO
    INDEX 01 17:44:15
  TRACK 10 AUDIO
    INDEX 01 20:29:26
  TRACK 11 AUDIO
    INDEX 01 23:06:18
  TRACK 12 AUDIO
    INDEX 01 25:47:48
  TRACK 13 AUDIO
    INDEX 01 28:07:66
  TRACK 14 AUDIO
    INDEX 01 30:50:59
  TRACK 15 AUDIO
    INDEX 01 34:46:15
  TRACK 16 AUDIO
    INDEX 01 34:54:25
  TRACK 17 AUDIO
    INDEX 01 36:00:69
  TRACK 18 AUDIO
    INDEX 01 39:44:13
  TRACK 19 AUDIO
    INDEX 01 39:51:40
  TRACK 20 AUDIO
    INDEX 01 39:58:68
  TRACK 21 AUDIO
    INDEX 01 40:48:32
  TRACK 22 AUDIO
    INDEX 01 41:29:09
  TRACK 23 AUDIO
    INDEX 01 42:17:62
  TRACK 24 AUDIO
    INDEX 01 43:07:62
  TRACK 25 AUDIO
    INDEX 01 44:31:41
  TRACK 26 AUDIO
    INDEX 01 45:25:67
  TRACK 27 AUDIO
    INDEX 01 46:37:36
  TRACK 28 AUDIO
    INDEX 01 47:15:16
  TRACK 29 AUDIO
    INDEX 01 48:05:30
  TRACK 30 AUDIO
    INDEX 01 49:04:57
  TRACK 31 AUDIO
    INDEX 01 50:11:58
  TRACK 32 AUDIO
    INDEX 01 50:52:67
  TRACK 33 AUDIO
    INDEX 01 51:15:07
  TRACK 34 AUDIO
    INDEX 01 51:49:54
  TRACK 35 AUDIO
    INDEX 01 53:55:42

and here's the ccd format:
Code: [Select]
[CloneCD]
Version=3

[Disc]
TocEntries=38
Sessions=1
DataTracksScrambled=0
CDTextLength=0

[Session 1]
PreGapMode=2
PreGapSubC=0

[Entry 0]
Session=1
Point=0xa0
ADR=0x01
Control=0x04
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=1
PSec=32
PFrame=0
PLBA=6750

[Entry 1]
Session=1
Point=0xa1
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=35
PSec=0
PFrame=0
PLBA=157350

[Entry 2]
Session=1
Point=0xa2
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=57
PSec=24
PFrame=8
PLBA=258158

[Entry 3]
Session=1
Point=0x01
ADR=0x01
Control=0x04
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=0
PSec=2
PFrame=0
PLBA=0

[Entry 4]
Session=1
Point=0x02
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=1
PSec=8
PFrame=60
PLBA=5010

[Entry 5]
Session=1
Point=0x03
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=2
PSec=24
PFrame=10
PLBA=10660

[Entry 6]
Session=1
Point=0x04
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=5
PSec=2
PFrame=46
PLBA=22546

[Entry 7]
Session=1
Point=0x05
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=7
PSec=44
PFrame=45
PLBA=34695

[Entry 8]
Session=1
Point=0x06
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=10
PSec=3
PFrame=41
PLBA=45116

[Entry 9]
Session=1
Point=0x07
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=12
PSec=39
PFrame=70
PLBA=56845

[Entry 10]
Session=1
Point=0x08
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=15
PSec=6
PFrame=37
PLBA=67837

[Entry 11]
Session=1
Point=0x09
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=17
PSec=46
PFrame=15
PLBA=79815

[Entry 12]
Session=1
Point=0x0a
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=20
PSec=31
PFrame=26
PLBA=92201

[Entry 13]
Session=1
Point=0x0b
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=23
PSec=8
PFrame=18
PLBA=103968

[Entry 14]
Session=1
Point=0x0c
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=25
PSec=49
PFrame=48
PLBA=116073

[Entry 15]
Session=1
Point=0x0d
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=28
PSec=9
PFrame=66
PLBA=126591

[Entry 16]
Session=1
Point=0x0e
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=30
PSec=52
PFrame=59
PLBA=138809

[Entry 17]
Session=1
Point=0x0f
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=34
PSec=48
PFrame=15
PLBA=156465

[Entry 18]
Session=1
Point=0x10
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=34
PSec=56
PFrame=25
PLBA=157075

[Entry 19]
Session=1
Point=0x11
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=36
PSec=2
PFrame=69
PLBA=162069

[Entry 20]
Session=1
Point=0x12
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=39
PSec=46
PFrame=13
PLBA=178813

[Entry 21]
Session=1
Point=0x13
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=39
PSec=53
PFrame=40
PLBA=179365

[Entry 22]
Session=1
Point=0x14
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=40
PSec=0
PFrame=68
PLBA=179918

[Entry 23]
Session=1
Point=0x15
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=40
PSec=50
PFrame=32
PLBA=183632

[Entry 24]
Session=1
Point=0x16
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=41
PSec=31
PFrame=9
PLBA=186684

[Entry 25]
Session=1
Point=0x17
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=42
PSec=19
PFrame=62
PLBA=190337

[Entry 26]
Session=1
Point=0x18
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=43
PSec=9
PFrame=62
PLBA=194087

[Entry 27]
Session=1
Point=0x19
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=44
PSec=33
PFrame=41
PLBA=200366

[Entry 28]
Session=1
Point=0x1a
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=45
PSec=27
PFrame=67
PLBA=204442

[Entry 29]
Session=1
Point=0x1b
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=46
PSec=39
PFrame=36
PLBA=209811

[Entry 30]
Session=1
Point=0x1c
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=47
PSec=17
PFrame=16
PLBA=212641

[Entry 31]
Session=1
Point=0x1d
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=48
PSec=7
PFrame=30
PLBA=216405

[Entry 32]
Session=1
Point=0x1e
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=49
PSec=6
PFrame=57
PLBA=220857

[Entry 33]
Session=1
Point=0x1f
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=50
PSec=13
PFrame=58
PLBA=225883

[Entry 34]
Session=1
Point=0x20
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=50
PSec=54
PFrame=67
PLBA=228967

[Entry 35]
Session=1
Point=0x21
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=51
PSec=17
PFrame=7
PLBA=230632

[Entry 36]
Session=1
Point=0x22
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=51
PSec=51
PFrame=54
PLBA=233229

[Entry 37]
Session=1
Point=0x23
ADR=0x01
Control=0x00
TrackNo=0
AMin=0
ASec=0
AFrame=0
ALBA=-150
Zero=0
PMin=53
PSec=57
PFrame=42
PLBA=242667

[TRACK 1]
MODE=2
INDEX 1=0

[TRACK 2]
MODE=0
INDEX 0=4860
INDEX 1=5010

[TRACK 3]
MODE=0
INDEX 1=10660

[TRACK 4]
MODE=0
INDEX 1=22546

[TRACK 5]
MODE=0
INDEX 1=34695

[TRACK 6]
MODE=0
INDEX 1=45116

[TRACK 7]
MODE=0
INDEX 1=56845

[TRACK 8]
MODE=0
INDEX 1=67837

[TRACK 9]
MODE=0
INDEX 1=79815

[TRACK 10]
MODE=0
INDEX 1=92201

[TRACK 11]
MODE=0
INDEX 1=103968

[TRACK 12]
MODE=0
INDEX 1=116073

[TRACK 13]
MODE=0
INDEX 1=126591

[TRACK 14]
MODE=0
INDEX 1=138809

[TRACK 15]
MODE=0
INDEX 1=156465

[TRACK 16]
MODE=0
INDEX 1=157075

[TRACK 17]
MODE=0
INDEX 1=162069

[TRACK 18]
MODE=0
INDEX 1=178813

[TRACK 19]
MODE=0
INDEX 1=179365

[TRACK 20]
MODE=0
INDEX 1=179918

[TRACK 21]
MODE=0
INDEX 1=183632

[TRACK 22]
MODE=0
INDEX 1=186684

[TRACK 23]
MODE=0
INDEX 1=190337

[TRACK 24]
MODE=0
INDEX 1=194087

[TRACK 25]
MODE=0
INDEX 1=200366

[TRACK 26]
MODE=0
INDEX 1=204442

[TRACK 27]
MODE=0
INDEX 1=209811

[TRACK 28]
MODE=0
INDEX 1=212641

[TRACK 29]
MODE=0
INDEX 1=216405

[TRACK 30]
MODE=0
INDEX 1=220857

[TRACK 31]
MODE=0
INDEX 1=225883

[TRACK 32]
MODE=0
INDEX 1=228967

[TRACK 33]
MODE=0
INDEX 1=230632

[TRACK 34]
MODE=0
INDEX 1=233229

[TRACK 35]
MODE=0
INDEX 1=242667


Re: Cue Sheet Track Boundaries

Reply #1
Try adding INDEX 00 to each track, with an offset of about 2 seconds or one second prior to the INDEX 01? Maybe report that to Mednafen for not supporting tracks without a specified INDEX 00?

 

Re: Cue Sheet Track Boundaries

Reply #2
YAY - it works!!!

For next time I do this, is there a free tool that can I insert an INDEX 00 for each track without having to do all that math!?