Creates atlases and the required manifests for textures then sorts them into a package structure to be packed by deppth
To install the texture packer, install deppth and pip install PyTexturePacker and make sure all of its dependencies are downloaded, then pip install the wheel (make sure the extension .whl is in the wheel name when installing it)
Open command prompt and cd to a parent folder, in that folder, have a folder with .pngs (must be a png otherwise the image will not be used) and nested folders with more images.
For this example, the folder with images in it will be called NewIconPkg, with the following setup below, and the package we want is ThunderstoreTeamName-NewIconPackage.
The package name must include the Mod-GUID (ThunderstoreTeamName-ModName) in order to work with Hell2Modding.
├── NewIconPkg
│ ├── GUI
│ │ ├── image1.png
│ │ ├── image2.png
│ │ ├── image3.png
│ │ │ Icons
│ │ │ ├── Iconimage.png
Now call (without using py)
hades_texture_pack -s NewIconPkg -t ThunderstoreTeamName-NewIconPackage
this will generate a folder called ThunderstoreTeamName-NewIconPackage in the parent directory that will be correctly formatted for deppth packaging, as well as 2 package files to use.
This will output the following path to the files from the example above
ThunderstoreTeamName-NewIconPackage/GUI/image1.png
ThunderstoreTeamName-NewIconPackage/GUI/image2.png
ThunderstoreTeamName-NewIconPackage/GUI/image3.png
and
ThunderstoreTeamName-NewIconPackage/GUI/Icons/Iconimage.png
All image file paths will follow the file path inside the folder they were originally in, plus the package name appended to the start of it - in order to work with Hell2Modding. For example, if the package was in the folder by itself its file path in-game would just be the ThunderstoreTeamName-NewIconPackage\\{Name}, but if its path was NewIconPkg/GUI/Icons then its file path in-game would be ThunderstoreTeamName-NewIconPackage\\GUI\\Icons\\{Name}
-sor--sourceis the name of the folder in which to recursively search for images-tor--targetis the name of the resulting folder to be packed by deppth, must be in the form of aMod-GUID(ThunderstoreTeamName-ModName).-dpor--deppthpack(not used above) set to anything but "True" to disable automatic Deppth Packing.-iHor--includehulls(not used above) set to anything but "False" to calculate hull points.