A Destiny 2 texture converter. Takes an input texture header and converts into an image.
Supports formats DDS, PNG, JPG, BMP, TGA.
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.
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
This work is covered under GPLv3, although if derivative work is published or this work is used in another tool please provide a credit to myself or this page.