XML:SUBT: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (Created page with "==onisplit commands== :-extract:txt <target directory> <filenames> Rips all SUBT as .txt into target folder from source .dat or .oni :-create:subt <target directory> <filename> C...")
 
mNo edit summary
Line 2: Line 2:
:-extract:txt <target directory> <filenames> Rips all SUBT as .txt into target folder from source .dat or .oni
:-extract:txt <target directory> <filenames> Rips all SUBT as .txt into target folder from source .dat or .oni
:-create:subt <target directory> <filename> Creates a SUBT .oni file in target folder from a .txt file
:-create:subt <target directory> <filename> Creates a SUBT .oni file in target folder from a .txt file
:: no asterisk (*) in the file name allowed




==general information==
==general information==
* Vanilla SUBT files are stored inside Oni\Edition\GameDataFolder\level0_Final
* Vanilla SUBT files are stored inside Oni\Edition\GameDataFolder\level0_Final
: SUBTmessages.oni (contains some autoprompt lines for [[OBD:ONGS|ONGS]])
: SUBTmessages.oni (contains some autoprompt lines for [[OBD_talk:ONGS#XML|ONGS]])
: SUBTsubtitles.oni
: SUBTsubtitles.oni
* Can SUBT files also be installed in different locations and with other names?





Revision as of 17:11, 13 April 2012

onisplit commands

-extract:txt <target directory> <filenames> Rips all SUBT as .txt into target folder from source .dat or .oni
-create:subt <target directory> <filename> Creates a SUBT .oni file in target folder from a .txt file
no asterisk (*) in the file name allowed


general information

  • Vanilla SUBT files are stored inside Oni\Edition\GameDataFolder\level0_Final
SUBTmessages.oni (contains some autoprompt lines for ONGS)
SUBTsubtitles.oni


BSL support

command description example
message keyword [time] sends a message from the subtitle file message begin_fight 240
message_remove [keyword] removes a currently displayed message message_remove c01_50_23 message_remove
ui_suppress_prompt suppresses UI prompting about new objectives or moves ui_suppress_prompt = 1


file structure

Each line has following element:

keyword
=
text

Optional color formating, it starts with "[" and ends with "]":

b. (blue)
c. (cyan)
g. (green)
l. (lila)
o. (orange)
r. (red)
u. (umber)
y. (yellow)

Example from SUBTmessages:

xmouse=To change your orientation, [c.move the mouse].