Skip to content

Instantly share code, notes, and snippets.

View snowsee's full-sized avatar
❄️
its snowy

Snowsy snowsee

❄️
its snowy
View GitHub Profile
@snowsee
snowsee / clash-mini-extraction.md
Created November 8, 2021 20:13
Clash Mini Extraction

Some of Clash Mini's .sc files use a new version (v4). They use LZMA compression as normal, but have 4 extra bytes in the header.

The v4 *_tex.sc files can be extracted using the master branch version of sc_extract. You will have to build the tool from the master branch directly to extract the v4 *_tex.sc files.

Some *.sc files also use this new scheme. The usual clash_royale.bms cannot unpack those files. You can use the modified supercell.bms to unpack those files. The supercell.bms script works with all types of *.sc files.

# Unpacks all `*.sc` files
$ find . -not -name '*_tex.sc' -name '*.sc' -exec quickbms /path/to/supercell.bms {} \;
@snowsee
snowsee / supercell.bms
Created November 8, 2021 20:04
A general BMS script for Supercell games.
# Supercell (script 0.1)
# script for QuickBMS http://quickbms.aluigi.org
#
# This script was originally created by Aluigi.
# The original script can be found at
# http://aluigi.altervista.org/bms/clash_royale.bms
#
# This is a slightly modified version of the script
# to make it work with version 4 .sc files as well.
#
@snowsee
snowsee / everdale-pi.md
Last active September 13, 2021 00:11
Everdale Potions and Ingredients

Potions and Ingredients

This document contains the description and important details of all potions and ingredients.

Lumberjack's Potions

Woodcutters' Mixture - 1 Star

Speeds up walking and woodcutting by 50% for 3h.

@snowsee
snowsee / everdale-srp.md
Last active September 5, 2021 16:35
Everdale Study Research Projects

Study Research Projects

This document contains the description and important details of all Study Research Projects. The projects are grouped by the required Study level. At the end, there's a table that mimics the Study progression tree. Jump to it!

Note: Town Hall is the same as Village Kitchen.

Study Level: 1

1.1 Level Up Wood Storage

@snowsee
snowsee / everdale_extract.md
Last active August 29, 2021 14:15
Everdale `.osm` Extraction

Everdale's assets folders containing text, logic, graphics, media, etc., are compressed into .osm files.

The .osm files can be decompressed using the everdale.bms script with QuickBMS.

# Unpacks all `*.osm` files into folders named `*.osm_extract`
$ find . -name '*.osm' -exec quickbms -d /path/to/everdale.bms {} \;

# Unpacks a specific file named `file.osm` into a folder named `file.osm_extract`
$ quickbms -d /path/to/everdale.bms file.osm