The tpc tool can now convert PNG files to uncompressed TPC files.
The following example creates an uncompressed RGB file with two sub images (One full scale and one half-scale mip map) and a couple of TXI attributes:tpc -o tpc -s2 --outpath PO_PFHA3d.tpc -txi="proceduretype cycle" -txi="channelscale 4 0.1 0.2 0.3 0.4" PO_PFHA3d.pngNote that it might still not be possible to create cyclic procedurals with this tool, I just added those TXI attributes to illustrate how it should be done.
To get some more info about what TXI attributes are used in game and how they need to be formatted for this tool, use the following command to examine an existing TPC file:tpc -o none -t PO_PFHA3d.tpcRun this on one, some or all the files in the texture pack to see what's in there.
Okay, now this stuff is legit. I will be looking very closely at this code. I've been wondering about this for years, but never took the initiative to look into it. Thank you for your hard work, and I'd be honored if you continued to share more of it in the future. If I can learn anything from it I'd love to contribute as well
I hope God blesses every single one of you toolmakers. ( You know who you are )