hagridas Posted November 20, 2015 Share Posted November 20, 2015 Hi, i started making my custom character. I'm using Dleos "extended sample character mod". Followed all the steps but the autocompiler.exe isnt working its shows black windows with LOOTS of words going and then just closes but the anim folder is still empty. Im using Windows 8.1Mod is in mods folderUsing steam version of the game PLEASE HELP ME Link to comment Share on other sites More sharing options...
Mobbstar Posted November 20, 2015 Share Posted November 20, 2015 Have you, by any chance, removed or renamed any of the files? Because you mustn't do that. You could try to open the command prompt normally and execute the autocompiler by command, that way the window shouldn't close when throwing an error. If you don't know what the command prompt is, search it on the internet. Link to comment Share on other sites More sharing options...
hagridas Posted November 20, 2015 Author Share Posted November 20, 2015 I didnt changed anything. i dont know how to ;open the command prompt normally and execute the autocompiler by command, that way the window shouldn't close when throwing an error. Link to comment Share on other sites More sharing options...
Arkathorn Posted November 20, 2015 Share Posted November 20, 2015 You know the 'common' folder, where 'dont_starve' is? From there, go to "Don't Starve Mod Tools/mod_tools". Hold shift and right click some empty space (Make sure you have nothing selected). An option in the menu will be "Open command window here". Click that. Type (without quotes) "autocompiler". This will run the autocompiler, without closing the window at the end. Tell us the error it shows. Link to comment Share on other sites More sharing options...
hagridas Posted November 20, 2015 Author Share Posted November 20, 2015 Error is here guys: https://gyazo.com/64d0468353ca29ffac1f6849fd53afa4 Link to comment Share on other sites More sharing options...
hagridas Posted November 20, 2015 Author Share Posted November 20, 2015 if u have to tell like lots of things, add me on steam pls. http://steamcommunity.com/id/damn69 Link to comment Share on other sites More sharing options...
Mobbstar Posted November 20, 2015 Share Posted November 20, 2015 @hagridas, the Python module is unhappy with one or more of your images. Did you modify any of them in any way? If so, what did you do? Have you tried compiling the untouched template? EDIT: More precisely, the autocompiler can't find pixels in an image. I am afraid I don't understand the program better, so I can't explain it better. Link to comment Share on other sites More sharing options...
hagridas Posted November 20, 2015 Author Share Posted November 20, 2015 um what i did i donwloaded extended tempalte and edited some of exported pngs with paint.net. AND in some cattegories like SHIRT or HAIR PIGTAIS i just cleared the image, made it black because my cahracter in dog boy, i dont want no skirt or pigtails. maybe i should just put 1 black pixel in these PNGS i cleared? will this fix the problem? Link to comment Share on other sites More sharing options...
pickleplayer Posted November 20, 2015 Share Posted November 20, 2015 um what i did i donwloaded extended tempalte and edited some of exported pngs with paint.net. AND in some cattegories like SHIRT or HAIR PIGTAIS i just cleared the image, made it black because my cahracter in dog boy, i dont want no skirt or pigtails. maybe i should just put 1 black pixel in these PNGS i cleared? will this fix the problem? no, you shouldn't need any "visible" pixels for the autocompiler to recognize it, you can leave them empty. As long as you don't delete the actual image file, it should be fine. This might just be another case of the rare bullshit this bug isn't rare it happens all the time bug where one of the image files just "explodes" the autocompiler for no reason. IF this is the case, The only way to fix it that bug is to figure out which image file is causing the autocompiler to bug out, erase it, and re-draw it. (it's a tedious task, but an easier way to isolate which image file is causing the problem is to get a fresh un-edited copy of the esctemplate files, paste in a single folder (or a few) of your edited image files into it and re-run the autocompiler. If it compiles fine, you know that folder is fine. if it gives you the error, then you know the image you need to edit is somewhere in that folder) Link to comment Share on other sites More sharing options...
hagridas Posted November 20, 2015 Author Share Posted November 20, 2015 no, you shouldn't need any "visible" pixels for the autocompiler to recognize it, you can leave them empty. As long as you don't delete the actual image file, it should be fine. This might just be another case of the rare bullshit this bug isn't rare it happens all the time bug where one of the image files just "explodes" the autocompiler for no reason. IF this is the case, The only way to fix it that bug is to figure out which image file is causing the autocompiler to bug out, erase it, and re-draw it. (it's a tedious task, but an easier way to isolate which image file is causing the problem is to get a fresh un-edited copy of the esctemplate files, paste in a single folder (or a few) of your edited image files into it and re-run the autocompiler. If it compiles fine, you know that folder is fine. if it gives you the error, then you know the image you need to edit is somewhere in that folder) oh this looks like a hard work. if i send u the folders. will you check them for me? i know this is not your duty to help me or something. but if you could i would really appreciate that. Link to comment Share on other sites More sharing options...
hagridas Posted November 20, 2015 Author Share Posted November 20, 2015 i changed only few folders, all i did i just pasted some textures with ctrl+V or just edited them. like the face. I just deleted girly eye lashes. Link to comment Share on other sites More sharing options...
hagridas Posted November 20, 2015 Author Share Posted November 20, 2015 ITS WORKING!! What i had to do was to use skirt and pigtail textures from esctemplate_cleared folder, and don't clear them by myself.Thanks you guys all for help. https://gyazo.com/a87023b8524abd8c05d8542bc49bd088 Link to comment Share on other sites More sharing options...
pickleplayer Posted November 20, 2015 Share Posted November 20, 2015 Oh good! Strange how the autocompiler reads the two empty image files differently. Link to comment Share on other sites More sharing options...
hagridas Posted November 21, 2015 Author Share Posted November 21, 2015 By the way, is there a Decompiler tool somewhere? I would like to decompile some tex files to PNGs. Link to comment Share on other sites More sharing options...
Arkathorn Posted November 21, 2015 Share Posted November 21, 2015 You could use ktools, or Matt's Tools. I use Matt's TEX Viewer for decompiling TEX files, but it's up to you. Keep in mind that recompiled things (mostly animations) are not guaranteed to work, because the autocompiler is not perfect. Link to comment Share on other sites More sharing options...
hagridas Posted November 21, 2015 Author Share Posted November 21, 2015 You could use ktools, or Matt's Tools. I use Matt's TEX Viewer for decompiling TEX files, but it's up to you. Keep in mind that recompiled things (mostly animations) are not guaranteed to work, because the autocompiler is not perfect.Yeah I use Matt's tools too (cuz ktools doesn't work for me) but it just converts TEX to PNG. Is there a way to decompile to multiple PNG files? like in exported folder. Cuz if i just copy the texture like face from the converted PNG its really hard to paste it correctly in the place when template face is, otherwise the face will be messed up and not in the middle of the head. Link to comment Share on other sites More sharing options...
Arkathorn Posted November 21, 2015 Share Posted November 21, 2015 There is a way to batch convert TEX files to PNG... ktools. What exactly do you mean when you say that they don't work? And yes, that placement issue is just an occupational hazard. Link to comment Share on other sites More sharing options...
hagridas Posted November 22, 2015 Author Share Posted November 22, 2015 When I try to open any of the files like: krane or ktech, it just shows me black CMD window and closes very fast. I caught the window with screenshot. https://gyazo.com/efe19b6f351d70480c04decc9ec7d0da https://gyazo.com/6da5a67bf46887faccda3d750da4633b Link to comment Share on other sites More sharing options...
Mobbstar Posted November 22, 2015 Share Posted November 22, 2015 These are used in the command prompt with the in- and output directory as arguments. You can just drag the folders or files into the window. Link to comment Share on other sites More sharing options...
hagridas Posted November 22, 2015 Author Share Posted November 22, 2015 So there IS a way to convert .tex file to lots of PNG files like in exported folder using ktools? Link to comment Share on other sites More sharing options...
Arkathorn Posted November 22, 2015 Share Posted November 22, 2015 Ohhhhhh... Do you mean to separate all of textures in the atlas TEX files into separate PNGs? If so, not automatically, and not with ktools. <-- I was wrong! Link to comment Share on other sites More sharing options...
hagridas Posted November 22, 2015 Author Share Posted November 22, 2015 yeah, like to convert atlas-0 to exported folder, something like that ;D Link to comment Share on other sites More sharing options...
Arkathorn Posted November 22, 2015 Share Posted November 22, 2015 Sorry, I just completely misinformed you. Krane, one of the ktools, can be used to decompile animation ZIPs, resulting in an SCML project that is roughly equivalent. The folks at Klei use Adobe Flash to make the animations, which has a few more capabilities than Spriter, so it's not always an exact conversion. The same goes for recompiling with the autocompiler, but such errors are a lot more common there. Regardless, you should be able to get the isolated textures by decompiling with krane. To decompile an animation, extract the ZIP to a folder (the folder should now contain three files: 'anim.bin', 'build.bin', and 'atlas-0.tex'; If you do not have the first two, you cannot decompile the animation). Navigate to the directory containing 'krane.exe'. Shift-Right click on empty space in the folder with nothing selected, and click the option to open a Command Window. Type (without quotes) "krane <input> <output>", where "<input>" is the folder where the three files you extracted are in, and "<output>" is the folder that you want the decompiled animation to be (Tip: You can quickly enter the path of a folder by dragging it into the command window; just be sure to press space between folders). Link to comment Share on other sites More sharing options...
hagridas Posted November 22, 2015 Author Share Posted November 22, 2015 I WANTED TO DO THIS FOR A VERY LONG TIME I THOUGHT IT WAS IMPOSSIBLE. I did it, it worked, but there is 1 problem, is this sopposed to happen? (BTW THERE WERE 4 FILES, NOT 3: anim.bin, build.bin, atlas-0.tex, atlas-1.tex)https://gyazo.com/4df64310877a198a61152df030842868 Link to comment Share on other sites More sharing options...
hagridas Posted November 23, 2015 Author Share Posted November 23, 2015 Btw the files cannot be corrupt or somethin'. They are from existing mod, tried it with few working mods. 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.