Pear120 Posted December 21, 2015 Share Posted December 21, 2015 I had posted a thread about this before, but shortly after I had given up on dealing with the frustration of animating. Having picked it back up, I've finished almost everything else with my mod, except for this issue with the animations. I popped them back into the decompiler, and loaded them up in the Spriter, to find that they are, indeed, messed up. Will fixing these as they are now, and then recompiling, fix the animations? I ask because there's a few that need fixing, and it'd be a waste of time if there's something I'm completely overlooking here. http://i.imgur.com/NgdCeOb.pnghttp://i.imgur.com/881bTu2.png Link to comment https://forums.kleientertainment.com/forums/topic/61125-spritercompiler-weirdness/ Share on other sites More sharing options...
Arkathorn Posted December 21, 2015 Share Posted December 21, 2015 Are these base game animations? Regardless, a recompiled animation will likely play as it looks in Spriter. Link to comment https://forums.kleientertainment.com/forums/topic/61125-spritercompiler-weirdness/#findComment-700240 Share on other sites More sharing options...
Pear120 Posted December 22, 2015 Author Share Posted December 22, 2015 Are these base game animations? Regardless, a recompiled animation will likely play as it looks in Spriter. Sort of. I pulled the hound animations from the game, used Krane to decompile, made changes, and recompiled using the modtools scml.exe compiler. The Spriter did NOT show these issues before compiling. They only showed up ingame, and after I decompiled it to check. Link to comment https://forums.kleientertainment.com/forums/topic/61125-spritercompiler-weirdness/#findComment-700328 Share on other sites More sharing options...
Arkathorn Posted December 22, 2015 Share Posted December 22, 2015 I suggest you take the visual assets and use them to create an entirely new animation, based off of the original. The animation likely had some data that was mangled by the decompiler, but creating a new animation will bypass this. Link to comment https://forums.kleientertainment.com/forums/topic/61125-spritercompiler-weirdness/#findComment-700474 Share on other sites More sharing options...
Pear120 Posted December 22, 2015 Author Share Posted December 22, 2015 I suggest you take the visual assets and use them to create an entirely new animation, based off of the original. The animation likely had some data that was mangled by the decompiler, but creating a new animation will bypass this.The issue with that is that I'm nowhere near a skilled animator, which is why I was using animations from vanilla. Is there a way I can import an animation from one Spriter project to another? I could try decompiling the original again, but I don't want to have to redo all the changes I made. Link to comment https://forums.kleientertainment.com/forums/topic/61125-spritercompiler-weirdness/#findComment-700507 Share on other sites More sharing options...
Arkathorn Posted December 22, 2015 Share Posted December 22, 2015 The problem is that the source animations are made in Flash CS3, not Spriter. As such, the animations have some data that can't be translated to Spriter correctly, resulting in a messed up file (even if it looks alright). Any data copied directly from the Spriter project can't be trusted, but the images should be fine. Decompiling again will yield the same result, the issue is that the data is not entirely relatable. Link to comment https://forums.kleientertainment.com/forums/topic/61125-spritercompiler-weirdness/#findComment-700518 Share on other sites More sharing options...
Pear120 Posted December 22, 2015 Author Share Posted December 22, 2015 The problem is that the source animations are made in Flash CS3, not Spriter. As such, the animations have some data that can't be translated to Spriter correctly, resulting in a messed up file (even if it looks alright). Any data copied directly from the Spriter project can't be trusted, but the images should be fine.Decompiling again will yield the same result, the issue is that the data is not entirely relatable.Would using Flash CS3 instead of Spriter work?Though at this point, I think correcting the errors manually would be easier... Link to comment https://forums.kleientertainment.com/forums/topic/61125-spritercompiler-weirdness/#findComment-700575 Share on other sites More sharing options...
Arkathorn Posted December 22, 2015 Share Posted December 22, 2015 Would using Flash CS3 instead of Spriter work?Though at this point, I think correcting the errors manually would be easier...It's a paid product, and I don't have access to it, so I have absolutely no idea. Link to comment https://forums.kleientertainment.com/forums/topic/61125-spritercompiler-weirdness/#findComment-700609 Share on other sites More sharing options...
Pear120 Posted December 23, 2015 Author Share Posted December 23, 2015 Tried to fix the bark animation, which had double frames happening at the same time. Removing the duplicates in Spriter didn't work when compiled, they just showed back up. Unless anyone has a solution that doesn't involve remaking a 30-ish frame animation, I'm giving up on it.I'm a coder, not an animator. Link to comment https://forums.kleientertainment.com/forums/topic/61125-spritercompiler-weirdness/#findComment-700939 Share on other sites More sharing options...
pickleplayer Posted December 23, 2015 Share Posted December 23, 2015 I've actually heard that other people have had this problem and haven't been able to fix it.Although I wouldn't know for sure, since I've never used krane Link to comment https://forums.kleientertainment.com/forums/topic/61125-spritercompiler-weirdness/#findComment-701100 Share on other sites More sharing options...
Pear120 Posted December 23, 2015 Author Share Posted December 23, 2015 I've actually heard that other people have had this problem and haven't been able to fix it.Although I wouldn't know for sure, since I've never used kraneThe issue with it being the vanilla game sprites seems the most likely. My friend offered to take a look to see if she can remake the animations herself. Link to comment https://forums.kleientertainment.com/forums/topic/61125-spritercompiler-weirdness/#findComment-701181 Share on other sites More sharing options...
Pear120 Posted December 27, 2015 Author Share Posted December 27, 2015 (edited) Ahh, nothing like an idea hitting you while you're in the shower. Switching anim builds for single animations (triggered by keypresses). Doable?I've tried it once already, and the game entirely CTD'd, no debug messages. Helps to rename your builds. Seeing if I can set the anim build somehow, after the animation plays. Stategraphs maybe? Edit: So here's an interesting issue. Because I decompiled the game's hound anims, used them to make a new hound with some extra animations, and recompiled, all other hound types are now invisible. I'm guessing this is because the bank file in my hound_pear.zip is still named "hound" and not "hound_pear" How do I go about renaming this? TEXTools can only rename build files, not bank files. Edit: Okay, found out how to rename banks, have to do it in the SpriterNow I just need to figure out why my new bank isn't working on my custom hound (and yes, I did change it so it's using the new bank) Edit: Using a non-existent bank results in no sounds from the stategraph playing, like idle panting or movement sounds. Using hound_pear at least has sounds, but both are still invisible. Maybe I need to rename the build after recompiling under a different zip name. Edit: Yep! That was the issue, had it named as a temp file, so it used that as the build name.I'm so close now, I just need to figure out how to switch the bank back after an animation finishes. Putting a function in the prefab and then calling it in the stategraph said the function didn't exist. I could probably just use a DoInTime or something, but that's not the most optimal. Anyone have any advice on this? Edited December 27, 2015 by Pear120 Link to comment https://forums.kleientertainment.com/forums/topic/61125-spritercompiler-weirdness/#findComment-702722 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