I’m still trying to push a “Hello World” example for each content type, but I should probably release them sequentially instead of waiting for them all to be done.
Here is a tutorial for exporting and modifying TEX files, then making those changes live in the game. I’ll do a separate post for importing data.
If you have not done so yet, you need to do chapter 1 from the tutorial in order to have the necessary files. AssetManager -> Tools -> Extract Game Files. This will extract to the working directory. I will try to start fresh and do this again as a complete tutorial in another post, but basically you need a “mods” folder.
You can look at 3d versions of resources with Viewer.exe, and 2d with TexViewer.exe. Make some backups of files. You probably won’t, but you will wish you did.
Open TexViewer.exe, open a FILE_dif.tex (Look inside: C:\Program Files (x86)\Steam\steamapps\common\Grim Dawn\mods\YOURMODNAME\resources\creatures\pc to start, but if you haven’t created a mod yet then you won’t see your changes made. )
and then Save As -> BMP.
Open the FILE_dif.bmp in paint.
Perform some graffiti to make sure this is the right file.
Flip horizontal (probably on the image menu, YMMV)
Save in MSPaint.
C:\Program Files (x86)\Steam\steamapps\common\Grim Dawn\mods\YOURMODNAME\resources\creatures\pc>..\..\..\..\..\TextureCompiler.exe heroine00_spc.bmp heroine00_spc.tex -format tex
OR (if you're working on the base extracted files)
C:\Program Files (x86)\Steam\steamapps\common\Grim Dawn\resources\creatures\pc>..\..\..\TextureCompiler.exe heroine00_dif.bmp heroine00_dif.tex -format tex
Run AssetManager.exe
Build -> Build
Load the game, this is not the “main campaign” but the name of your mod. Select YOURMODNAME and create a new character. I altered the heroine model, so I can see those changes immediately after removing the armor.
All that done, I feel really silly with hours of my texture and MSH research, since AssetManager can import textures in 5 formats, and directly from PSD files. 3D Studio Max files are imported to create the MSH files. Will post separately.