Command line tool for reading BIN/CUE disc images. Lists tracks, plays CD audio, and browses ISO 9660 data tracks.
Requires a C99 compiler and standard system libraries. No external dependencies to install -- miniaudio is included in the repo.
make
Works on Linux, macOS, and Windows (via mingw).
List tracks:
$ ./cueplay disc.cue
Track 01 [DATA ] 00:00:00 - 10:47:52
Track 02 [AUDIO] 10:47:52 - 14:02:01
Track 03 [AUDIO] 14:02:01 - 17:02:19
Play an audio track:
$ ./cueplay disc.cue 2
Track 02 [AUDIO] 10:47:52 - 14:02:01 (3:14)
Playing... (Ctrl+C to stop)
List files on a data track (ISO 9660):
$ ./cueplay disc.cue 1
/
├── README.TXT (8269 bytes)
├── INSTALL.BAT (30 bytes)
└── DATA/
├── GAME.EXE (258513 bytes)
└── SAVES/
- Parses CUE sheets directly (FILE, TRACK, INDEX directives)
- Reads raw 2352-byte sectors from the BIN file
- Audio tracks: streams raw PCM (16-bit stereo, 44.1 kHz) to the default output device via miniaudio
- Data tracks: reads the ISO 9660 Primary Volume Descriptor and walks directory records to produce a file listing
- Assumes a single BIN file per CUE sheet (multi-file BIN/CUE is not supported)
- Only MODE1/2352 data tracks are handled for ISO 9660 browsing
- No file extraction from data tracks (listing only)
- No Joliet or Rock Ridge extensions
MIT. See LICENSE.
miniaudio is public domain / MIT-0. See the end of miniaudio.h.