slcatalog [-t https://...] [-s https://...] [-a 1.x.x] [-p <ios/android>] [catalog.sqlite3]
(or python -m silverwind.tool.download_catalog)
Query the live server for the current game data version. If a catalog filename is passed, also download the catalog to <catalog.sqlite3>. If '%s' is in the destination filename, it will be replaced with ''.
-psets the platform type, which can be one ofiosorandroid.-asets the app version number.-tsets the API base URL, for targeting staging/dev servers.-ssets the assets base URL, for targeting staging/dev servers. Effectively does nothing if not downloading the catalog.
slassets [-s https://...] [-p <ios/android>] [-c | --categories] [-i | --stdin] <catalog.sqlite3> <download_dir> <patterns...>
(or python -m silverwind.tool.get_assets)
Downloads assets from the given catalog database.
If --categories is passed, patterns is treated as a list of asset categories to download,
otherwise it's a list of filename patterns. If --stdin is passed, the patterns list is read from standard
input instead, separated by newlines.
-psets the platform type, which can be one ofiosorandroid.-ssets the assets base URL, for targeting staging/dev servers.
slmaster <mst.sqlite3> <file.tsv ...>
slmaster [-d | --download] [-s https://...] [-p <ios/android>] [-u output.toml] <mst.sqlite3> <catalog.db>
(or python -m silverwind.tool.parse_master)
Parses the binary master data in all file.tsvs and updates the appropriate table(s) in
mst.sqlite3. With --download, it will download all the master files listed in catalog.db and
insert those into the database instead. The arguments listed below only apply when --download is used.
-psets the platform type, which can be one ofiosorandroid.-ssets the assets base URL, for targeting staging/dev servers. Does nothing if not used in conjunction with--download.-uwill write out a new master_mapping.toml with default values for missing field names.
sldchart <file.bytes ...>
(or python -m silverwind.tool.decompress_charts)
Decompresses the (JSON) chart data in each file.bytes and writes it to file.bytes.json.
This tool currently doesn't do a lot and is mostly intended as code-documentation for the format. However,
it does attach a SilverwindDecodedFlags to each note object with the unpacked form of its corresponding
Flags object.