Destruction Derby
Jump to navigation
Jump to search
Destruction Derby
There is no image of a modified version of this game — upload one!
Destruction Derby is a vehicular combat racing video game developed by Reflections Interactive and published by Psygnosis. Based on the sport of demolition derby, the game tasks the player with racing and destroying cars to score points.
(from Wikipedia)
'PACKED' files
Some of the game files are RLE-compressed, these do begin with a PACKED
string.
Algorithm:
- read
PACKED
string - read decompressed length (UINT32LE)
- read checksum (UINT32LE)
- while
decompressed bytes
<decompressed length
- read a byte
flag
- if it is less than
128
, replicate the next bytedata
,flag
times and update the checksum with+= data * flag
- else, read
flag - 128
bytes and for each byte read, update the checksum with+= byte value
- if it is less than
- read a byte
- check that the computed sum matches the one in header
Credits
Aybe for the PACKED algorithm (from IDA)