TRAM Speed up animation

Creator: 
s10k
Version: 
1.0
Install method: 
Mod type: 
Platform: 

TRAM Speed Up Animation v1.0 written by s10k

===========================================================================
What is this?
===========================================================================

This is a XmlTools2 patch file that allow you to easily speed up any
existing animation (TRAM) in Oni.

===========================================================================
How do I use it?
===========================================================================

The easiest way to execute it is to add XmlTools to your PATH
variable and put the TRAM.xml files the same directory of the patch
file.

Then inside the directory with the xml files and patch file do
(in a console):
XmlTools -p TRAM_speed_up_animation.patch

The files should be patched and you should get animations that are
~25% faster than the original (by default).

You can adjust the speedup of the animation editing the patch file (line 13):
var FRAME_JUMP = 4;

This variable controls the frequency with each frame is erased
(the default value, 4, deletes a frame every 4 frames), if you set it to
2 you should get a ~50% faster animation and so on.

Be aware that setting the erasing window too small like 2 can cause
interpolation issues in the animations.

===========================================================================
How it works?
===========================================================================

It deletes a frame every [FRAME_JUMP]. This makes any animation faster.

The child elements that get deleted in the XML file are:

The following ones get updated:

(the more complex, explanation inside of the patch file)

You can check how the patch works appling it to the included sample xml
file, the do a diff with the original file and the patched one.

===========================================================================
It worked but the animation, trembles a little. Is it possible to fix?
===========================================================================

Sometimes it is possible to fix. You need to adjust the
element to something like 5 or 6.

Like this:

6
65535

===========================================================================
Does it adjust everything automatically?
===========================================================================

No, not all the elements are adjusted automatically have a look at the
"How it works?" section to know which are adjusted.

While something like is handled, something
like is not, though this should
be very easy to add in the included patch file, if you need to.

s10k, 03/02/2019

AttachmentSize
Package icon TRAM_speed_up_animation.zip6.14 KB