Yakuzashi Posted September 9, 2018 Share Posted September 9, 2018 (edited) Hello. I have learned how to use Ktools by accident. Maybe I am so bad at everything that I didn't find solution for my issue in main Ktools topic, or whatever. If you have the same problem you probably click "krane.exe" twice and nothing happens. You can use Krane to decompile "anim.zip" into folders with images and .scml file from Spriter. Tutorial Part 1. Extract files from "ktools-4.4.4-win32.zip" to desktop. It should create folder called "ktools-4.4.4", rename it to "ktools". It must look like this after opening. Part 2. Open path marked with red color (your game directory) and follow up to anim folder. It will be full of .zip files. Let's find an "axe" for instance. Then open it ... ...and copy all 3 file types into your "ktools" folder in the desktop. Part 3. Press Windows (key on your keyboard) + R, then type "cmd" (console should pop up) Type "cd desktop/ktools", press "Enter" key Type "krane anim.bin build.bin name" [name -> name of folder you want your files to be decompiled into] After while you will see this Part 4. Open "ktools" folder and your "name" folder will be waiting for you. Open it. You will see .scml file and folder. That's it. I hope someone might find it useful. New community members for instance, without knowledge and experience in all this stuff. (I can't delete this picture below. Just ignore it.) Edited September 9, 2018 by Yakuzashi mistake, buggs ? 2 2 Link to comment Share on other sites More sharing options...
Obscurity7928 Posted September 10, 2018 Share Posted September 10, 2018 Where is this stuff? What is this ""ktool? Link to comment Share on other sites More sharing options...
Yakuzashi Posted September 10, 2018 Author Share Posted September 10, 2018 (edited) Download it from there. Edited September 10, 2018 by Yakuzashi 1 Link to comment Share on other sites More sharing options...
Lumina Posted September 10, 2018 Share Posted September 10, 2018 (edited) You can also create a .bat file that will contain the same line of command, so you don't have to type things everytime. Mine looks like this : krane anim.bin build.bin output_dir Note that some files will use the anim.bin of one anim.zip and the build.bin and atlas-0.tex of another. For example, it's the case for rabbits : the anim is in ds_rabbit_basic, the build and tex are in different files depending of the kind of rabbit. If you find a build and texture without anim, or an anim without build and texture, look at the prefab of the file, it will usually contains informations about the assets. Example with rabbits : local assets = { Asset("ANIM", "anim/ds_rabbit_basic.zip"), Asset("ANIM", "anim/rabbit_build.zip"), Asset("ANIM", "anim/beard_monster.zip"), Asset("ANIM", "anim/rabbit_winter_build.zip"), Asset("SOUND", "sound/rabbit.fsb"), Asset("INV_IMAGE", "beard_monster" ), Asset("INV_IMAGE", "rabbit_winter" ), } If people find this useful, i could add your post to the list of tutorial i made here. Edited September 10, 2018 by Lumina 1 Link to comment Share on other sites More sharing options...
JoeyTheNeko Posted January 13, 2021 Share Posted January 13, 2021 I'm having problem with it, i followed everything but its not working, like it cant find the path idk what i'v done wrong Link to comment Share on other sites More sharing options...
Plague doc Posted January 13, 2021 Share Posted January 13, 2021 whatever i do it just closes when i open it Link to comment Share on other sites More sharing options...
zepto_q Posted August 4, 2021 Share Posted August 4, 2021 (edited) There is only two files in my zip file (.tex and .bin), the Krane works very well except there is nothing in the "name" folder. Do you have any idea what might have caused this? Very helpfull tutorial by the way! ============================================================== I see where the problem is: the "anim.bin" file is somewhere else and I need to copy it into ktool folder as well. Edited August 4, 2021 by zepto_q Link to comment Share on other sites More sharing options...
asvinh Posted September 30, 2021 Share Posted September 30, 2021 (edited) It works, however the scml file has all the model parts in the wrong place, any fix to that? I tested using my own mod, my scml file in the mod displays properly however when using ktools it turns it into this. I wanted to grab other character mods to use as template but this is what happens to all of them. They get resized and placed wrong. Edited September 30, 2021 by asvinh 1 2 Link to comment Share on other sites More sharing options...
GordoZilla Posted January 31, 2022 Share Posted January 31, 2022 On 9/30/2021 at 2:00 PM, asvinh said: It works, however the scml file has all the model parts in the wrong place, any fix to that? I tested using my own mod, my scml file in the mod displays properly however when using ktools it turns it into this. I wanted to grab other character mods to use as template but this is what happens to all of them. They get resized and placed wrong. That also happens to me! Does anyone know why and how to fix it? or is it just a visual bug Link to comment Share on other sites More sharing options...
Wonderlarr Posted January 31, 2022 Share Posted January 31, 2022 2 hours ago, GordoZilla said: That also happens to me! Does anyone know why and how to fix it? or is it just a visual bug It isn't just a bug. When a texture is compressed into a TEX file, transparent areas are "clipped" off and stored somehow differently than areas with real data, and it seems krane doesn't handle this well and just ignores the clipped areas, stretching the image out to it's original resolution destructively. I don't know personally how to fix or otherwise bypass this issue sadly. 1 Link to comment Share on other sites More sharing options...
Ci_ktdm Posted October 28, 2022 Share Posted October 28, 2022 Hi, I am trying to decompile using ktools. I get the error shown in the image. Do you know how to solve this problem? Link to comment Share on other sites More sharing options...
maradyne Posted May 25, 2023 Share Posted May 25, 2023 On 10/28/2022 at 5:04 AM, Ci_ktdm said: Hi, I am trying to decompile using ktools. I get the error shown in the image. Do you know how to solve this problem? Bumping this. Works on my version, but fails here on another person's computer. Link to comment 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