Jump to content

Recommended Posts

My mod is finally working on Steam and here in the Klei forums, but I haven't figure it out how to make the icon work in-game. I know I have to convert it to txt, or something like that. I haven't found anything useful online.

Is there a way I can convert my image and make it work?

Is there a Klei program for that?

 

20160606165304_1.jpg

Edited by FreyaMaluk

You have to make a TEX file and corresponding XML atlas file. Then you can call those two from modinfo.lua to tell the game to use them. Use the autocompiler, handsome Matt's Tex Tools or simplex' Ktools to create TEX files.

On 6/6/2016 at 6:25 PM, Mobbstar said:

You have to make a TEX file and corresponding XML atlas file. Then you can call those two from modinfo.lua to tell the game to use them. Use the autocompiler, handsome Matt's Tex Tools or simplex' Ktools to create TEX files.

Can you explain to me how the Matt's Tex Tools work?? Which one do I need to use...?? Sorry... I didn't quite get it.

1 hour ago, FreyaMaluk said:

Can you explain to me how the Matt's Tex Tools work?? Which one do I need to use...?? Sorry... I didn't quite get it.

The Tex-Tool is used for viewing and decompiling existing TEX files.

The Tex-Creator is used for compiling PNG files to TEX format. This is the one you want to use. Simply select the png and the output folder, then set it off!

...you will have to copy the XML file from another icon. If the names are different, you either have to rename the TEX file and names in modinfo, or you open the XML file and replace the names in there with the correct ones.

52 minutes ago, Mobbstar said:

The Tex-Tool is used for viewing and decompiling existing TEX files.

The Tex-Creator is used for compiling PNG files to TEX format. This is the one you want to use. Simply select the png and the output folder, then set it off!

...you will have to copy the XML file from another icon. If the names are different, you either have to rename the TEX file and names in modinfo, or you open the XML file and replace the names in there with the correct ones.

I can't open the TEX files.... 

The autocompiler would also do the job (but only on Windows). It comes with the Don't Starve Mod Tools, which you can download from the 'TOOLS' menu in Steam. Launching the game with the DSMTs installed should open a command prompt window, which automatically checks for valid PNGs and converts them.

Thank you guys... @Mobbstar and @Arkathorn

5 hours ago, Mobbstar said:

Try using ktoools then. You will need to use the command prompt, but the github has a tutorial file to help you.

 

17 minutes ago, Arkathorn said:

The autocompiler would also do the job (but only on Windows). It comes with the Don't Starve Mod Tools, which you can download from the 'TOOLS' menu in Steam. Launching the game with the DSMTs installed should open a command prompt window, which automatically checks for valid PNGs and converts them.

I made it.... Finally... :)

 

20160611024211_1.jpg

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...