I developed this format as a way of dumping a script leaving a
clear indication of how many bytes I had to work with during the
translation process. Basically, scripts dumped in this format
have single-byte DTE (Dual Tile Encoding) and multiple-byte MTE (Multiple
Tile Encoding) values enclosed in ' { ' and ' } ' which I call
byte-literals.
NOTE: ONLY CHARACTER PAIRS THAT ALREADY EXIST AS
DUAL-TILES IN THE EDITING FILE CAN BE INCLUDED IN THE TABLE AND
PLACED BETWEEN BRACKETS AS A BYTE-LITERAL. YOU CANNOT MAKE UP YOU'RE
OWN DTE VALUES WITHOUT DOING GRAPHICS AND/OR ASSEMBLY CODE EDITING. THE SAME HOLDS
TRUE FOR MTE VALUES.
The output looks like this:
C{re}w:Cap{ta}{in} {Cecil},
{ w}{e }{ar}{e }ab{ou}t{ t}o{ a}rri{ve}!
{Cecil}:G{oo}d.{END}
C{re}w:{Wh}y{ a}r{e }w{e }{ro}bb{in}g
{ c}{ry}{st}{al}{s }f{ro}m {in}{no}c{en}t
{ p}eop{le}?
C{re}w:T{ha}t'{s }{ou}{r }d{ut}y.
C{re}w:Do{ w}{e }{re}{al}l{y }{ha}v{e }{to}
k{ee}p{ d}o{in}g{ t}h{is}?{END}
C{re}w:Cap{ta}{in}!
C{re}w:W{e }c{an}'{t }{st}{an}{d }do{in}g
{ t}h{is}{ a}nymo{re}!
Each byte is clearly identifiable. A character literal or newline
literal that is one byte is displayed normally, a DTE value is
displayed between brackets and represents one byte, an end block
literal is displayed between brackets, and multi-byte values like
"Cecil" in this case (which is 2-bytes) are also in
brackets. If the number of replacemement bytes is crucial, and it
often is, this format makes it easy to keep track of the number
of bytes you have to work with. If the text you are editing is
going to remain very similar to what it already is, this format
is best. This format is also faster to replace.
When this format is not enabled the same output looks like this:
Crew:Captain Cecil,
we are about to arrive!
Cecil:Good.{END}
Crew:Why are we robbing
crystals from innocent
people?
Crew:That's our duty.
Crew:Do we really have to
keep doing this?{END}
Crew:Captain!
Crew:We can't stand doing
this anymore!
This format is easier to read but if it is replaced without using
the optimization feature (Script/Optimize Script...) then each
character literal will be one byte. Most often, that is not
desirable. As you can see, an end block literal is still
displayed between brackets. Any numerical values or unknown
values will also be displayed in brackets. If you are writing a
script which needs to occupy as few bytes as possible, it is best
to dump to this format, then write the script, and finally use
the optimization feature (Script/Optimize Script...) to crunch the number of bytes down.