Recommended Posts

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. 

Share this post


Link to post
Share on other sites

...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. 
 

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.