|
|
(3 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| [[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> SUBT File
| | {{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}} |
|
| |
|
|
| |
|
| <CENTER>[[OBD:StNA|<==]] <FONT SIZE=5>SUBT File</FONT> [[OBD:TRAC|==>]]<BR>
| | [[image:subt_a.gif]] |
| <FONT SIZE=2>Subtitle Array - Level 0 File</FONT></CENTER>
| |
|
| |
|
|
| |
|
| http://www.fh-eberswalde.de/user/dkriesch/onistuff/images/subt_a.gif
| | {{Table}} |
| | | {{OBDth}} |
| | | {{OBDtr| 0x00 | res_id |FF0000| 01 2A 12 00 | 4650 | 04650-subtitles.SUBT }} |
| {| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0 | | {{OBDtr| 0x04 | lev_id |FFFF00| 01 00 00 00 | 0 | level 0 }} |
| |- ALIGN=CENTER BGCOLOR="#FFDDBB"
| | {{OBDtr| 0x08 | char[16] |00FF00| AD DE | dead | unused }} |
| | WIDTH=15% | <B>Hex</B>
| | {{OBDtr| 0x18 | offset |00FFFF| C0 F4 0B 01 | 01 0B F4 C0 | at this position starts the part in the raw file }} |
| | WIDTH=15% | <B>Translation</B> | | {{OBDtr| 0x1C | int32 |FF00FF| 61 02 00 00 | 609 | array size }} |
| | WIDTH=70% | <B>Meaning</B>
| | {{OBDtrBK}} |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| | {{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) }} |
| | BGCOLOR="#FF0000" | 01 2A 12 00
| |
| | 4650 | |
| | ALIGN=LEFT | 04650-subtitles.SUBT
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |
| | BGCOLOR="#FFFF00" | 01 00 00 00 | |
| | 0 | |
| | ALIGN=LEFT | level 0
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |
| | BGCOLOR="#00FF00" | AD DE | |
| | dead | |
| | ALIGN=LEFT | not used | |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |
| | BGCOLOR="#00FFFF" | C0 F4 0B 01 | |
| | 01 0B F4 C0 | |
| | ALIGN=LEFT | at this position starts the part in the raw file
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD" | |
| | BGCOLOR="#FF00FF" | 61 02 00 00 | |
| | 609 | |
| | ALIGN=LEFT | 609 packages follow (one package is edged in black)
| |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
| |
| | COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT> | |
| |- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| |
| | BGCOLOR="#FFC8C8" | 00 00 00 00 | |
| | 0 | |
| | ALIGN=LEFT | start position of the subtitle (01 0B F4 C0 + 0 = 01 0B F4 C0)
| |
| |} | | |} |
|
| |
|
Line 46: |
Line 20: |
|
| |
|
|
| |
|
| <HR>
| | {{OBD_File_Footer | type=SUBT | prev=StNA | next=TRAC | name=Subtitle Array | family=Global}} |
| <CENTER>[[OBD:StNA|<==]] <B>SUBT File</B> [[OBD:TRAC|==>]]</CENTER>
| |
| <HR>
| |
| | |
|
| |
|
| [[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> SUBT File
| | {{OBD}} |