If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Strike Witches: Silver Wing/TBL: Difference between revisions
Jump to navigation
Jump to search
(Update research on text format) |
(More research) |
||
Line 32: | Line 32: | ||
Does not have any breaks. '''0x0D 0x00 0x0A 0x00''' (CrLf) is newline | Does not have any breaks. '''0x0D 0x00 0x0A 0x00''' (CrLf) is newline | ||
|- | |- | ||
| | | Internal References || UTF-16<sup>(LE)</sup>, used by executable | ||
|} | |} | ||
Line 39: | Line 39: | ||
|- | |- | ||
! Command/Instruction? !! Behavior | ! Command/Instruction? !! Behavior | ||
|- | |||
| 0x02 0x29 || Always appears at end of command data? Argument is always the sum of lines + internal references, possibly unload? | |||
|- | |- | ||
| 0x03 0x10 || Write line to textbox, next DWORD is line number | | 0x03 0x10 || Write line to textbox, next DWORD is line number | ||
Line 44: | Line 46: | ||
| 0x04 || Load? | | 0x04 || Load? | ||
|- | |- | ||
| 0x04 0x1D || Audio play, next DWORD is audio ID | | 0x04 0x1D || Audio play, next DWORD is audio ID, next DWORD is probably volume percent (most use 0x64/100%) | ||
|- | |- | ||
| 0x13 || Clear textbox, reset cursor position to 0 | | 0x13 || Clear textbox, reset cursor position to 0 |
Revision as of 16:26, 7 May 2024
The following article is a Text Table for Strike Witches: Silver Wing.
Text Format
/media/data/sc_scenario.bin is potentially unused, but contains a copy of all the text in the game?
Mostly found in /media/data/event/[GGXARCHIVE].bin.
ADV
- ADVENTUREBA[x]
- BASE[x]ST[x]
- STORY[x]- 19 and 20 seem to be unused
Inside GGXArchives are relevant DDS textures for that scene and a textbin. Textbin uses non-standard formatting:
- LE UTF-16
- Seems to be a small virtual machine with instructions to do various things? (Dubbed "MiniVN")
- Message length possibly releated to CrLf count? Can insert bytes without modifying "instructions" but overwriting CrLf hard freezes
Entry | Data |
---|---|
Header/Length field | 4 bytes, indicates length in DWORDs of next segment(LE) |
Unknown Table/Commands?/Instructions? | Collection of DWORDs(LE). VERY COMPLICATED
DWORD 4 is always number of CrLf in file |
Raw Text | Text Data
Does not have any breaks. 0x0D 0x00 0x0A 0x00 (CrLf) is newline |
Internal References | UTF-16(LE), used by executable |
Command/Instruction? | Behavior |
---|---|
0x02 0x29 | Always appears at end of command data? Argument is always the sum of lines + internal references, possibly unload? |
0x03 0x10 | Write line to textbox, next DWORD is line number |
0x04 | Load? |
0x04 0x1D | Audio play, next DWORD is audio ID, next DWORD is probably volume percent (most use 0x64/100%) |
0x13 | Clear textbox, reset cursor position to 0 |
0x27 | Related to tarot card mini-game. 0x27 0x00 = no tarot, 0x27 0x01 = tarot, always draws "The Fool"? |
- Note: Commands are DWORDs but have been shorted to single bytes here for simplicity
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
Internal Data for Strike Witches: Silver Wing
| |
---|---|