Jump to content

Recommended Posts

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.

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.

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.

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.

image.png.b086b67ad1eddf930d840727a7504053.png

Put the files outside the folder inside exported, like this:image.png.68a778c5ce9057bf182b818c0b676320.png

  

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
image.png.6403822766056f0fa5e84d875b7f4426.png
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?

The anim folder contains the old blunderbuss assets iI'm trying to overwrite. However the zip file in exported is just one file?image.png.cd242ecd1fd7ac4a39a7ad283445100a.png

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!

 

image.png.3650cc7878d8b41734d0cd17f4159d56.png

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...