Drift_Zquid

Creating my first textures

Recommended Posts

Hi everyone, 

Long time lurker, first time poster. 

I have attempted to create "my" first textures by AI upscaling the original textures.  In order to do this, I had to go ERF to TPC to TPA to PNG to AI upscaler with PNG to TPA.

This has led to some very interesting results. 

Tools used: KOTOR TOOL -> TPC VIEW -> XNVIEW -> PNG to UPSCAYL -> XNVIEW to TPA

I then placed the "new textures" in the override folder, including the original ERF to TPC .TXI files that were generated from the KOTOR TOOL in case they contained any extra info that may be used by the game.  

Textures were kept in sizes of PO2, however, due to the conversion into a PNG, all are only 24bit right now. 

Current issues:

  • While flat textures used for the environment seem to be "mostly okay", player models, armors, grass, smoke effects and NPC's are not.
  • Smoke/Grass/Effects have no transparency at this time, they appear as 2d boxes.
  • I also have some skybox TGA's flipped 180 degrees from where they should be.

 

I will slowly work through those issues but in the meantime, as a starting point,  how do I correct the character model textures?

I have attached screenshots of the issues, as well as my player characters original head and upscaled head texture. Aside from resolution, they seem to appear to be the same. 

 

Thanks for the help!

textures wrong screenshot3.png

textures wrong screenshot2.png

textures wrong screenshot.png

pmaha05_orginal.png

pmaha05_upscaled.png

Share this post


Link to post
Share on other sites

Good news. 

I seem to have resolved my issue. 

Workflow is now KOTOR TOOL -> TPC VIEW -> GIMP -> UPSCAYL

(.ERF -> TPC -> TGA -> PNG for upscale -> UPSCAYL for upscaling -> GIMP for final TGA conversion)

 

GIMP settings:

TGA to PNG:

settings.png.608acd8c3e995c38371bb7dbb4b2387a.png
 

Upscaled PNG to TGA:
settings2.png.edeb4ddfe3f66dccb6023096bfedf090.png

 

Textures marked for easy ID in game:

476141140_Screenshot2024-01-14013840.png.a72ceb2969c8a026b87add5394f559a1.png

 

In game:

238023979_ingame.png.14f65fb15fca3d97c9dc396f2cf25359.png

 

 

I am not sure what the original issue was with using the prior workflow, but i think it's pretty clear to see there was an issue. Maybe Photoshop having RLE compression on or reading/converting the TGA incorrectly from the origin point? 

Hope this helps somebody in the future! 

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.