Jump to content

Recommended Posts

The scml.exe mod tool seems to have some sort of bug, or maybe I'm not using it right.

I'm reskinning some animation for my mod, to be more specific, sacred_chest. After recompile it using scml.exe, I got two broken animations:

the chest close animation

anim_close.gif.853d266426e14f99544b9d7b9bf0fe02.gif

 

and the chest place animation

 anim_place.gif.1726f2cb148d80500f9d5fc70a402544.gif

 

And Here are the detailed steps I toke:

1. Copy sacred_chest.zip from game_directory/anim folder to my Desktop

2. Extract sacred_chest.zip to folder my_Desktop/sacred_chest/, and now I get my_Desktop/sacred_chest/anim.bin, my_Desktop/sacred_chest/build.bin and my_Desktop/sacred_chest/atlas-0.tex

3. Convert Klei animation format to spriter project using ktools, this is the command I run:

krane.exe my_Desktop\sacred_chest\anim.bin my_Desktop\sacred_chest\build.bin my_Desktop\sacred_chest\spriter_animation_converted_from_original_sacred_chest_using_ktools

then I got the spriter project files inside my_Desktop\sacred_chest\spriter_animation_converted_from_original_sacred_chest_using_ktools folder

4. Do not change anything and recompile the spriter project back to Klei animation format using scml.exe, this is the command I run:

scml.exe my_Desktop\sacred_chest\spriter_animation_converted_from_original_sacred_chest_using_ktools\sacred_chest.scml my_Desktop\sacred_chest\repacked_animation_using scml_mod_tool

then I get the recompiled sacred_chest.zip in sacred_chest\repacked_animation_using scml_mod_tool\anim\sacred_chest.zip

5. Use ktools to decompile the sacred_chest.zip I just recompiled in step 4, to view the recompiled animation

6. Use spriter to open the animation project I decompiled in step 5, then I got those two broken animation.

 

I also tried place the spriter project in my_mod/exported folder, let the game compile it on start, got the same result.

 

Edited by asingingbird

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...