FreyaMaluk Posted June 6, 2016 Share Posted June 6, 2016 (edited) 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? Edited June 11, 2016 by FreyaMaluk Link to comment https://forums.kleientertainment.com/forums/topic/67939-resolved-icon-for-mod-convert-png-or-jpg-to-txt-help-please/ Share on other sites More sharing options...
Mobbstar Posted June 6, 2016 Share Posted June 6, 2016 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. Link to comment https://forums.kleientertainment.com/forums/topic/67939-resolved-icon-for-mod-convert-png-or-jpg-to-txt-help-please/#findComment-780277 Share on other sites More sharing options...
FreyaMaluk Posted June 10, 2016 Author Share Posted June 10, 2016 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. Link to comment https://forums.kleientertainment.com/forums/topic/67939-resolved-icon-for-mod-convert-png-or-jpg-to-txt-help-please/#findComment-781968 Share on other sites More sharing options...
Mobbstar Posted June 10, 2016 Share Posted June 10, 2016 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. Link to comment https://forums.kleientertainment.com/forums/topic/67939-resolved-icon-for-mod-convert-png-or-jpg-to-txt-help-please/#findComment-781986 Share on other sites More sharing options...
FreyaMaluk Posted June 10, 2016 Author Share Posted June 10, 2016 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.... Link to comment https://forums.kleientertainment.com/forums/topic/67939-resolved-icon-for-mod-convert-png-or-jpg-to-txt-help-please/#findComment-782018 Share on other sites More sharing options...
Mobbstar Posted June 10, 2016 Share Posted June 10, 2016 23 minutes ago, FreyaMaluk said: I can't open the TEX files.... Why would you want to open a tex file? I thought you want to convert an image to tex format for your modicon. Link to comment https://forums.kleientertainment.com/forums/topic/67939-resolved-icon-for-mod-convert-png-or-jpg-to-txt-help-please/#findComment-782024 Share on other sites More sharing options...
FreyaMaluk Posted June 10, 2016 Author Share Posted June 10, 2016 6 minutes ago, Mobbstar said: Why would you want to open a tex file? I thought you want to convert an image to tex format for your modicon. Sorry I meant the Tex-Tools Link to comment https://forums.kleientertainment.com/forums/topic/67939-resolved-icon-for-mod-convert-png-or-jpg-to-txt-help-please/#findComment-782028 Share on other sites More sharing options...
Mobbstar Posted June 10, 2016 Share Posted June 10, 2016 17 minutes ago, FreyaMaluk said: Sorry I meant the Tex-Tools Try using ktoools then. You will need to use the command prompt, but the github has a tutorial file to help you. Link to comment https://forums.kleientertainment.com/forums/topic/67939-resolved-icon-for-mod-convert-png-or-jpg-to-txt-help-please/#findComment-782033 Share on other sites More sharing options...
Arkathorn Posted June 11, 2016 Share Posted June 11, 2016 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. Link to comment https://forums.kleientertainment.com/forums/topic/67939-resolved-icon-for-mod-convert-png-or-jpg-to-txt-help-please/#findComment-782203 Share on other sites More sharing options...
FreyaMaluk Posted June 11, 2016 Author Share Posted June 11, 2016 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... Link to comment https://forums.kleientertainment.com/forums/topic/67939-resolved-icon-for-mod-convert-png-or-jpg-to-txt-help-please/#findComment-782218 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now