Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

TerranMechworks/RecoilTextures

Repository files navigation

Recoil Textures

Pipeline to process textures from Recoil and find the "best" textures.

Development

Needs:

Create a python virtual environment and install requirements.txt.

Steps:

  1. Convert ZBD texture packages to ZIP
  2. Extract PNG textures from ZIP, combine manifests into texture atlas grouped by texture name
  3. Count PNG texture colors, adding them into the texture atlas
  4. Dedupe PNG textures per package (this will take a looong time!)
  5. TODO: Score PNG textures
mkdir "png"
python3 convert_zbd.py "zbd/" "./unzbd"
python3 extract_zip.py "zbd/" "png/"
python3 count_colors.py "png/"
# warning: very slow!
python3 dedupe.py "png/"
# optional
python3 copy_dedupe.py "png/" "dedupe/"
python3 score.py "png/"

License

Licensed under the European Union Public Licence (EUPL) 1.2 (LICENSE or https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages