vurt 86 Posted Friday at 10:31 AM Is there any other way to (batch) convert around 2200 files from TGA to TPC other than tga2tpc? I think chatgpt said you can use it to convert via the command prompt, but i am thinking its likely hallucinating, didn't test since i've never read elsewhere about that. It's a very buggy program... first time i tried it it took me around 40h to convert 2000 files, many of them appeared broken, things with alpha showed strange outlines and other errors that werent in the TGA's. Maybe it was because i hadn't extracted any .txi files and put them in the same folder as the .tga files? I tested again (now with the original .txi files in the folder) and now it just stopped after 68 files, nothing happens. Quote Share this post Link to post Share on other sites
vurt 86 Posted Friday at 01:30 PM ...could it be that i didn't have the .txi in the /override the last time, maybe they always have to go together if you are using .tpc? realistically it should read the packaged resource where they are, if it doesnt find the .txi, but i am not super familiar with the engine or how it reads textures and the info in the .txi. Quote Share this post Link to post Share on other sites
DarthParametric 3,887 Posted Friday at 01:53 PM TXI data is embedded in a TPC, as long as you tell TGA2TPC to include it. Quote Share this post Link to post Share on other sites
vurt 86 Posted Friday at 02:18 PM yes i saw that in the settings, its why i put them in the folder this time. i guess we'll see if it makes a difference or not. would be cool to be able to work with normal maps etc + get the size down overall. But the conversion is an absolute crawl. Been on around 300 files for over an hour now, it starts off with decent speed and just slows down to a crawl over time, it will easily take me until tomorrow to convert this. Quote Share this post Link to post Share on other sites
J 55 Posted Saturday at 12:39 PM To fix the alpha issue, change the alpha depth to 0 in TGA2TPC(it the eyeball icon next to the texture name) or add "# alphablending 0.00" to their TXI file. Yes it is slow, especially if using ultra compression quality and especially with 2k or higher textures. Quote Share this post Link to post Share on other sites
vurt 86 Posted Saturday at 03:03 PM Good to know for the next time. Thanks! They finished and they do seem to work, but ofcourse i have not looked at all 2000+ textures in-game so there's no way of telling if there are errors with some. I used "Fast" compression. Quote Share this post Link to post Share on other sites