Skip to content

Editing TIML files as JSON

Psymon edited this page Oct 16, 2023 · 3 revisions

Requirements

Converting the TIML to JSON

Open a command line, and cd to the directory of TIMLJSON on your machine. Then run TIMLJSON.exe -j {timl path}

[Image 1]

Converting the JSON to TIML

Open a command line, and cd to the directory of TIMLJSON on your machine. Then run TIMLJSON.exe -j {timl path}

[Image 2]

TIML Structure

4 structures make up the main components of a TIML:

  • Time - the upper-most layer, it contains information about animation length, looping, and a couple of unknown parameters alongside a list of Timeline Params
  • Timeline Param - the second-highest layer, it contains a hash for what the animation should be editing as well as a list of Param Members
  • Param Members - the second-lowest layer, it contains a hash for what individual attribute of the Timeline Param should be edited as well as keyframes
  • Keyframes - the lowest layer, it contains the direct data of the animation and time it should occur in the animation, alongside settings for interpolation, easing, and bouncing

The hashes for Timeline Params and Param Members can be found within Andoryuuta's DTI dumps if converted into their hex equivalents (985787082 vs. 0x3AC1EACA). Additionally, a list of Timeline Param hashes for materials and efx are present on the wiki.

Editing the JSON

To add another of any singular component, simply select all of that component and paste it in after the original.

[Image 3]

Make sure there is a comma after the original if there is not one present already, and then make your changes as needed.

For Param Members and Keyframes, the keyframe types are as follows:

  • 0 - integer (whole numbers) (only for Param Member)
  • 1 - integer (whole numbers)
  • 2 - float (numbers with decimal point values)
  • 3 - 4-byte color (red, green, blue, alpha)

What value a param member will take can be found in Andoryuuta's DTI dump.

General Tutorials

General Tutorials

Animation Tutorials

Animation Tutorials

Audio Tutorials:

Audio Tutorials

IDs:

File & In Game IDs

Model Tutorials:

Model Tutorials

Effects Tutorials:

EFX Tutorials

FSM Tutorials

FSM Editing

MRL3 Tutorials:

MRL3 Tutorials

NPC Editing:

NPC Editing

Map Editing:

Map Editing

Plugins and Memory Editing:

Plugins and Memory Editing

Quest Editing:

Quest Editing

Monster AI Editing:

Monster AI Editing

Texture Tutorials:

General Texture Tutorials
Specific Texture Tutorials

TIML Editing

TIML Editing

Asterisk's Plugin Notes:

Asterisk's Plugin Notes

Miscellaneous Tutorials:

Miscellaneous Tutorials

Outdated Tutorials:

Outdated Tutorials

Clone this wiki locally