Exporting textures

Hi,

Yet I have only imported textures hand-made to modify the ground, mastery image, …

But know I’m trying to modify actual textures to make some green monsters red for example. But any .tex reader I’ve try can read Grim Dawn textures.

So has someone found a way and then can you tell me how to ?

Elite.

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

Didn’t see the texture viewer thanks.

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)

Any ideas ?

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.

thanks, but I tried all formats, I just chose that for the screenshot

The funny thing is that now that I restarted Asset Manager it allows it (OK is not greyed out), for all formats…

It works for me.

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.

edit: found it
http://dl.dropbox.com/u/5013896/forum/titanquest.net/files/TQ%20Texture%20Tools.zip
not sure where his other stuff is, this is from a cached TQ.net website.

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…

edit: ignore this post!!!

You downloaded it yourself :wink:

TQ.Texture is made by Tamschi and has nothing to do with gd or crate.

I figured as much, ok.

GG wp :stuck_out_tongue: .