Misc Monster Games QuickLZ Compression Format

Larsenv

Dr. Wii, Ph.D
OP
Member
Joined
Sep 28, 2013
Messages
871
Trophies
2
Website
larsenv.xyz
XP
3,308
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
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
    +1
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
  • BakerMan @ BakerMan:
    Also, no, that was his first time having a seizure, and hopefully the last
    +1
    BakerMan @ BakerMan: Also, no, that was his first time having a seizure, and hopefully the last +1