Rekov 0 Posted January 30, 2017 I hope this is the right place to ask such a question. I am trying to become familiar with Kotor Tool. I have the boxed checked for "Always convert TPC files to TGA upon extract," but the problem I'm having is that it only actually seems to do this when I extract TPC files one at a time. Is there any way that I can extract a whole erf of TPC files as TGA at once, or convert TPC files to TGA afterwards? I am trying to make a mod similar to the ones that prevent dark side decay from appearing on your PC, but where the early stages still happen, just not the final super wrinkly one. My current understanding is that I simply need to put files for the final darkside appearance into the override that look like the next step up. EDIT: Reading a guide on Module Reskinning seems to suggest that I should be able to select multiple files for extraction in Kotor Tool. I only seem to be able to extract one file at a time, or the whole erf/bif. Quote Share this post Link to post Share on other sites
Fair Strides 509 Posted January 31, 2017 KotOR Tool can convert and extra multiple models and will optionally extract the textures used by the models, but for what you want, that isn't a possibility. TPC_to_TGA.7z However, extract the entire ERF file, erase all the textures you don't want, and then use the .exe file in here. Quote Share this post Link to post Share on other sites
Rekov 0 Posted January 31, 2017 Thanks, that's exactly what I needed. Quote Share this post Link to post Share on other sites
Sith Holocron 2,477 Posted May 6, 2018 KotOR Tool can convert and extra multiple models and will optionally extract the textures used by the models, but for what you want, that isn't a possibility. TPC_to_TGA.7z However, extract the entire ERF file, erase all the textures you don't want, and then use the .exe file in here. I need this program, FS. Could you either send it to me or upload it to the site permanently? Quote Share this post Link to post Share on other sites
Ebony Moon 187 Posted May 7, 2018 I would like it, too, please. Quote Share this post Link to post Share on other sites
DarthParametric 3,782 Posted May 7, 2018 You can use xoreostex2tga from Xoreos Tools for this. Create a batch file like this: @echo off Echo Converting all TPC files in current directory to TGA Echo using Xoreos Tools' xoreostex2tga for %%F in (*.tpc) do xoreostex2tga --tpc %%~nF.tpc %%~nF.tga pause That will convert all the TPCs in the same folder. Quote Share this post Link to post Share on other sites
LiliArch 115 Posted May 10, 2018 Xoreos Tools also appears to do best work on the conversion process, at least with what I’ve been trying. Quote Share this post Link to post Share on other sites
Salk 368 Posted August 28, 2020 @DarthParametric, I tried to convert the .tpc files produced by JC in his latest modification but I get an error message: "ERROR: Invalid dimension (4x2) for format 9" I suppose it has to do with the odd size of the texture. Do you know if it is possible to still do the conversion changing some parameters? Thanks! Quote Share this post Link to post Share on other sites
DarthParametric 3,782 Posted August 28, 2020 Convert with what? TPCView converts them without complaint. You shouldn't be using anything else for conversions since that released. And in this instance, you shouldn't be converting at all, since @JCarter426 provides the source in the modder's resource file. If that hasn't been updated yet, then just give him a nudge. Quote Share this post Link to post Share on other sites
Salk 368 Posted August 28, 2020 Oh I was using xoreostex2tga, actually. I only used TCPView for... viewing the file since it didn't seem to me it was possible to export them too. Only now do I read it is possible although the system to do it is quite counterintuitive. Quote Share this post Link to post Share on other sites
DarthParametric 3,782 Posted August 28, 2020 Yeah you have to hold down the Alt key while dragging files over the program's window. I guess being a Mac disciple has warped @ndix UR's mind, leading to such wacky interface shennanigans. 1 Quote Share this post Link to post Share on other sites