Changes
Jump to navigation
Jump to search
no edit summary
The compressed files are compressed with LZS with a special 2-byte header that starts with "C3 FF" marking it as compressed.
== CDPOS.DAT ==
This is the master look-up table for the data files loacted in the /PRGDATA folder. It follows the following format in little-endian (backwards)
{| border="0" cellspacing="1" cellpadding="3" style="background: rgb(0,0,0)" align="center"
! style="background:rgb(204,204,204)" align="center" | Sector Offset
! style="background:rgb(204,204,204)" align="center" | Data Length
|-
|style="background:rgb(255,255,255)" align="center" | 4 Bytes
|style="background:rgb(255,255,255)" align="center" | 4 Bytes
|-
|}
You must subtract one to the sector location to get the actual location of the disk.
Take, for example BUS3012.TIZ (entry 257). According to it's ISO6996 directory entry says it starts at 0x032E78 and has a length of 0xE00F. The entry in CDPOS.DAT shows it's location of 0x032E79 with a length of 0xE00F. The means the ISO starts at zero, while Square starts indexing at one(?)