Strike Witches: Silver Wing/TBL: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Create initial page. Moved text format research to text table. Text table incomplete)
 
(Text files research)
Line 5: Line 5:
Mostly found in '''/media/data/sc_scenario.bin''', uses non-standard formatting
Mostly found in '''/media/data/sc_scenario.bin''', uses non-standard formatting


* Data is LE
* Hiragana, Katakana and Kanji encoded using UTF-16
* Hiragana, Katakana and Kanji encoded using UTF-16
* Some special characters (ex: newline) are encoded with 8-bits, unclear how exactly these work
* Numbers (possibly other Latin characters?) are encoded with 16-bits.  Their value is '''0xFF''' followed by their UTF-8 value - '''0x20''' (ex: "1939" is '''0xFF 0x11 0xFF 0x19 0xFF 0x13 0xFF 0x19''')
* Numbers (possibly other Latin characters?) are encoded with 16-bits.  Their value is '''0xFF''' followed by their UTF-8 value - '''0x20''' (ex: "1939" is '''0xFF 0x11 0xFF 0x19 0xFF 0x13 0xFF 0x19''')
{| class="wikitable"
|+ Text Files
|-
! Entry !! Data
|-
| Header? || 8 bytes + 8 bytes padding?  Unknown purpose.  Sometimes first data is 1 byte, sometimes 2?<sup>(LE)</sup>
|-
| Unknown Table || Each entry is 4x 4 bytes<sup>(LE)</sup>
|-
| Raw Text || Text Data
Does not have any breaks.  '''0x0D 0x00 0x0A 0x00''' (CrLf) is newline
|-
| File References? || Encoded in standard UTF-16.  Probably not in-game text
|}


===Text Table===
===Text Table===

Revision as of 02:28, 14 March 2024

Chip tiny.png The following article is a Text Table for Strike Witches: Silver Wing.

Text Format

Mostly found in /media/data/sc_scenario.bin, uses non-standard formatting

  • Data is LE
  • Hiragana, Katakana and Kanji encoded using UTF-16
  • Numbers (possibly other Latin characters?) are encoded with 16-bits. Their value is 0xFF followed by their UTF-8 value - 0x20 (ex: "1939" is 0xFF 0x11 0xFF 0x19 0xFF 0x13 0xFF 0x19)
Text Files
Entry Data
Header? 8 bytes + 8 bytes padding? Unknown purpose. Sometimes first data is 1 byte, sometimes 2?(LE)
Unknown Table Each entry is 4x 4 bytes(LE)
Raw Text Text Data

Does not have any breaks. 0x0D 0x00 0x0A 0x00 (CrLf) is newline

File References? Encoded in standard UTF-16. Probably not in-game text

Text Table


30A3=ィ
30A4=イ
30A6=ウ
30AF=ク
30B9=ス
30BA=ズ
30C1=チ
30C3=ッ
30C8=ト
30E9=ラ
30FC=ー

FF10=0
FF11=1
FF12=2
FF13=3
FF14=4
FF15=5
FF16=6
FF17=7
FF18=8
FF19=9