MrDoge124 Posted January 22, 2022 Share Posted January 22, 2022 I want to edit an item's sprites, but I can't figure out how to get it to be a working spriter file. The problem I'm having is that there are no anim.bin files for swap zips and the krane.exe tool needs a anim.bin, build.bin and an .tex file. Would there be a anim file that works? If any one has any ideas let me know. Link to comment https://forums.kleientertainment.com/forums/topic/137045-how-would-i-decompile-a-swap-animation-into-a-spriter-file/ Share on other sites More sharing options...
Leonidas IV Posted January 23, 2022 Share Posted January 23, 2022 If you only want to edit the images, you can use any anim, just to extract it. Link to comment https://forums.kleientertainment.com/forums/topic/137045-how-would-i-decompile-a-swap-animation-into-a-spriter-file/#findComment-1534381 Share on other sites More sharing options...
MrDoge124 Posted January 23, 2022 Author Share Posted January 23, 2022 Ok that makes sense. How would you compile the images back into a zip file? Link to comment https://forums.kleientertainment.com/forums/topic/137045-how-would-i-decompile-a-swap-animation-into-a-spriter-file/#findComment-1534395 Share on other sites More sharing options...
Leonidas IV Posted January 23, 2022 Share Posted January 23, 2022 20 hours ago, MrDoge124 said: Ok that makes sense. How would you compile the images back into a zip file? Create a folder called "exported" and put everything generated by ktools into it, run the autocompiler (or open the game) and it will go to the anim folder. Then you can extract the folder, delete the random anim and zip it again. Link to comment https://forums.kleientertainment.com/forums/topic/137045-how-would-i-decompile-a-swap-animation-into-a-spriter-file/#findComment-1534550 Share on other sites More sharing options...
MrDoge124 Posted January 23, 2022 Author Share Posted January 23, 2022 I've done what you've suggested and this came up in the autocompiler logs. Spoiler ================= "".\scml.exe" ".\..\..\Don't Starve Together\mods\wonty\exported\swap_blunderbuss_loaded\swap_blunderbuss_loaded.scml" ".\..\..\Don't Starve Together\mods\wonty"" >> Packaging 'swap_blunderbuss_loaded.zip' ================= "".\buildtools\windows\Python27\python.exe" ".\compiler_scripts\zipanim.py" ".\..\..\temp\swap_blunderbuss_loaded" "C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together\mods\wonty\exported\swap_blunderbuss_loaded\swap_blunderbuss_loaded.zip"" ERROR: Command failed! Not sure what's happening there. Link to comment https://forums.kleientertainment.com/forums/topic/137045-how-would-i-decompile-a-swap-animation-into-a-spriter-file/#findComment-1534556 Share on other sites More sharing options...
Leonidas IV Posted January 24, 2022 Share Posted January 24, 2022 12 hours ago, MrDoge124 said: I've done what you've suggested and this came up in the autocompiler logs. Hide contents ================= "".\scml.exe" ".\..\..\Don't Starve Together\mods\wonty\exported\swap_blunderbuss_loaded\swap_blunderbuss_loaded.scml" ".\..\..\Don't Starve Together\mods\wonty"" >> Packaging 'swap_blunderbuss_loaded.zip' ================= "".\buildtools\windows\Python27\python.exe" ".\compiler_scripts\zipanim.py" ".\..\..\temp\swap_blunderbuss_loaded" "C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together\mods\wonty\exported\swap_blunderbuss_loaded\swap_blunderbuss_loaded.zip"" ERROR: Command failed! Not sure what's happening there. Put the files outside the folder inside exported, like this: Link to comment https://forums.kleientertainment.com/forums/topic/137045-how-would-i-decompile-a-swap-animation-into-a-spriter-file/#findComment-1534653 Share on other sites More sharing options...
MrDoge124 Posted January 24, 2022 Author Share Posted January 24, 2022 I've got my sprite file like this root mod folder --> exported --> swap_blunderbuss_loaded and here is what's in the final folder I don't see any issues with the file structure Link to comment https://forums.kleientertainment.com/forums/topic/137045-how-would-i-decompile-a-swap-animation-into-a-spriter-file/#findComment-1534907 Share on other sites More sharing options...
Leonidas IV Posted January 25, 2022 Share Posted January 25, 2022 On 1/24/2022 at 7:23 PM, MrDoge124 said: I've got my sprite file like this root mod folder --> exported --> swap_blunderbuss_loaded and here is what's in the final folder I don't see any issues with the file structure Put it directly in exported. But from the .zip generated below the .scml, the export is already done, did you check the anim folder? Link to comment https://forums.kleientertainment.com/forums/topic/137045-how-would-i-decompile-a-swap-animation-into-a-spriter-file/#findComment-1535196 Share on other sites More sharing options...
MrDoge124 Posted January 25, 2022 Author Share Posted January 25, 2022 The anim folder contains the old blunderbuss assets iI'm trying to overwrite. However the zip file in exported is just one file? I think there must be an error somewhere. I ran autocompilee.exe again and it gave me this >> Compiling .\..\..\Don't Starve Together\mods\wonty\exported\swap_blunderbuss_loaded\swap_blunderbuss_loaded.scml. ================= "".\scml.exe" ".\..\..\Don't Starve Together\mods\wonty\exported\swap_blunderbuss_loaded\swap_blunderbuss_loaded.scml" ".\..\..\Don't Starve Together\mods\wonty"" >> Packaging 'swap_blunderbuss_loaded.zip' ================= "".\buildtools\windows\Python27\python.exe" ".\compiler_scripts\zipanim.py" ".\..\..\temp\swap_blunderbuss_loaded" "C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together\mods\wonty\exported\swap_blunderbuss_loaded\swap_blunderbuss_loaded.zip"" ERROR: Command failed! Link to comment https://forums.kleientertainment.com/forums/topic/137045-how-would-i-decompile-a-swap-animation-into-a-spriter-file/#findComment-1535221 Share on other sites More sharing options...
Leonidas IV Posted January 26, 2022 Share Posted January 26, 2022 13 hours ago, MrDoge124 said: The anim folder contains the old blunderbuss assets iI'm trying to overwrite. However the zip file in exported is just one file? The zip on export is not important, the real file will be generated in {modfolder}/anim Link to comment https://forums.kleientertainment.com/forums/topic/137045-how-would-i-decompile-a-swap-animation-into-a-spriter-file/#findComment-1535355 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