Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

One line lzma decompressor

Featured Replies

  • Author
  • Localization

aluigi, posted Sat Nov 21, 2015 2:54 pm (9973)


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.
  • Author
  • Localization

NIE, posted Thu Jan 28, 2021 2:49 pm (61870)


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.
  • Author
  • Localization

aluigi, posted Thu Feb 18, 2021 12:01 am (62349)


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
  • Author
  • Localization

NIE, posted Tue Feb 23, 2021 11:12 am (62449)


How to use this script ?
In reimport mode or just open quickbms.exe ?
  • Author
  • Localization

aluigi, posted Sat Feb 27, 2021 10:03 am (62522)


Normal mode.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.