TSCB: Difference between revisions
m
→Header: Updated header specification to match current research.
imported>Leoetlino mNo edit summary |
imported>Zephenryus m (→Header: Updated header specification to match current research.) |
||
Line 14: | Line 14: | ||
|4 | |4 | ||
|String | |String | ||
|TSCB file signature (magic) | |TSCB file signature (magic) <code>54 53 43 42</code> or "TSCB" | ||
|- | |- | ||
|0x04 | |0x04 | ||
|4 | |4 | ||
|Unsigned Int | |Unsigned Int | ||
|TSCB version? | |TSCB version? <code>0A 00 00 00</code> or "10.0.0.0"<ref>U-King.elf:0x024D2F8C-0x024D300A holds two error messages: "【データロード】メジャーバージョンの不一致" ("[Data load] Major version mismatch") and "【データロード】マイナーバージョンの不一致" ("[Data Load] Minor version mismatch")</ref> | ||
|- | |- | ||
|0x08 | |0x08 | ||
|4 | |4 | ||
|Unsigned Int | |Unsigned Int | ||
|Unknown. | |Unknown. Always <code>00 00 00 01</code>. Game crashes on load screen if not equal to <code>00 00 00 01</code>. | ||
|- | |- | ||
|0x0c | |0x0c | ||
Line 34: | Line 34: | ||
|4 | |4 | ||
|Float | |Float | ||
| | |<code>world_scale</code> <code>500.0</code>. Scales the terrain along the x- and z-axis. | ||
|- | |- | ||
|0x14 | |0x14 | ||
|4 | |4 | ||
|Float | |Float | ||
| | |Terrain mesh altitude <code>800.0</code>. Moves the terrain along the y-axis (vertically). | ||
|- | |- | ||
|0x18 | |0x18 | ||
Line 64: | Line 64: | ||
|4 | |4 | ||
|Float | |Float | ||
| | |Tile size. Used by the area array. | ||
|- | |- | ||
|0x2c | |0x2c | ||
|4 | |4 | ||
|Unsigned Int | |Unsigned Int | ||
|Unknown | |Unknown <code>00 00 00 08</code>. <ref>Values <code>1</code>, <code>2</code>, <code>4</code>, <code>5</code>, <code>6</code>, <code>8</code> affects textures. <code>0</code>, <code>3</code>, <code>7</code>, <code>15</code>, <code>16</code> will crash the game.</ref> | ||
|} | |} | ||
== Material Information Array == | == Material Information Array == |