Viewing Single Trivia
▲
1
▼
According to programmer Zoid Kirsch, when rooms are streamed in behind doors, it's loading a compressed copy of the room (i.e. geometry, textures, models, game data). After the compressed copy is loaded into internal memory, space is allocated to decompress the room into, meaning memory is needed for both the compressed and decompressed copy. Since the GameCube has 24MB of RAM, the developers found that having both compressed and decompressed was too expensive to work with (see top image).
To solve this problem, they licensed an open source decompression library (Kirsch does not remember specifically what library but it might have been Lempel–Ziv–Oberhumer) that allows allocation of a single decompressed sized block, then loads the compressed copy into the upper section of the memory block, and decompresses it in place overwriting the compressed copy (see bottom image). This library fixed many issues with memory fragmentation and basically allowed the size of the game's rooms to be much larger.
To solve this problem, they licensed an open source decompression library (Kirsch does not remember specifically what library but it might have been Lempel–Ziv–Oberhumer) that allows allocation of a single decompressed sized block, then loads the compressed copy into the upper section of the memory block, and decompresses it in place overwriting the compressed copy (see bottom image). This library fixed many issues with memory fragmentation and basically allowed the size of the game's rooms to be much larger.
Zoid Kirsch tweet:
https://twitter.com/ZoidCTF/status/1590137508830285825
Lempel-Ziv-Oberhumer:
http://oberhumer.com/opensource/lzo/
https://twitter.com/ZoidCTF/status/1590137508830285825
Lempel-Ziv-Oberhumer:
http://oberhumer.com/opensource/lzo/
Comments (0)
You must be logged in to post comments.
Related Games
Metroid II: Return of Samus
Metroid Prime 2: Echoes
Super Metroid
New Play Control! Metroid Prime
Metroid Fusion
Metroid Prime: Trilogy
Metroid Dread
Metroid Prime Hunters
New Play Control! Metroid Prime 2: Dark Echoes
Metroid: Other M
Metroid Prime: Federation Force
Metroid
Metroid Prime 3: Corruption
Metroid: Zero Mission
Metroid II: Return of Samus DX
Nintendo World Championships: NES Edition
Nintendo Land
Super Smash Bros. Melee
NES Remix 2
Super Smash Bros. for Nintendo 3DS
Super Smash Bros.
Super Smash Bros. for Wii U
Metroid Dread
Ultimate NES Remix
Super Smash Bros. Ultimate
Super Smash Bros. Brawl
Famicom Mini Collection
Harvest Moon: A Wonderful Life
Pokémon Mystery Dungeon: Explorers of Sky
Super Mario Bros. Wonder
Mario Super Sluggers
WarioWare: Twisted!
Egg
Harvest Moon: Magical Melody
Super Mario RPG 2
Zelda II: The Adventure of Link
Bayonetta 2
Diddy Kong Pilot
Luigi's Mansion
Osu! Tatakae! Ouendan
Donkey Kong no Ongaku Asobi
Poochy & Yoshi's Woolly World
Donkey Konga 2
Kirby's Star Stacker
Sword of Mana
Mario Party 3
EarthBound
Everybody 1-2-Switch
Super Mario Advance
Pokémon Mystery Dungeon: Gates to Infinity