Skip to content

Instantly share code, notes, and snippets.

@onpaws
Created March 29, 2024 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save onpaws/8b1c0af0a70059ae0f22cdf2b228d1bb to your computer and use it in GitHub Desktop.
Save onpaws/8b1c0af0a70059ae0f22cdf2b228d1bb to your computer and use it in GitHub Desktop.
Convert bins, as in bin/cue files, into ISO
#!/usr/bin/tclsh
if {[llength $argv]!=2} {exit 1}
set in [open [lindex $argv 0] rb]
set out [open [lindex $argv 1] wb]
while {1} {
read $in 16
if {[eof $in]} {exit 0}
set user [read $in 2048]
puts -nonewline $out $user
read $in 288
}
# via https://osxdaily.com/2018/08/05/how-convert-bin-cue-to-iso-mac/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment