toasterbathbomb Posted July 21, 2018 Share Posted July 21, 2018 I ran into this problem a few days ago and i'm not sure how to fix it. My modmain file looks like this: Inside the .xml files For jock.xml: <Atlas><Texture filename="jock.tex" /><Elements><Element name="jock_none_oval.tex" u1="0.00048828125" u2="0.54638671875" v1="0.29736328125" v2="0.99951171875" /><Element name="jock_none_oval.tex" u1="0.00048828125" u2="0.54638671875" v1="0.29736328125" v2="0.99951171875" /></Elements></Atlas> for jock_none.xml <Atlas><Texture filename="jock_none.tex" /><Elements><Element name="jock_none_oval.tex" u1="0.0009765625" u2="0.9580078125" v1="0.30908203125" v2="0.99951171875" /></Elements></Atlas> Is this something wrong with the .xml files or something wrong with the modmain? How do I fix it? Link to comment Share on other sites More sharing options...
Makishim Posted July 22, 2018 Share Posted July 22, 2018 Just character_NONE needs _oval. The simple Bigportrait's character.tex Link to comment Share on other sites More sharing options...
toasterbathbomb Posted July 22, 2018 Author Share Posted July 22, 2018 2 hours ago, Makishim said: Just character_NONE needs _oval. The simple Bigportrait's character.tex I fixed that problem, but now as soon as i reach the character select screen, the game completely freezes. Looking at the logs, i see this: Oh, i must have missed somethi- what Link to comment Share on other sites More sharing options...
Makishim Posted July 22, 2018 Share Posted July 22, 2018 Did u get it work? If not, you're probably missing the names_character. You need compile the xml using: <Atlas><Texture filename="names_character.tex" /><Elements><Element name="names_character.tex" u1="0.00048828125" u2="0.99951171875" v1="0.0009765625" v2="0.9990234375" /></Elements></Atlas> And after compiling you need change the Element to character.tex, without the names_ Link to comment Share on other sites More sharing options...
toasterbathbomb Posted July 22, 2018 Author Share Posted July 22, 2018 2 hours ago, Makishim said: <Atlas><Texture filename="names_character.tex" /><Elements><Element name="names_character.tex" u1="0.00048828125" u2="0.99951171875" v1="0.0009765625" v2="0.9990234375" /></Elements></Atlas> Do i change both xmls to this? What do you mean "names_character"? I'm pretty sure the bigportraits are fine, but now the game thinks I have a symbol in the wrong place. If you check out the last comment i made, you can see what happened after i fixed the xmls Link to comment Share on other sites More sharing options...
Makishim Posted July 23, 2018 Share Posted July 23, 2018 21 hours ago, toasterbathbomb said: Do i change both xmls to this? What do you mean "names_character"? Just the <element>. You compile using names_YOURCHARACTERNAME, and after compile you change to YOURCHARACTERNAME. Link to comment Share on other sites More sharing options...
toasterbathbomb Posted July 23, 2018 Author Share Posted July 23, 2018 1 hour ago, Makishim said: Just the <element>. You compile using names_YOURCHARACTERNAME, and after compile you change to YOURCHARACTERNAME. I feel dense. So lemme ask one more time just to clarify Change the element to "names_character.tex" inside both of the bigportraits xmls Compile under the name names_jock Rename the file to jock Is that it? sorry for being so dense, and for bothering you so much this is my first mod so i'm a little confused on some of this Link to comment Share on other sites More sharing options...
Makishim Posted July 23, 2018 Share Posted July 23, 2018 2 hours ago, toasterbathbomb said: Change the element to "names_character.tex" inside both of the bigportraits xmls Compile under the name names_jock Rename the file to jock Oh, forgive me. I wasn't transparent enough. > You need open the names_character.xml from the image folder. > Compile using names_jock > Open the xml and change the <element names_jock.tx to <element jock.tex > Compile again Ur mod's crashing when your mouse's over the icon cause he can't read the names_jock.xml Don't change the xml of bigportrait. Link to comment Share on other sites More sharing options...
toasterbathbomb Posted July 24, 2018 Author Share Posted July 24, 2018 1 hour ago, Makishim said: <element names_jock.tx to <element jock.tex So i get rid of this lil thingy? This is what my names_jock currently looks like <Atlas><Texture filename="names_jock.tex" /><Elements><Element name="jock.tex" u1="0.00048828125" u2="0.85498046875" v1="0.1533203125" v2="0.9990234375" /></Elements></Atlas> i still feel dense i'm so sorry. i just need to ultra clarify things so i don't mess things up beyond fixing Link to comment Share on other sites More sharing options...
Makishim Posted July 24, 2018 Share Posted July 24, 2018 22 minutes ago, toasterbathbomb said: This is what my names_jock currently looks like Change to name="names_jock.tex", compile and change back. If the error still persists, (obviously) this wasn't the solution. Link to comment Share on other sites More sharing options...
toasterbathbomb Posted July 24, 2018 Author Share Posted July 24, 2018 14 hours ago, Makishim said: Change to name="names_jock.tex", compile and change back. If the error still persists, (obviously) this wasn't the solution. Nope, it still freezes. My character's icon doesn't even show up on the select screen. The error: and also Link to comment Share on other sites More sharing options...
Makishim Posted July 24, 2018 Share Posted July 24, 2018 Can you send to me your ModMain? Only the modmain. Link to comment Share on other sites More sharing options...
Rincevvind Posted July 25, 2018 Share Posted July 25, 2018 show few strings before and after 46 Link to comment Share on other sites More sharing options...
toasterbathbomb Posted July 25, 2018 Author Share Posted July 25, 2018 You know what, lemme just attach the mod so you guys can take a look at it. https://drive.google.com/open?id=1XvOGVGCFtz1KIMReahNw4IlK_GcAWly0 Link to comment Share on other sites More sharing options...
Makishim Posted July 25, 2018 Share Posted July 25, 2018 You're missing = symbol at 46. Should be: STRINGS.CHARACTER_QUOTES.JOCK = "\"Nice""\ Link to comment Share on other sites More sharing options...
toasterbathbomb Posted July 25, 2018 Author Share Posted July 25, 2018 2 hours ago, Makishim said: You're missing = symbol at 46. Should be: STRINGS.CHARACTER_QUOTES.JOCK = "\"Nice""\ Link to comment Share on other sites More sharing options...
Rincevvind Posted July 26, 2018 Share Posted July 26, 2018 no, he is attempting to print '"' inside description so proper code is was : STRINGS.CHARACTER_QUOTES.JOCK "\"Nice""\ proper: STRINGS.CHARACTER_QUOTES.JOCK = "\"Nice\"" also your error's background reminds me DST, why your are here? DST is bit different from DS and have more populated forums on this site. for future development i suggest to use editors like notepad+ or Far Commander/Midnight Commander which is have yntax highlighting inside and it's easy to notice such errors. about portrait error, i am not animator and can only use assets, but i see here problems in your shared files: <Atlas><Texture filename="jock.tex" /> <Elements> <Element name="jock_none_oval.tex" u1="0.00048828125" u2="0.54638671875" v1="0.29736328125" v2="0.99951171875" /> <Element name="jock_none_oval.tex" u1="0.00048828125" u2="0.54638671875" v1="0.29736328125" v2="0.99951171875" /> </Elements> </Atlas> have no idea why there two similar elements. For DS i'll do next changes, i have no idea how '_oval' is used in DST so proper xml: <Atlas><Texture filename="jock.tex" /> <Elements> <Element name="jock.tex" u1="0.00048828125" u2="0.54638671875" v1="0.29736328125" v2="0.99951171875" /> </Elements> </Atlas> in modmain: change Asset( "IMAGE", "bigportraits/jock_none_oval.tex" ), Asset( "ATLAS", "bigportraits/jock_none_oval.xml" ), to Asset( "IMAGE", "bigportraits/jock.tex" ), Asset( "ATLAS", "bigportraits/jock.xml" ), Link to comment Share on other sites More sharing options...
toasterbathbomb Posted July 26, 2018 Author Share Posted July 26, 2018 Wow, thank you so much for helping me out, despite being in the wrong place. Can you tell me where to go if i'm modding DST? Link to comment Share on other sites More sharing options...
Rincevvind Posted July 26, 2018 Share Posted July 26, 2018 https://forums.kleientertainment.com/forums/forum/79-dont-starve-together-mods-and-tools/ read sticky topics, there lot of useful information about dst modding Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.