Misc Monster Games QuickLZ Compression Format

Larsenv

Dr. Wii, Ph.D
OP
Member
Joined
Sep 28, 2013
Messages
872
Trophies
2
Website
larsenv.xyz
XP
3,313
Country
United States
We have figured out the compression algorithm of games by Monster Games, a company Nintendo contracted to develop games for Nintendo, and the following games have been figured out.
  • Donkey Kong Country Returns 3D
  • ExciteBike: World Rally
  • ExciteBots: Trick Racing
  • Pilotwings Resort
The format used is QuickLZ, a run length coding which is really fast. ExciteBots: Trick Racing uses version 1.2.0, and Donkey Kong Country Returns 3D and Pilotwings Resort and ExciteBike: World Rally use 1.4.0. The latter uses level 3 compression as it’s adjustable. The versions matter because QuickLZ had gone through different parts of the code. You can grab the code to decompress here https://transfer.archivete.am/A3vsW/quicklz.zip

This was hard to figure out because we didn’t know what compression algorithm was used until we determined that it was QuickLZ by discovering a QCLZ marker in the code. When we had gotten the code to work, we found it decompressed improperly. This was because of the endianness that it uses, so we had to remove the code which checks if you’re using an x86_64 processor.

We’re quite familiar with the RST format that the compressed data is stored in. There’s a table of contents and this is used to extract it.

The current goal is to make a tool to extract and mod data in ExciteBots: Trick Racing, which is a game that’s enjoyed by a close knit community. The code we used to compress and decompress in QuickLZ 1.2.0 and 1.4.0 are here. You will have to decompress at 0x90 in the file.

Donkey Kong Country Returns 3D was cracked open in 2015 but back then it was not known that it used QuickLZ and was assumed that it was a custom compression algorithm which Monster Games created. More documentation will be available here. http://metroid2002.com/retromodding/wiki/RST0_(File_Format)

Credit goes to Gamebuster which is going to work on modding ExciteBots and Aruki which originally reversed engineered the format
 
Last edited by Larsenv,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Sadly if I have to pick between the two Trump and neither one is great or even good
  • Psionic Roshambo @ Psionic Roshambo:
    If there was a candidate that wasn't evil that would just be fantastic
  • K3Nv2 @ K3Nv2:
    I feel like the outcome would be the same regardless
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Your not wrong
  • mthrnite @ mthrnite:
    if it was biden vs romney i'd vote romney
    +1
  • K3Nv2 @ K3Nv2:
    Biden MJs his way to ice cream trucks and Trump pays people off
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's that South Park episode Turd Sandwich or Giant Douche
  • K3Nv2 @ K3Nv2:
    Wasn't there just a world leader that got shot up
  • mthrnite @ mthrnite:
    trump is was and always will be a joke to me, but people love a shit-slinger
  • Psionic Roshambo @ Psionic Roshambo:
    It was a prime minister or something
  • Psionic Roshambo @ Psionic Roshambo:
    I would pick Trump over Biden but just barely, don't really like either one
  • Psionic Roshambo @ Psionic Roshambo:
    Really just economy stuff is why
  • Psionic Roshambo @ Psionic Roshambo:
    After that they both suuucckkk
  • K3Nv2 @ K3Nv2:
    America's been hating it's own President since the Clinton days so it'll always be devided
    +1
  • mthrnite @ mthrnite:
    i hated reagan but i'm old as dirt so...
    +1
  • mthrnite @ mthrnite:
    it's hard out there for a centrist
    +1
  • mthrnite @ mthrnite:
    esp. since trump destroyed the gop
  • Psionic Roshambo @ Psionic Roshambo:
    Reagan gave us Star Wars lol
  • mthrnite @ mthrnite:
    i think the würm will turn eventually and we'll have a real choice again
  • Psionic Roshambo @ Psionic Roshambo:
    I hope so it would be nice to have someone that's not paid off by foreign interests
  • Psionic Roshambo @ Psionic Roshambo:
    Getting to be where they should wear jackets like NASCAR so you can visually identify who they are sponsored by lol
  • mthrnite @ mthrnite:
    just weed out the fuckin' loonies and i'd be happy... er.
  • Psionic Roshambo @ Psionic Roshambo:
    True that
    Psionic Roshambo @ Psionic Roshambo: True that