Skip to content

noctonca/cueplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cueplay

Command line tool for reading BIN/CUE disc images. Lists tracks, plays CD audio, and browses ISO 9660 data tracks.

Building

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).

Usage

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/

How it works

  • 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

Limitations

  • 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

License

MIT. See LICENSE.

miniaudio is public domain / MIT-0. See the end of miniaudio.h.

About

Minimal command line BIN/CUE disc image reader and audio player

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages