OBD:SUBT: Difference between revisions

278 bytes removed ,  Sunday at 21:42
m
removed "desc" parameter of OBD File Header that hasn't been supported since the initiative was canceled in 2008; wording
mNo edit summary
m (removed "desc" parameter of OBD File Header that hasn't been supported since the initiative was canceled in 2008; wording)
 
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}}
{{OBD_File_Header | type=SUBT | prev=StNA | next=TRAC | name=Subtitle Array | family=Global | align=center}}




[[image:subt_a.gif]]
[[Image:subt_a.gif]]




Line 10: Line 10:
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0          | level 0 }}
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 00 | 0          | level 0 }}
{{OBDtr| 0x08 | char[16] |00FF00| AD DE      | dead        | unused }}
{{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| 0x18 | offset  |00FFFF| C0 F4 0B 01 | 01 0B F4 C0 | offset of the data in the raw file }}
{{OBDtr| 0x1C | int32    |FF00FF| 61 02 00 00 | 609        | array size }}
{{OBDtr| 0x1C | int32    |FF00FF| 61 02 00 00 | 609        | array size }}
{{OBDtrBK}}
{{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) }}
{{OBDtr| 0x00 | int32    |FFC8C8| 00 00 00 00 | 0          | start position of the first subtitle in the raw file (01 0B F4 C0 + 0 <nowiki>=</nowiki> 01 0B F4 C0) }}
|}
|}