Wikifang:Telefang 1 Translation Patch/Encoding: Difference between revisions

From Wikifang, a definitive guide to Telefang, Dino Device and Bugsite
Jump to navigation Jump to search
(Moving this off the text dump page.)
 
(→‎Control codes: Added character name pointer)
 
(4 intermediate revisions by 2 users not shown)
Line 68: Line 68:
:'''E1(xx)''' = End of message (changes text states)
:'''E1(xx)''' = End of message (changes text states)
:'''E2''' = New line
:'''E2''' = New line
:'''E3(xx)''' = Changes text speed (lower values are faster)
:'''E3(xx)''' = Changes text speed (lower values are faster, 0 is instant)
:'''E5(xxxx)''' = Inserts a string from the specified location
:'''E5(xxxx)''' = Inserts a string from the specified location
:'''E9(xx)''' = Marks phone messages to be skipped by a specific Denjuu
:'''E9(xx)''' = Marks phone messages to be skipped by a specific Denjuu
Line 74: Line 74:
:'''EA''' = Disables VWF
:'''EA''' = Disables VWF
:'''EB''' = Re-enables VWF
:'''EB''' = Re-enables VWF
:'''EC(xxxx)''' = Jumps to text located in a different bank (pointer specified)
:'''EC(xxxx)''' = Jumps to a pointer in bank 1E, an overflow bank.
 
<div style="clear: both;"></div>
 
==Control codes==
 
How the control codes are represented as text in the hack. («» mean the same thing as <>.)
 
{| class=wikitable
! text !! code !! description
|-
| <0> || 00 || 8-pixel wide space. Also used in the translation to separate question answers.
|-
| <*x> || E1(x) || End of message (changes text states)
|-
| <*2> || E1(2) || Clear even lines
|-
| <*3> || E1(3) || Clear odd lines
|-
| <*4> || E1(4) || Clear odd lines
|-
| <*5> || E1(5) || End window clear
|-
| <*A> || E1(A) || Wait for answer from question??
|-
| <Sx> || E3(x) || Changes text speed (lower values are faster, 0 is instant)
|-
| <&0xABCD> || E5(ABCD) || Inserts a string from the specified location (in hex 0xABCD format)
|-
| <&name> || || Refers directly to the character's name.
|-
| <Dx> || E9(x) || Marks phone messages to be skipped by a specific Denjuu. Used in Exp. item phone calls so Denjuu never refer to themselves.
|}

Latest revision as of 12:26, 26 August 2016

This is the current character table for the patch.

As of Patch 102 onward, the text encoding has expanded beyond ASCII to a custom page. Characters marked XXX are unused. Tiles beyond D2 do not have ROM space for new glyphs; tiles beyond E0 are control codes.

Telefang/EFIGS encoding
xx x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF
0x SP8 XXX XXX XXX XXX XXX ’s XXX XXX XXX XXX XXX D.
1x XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
2x SPC ! " # $ % & ' ( ) * + , - . /
3x XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX : ; < = > ?
4x @ A B C D E F G H I J K L M N O
5x P Q R S T U V W X Y Z [ \ ] ^ _
6x ` a b c d e f g h i j k l m n o
7x p q r s t u v w x y z { | } ~ XXX
8x Á É Í Ó Ú À È Ì Ò Ù Ä Ë Ï Ö Ü Â
9x Ê Î Ô Û Ÿ Ç Ñ XXX XXX XXX XXX XXX XXX XXX XXX XXX
Ax á é í ó ú à è ì ò ù ä ë ï ö ü â
Bx ê î ô û ÿ ç ñ ß 0 1 2 3 4
Cx 5 6 7 8 9 ×
Dx XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
Ex NUL END CRLF SPD NOP CALL NOP ??? NOP 3RD FWF VWF FAR NOP NOP NOP
Fx NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP NOP



00 = 8-pixel wide space
0E = Lightning bolt symbol (currently unused)
20 = Normal space


E0 = End of string
E1(xx) = End of message (changes text states)
E2 = New line
E3(xx) = Changes text speed (lower values are faster, 0 is instant)
E5(xxxx) = Inserts a string from the specified location
E9(xx) = Marks phone messages to be skipped by a specific Denjuu
EA = Disables VWF
EB = Re-enables VWF
EC(xxxx) = Jumps to a pointer in bank 1E, an overflow bank.

Control codes[edit]

How the control codes are represented as text in the hack. («» mean the same thing as <>.)

text code description
<0> 00 8-pixel wide space. Also used in the translation to separate question answers.
<*x> E1(x) End of message (changes text states)
<*2> E1(2) Clear even lines
<*3> E1(3) Clear odd lines
<*4> E1(4) Clear odd lines
<*5> E1(5) End window clear
<*A> E1(A) Wait for answer from question??
<Sx> E3(x) Changes text speed (lower values are faster, 0 is instant)
<&0xABCD> E5(ABCD) Inserts a string from the specified location (in hex 0xABCD format)
<&name> Refers directly to the character's name.
<Dx> E9(x) Marks phone messages to be skipped by a specific Denjuu. Used in Exp. item phone calls so Denjuu never refer to themselves.