.bch.szs file compression (Miitopia)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Times New Woman
Posts: 24
Joined: Sun Oct 14, 2018 6:51 am

.bch.szs file compression (Miitopia)

Post by Times New Woman »

So: stupid szs compression.
For some unfathomable reason all of the models are contained in bch files compressed into szs extensions.
Which means:
- I can open it in Ohana
- I can't open it in Ohana's bch texture ripper like I can with the WWG models

Tried using szs to sarc to rip the raw bch and edit textures, but importing through Luma turned all the ingame models with edited textures into bananas.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: .bch.szs file compression (Miitopia)

Post by aluigi »

Already exists a script on my website for decompressing Yaz0 files:
http://aluigi.org/bms/yaz0.bms
Times New Woman
Posts: 24
Joined: Sun Oct 14, 2018 6:51 am

Re: .bch.szs file compression (Miitopia)

Post by Times New Woman »

Ok, but now how do I reimport the bch files into szs? The reimport functions don't seem to work.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: .bch.szs file compression (Miitopia)

Post by aluigi »

Eh no, because there is no compressor for yaz0.
quickbms 0.9.1 will have a fake yaz0 compressor but it should not work in reimport mode, it will be necessary a new script.
Anyway I guess the game will be able to use the decompressed file.
Times New Woman
Posts: 24
Joined: Sun Oct 14, 2018 6:51 am

Re: .bch.szs file compression (Miitopia)

Post by Times New Woman »

The thing is, Luma can't patch the files unless they're the exact same filetype as the internal files. I've tried a Yaz0 compressor but it shows up in-game with corrupted textures.


Last bumped by Times New Woman on Thu Nov 29, 2018 12:47 am.