Skip to content

Decompiled THKL Orchestrator Specification

AsteriskAmpersand edited this page Oct 8, 2021 · 1 revision

The file has roughly the following form.

:HEADER:
AT LOCATION
FOR MONSTER

FUNCTION := PATH @ DATA
FUNCTION := PATH @ DATA
FUNCTION := PATH @ DATA
FUNCTION := PATH @ DATA
FUNCTION := PATH @ DATA
FUNCTION := PATH @ DATA
FUNCTION := PATH @ DATA
FUNCTION := PATH @ DATA

Has COUNT entries

LOCATION := THKRELATIVEPATH | ABSPATH MONSTER := MONSTERID_MONSTERSUBSPECIES | MONSTERNAME
MONSTERID_MONSTERSUBSPECIES = ddd_dd
MONSTERNAME = MONSTER_NAME_STRING | MONSTER_NAME dd

THKRELATIVEPATH = "PathToChunk" ABSPATH = ABS"AbsSysPath"

Thk that are found on the path get decompiled as well and called by their decompiled name. Thk that are not found keep the .thk prefix.

During compilation a single missing .thk will cause warnings to be raised because register optimization and code flow analysis are no longer possible.

FUNCTION := Thk_dd | FunctionListElem FunctionListElem depends on SELF LOCATION (per monster, per type mon/otomo)

PATH := local_file_id | "SysPath" | ABS"AbsSysPath" @ DATA Optional

DATA := %08X

COUNT := dd The entries keyword is optional and the decompiler uses it for aesthetic reasons.

// Is used to indicate comments

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