AssetEditor... making .tex files

ReichAdler

Chieftain
Joined
Nov 4, 2016
Messages
89
Does anyone know how to get the image (.dds) into AssetMaker to make those damn .tex files that are needed to form a .blp?

I have made a few mods... enjoy making them more than playing the game actually...

But have been stuck with the leader & trait icons not appearing on opening Civ6, plus bloody Cleopatra ruining my themes in the diplomacy window.

No mods seem to have cured this until I saw Sukritact's Hadrian. He has cracked open those hallowed .blp files through the asset editor in ModBuddy.

Well three days later, with no hair left... I am a near broken man.

Does anyone know how to get the image (.dds) into AssetMaker to make those damn .tex files that are needed to form a .blp?

I have tried coming at through importing the graphics, running .xpl's, running the .artdefs... despair is setting in!

A step by step would be great from someone in the know.
 
I am still trying to fathom it all, trying different things to understand it. A lot depends if you are creating a mod fresh or using the Fraxis templates.

But you create or utilise an .xlp file. (I think you can do the same with .artdef)
It will have a class name, & a package name.

In AssetEditor, you open this file. (This may not be essential).

You then use the icon that looks like a txt doc, this opens up a lot of options, I chose textures.

Then, next to name you put the name you want to call it, I use exactly the same as the image or icon name without .dds etc.
Next field down is class name. this related to what cind of thing it is, leader, or icon (which is UserInterface) This class should be the same as in the .xlp or .artdef file. You also need to ensure you add it the .dep file.
Then finally you head down to source, & you navigate to the image you want to include in a .blp.

Depending on the class, there are more options down below. I am exploring those currently.

The save the thing, & it creates a .tex file & imports the image for you into your textures folder. Don't put things in their manually. These files should not be linked in your .modinf when you are all done & have built it... otherwise you are loading them twice.

Hope that helps... it is where I am up to.
 
Last edited:
Back
Top Bottom