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.
Comments (0)
You must be logged in to post comments.
Related Games
Metroid Fusion
Super Smash Bros.
Super Smash Bros. for Nintendo 3DS
Metroid Dread
Nintendo Land
Metroid Prime 3: Corruption
Metroid II: Return of Samus
Metroid: Zero Mission
Metroid: Other M
Metroid Dread
Metroid Prime: Trilogy
Metroid Prime Hunters
New Play Control! Metroid Prime
New Play Control! Metroid Prime 2: Dark Echoes
Super Smash Bros. for Wii U
Super Smash Bros. Ultimate
Metroid Prime: Federation Force
Super Smash Bros. Melee
Metroid
Metroid II: Return of Samus DX
Super Smash Bros. Brawl
Super Metroid
Metroid Prime 2: Echoes
Astral Chain
F-Zero: GP Legend
Hyrule Warriors: Legends
Mach Rider
Donkey Kong 3
Wild Gunman
Chibi-Robo!
The Last Story
Donkey Kong Country Returns 3D
Pokémon Pearl Version
Kingdom Hearts 3D: Dream Drop Distance
Super Mario RPG: Legend of the Seven Stars
Radar Scope
Fire Emblem Fates: Special Edition
Splatoon
Kirby 64: The Crystal Shards
Giftpia
Nintendogs + Cats: Toy Poodle & New Friends
Advance Wars 1+2: Re-Boot Camp
Mario Tennis: Power Tour
StarCraft 64
The Legend of Zelda: A Link to the Past
Super Donkey
Mario Hoops 3-on-3
Tales of Symphonia
Tomato Adventure
Mickey's Speedway USA