OBD:SUBT: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{OBD_File_Header | type=SUBT | prev=StNA | next=TRAC | name=Subtitle Array | family=Global | desc=Each subtitle that appears in Oni (assuming you have subtitles turned on) is just a range of characters pulled from a monolithic plain text file containing all the game's written dialogue. The '''SUBT''' file is used to tell Oni where to find the string for a specific subtitle. | align=center}} | |||
[[image:subt_a.gif]] | |||
{{Table}} | |||
{{OBDth}} | |||
{{OBDtr| 0x00 | res_id |FF0000| 01 2A 12 00 | 4650 | 04650-subtitles.SUBT }} | |||
{| | {{OBDtr| 0x04 | lev_id |FFFF00| 01 00 00 00 | 0 | level 0 }} | ||
{{OBDtr| 0x08 | char[16] |00FF00| AD DE | dead | unused }} | |||
{{OBDtr| 0x18 | offset |00FFFF| C0 F4 0B 01 | 01 0B F4 C0 | at this position starts the part in the raw file }} | |||
| | {{OBDtr| 0x1C | int32 |FF00FF| 61 02 00 00 | 609 | array size }} | ||
{{OBDtrBK}} | |||
{{OBDtr| 0x00 | int32 |FFC8C8| 00 00 00 00 | 0 | start position of the subtitle (01 0B F4 C0 + 0 <nowiki>=</nowiki> 01 0B F4 C0) }} | |||
| 4650 | |||
| | |||
| | |||
| 0 | |||
| | |||
| | |||
| dead | |||
| | |||
| | |||
| | |||
| 01 0B F4 C0 | |||
| | |||
| | |||
| 609 | |||
| | |||
| | |||
| 0 | |||
|} | |} | ||
Line 46: | Line 20: | ||
{{OBD_File_Footer | type=SUBT | prev=StNA | next=TRAC | name=Subtitle Array | family=Global}} | |||
{{OBD}} |
Latest revision as of 00:23, 18 July 2010
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | res_id | 01 2A 12 00 | 4650 | 04650-subtitles.SUBT |
0x04 | lev_id | 01 00 00 00 | 0 | level 0 |
0x08 | char[16] | AD DE | dead | unused |
0x18 | offset | C0 F4 0B 01 | 01 0B F4 C0 | at this position starts the part in the raw file |
0x1C | int32 | 61 02 00 00 | 609 | array size |
First element (black outline) | ||||
0x00 | int32 | 00 00 00 00 | 0 | start position of the subtitle (01 0B F4 C0 + 0 = 01 0B F4 C0) |
The start position fits only to the German SUBT file.
ONI BINARY DATA |
---|
StNA << Other file types >> TRAC |
SUBT : Subtitle Array |
Global file |