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.

New Clash of Clans .sc variant

Featured Replies

  • Author
  • Localization

aluigi, posted Wed Mar 02, 2022 9:35 pm (70214)


The script is correct and even the decompression code is correct, but I have no idea why the compression fails.

It's zstd and the decompression works but there is something wrong near the end, maybe some corrupted bytes or data not related to the compressed data.

If you launch quickbms with the -e option it will dump the decompressed data even when the error occurs, as you can see the file seems correctly decompressed.
Try it:
quickbms.exe -e clash_royale.bms hero_bk_ice_dl_opt.sc
  • Author
  • Localization

E12Dragon, posted Fri Mar 04, 2022 3:57 am (70247)


It's working now, thank you for the response!
  • Author
  • Localization

E12Dragon, posted Mon May 02, 2022 5:12 am (71372)


Unfortunately this has become an issue again even when forcing files using -e option.

This compression has now been added to all files including ones with _tex.sc pairs and the Python program I use (in addition to quickbms) to cut chunks from sc files doesn't like these files after they've been through quickbms. Here's the program:https://github.com/MasterDevX/XCoderThe author hasn't updated it in a while but it continued to work when files were first put through quickbms. Here's the steps I took:

1) Put through a matching pair of .sc and _tex.sc files through quickbms using -e option.
2) Added the file extension .sc back to the files after quickbms and moved them into the "in" folder for the python script
3) Ran the python script, output below:

It's entirely possible that quickbms is working as it should (and it is more likely the case) and that this python program has finally become too old to do what it needs to, but I thought I'd check again just in case.

I've tried newer programs that are able to cut sprites fine with this compression but I haven't found a program that just leaves them as chunks. Some of them assemble chunks together into movie clips which results in them being over lower resolution. The quickbms xcoder method did exactly what I needed before.

Thanks again!
  • Author
  • Localization

aff3n, posted Wed Dec 07, 2022 7:02 pm (74491)


Hello,

could you post any of the programs you used to extract images from the quickbms output?
I am trying to get all clash royale images and are kinda new to this whole topic.

Thanks a lot!
  • Author
  • Localization

3IMiner, posted Sat Jan 07, 2023 8:49 am (74904)


aff3n wrote:
Hello,

could you post any of the programs you used to extract images from the quickbms output?
I am trying to get all clash royale images and are kinda new to this whole topic.

Thanks a lot!

Now bms can only be applied to the old version of sc, and the new version cannot be decrypted for the time being.
[i've been looking for help]
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.