PtitENoli Posted January 19, 2015 Share Posted January 19, 2015 Hello, this is my very first mod ever and I followed the tutorial made by @Dleowolf. When I launch the game with my mod, it crashes. The log says : [00:00:43]: Mod: Noli Registering prefabs [00:00:43]: Mod: Noli Registering prefab file: prefabs/Noli [00:00:43]: Mod: Noli Noli [00:00:43]: Mod: Noli Registering default mod prefab [00:00:43]: Could not load texture ../mods/Noli/images/saveslot_portraits/esctemplate.tex[00:00:43]: Break at: c:\jenkins\workspace\jobs\DontStarveTogether_Release_Windows_MakeSteamPackage\workspace\source\util/resourcemanager.h(142) : I don't understand because I don't have any esctemplate.tex left, nor in the saveslot files or the modmain.lua I attach the files of my mod. Can you help me please ? Thanks you!Noli.zip Link to comment https://forums.kleientertainment.com/forums/topic/49412-my-mod-character-crashes-the-game/ Share on other sites More sharing options...
Kzisor Posted January 20, 2015 Share Posted January 20, 2015 @PtitENoli, make sure to edit the .xml files in your image folders to point to your .tex file. There should be 2 locations in each .xml file which points to that specific .tex file. Link to comment https://forums.kleientertainment.com/forums/topic/49412-my-mod-character-crashes-the-game/#findComment-603884 Share on other sites More sharing options...
PtitENoli Posted January 20, 2015 Author Share Posted January 20, 2015 Thanks you I did not know that I could change the XML! The game launch without crashing. But I think I may have skipped a tutorial part because my images don't show. (And it crashes when I launch the game ahah) I have to look further this afternoon, or to redo the whole thing. Thanks!Is the autocompiler visible when it's working ? Because when I launch DST, there is nothing. Link to comment https://forums.kleientertainment.com/forums/topic/49412-my-mod-character-crashes-the-game/#findComment-604010 Share on other sites More sharing options...
rezecib Posted January 20, 2015 Share Posted January 20, 2015 Is the autocompiler visible when it's working ? Because when I launch DST, there is nothing. Did you install the mod tools? It should come up with a console window. It's pretty hard to read what it says since it goes by pretty fast, but if there's a problem, it's apparently supposed to make a log here: C:\Program Files (x86)\Steam\SteamApps\common\Don't Starve Mod Tools\temp\autocompiler_log.txtDoesn't seem to be one there for me, now, though... Link to comment https://forums.kleientertainment.com/forums/topic/49412-my-mod-character-crashes-the-game/#findComment-604016 Share on other sites More sharing options...
PtitENoli Posted January 20, 2015 Author Share Posted January 20, 2015 Yes, I did install the mod tool, but nothing is showing. When I launch Don't Starve (not together), the autocompiler is showing. Maybe I'll try to compile with Don't Starve ? This morning I succeed to make the mod launch, but a lot of images don't show up. Thanks for your help! What an adventure !! I will look this evening if I have a log for the autocompiler, thanks! Link to comment https://forums.kleientertainment.com/forums/topic/49412-my-mod-character-crashes-the-game/#findComment-604018 Share on other sites More sharing options...
PtitENoli Posted January 20, 2015 Author Share Posted January 20, 2015 Thanks for your help. I have succeded in running the mod within the game while compiling with don't starve, but... I have this weird bug: https://www.dropbox.com/s/u983b82tiz34g04/Capture%20d%27%C3%A9cran%202015-01-20%2021.52.27.png?dl=0 is it because I used the autocompiler from don't starve and not from DST ? The DST one doesn't work with me. Link to comment https://forums.kleientertainment.com/forums/topic/49412-my-mod-character-crashes-the-game/#findComment-604152 Share on other sites More sharing options...
rezecib Posted January 20, 2015 Share Posted January 20, 2015 @PtitENoli, No, I don't think that would be it. My guess is that the xmls aren't right, or the images aren't the right size (too big?), something along those lines. Look at the game's textures for those slots and see how big theirs are. Link to comment https://forums.kleientertainment.com/forums/topic/49412-my-mod-character-crashes-the-game/#findComment-604159 Share on other sites More sharing options...
PtitENoli Posted January 20, 2015 Author Share Posted January 20, 2015 I used the files contained in the character mod set. I will look if I didn't change something by mistake. Thanks! I'm rewriting the speech files, it takes soooo long Link to comment https://forums.kleientertainment.com/forums/topic/49412-my-mod-character-crashes-the-game/#findComment-604171 Share on other sites More sharing options...
PtitENoli Posted January 23, 2015 Author Share Posted January 23, 2015 (edited) In the log files, it says : [00:03:30]: ../mods/workshop-364189966/images/saveslot_portraits/mitsuru.tex is 120x104 but compressed textures must have power of 2 dimensions.[00:03:31]: ../mods/workshop-359479220/images/saveslot_portraits/sollyz.tex is 120x104 but compressed textures must have power of 2 dimensions.[00:03:31]: ../mods/Noli/images/saveslot_portraits/noli.tex is 120x104 but compressed textures must have power of 2 dimensions.[00:03:31]: ../mods/Noli/images/selectscreen_portraits/noli.tex is 188x284 but compressed textures must have power of 2 dimensions.[00:03:31]: ../mods/Noli/images/selectscreen_portraits/noli_silho.tex is 188x284 but compressed textures must have power of 2 dimensions.[00:03:31]: ../mods/Noli/bigportraits/noli.tex is 560x720 but compressed textures must have power of 2 dimensions. I believe that's the reason my images are super weird. But I don't understand, because when I create the TEX files, the "2D" option is enabled... ALSO, I have this weird issue in my log files : [00:04:33]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. (and it repeat itself ad vitam aeternam) Anybody knows what it is ? Thanks! Edited January 23, 2015 by PtitENoli Link to comment https://forums.kleientertainment.com/forums/topic/49412-my-mod-character-crashes-the-game/#findComment-605113 Share on other sites More sharing options...
PtitENoli Posted January 23, 2015 Author Share Posted January 23, 2015 I tried to save the TEX files in ARGB rather that in DXT5 and if I don't get the error of 2 dimensions anymore, my image are still bugging: https://www.dropbox.com/s/u983b82tiz34g04/Capture%20d%27%C3%A9cran%202015-01-20%2021.52.27.png?dl=0 Link to comment https://forums.kleientertainment.com/forums/topic/49412-my-mod-character-crashes-the-game/#findComment-605147 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