Post #2028704
2026-04-09 11:53 UTC
@voltagex @futzle I hope this isn't telling you stuff you already know but for future reference -
that's a raw 2352 bytes per sector dump, yes;
the first 12 bytes are the sync header (00 ff ff ... ff 00)
then there's a BCD timecode (00:02:00, first sector of the first track)
and then the 01 indicates it's a Mode 1 ie. normal data track, with 2048 bytes of data
I deal with this a lot, so here is bin2iso.py which lives on my PATH, use it as `python bin2iso.py thisfile.bin outfile.iso`
Replies (2)
-
@abrasive@digipres.club 2026-04-09 11:54
@voltagex #!/usr/bin/env python3 import sys _, infile, outfile = sys.argv infp = open(infile, 'rb') outfp = open(outfile, 'wb') while sector := infp.read(2352): outfp.write(sector[16:16+2048])
-
@voltagex@aus.social 2026-04-09 11:55
@abrasive yep - got there in the end, the "fixed" dump doesn't look right to me either as I now have an ISO9660 file to compare with, which has things like the author and publisher in the header.