Zelda Breath of the Wild Heightmaps

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
QNando
Posts: 5
Joined: Sun Mar 22, 2015 11:13 pm

Zelda Breath of the Wild Heightmaps

Post by QNando »

I've been researching Zelda: Breath of the Wild height maps for some time in an attempt to use them to recreate Hyrule's terrain for an animation. I found out that the maps are .hght files stored within the game's .hght.sstera files, which I've found out are yaz0 compressed SARC archives.

Here's a link to all of the sstera files: https://www.dropbox.com/s/4ex288yfifcpw ... s.zip?dl=0

Are there any QuickBMS scripts or anything that can decompress multiple yaz0 comressed SARC archives in one go? I found UWizard works, but only does one at a time. Thanks!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zelda Breath of the Wild Heightmaps

Post by aluigi »

First you have to decompress the sstera files with this script:
http://aluigi.org/bms/yaz0.bms

Then use the following script for extracting the files from the obtained SARC archives:
http://aluigi.org/bms/nes_remix_pack.bms
QNando
Posts: 5
Joined: Sun Mar 22, 2015 11:13 pm

Re: Zelda Breath of the Wild Heightmaps

Post by QNando »

Thank you!

The yaz0 script works perfectly, however the SARC script gives me an error:
http://i.imgur.com/DSfjrvB.png

I also tried the splatoon SARC script and it also gave an error
http://i.imgur.com/csHE5EU.png

It did output one correct file before the error happened ¯\_(ツ)_/¯
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zelda Breath of the Wild Heightmaps

Post by aluigi »

Interesting, these archives uses a slightly different format and they even contain filenames.
Script 0.2 :)