After some messing around with this I’ve realized that you don’t even need to convert any of the files to .tga
nor do you even need to use the AssetManager
. Everything can be done via the TextureCompiler.exe
.
You want to copy two files from your GD install folder:
- TextureCompiler.exe
- freeimage.dll
Copy them to wherever you want to work from - lets say C:\New Folder
:
You will also want to place your images in this location as well. Now just open up PowerShell at this location and type in:
.\TextureCompiler.exe .\NameOfYour.jpg -nopoweroftwo "C:\Users\powba\Documents\My Games\Grim Dawn\Settings\UI\loading\loadingbackground01.tex"
^Naturally, make sure you set the user path to YOUR own user path.
…and that’s it. TextureCompiler
will happily handle and convert jpg, png, and bmp wallpapers no problem.
To use a regular old command prompt it’s only slightly different:
TextureCompiler.exe KymonChrisYuen.jpg -nopoweroftwo "C:\Users\powba\Documents\My Games\Grim Dawn\Settings\UI\loading\loadingbackground01.tex"
^And again, make sure you set the user path to YOUR own user path.
And yea, from what I can see you don’t need to sweat the width/height of the image much - seems that GD takes care of that end of it.