Editing tool for keyframe motion files.
Usage: kfme <COMMAND>
Commands:
patch Applies a patch to the given source file
convert Converts the format of a given source file
build Builds a binary and a corresponding header file from the given source file
help Print this message or the help of the given subcommand(s)
Patch files are structured as a series of actions that are evaluated in order. They allow precise modifications to animations, transitions, and other components of a keyframe motion file.
To add a new animation, specify its attributes in an add
action.
anims:
- add:
id: 20
path: path/to/file.kf
index: 0
trans:
- id: /.*/
type: default_non_sync
To delete an animation, specify its id
in a delete
action.
anims:
- delete:
id: 19
To modify an existing animation, use an update
action and specify only its updated attributes.
anims:
- update:
id: 10
index: 1
trans:
- delete:
id: /.*/
- add:
id: 9
type: chain_animation
Actions can be nested by attribute or field to perform complex operations. For instance:
anims:
- update:
id: 10
trans:
- delete:
id: /.*/
- add:
id: 9
type: chain_animation
Patch files can include multiple actions in sequence. For example:
anims:
- add:
id: 20
path: path/to/file.kf
index: 0
trans:
- id: /.*/
type: default_non_sync
- delete:
id: 19