Skip to content

Publish auto generation

Daniel Voznyy edited this page Jan 26, 2021 · 1 revision

We use a Python script to generate extra stuff before publishing the pack. The following is a list of things the publishing script does.

Generate hit textures

The script generates hit variants for all models, with slightly reddened textures to match.

Combine font files

Under the fonts folder, the script will search for subfolders and combine all the json files within into a json file with the name of the original folder. This is useful for combining the autogenerated emotes file with other fonts such as negative spacing.

Minify JSON

The script will remove all indentation from json files to reduce filesizes slightly

Package zip

The end result is a zip file with all the resources

Clone this wiki locally