User: DEMO

TIM Files:

K00.TIM
K01.TIM
K02.TIM
K03.TIM
K04.TIM
K04_0.TIM
K04_1.TIM
K04_2.TIM
K05.TIM
K06.TIM
K07.TIM
K08.TIM
K99.TIM


KNJ Files:

K00.KNJ
K01.KNJ
K02.KNJ
K03.KNJ
K04.KNJ
K04_0.KNJ
K04_1.KNJ
K04_2.KNJ
K05.KNJ
K06.KNJ
K07.KNJ
K08.KNJ
K99.KNJ


Database
Merged all KNJ

Total execution time in seconds: 0.0011041164398193

WP-xxx-yyy / WP+xxx+xxx

Window Position measured from top-left of the first character.
A character = 16x16 pixels standard or 12x16 when BL1216 is used.
First is the X offset (- is to the left), second the Y (+ is to the bottom.
X = 242 max, Y = 108 max for top-left corner.

WSxxyy

Window Size measured in character width.
xx = characters per line and yy = amount of lines.
xx = 25 / yy = 2 for a standard window on BL1616 and xx = 33 / yy = 2 on BL1216.
30 characters wide is the visual limit on BL1616 standard and 40 on BL1216 standard.

BLxxyy

Character width / ???
xx = character render width, yy = ??.
1616 is default and must be declared in the beginning after WS.
1216 is the best spacing for western characters and provide more space on each line. 33 characters instead of 25.

gx

Margin-left for the next character.
x = 0-9 where g0 is the default value.

cxxx

Color tag for next character only.
xxx = shorthand hex color like f30(red).
The following are used in-game: c0f3, c86f, ce5c, cf0d, cf30, cff0.

CSA0

No definitive answer on this. it looks like a tag used by the game to automatically advance the text through a timer or event.
Keep this at all times!

w+xx

Line start indent spaces.
Adds a space where xx is the amount of spaces.
The following are used in-game: w+01 and w+02

b0-b7 + br

Text color out of a loaded pallette.
First 8 are "safe" colors and br(78) looks like an end tag that returns to default color.

\\

Line break
Issued after the max amount of characters reached as a forced return or line-break.

@@

Pause text and empty text window.
When the lines of the text windows are used up or you want to start with a clean text window.
Text continues after pressing the dedicated key.

s3 + sr

text fade-in instead of each character appearing.
s3 = 3 seconds

t0 + tr

Text speed where 0 is instant and 9 is slow character printing on screen.
tr is return to default.

a0 + ar

Unknown atm.
ar is return to default.

n0 + nr

Unknown atm.
nr is return to default.

[0 , [1 , etc

Menu option
2 bytes followed by a blank space 8140 for 1 character padding to accomodate the choice arrow!

[DD0 , [DD1 , etc

Selected menu option.
4 bytes followed by a blank space 8140!

i010

??? last tag after a menu with t0. xx used are 10, 25, 30.
If it is in the source text use it!

BKAx

Something with the text box background color alpha channel i think. need to check it out more.
x used is either 0 or f.

BKCxxx

Text box background color.
xxx is a shorthand hex color of the semi transparent background.

FRAx

Something with the text box foreground color alpha channel i think. need to check it out more.
x used is either 0 or f.

FRCx

Text box foreground color (border).
Color x is a color from "a" palette.
Only values "1" and "3" are used in the game.