Angry Birds Classic/Old Angry Birds Games *.ZSTREAM/*.STREAM

Textures, recreate headers, conversions, algorithms and parsing of image files
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Angry Birds Classic/Old Angry Birds Games *.ZSTREAM/*.STREAM

Post by LolHacksRule »

How to properly open these files? They aren't 7Zip archives, but extracted from them (data/images/base/XXX.stream.7z). I assume its a texture file, I can partially open it via PVRTexTool and given by hexes of the file, RGBA4444 is mentioned multiple times (I'm assuming there's multiple images but grouped into one and they each/the file is RGBA4444...) and I don't know what else to find for image parameters... File: http://www.filedropper.com/ingamebirds1 Any advice if so thanks. File header: 00 01 ce 92 20 28 01 79 20 9d 20 19 20 20 20 20.
Last edited by LolHacksRule on Wed Sep 14, 2022 4:28 am, edited 1 time in total.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Classic/Old Angry Birds Games .ZSTREAM (Textures, Android)

Post by LolHacksRule »

Any advice? I heard you have to rip each RGBA4444 output hex by hex, that is pretty difficult so any easier way?
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Angry Birds Classic/Old Angry Birds Games .ZSTREAM (Textures, Android)

Post by Acewell »

your sample link no longer works, but here is Noesis python script to open the one zstream sample you had :)
*script updated Nov 18, 2018*
tex_AngryBirdsClassic_Android_zstream.zip


supports rgba4444 and rgba8888
Last edited by Acewell on Sun Nov 18, 2018 9:30 am, edited 2 times in total.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Classic/Old Angry Birds Games .ZSTREAM (Textures, Android)

Post by LolHacksRule »

Thanks so much!
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Angry Birds Classic/Old Angry Birds Games .ZSTREAM (Textures, Android)

Post by Acewell »

script updated to also support rgba8888 after downloading game and finding 3 samples using this format. :)
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Classic/Old Angry Birds Games .ZSTREAM (Textures, Android)

Post by LolHacksRule »

Cool! Any way to batch export all images from ZSTREAM files in a directory as PNGs?
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Angry Birds Classic/Old Angry Birds Games .ZSTREAM (Textures, Android)

Post by Acewell »

yep, "Tools">"Batch process" in Noesis
press "Folder batch" to browse to folder with your zstream files
change "Input extension" to zstream
change "Output extension" to png
change the "Output path" line to this so you won't have a bunch of needless folders

Code: Select all

$inpath$\$inname$.$outext$

click on "Export" :)
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Angry Birds Classic/Old Angry Birds Games .ZSTREAM (Textures, Android)

Post by LolHacksRule »

I just figured that out a while ago... Also any way to bundle my own images in my own ZSTREAM file?