Skip to main content

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
  • Navigate a terminal to the project's root folder.
  • Compile the .pyx files to binaries by running py build_ext --inplace.


  • 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 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>/
  • 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 hashes)

Uploaded source

Built Distribution

BL2_skingen-1.4.0-cp38-cp38-win_amd64.whl (172.7 kB view hashes)

Uploaded cp38

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page