TiredHobgoblin / DestinyTexConv

A Destiny 2 texture converter. Takes an input texture header and converts into a texture in dds or png

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DestinyTexConv

A Destiny 2 texture converter. Takes an input texture header and converts into an image.

Supports formats DDS, PNG, JPG, BMP, TGA.

Usage

Change the settings in settings.py to fit.

The unpacker directory should have all the game unpacked to .bin, since otherwise some files may not be found and the program will crash. An unpack of the game can be made using my DestinyUnpacker. Technically not all the game needs to be unpacked, but some images will crash since they reference textures from other packages.

To run, execute convert_texture.py using an interpreter or console. Let me know of any problems either by placing an Issue or contacting me via discord Monteven#9258, the #datamining-discussion channel on RaidSecrets discord, or twitter @monteven.

Batch branch

The batch_extract branch supports multi-header extraction using a separate text file to read from.

Other notes

This program is extremely WIP and has been released in this state so people can have a look and learn about the basics of datamining in the Destiny franchise.

I have some personal ideas of what could be improved, but if you have any other ideas or would like to implement some feel free to pull request or fork.

🔲 Pull from packages instead of requiring a full unpack

✅ Support other formats than DDS

🔲 make the program easier to use (executable release/gui?)

🔲 texture plates

About

A Destiny 2 texture converter. Takes an input texture header and converts into a texture in dds or png

License:GNU General Public License v3.0


Languages

Language:Python 100.0%