ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Jul 06, 2020 6:30 pm

All times are UTC




Post new topic  Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Thu Jun 06, 2019 9:45 pm 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 633
The .ARCHIVE files are ZIP files given by the PK file headers but I cannot decompress any assets from them due to errors occuring with no matter archiving program/plugin what I use, will someone figure these files out? LINK BELOW, files from the Android version.

_________________
Hacking Angry Birds since 2016


Last edited by LolHacksRule on Tue Apr 28, 2020 8:46 pm, edited 6 times in total.

Top
   
PostPosted: Thu Jun 06, 2019 11:19 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11372
It states that it's using the compression algorithm 34 which is custom.
The data starts with the byte 0x1b followed by the 16 bit decompressed size (so it's probably chunked) followed by the raw compressed data which is nothing like lzss/lz4 or other "easy" algorithms where parts of the original data are visible.


Top
   
PostPosted: Fri Jun 07, 2019 12:04 am 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 633
Ok then how would I extract it then? This file is also used in the Win10 build, preferably in versions newer than 3.18.12091.0, 2.11.1807.1002 and 1.9.1.50210.

_________________
Hacking Angry Birds since 2016


Top
   
PostPosted: Sun Jun 09, 2019 11:35 pm 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 633
Hello?

_________________
Hacking Angry Birds since 2016


Top
   
PostPosted: Mon Jun 10, 2019 5:23 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11372
What answer should I give you?
You have data compressed with an algorithm that you don't know.
The only solution is reverse engineering it.


Top
   
PostPosted: Mon Jun 10, 2019 5:30 pm 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 633
Darn, guess I'll RE the Win10 version to find the mechanism...

_________________
Hacking Angry Birds since 2016


Top
   
PostPosted: Mon Jun 10, 2019 5:34 pm 

Joined: Sat Aug 09, 2014 2:34 pm
Posts: 1003
Main library is Solitaire.dll - used functions from ClrCompression library (FxCore package). By function names, you can see that this is from a series of zlib (possibly modified).

Code:
crc32
deflateInit2_
inflateInit2_
deflate
inflate
crc32
inflateEnd
deflateEnd


Attachments:
clrcompression.rar [35.28 KiB]
Downloaded 54 times
Top
   
PostPosted: Mon Jun 10, 2019 7:49 pm 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 633
Ok then I was going to RE it but that helps.

_________________
Hacking Angry Birds since 2016


Top
   
PostPosted: Mon Aug 12, 2019 6:38 pm 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 633
Anyone working on this still?

_________________
Hacking Angry Birds since 2016


Top
   
PostPosted: Tue Apr 28, 2020 8:42 pm 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 633
Here's the current files (and more) on a permanent cloud storage https://drive.google.com/drive/folders/ ... sp=sharing

_________________
Hacking Angry Birds since 2016


Top
   
PostPosted: Fri May 01, 2020 4:30 pm 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 633
Library for ARMV7 has been added to the above link if someone wants to look at the executable.

_________________
Hacking Angry Birds since 2016


Top
   
PostPosted: Sun May 03, 2020 4:00 pm 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 633
Someone on Discord figured out brotli is the compression, I have no script knowledge so if possible can someone make a script for me?

UPDATE: Someone did, ask in DM.

_________________
Hacking Angry Birds since 2016


Top
   
PostPosted: Mon May 04, 2020 10:34 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11372
Script updated:
http://aluigi.org/bms/zip.bms


Top
   
PostPosted: Mon May 04, 2020 4:39 pm 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 633
Here's the original script just in case someone asked https://cdn.discordapp.com/attachments/ ... rchive.bms

_________________
Hacking Angry Birds since 2016


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 14 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited