Metadata-Version: 2.1
Name: BL2-skingen
Version: 1.4.0
Summary: Utility to generate png files from Borderlands 2 in-game skin files.
Home-page: https://www.github.com/Square789/BL2_skingen/
License: UNKNOWN
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Cython
Classifier: Programming Language :: Python
Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: Pillow
Requires-Dist: Cython

# Borderlands 2 Skin generator
Utility to generate png files from Borderlands 2 in-game skin files.

# How to use:
## Installation via PyPi
This project is available on [PyPi](https://pypi.org/project/BL2_skingen/), however pre-compiled binaries only come for Python 3.7, Python 3.8 64bit.
If this meets your requirements, you can install it using `pip install BL2_skingen`, which will create an entry script called `skingen.exe`

## Manual installation
 * Download and extract the repo somewhere.
 * Make sure you have the following python packages installed: [Cython](https://pypi.org/project/Cython/), [Pillow](https://pypi.org/project/Pillow/) and [numpy](https://pypi.org/project/numpy/).
   * You can do so with: `pip install -r requirements.txt`
 * Navigate a terminal to the project's root folder.
 * Compile the .pyx files to binaries by running `py setup.py build_ext --inplace`.
## Usage
 * To extract the packets from Borderlands 2 use [UE Viewer/umodel](https://www.gildor.org/en/projects/umodel). The filepaths are hardcoded to locate the files the way UE Viewer extracts them.
  * If you installed the PyPi package, the entry script will be placed in `%PYTHONPATH%/Scripts` and should be accessible with `skingen` anywhere if the location is in `PATH`.
  * If you installed the script manually, navigate a terminal to the directory, the script can be run there with `py <Installationdir>/skingen.py`
 * For help on options, run the script without any arguments.
 Example : `skingen -in C:\Skinfiles\CD_Assasin_OrangeD_SF -out C:\Skinfiles\GEN -exc-head`

If a result did not conform to your expectations (and it's damn likely it won't), feel free to open up an issue.


