Destruction Derby

From ModdingWiki
Jump to navigation Jump to search
Destruction Derby
Destruction Derby.png
There is no image of a modified version of this game — upload one!
Levels?X mark.svg Not editable
Tiles?X mark.svg Not editable
Sprites?X mark.svg Not editable
Fullscreen?X mark.svg Not editable
Sound?X mark.svg Not editable
Music?X mark.svg Not editable
Text?X mark.svg Not editable
Story/cutscenes?X mark.svg Not editable
UI/menus?X mark.svg Not editable
Demos?Unknown

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 byte data, 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
  • check that the computed sum matches the one in header

Credits

Aybe for the PACKED algorithm (from IDA)