ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Mar 02, 2021 4:09 am

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat Nov 21, 2015 2:54 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12004
Just a quick example of a feature of quickbms and, at the same time, some info about some Android games.

The following command can be used to decompress the SC and S3E files of some Android games.
Code:
quickbms -s "comtype lzma_dynamic ; get SIZE asize ; get NAME basename ; clog NAME 0 SIZE SIZE" "" FILE


S3E is a sort of configuration file of the Marmalade framework, it's used in games like Shadow Fight 2 and Gunship Battle.

The SC files instead are used in the Supercell games: Clash of Clans, Hayday and Boom Beach.
It's not clear how are stored the offset and size fields for extracting the data from these archives.


Top
   
PostPosted: Thu Jan 28, 2021 2:49 pm 

Joined: Mon Jan 25, 2021 3:50 pm
Posts: 7
But how to repack then the file extracted ? I tried by repack GuickBms but it didn't work and game didn't accept file. 7-zip showed compression method lzma:16 but I don't know what it means.


Top
   
PostPosted: Thu Feb 18, 2021 12:01 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12004
You can use a script like the following for packing the input file:
Code:
comtype lzma_compress
get SIZE asize
clog "new.dat" 0 SIZE SIZE


Since lzma_dynamic automatically finds the correct lzma format, you have to specify the exact one when creating the compressed files.
This is the list of available lzma compressors:

lzma_compress
lzma_86head_compress
lzma_86dec_compress
lzma_86dechead_compress
lzma_efs_compress
lzma_0_compress


Top
   
PostPosted: Tue Feb 23, 2021 11:12 am 

Joined: Mon Jan 25, 2021 3:50 pm
Posts: 7
How to use this script ?
In reimport mode or just open quickbms.exe ?


Top
   
PostPosted: Sat Feb 27, 2021 10:03 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12004
Normal mode.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 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:
Powered by phpBB® Forum Software © phpBB Limited