Utility to generate png files from Borderlands 2 in-game skin files.
Project description
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, 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, Pillow and numpy.
- You can do so with:
pip install -r requirements.txt
- You can do so with:
- 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. 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 withskingen
anywhere if the location is inPATH
. - 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
BL2_skingen-1.4.0.tar.gz
(193.2 kB
view details)
Built Distribution
File details
Details for the file BL2_skingen-1.4.0.tar.gz
.
File metadata
- Download URL: BL2_skingen-1.4.0.tar.gz
- Upload date:
- Size: 193.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 088f2792f33605ec803d9cc3288073604b06b56fa521b1e458698ddc13663855 |
|
MD5 | 741c2e279ead9e6b90c466d0af67820f |
|
BLAKE2b-256 | 6e50e726d41f1ec5ebda81e45ae3cfc6a6d43ec353ce4ff5ab125fbf0b3d5ee6 |
File details
Details for the file BL2_skingen-1.4.0-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: BL2_skingen-1.4.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 172.7 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecc960aa992a11a67652ac362d0da40195888d48524d9ef45a76cdae38f4bed2 |
|
MD5 | e6bf60ea3c2f50ae6d69f6f1d31337e9 |
|
BLAKE2b-256 | 3993a96313bbb5905cef77e2dfd2c63096f3511f113bc83979f4170c7ffba8ea |