well, i worked on it on a little times ago
i made this solution to make my text tools with bms scripts and with id and not to have all lines to import just a single line
http://www.mediafire.com/file/nj3id1754 ... l.zip/filedownload
srt_tool.zip and extract it in a empty folder
well, there is a
late_shift.srt, and batch files and bms script to do export and import automatically
click on
Subtitle_Dialog[.srt]_export.bat and all of .srt files in current folder (such as
late_shift.srt) will extract to their own folder (late_shift.srt_files), and goto late_shift.srt_files folder and open
dialogs.txt, in dialog number 5 on line 6, you can see this text:
5="Nine-twenty."you can remove all of texts in
dialogs.txt and just left just
5="Nine-twenty."you can also remove
" in start or end of string or do it in different ways
5=
"Nine-twenty.
"5=
"Nine-twenty.
5=Nine-twenty.
"5=Nine-twenty.
4="Nine-ten to my left, thank you sir. Nine-ten."
6="Nine-twenty, thank you."
5="Nine-twenty."
6="Nine-twenty, thank you."
4="Nine-ten to my left, thank you sir. Nine-ten."
5="Nine-twenty."
6="Nine-twenty, thank you."
5="Nine-twenty."
4="Nine-ten to my left, thank you sir. Nine-ten."
no matters which line came first
if you take a look in
#DATA_BASE folder, there is two folder in it (library and scripts)
library has exe files and in
scripts\operators you can see some different scripts, (most of them are same but in different encoding (UTF-8 or UTF-16, LE or BE) and some other handy scripts
_text_spliter_tabler_utf8_none.bms used in srt tool, you can check bat files
but there is two problem
\ problem and = problem
\ problem
i know that backslash (\) used for some reasons, like \n \f or \\ (for single \)
but what if someone use \k in a line? (you can hide\kill a monster by clicking left mouse button)
wrong cstring error?
in such case, we must use \\ (hide\\kill)
but translator don't know that and he simply write (blahblah\whatever) and he just write \ as \\
and how about a tag to breaking a line? instead of \n? like <br> for (0x0A) or <lf> for (0x0D)
= problem
id's can be string too
like this:
a_peson_ch1_p2="Nine-twenty."
id is
a_peson_ch1_p2what if id was
a_peson=ch1_p2a_peson=ch1_p2="Nine-twenty."
so import text will turn to this (ch1_p2="Nine-twenty.)
then
= must replace to __
[b]a_peson__ch1_p2[\b]="Nine-twenty."