Texture Viewer (part of mod tools) itself can read *.tex format and also it can save it to different format (for example psd, jpg, png,…)
EDIT: Another tool - TextureCompiler.exe (command line tool) can read (for example jpg) and convert it to tex format.
EDIT2: You can also use asset manager with UI for converting *.psd and *.tga files to *.tex format. Go to Assets -> Right click -> New -> Texture
If I e.g. use the ui\caravan\caravan_transfercoverimage.tex and save it as tga or psd, I cannot convert it back
TextureCompiler says the size is not a power of 2, which is correct, and Asset Manager simply does not offer to create a texture from it (OK is greyed out)
Mamba, you cannot create a compressed DDS (DXT3, DXT5) if the imagesize is not a multiple of 2, as the message says,
so you have to change format and use the “DSDT” one (…it’s the A8R8G8B8 selection in other DDS plugin…).
I’m quite sure that also the DXT1 could be used, but DXT1 has no Alpha channel saved, and even if only a few images use it,
the original images has Alpha, so it’s anyway better to use a format that saves that channel too.
Even the mipmaps creation can be deselected, cause it looks like the engine does not use them anyway and (once again) the
original .tex does not have them either.
Find the file>Use TQTexture to decompile the tex files into dds>save as tga
copy paste into a mod source folder > auto create asset > bitmap
I even did it as a texture and it auto created. It won’t work/build if it’s a texture, but like I said, pretty sure it’s supposed to be bitmap. All UI component are bitmaps afaik.
I am not sure where you would get TQTexture now, and the only reason I use that is because of how simple it is. I have my PC set to automatically open tex files with the decompiler, so it instantly converts any tex files I open into DDS in the same directory. (and vice versa with DDS files)
PS: you should be making the UI files as bitmaps, not textures.
I just realized, TQTexture is already a part of GD and you don’t need to download anything (unless I put it there myself and forgot), but if you look in your resources folder, there are 3 files for TQ.Texture…