btsy22 0 Posted January 13, 2021 probably a noob question but i recently got the game and downloaded a HD portraits mod but it doesn't match bao dur because i gave him a custom texture in paint.net, so it's kind of bothering me. what i'm trying to do is open his HD portrait file from the mod so i can edit it to fit the retexture. however the files are in .tpc format and i have no idea how to open these. i tried just opening it in paint.net but it didnt work. unrelated question: i'm also not sure how i go about opening .mdx and .mdl files as well, so if i could get the answer for that as well that'd be great. cheers. Quote Share this post Link to post Share on other sites
ajdrenter 40 Posted January 13, 2021 Grab xoreos tools which includes a converter for various formats (inlcuding tpc) to tga. Get it here: https://xoreos.org/downloads/index.html Quote Share this post Link to post Share on other sites
DarthParametric 3,777 Posted January 13, 2021 No, Xoreos Tools doesn't properly convert all textures. The best solution is to use ndix UR's TPCView - https://deadlystream.com/files/file/1552-tpcview Not only does it correctly convert them, but it also exports a TXI for any texture that needs it. To mass convert, select the TPCs, drag them over the TPCView window, hold down the ALT key, and release. 1 Quote Share this post Link to post Share on other sites
ajdrenter 40 Posted January 13, 2021 13 minutes ago, DarthParametric said: No, Xoreos Tools doesn't properly convert all textures. The best solution is to use ndix UR's TPCView - https://deadlystream.com/files/file/1552-tpcview Not only does it correctly convert them, but it also exports a TXI for any texture that needs it. To mass convert, select the TPCs, drag them over the TPCView window, hold down the ALT key, and release. I must've looked at the title of that program and assumed it was just a viewer. I can finally say goodbye to xoreos and your batch script LOL. Quote Share this post Link to post Share on other sites
DrMcCoy 40 Posted January 14, 2021 Yeah, xoreos-tools lacks support for animated textures, for example. It also doesn't export the TXI information. And it can't convert textures back to TPC. That's all in the TODO still. We do take patches and pull requests, though Quote Share this post Link to post Share on other sites
btsy22 0 Posted January 16, 2021 On 1/13/2021 at 1:52 PM, DarthParametric said: No, Xoreos Tools doesn't properly convert all textures. The best solution is to use ndix UR's TPCView - https://deadlystream.com/files/file/1552-tpcview Not only does it correctly convert them, but it also exports a TXI for any texture that needs it. To mass convert, select the TPCs, drag them over the TPCView window, hold down the ALT key, and release. cheers. been messing with it but so far it seems like it only lets you view the tpc file, doesn't let you edit it in any way. or convert it to an editable format. unless i'm missing something? Quote Share this post Link to post Share on other sites
DarthParametric 3,777 Posted January 16, 2021 What you quoted tells you exactly how to convert to TGA. 1 Quote Share this post Link to post Share on other sites
btsy22 0 Posted January 16, 2021 3 minutes ago, DarthParametric said: What you quoted tells you exactly how to convert to TGA. it's not converting it though. i open the .tpc with the program and its just like a preview. there's no buttons or ui, not sure if there is supposed to be. i've tried holding alt and it doesn't seem to do anything. Quote Share this post Link to post Share on other sites
DarthParametric 3,777 Posted January 16, 2021 You aren't doing it right. Left click drag a TPC over the window. Don't let go of the mouse button. Now hold down the ALT key. You'll see a message bar on the window pop up saying Export TGA. Now let go of the mouse button. 1 Quote Share this post Link to post Share on other sites
btsy22 0 Posted January 16, 2021 1 minute ago, DarthParametric said: You aren't doing it right. Left click drag a TPC over the window. Don't let go of the mouse button. Now hold down the ALT key. You'll see a message bar on the window pop up saying Export TGA. Now let go of the mouse button. aha! thanks man Quote Share this post Link to post Share on other sites