Search the Community

Showing results for tags 'tga'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Kotor Modding
    • Mod Releases
    • General Kotor/TSL Modding
    • Modding Tools
    • Work In Progress
    • Tutorials
    • Game Saves
  • Mod Projects
    • TSLRCM
    • VarsityPuppet's Mods
    • M4-78 Enhancement Project
    • KotOR1 Restoration (K1R)
    • Revenge of Revan
    • KotOR Toolset
  • Jedi Knight Series
    • General Discussion
    • Mod Releases
  • Other Games
    • Other Games
    • Dantooine Theater Company
  • General
    • News
    • Knights of the Old Republic General
    • Star Wars
    • The Old Republic
    • Site Feedback
    • General Discussion

Blogs

There are no results to display.

There are no results to display.

Categories

  • Knights of The Old Republic
    • Media
    • Mods
    • Skins
    • Modder's Resources
  • The Sith Lords
    • Media
    • Mods
    • Skins
    • Modder's Resources
  • Jedi Knight Series
    • Maps
    • Mods
    • Skins
    • Other
  • Game Saves
  • Other Games
  • Modding Tools

Product Groups

  • Premium Membership
  • Modders Account

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 7 results

  1. Overview DDS is a file format which contains a texture already in a format that a graphics card can accept (typically compressed and containing prerendered mipmaps). Many but not all games use these files as they effectively reduce both loading (as the files are smaller) and processing (as the files are already in a format acceptable to the graphics card) times. KOTOR2 is one of these games. Unfortunately it's dds support is non-standard, and not complete. Non-pot (power-of-two) texture dimensions are not possible like they are for modern dds files, and the format which obsidian uses for it's dds files is non-standard. Therefore you may only use the bioware dds convertor and not more modern, better alternatives, and also NO dds file viewer will be able to view the files generated by this convertor. With that out of the way... why bother? Motivation I did the Quake Epsilon Build many moons ago, and knew from that that converting textures to dds sped up loading times by 400%. While I enjoyed the newer, better texture packs the community had brought to KOTOR2, I got fed up with the loading times and set about finding out which textures could be converted and which couldn't - starting with all of them, and whittling the number down from there. The resultant conversion made the game loading times acceptable. I've now played through the whole game and corrected all DDS files which would not work as DDS and had to be TGA. What texture packs did I test/convert? To save time I haven't put the full names of each of these packages, but anyone familiar with them will know what they are: As a general rule, what kinds of textures will convert? Almost anything, except for: * Textures which are used as animations * Some textures which contain transparency (some work, some don't) * Some textures which are texture atlases, like the ebon hawk texture atlases (some others, like the swoop bikes, are converted fine) * Some textures which are stretched in-game (some grass/rock textures) don't work properly when converted All character models can be DDS. Overall it's hit-and-miss. I had to go by trial-and-error to find out which worked and which didn't, and the above rules don't always work. One mandalorian blaster texture wouldn't work, for no apparent reason, when all others did! And while I've taken my time, I haven't stopped to inspect every single blaster in the inventory, so there is a small possibility I may've missed one or two. What is needed to convert textures? Firstly all textures must have width and height which are powers-of-two eg 512, 1024 etc. I don't think anything in-game should be 4096, that's killing it, asides from some skyboxes, but up to 2048 is fine. Mostly I rounded up to the nearest power of two when the texture wasn't a power of two, resized then used photoshop's 'sharpen edges' filter to remove the resultant edge-blur. This worked very well. Total image sharpening is not recommended. However if you have a resizer that does Lanczos filter resizing, any additional sharpening should not be necessary. Only for images where the original size was very much closer to a lower power of two (eg. 560, would resize down to 512), did I resize down - and then, no sharpening is needed. Then simply convert the files using Bioware's dds convertor. Finally, move the specific TGA files out of your override folder, and put the replacement DDS files in there, instead. How would I know if a given file doesn't work as DDS? Either it will be invisible, look like rainbow-coloured static, or be completely white or completely black, in-game. I had to play through the entire game to correct all of these - as some dantoine textures, for example, are used in telos's citadel, and will work as dds on dantoine, but not in the way they're used on the citadel!!! Okay, so which files can be converted? The following textures (in tga format) can be converted to dds without issue - for some you may have to resize them to power-of-two dimensions: Please note, load_101PER (from Peragus Large Monitor Adjustment) must be resized down to 1024x1024 (like the other loading screens) in order to work as a dds file in-game. And which files cannot be converted to DDS (must stay as TGA)? Can I make DDS packs of the above textures and supply them, save you some time? No, that'd be up to the authors. If they give their permission, I can, otherwise, I can't really. I'd actually quite like to compile an all-in-one KOTOR2 HD texture pack, for beginners, but I doubt so many authors would give their permission. Anything else you should know? KOTOR2 will read files in both override and any of override's subfolders - so you can create a subfolder called DDS with all your .dds files if you like. Just don't include both TGA and .dds version of the same file - KOTOR2 will load them both (and your loading times will stink). Otherwise this should at least halve your loading times. Also, although the telos signs in the overhaul pack cannot be converted (since they're animations) I found that resizing some of them to lower powers-of-two resulted in them a. loading faster, b. playing faster/more fluidly as well as c. being displayed in a slightly jumpy way, like signs that are slightly crappy/glitchy - it looks better - try it. Of course, you can also alter the speed of animation in the .lxi file - but this is more fun! Closing arguments It was the first time I'd played through with the TSLCRM, and I'm glad I did - the game felt way more complete than it did the first time, ten years ago- but the ending still sucks. Oh well. Thanks to the whole community for coming up with all the great mods, textures and the sound packs. Great, well-rounded game. Now.
  2. ndix UR

    tga2tpc

    Version 1.5.1

    341 downloads

    tga2tpc ============================================================ Author: ndix UR Release: August 2018 Version: 1.5.1 ============================================================ Convert TGA images to TPC format for use in KotOR and TSL. TPC files contain the information from a TXI file (so the TXI file is no longer needed when a TPC file is used), and can be uncompressed or compressed with either DXT1 or DXT5. Advanced features like animation and cubemap layering are initiated by the presence of specific TXI directives like cube 1 and proceduretype cycle. For some reason, the game really wants normal maps to be in TPC format. This will let you create and use full 32-bit color normal maps without having to make them into simple height maps by using indexed color. The tool is free, open source, and cross-platform. Code is available at https://github.com/ndixUR/tga2tpc The app is written in javascript, built on Electron using three.js, jquery, bootstrap. ============================================================ How do I set it up? Windows: unzip the package, run tga2tpc.exe Mac: unzip the package, move tga2tpc.app to /Applications, run it * This is not a signed application, so you have to do whatever is required to run non-MAS applications on your MacOS version. ============================================================ How do I use it? Drag files in and hit start. There shouldn't be much more to it than that. Using square and/or power of 2 sized textures is a good idea (sometimes required), TXI information is optional, and the settings are pretty much self-explanatory. The nature of TPC alpha blending is not necessarily intuitive so you may need to seek information to use it properly. ============================================================ Features Create cubemaps Create animated textures DXT1/5 Compression available (requires 2^n texture size) Horizontal/Vertical flip, for those pesky wrongly oriented TGA files Bicubic downsampling for mipmaps (precomputed small versions of the texture, part of the TPC format) Control texture alpha blending setting Known Issues Cannot create uncompressed animated textures. Only for converting from TGA to TPC. For TPC to TGA, use Kotor Tool, xoreos-tools, etc. Progress bar doesn't update as often as you might want. Bicubic downsample is slow. I recommend only using it for final conversions, not testing. The package size is large. This is the cost of easy cross-platform GUI support. All electron applications are large like this. You are likely to have problems trying to read TGAs from folders containing markup entities/encoded characters (like ') ============================================================ Thanks DarthParametric for inciting the creation of this tool, and doing the testing. DrMcCoy and all the contributors to xoreos, whose TPC decoding implementation provided the basis for the TPC library herein. bead-v for moral support.
  3. I've come across a .tga that is animated in a model (essentially increases and decreases in size to provide a glow-effect), though there is no associated .txi. Here's the file in question: This leads me to believe that the graphic is animated by the model, though the .tga looks like it's set up in frames. Is there a way I can check to see if this is the case in the model?
  4. I've noticed while extracting a good number of textures from the KOTOR 1 game files that the ones that are mostly black have no alpha on them(such as the ones with stars). Does the game have a special way of handling textures that makes them transparent with this or is this an issue with all of the tpc to tga converters for the game? If anybody has an explanation of this that would be great, i cant seem to find a way to easily and quickly remove the black from the images.
  5. View File tga2tpc tga2tpc ============================================================ Author: ndix UR Release: August 2018 Version: 1.5.1 ============================================================ Convert TGA images to TPC format for use in KotOR and TSL. TPC files contain the information from a TXI file (so the TXI file is no longer needed when a TPC file is used), and can be uncompressed or compressed with either DXT1 or DXT5. Advanced features like animation and cubemap layering are initiated by the presence of specific TXI directives like cube 1 and proceduretype cycle. For some reason, the game really wants normal maps to be in TPC format. This will let you create and use full 32-bit color normal maps without having to make them into simple height maps by using indexed color. The tool is free, open source, and cross-platform. Code is available at https://github.com/ndixUR/tga2tpc The app is written in javascript, built on Electron using three.js, jquery, bootstrap. ============================================================ How do I set it up? Windows: unzip the package, run tga2tpc.exe Mac: unzip the package, move tga2tpc.app to /Applications, run it * This is not a signed application, so you have to do whatever is required to run non-MAS applications on your MacOS version. ============================================================ How do I use it? Drag files in and hit start. There shouldn't be much more to it than that. Using square and/or power of 2 sized textures is a good idea (sometimes required), TXI information is optional, and the settings are pretty much self-explanatory. The nature of TPC alpha blending is not necessarily intuitive so you may need to seek information to use it properly. ============================================================ Features Create cubemaps Create animated textures DXT1/5 Compression available (requires 2^n texture size) Horizontal/Vertical flip, for those pesky wrongly oriented TGA files Bicubic downsampling for mipmaps (precomputed small versions of the texture, part of the TPC format) Control texture alpha blending setting Known Issues Cannot create uncompressed animated textures. Only for converting from TGA to TPC. For TPC to TGA, use Kotor Tool, xoreos-tools, etc. Progress bar doesn't update as often as you might want. Bicubic downsample is slow. I recommend only using it for final conversions, not testing. The package size is large. This is the cost of easy cross-platform GUI support. All electron applications are large like this. You are likely to have problems trying to read TGAs from folders containing markup entities/encoded characters (like ') ============================================================ Thanks DarthParametric for inciting the creation of this tool, and doing the testing. DrMcCoy and all the contributors to xoreos, whose TPC decoding implementation provided the basis for the TPC library herein. bead-v for moral support. Submitter ndix UR Submitted 10/08/2017 Category Modding Tools  
  6. To our fine moderators: Just an open ended question... I have installed some area re-textures and have had some transparency issues. After taking a closer look, I realized that all of the textures w/ Alpha channels have no designated .TXI file that goes with them. Now, I've manually created txi's every time I realize that this is happening, which is a shotgun "fix" in that now the walls/doors/shiny stuff is no longer transparent. This raises a couple of notes: 1. To create the txi's, I basically just saved a bunch of text files as .txi's w/ CM_Baremetal. Not the most beautiful fix, but it "worked". 2. I really want to use the cubemap that the modder had intended to use initially as CM_baremetal is WAY too general and probably inappropriate to use with every texture. I have been unable to reach this modder via messaging on a couple of different mod sites. 3. If this IS a "fix", what are the rules against releasing "fixes" or download-packs to address this for other modders' work? - for example, if I have a folder full of txi's that I want to release for people to use (assuming I'm not the only one with this issue), and am unable to contact the original modder, am I allowed to release something like this? Excuse me if my post is not clear, I can go into all kinds of details if anybody has specific questions. And NO, this is NOT regarding the newer area re-textures released within the last 6 months, so Deadly Stream modders need not worry at this time. :-) Thanks for taking the time! LOVE this site!!!
  7. I've been doing some random retexturing, mostly for myself as I get practice. First thing I've been doing is increase all textures to 1200 X 1200. Most re-works I've downloaded ended up being 512 X 512. So...what is the max resolution recommended? My 1200 X 1200 PC looks pretty awesome... Just wondering if it causes issues moving forward...