This shows you the differences between two versions of the page.
return_of_samus:basic_guides:text_editing [2018/08/27 01:02] – created liamnajor | return_of_samus:basic_guides:text_editing [2019/11/09 21:51] (current) – Info on sprite text and a full table usable for .tbl files kkzero | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Text Editing====== | ======Text Editing====== | ||
- | Metroid 2 has a very simple text system. Each character is one byte, and you are limited to 16 characters per item and 6 for the save message (you can go above 6, but it will overlap the "Press Start" text). The format is listed here: | + | Metroid 2 has a very simple text system. |
+ | =====Tilemaps===== | ||
+ | Each character is one byte, and you are limited to 16 characters per item and 6 for the save message (you can go above 6, but it will overlap the "Press Start" text). The format is listed here: | ||
< | < | ||
C0-D9 = letters, in order | C0-D9 = letters, in order | ||
Line 76: | Line 78: | ||
| | ||
| | ||
+ | </ | ||
+ | =====Sprites===== | ||
+ | This section will focus specifically on how the sprites are used for text. Refer to [[return_of_samus: | ||
+ | Each character is made from a sequence of four bytes. The third one points to which tile to use. \\ | ||
+ | Only the two saving texts after the " | ||
+ | < | ||
+ | 0x04093 - " | ||
+ | 00 08 CE 80 - O | ||
+ | 00 10 CC 80 - M | ||
+ | 00 18 CF 80 - P | ||
+ | 00 20 CB 80 - L | ||
+ | 00 28 C4 80 - E | ||
+ | 00 30 D3 80 - T | ||
+ | 00 38 C4 80 - E | ||
+ | 00 40 C3 80 - D | ||
+ | FF | ||
+ | | ||
+ | 0x040B8 - "PRESS START" | ||
+ | 00 08 D1 00 - R | ||
+ | 00 10 C4 00 - E | ||
+ | 00 18 D2 00 - S | ||
+ | 00 20 D2 00 - S | ||
+ | 00 30 D2 00 - S | ||
+ | 00 38 D3 00 - T | ||
+ | 00 40 C0 00 - A | ||
+ | 00 48 D1 00 - R | ||
+ | 00 50 D3 00 - T | ||
+ | FF | ||
+ | </ | ||
+ | =====Full Text Table===== | ||
+ | For a more organized text-editing experience, copy-paste the following list of characters into a text editor and save the document as a " | ||
+ | < | ||
+ | FF= | ||
+ | A0=0 | ||
+ | A1=1 | ||
+ | A2=2 | ||
+ | A3=3 | ||
+ | A4=4 | ||
+ | A5=5 | ||
+ | A6=6 | ||
+ | A7=7 | ||
+ | A8=8 | ||
+ | A9=9 | ||
+ | C0=A | ||
+ | C1=B | ||
+ | C2=C | ||
+ | C3=D | ||
+ | C4=E | ||
+ | C5=F | ||
+ | C6=G | ||
+ | C7=H | ||
+ | C8=I | ||
+ | C9=J | ||
+ | CA=K | ||
+ | CB=L | ||
+ | CC=M | ||
+ | CD=N | ||
+ | CE=O | ||
+ | CF=P | ||
+ | D0=Q | ||
+ | D1=R | ||
+ | D2=S | ||
+ | D3=T | ||
+ | D4=U | ||
+ | D5=V | ||
+ | D6=W | ||
+ | D7=X | ||
+ | D8=Y | ||
+ | D9=Z | ||
+ | DA=. | ||
+ | DB=, | ||
+ | DC=' | ||
+ | DD=- | ||
+ | DE=.. | ||
+ | DF=.. | ||
</ | </ |