Skip to content

akshay24anil/Tagpro-Flair-Utility

Repository files navigation

Tagpro Flair Utility

A Python script that produces a 3x upscaled version of Tagpro flairs as well as a JSON file that pairs each flair name with its position offset on the spritesheet.

Installation

Use the package manager pip to install the required libraries.

pip install -r requirements.txt

Usage

Enter the following line in your terminal to run the script.

python run.py

Output

One result of running the script is an image called upscaled.png. As of the last time the script was run, it will look like this:

Screenshot of homepage

The JSON file flairLocations.json is formatted as such:

{
    "a": [b, c],
}

where for each flair:

  • a is the name of the flair such as boards.day
  • b is the vertical offset in pixels
  • c is the horizontal offset in pixels

About

A Python script that produces a 3x upscaled version of Tagpro flairs as well as a JSON file that pairs each flair name with its position offset on the spritesheet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages