Closed Gamebuster19901 closed 9 months ago
Also updated the link to the excitebots CRC algorithm, as the previous link was dead.
I have just discovered that a portion of the .toc
file documentation on the website is incorrect.
The website says the following:
// FILENAME DIRECTORY
// for each file
X - Filename
1 - null Filename Terminator
However it fails to state that the filename directory is padded with null bytes so that its length is always divisible by 16.
For example, in mini4.toc
is padded to become
Updated link to excitebots CRC algorithm again, the previous implementation would sometimes be incorrect.
The website will be updated with the specs change in the next release. Thanks for the other information, appreciate the continual improvement.
In Chadland2_sunny.toc, this value is
4D8B3949
, which corresponds to1228507981
in decimal little endian.The date for unix timestamp
1228507981
isFri Dec 05 2008 20:13:01 GMT+0000
.Additionally, we know by looking at error messages in main.dol that both the TOC file and the RES file contain a
create_time
(see below).