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
  • K3Nv2 @ K3Nv2:
    Or members could just have self control and learn how to not get so worked up
  • sp3off @ sp3off:
    and most important of all, i don't have any "sysnand CFW", I keep the sys free of modifications for online play
  • SylverReZ @ SylverReZ:
    @sp3off, I would check first on the Switch CFW guide to make sure its safe to update.
  • SylverReZ @ SylverReZ:
    If you really want to ensure that you're super cautious, don't update.
  • The Real Jdbye @ The Real Jdbye:
    i always say there are 2 things which should never be discussed on the internet, politics and religion
    +1
  • The Real Jdbye @ The Real Jdbye:
    in fact, that kinda applies to real life too because discussing them with anybody who doesn't share the same views as you do just leads to conflicts
  • K3Nv2 @ K3Nv2:
    Yet we keep bringing them up
  • mthrnite @ mthrnite:
    VOTE GOD 2024!
  • SylverReZ @ SylverReZ:
    @The Real Jdbye, Or any controversial opinions for that matter, of which they can be used against your will and leads to fights.
  • SylverReZ @ SylverReZ:
    When we voting mthrnite as GBAtemp pres?
  • sp3off @ sp3off:
    @SylverReZ So far on the hacks.guide website nothing seems to indicate that it's safe or not
  • mthrnite @ mthrnite:
    protect trans kids
  • The Real Jdbye @ The Real Jdbye:
    some people are capable of calmly discussing such things, but on a public forum or anywhere with a large amount of people, you're going to have people who can't
    +2
  • sp3off @ sp3off:
    Scires seems to have changed his own 1.7.0 release from "pre-release" to "release", while the tag is still named prerelease
  • K3Nv2 @ K3Nv2:
    Don't melt the snowflakes keep temps down
  • mthrnite @ mthrnite:
    I do not miss moderating religion topics in general OTC.
  • The Real Jdbye @ The Real Jdbye:
    i would even say most people who have any strong opinions on either of them aren't able to discuss them calmly
  • K3Nv2 @ K3Nv2:
    I don't get why we keep discussing things we say we hate
  • SylverReZ @ SylverReZ:
    This is why we can't have nice things.
  • mthrnite @ mthrnite:
    snap
  • SylverReZ @ SylverReZ:
    @K3Nv2, "They can follow you to the unemployment line" best quote haha
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Religious politics!
  • Psionic Roshambo @ Psionic Roshambo:
    Praise Trump our Lord and Savior hallowed be his tax returns and may he grab them by the puzzy lol
    Psionic Roshambo @ Psionic Roshambo: Praise Trump our Lord and Savior hallowed be his tax returns and may he grab them by the puzzy lol