Editing or Adding Symbols to the Alphabet (RBY/GSC)
This is a simple tutorial on how to add new letters / symbols/ smilies / whatever you want to the alphabet in Pokémon RBY/GSC, or just to edit the existing letters (if you want to change the font, for example).
If you want to translate the game into a language that has some letters not already in the game or if you want to add little hearts in all of Proffessor Oak's sentences, but you don't know how to do any of this, you can use this tutorial.
The tutorial is for RBY/GSC, since I haven't tried it for any other games. Well, actually I've only tried it in Red, but I've at least seen that the alphabet looks the same in the other ones. Find out for yourself :-)
Difficulty level: n00b (like me)
(Note: I'm sorry if this topic is way too easy and doesn't need to have a tutorial, or if it has already been covered. A friend made me post it.)
Please correct me if anything's wrong in this. Hopefully I didn't get the offsets mixed up.
What you need:
* Tile Layer Pro (to edit the alphabet graphics)
* Hex editor to change the rom's text (I like WindHex)
* Table file for your rom (there's a basic one at the end of this)
Run Tile Layer Pro and open up the rom file that you wish to edit in it. In the "View" menu, change the "Format" to "1BPP". In the window with all the rom's stuff in it, go to the offset where the alphabet is. Offsets...
Red Version: 11A50
Yellow Version: 10600
Gold/Crystal Version: D8000
... I guess that Blue and Silver correspond.
(You can see the offset at the bottom of the program window, and you can "Goto" an offset from the "Edit" menu.)
You will notice that there are some blank spaces between the alphabet and the symbols/numbers. That's where you'll be adding your new letters.
Compare yours to mine with the Nordic languages' letters in it - you can see it and other examples in the attached files to this post.
If you don't know how to use Tile Layer Pro, it's time to figure it out. Hints: click on the tile (blank space or existing symbol) that you want to edit, and it will show up in the small "Tile Editor" window. Click the colour you want in the "Palette Editor" and then click on the pixel you want to edit in the "Tile Editor" and it will draw. Your changes are visible immediately but will of course not be in effect until you click the save button.
And then, we want to put our new symbols or what-have-we into the game, of course. Open up your hex editor and rom, and find the text that you want to change (a good idea is to change Oak's introductory speech so you can quickly check that your additions work).
I'm not going to go through the basics of "hexing", as there are probably many tutorials around for that...
Well, how do we use our new additions to the alphabet? Just as the alphabet that's already used in the game, each symbol is assigned to a hex number (f.ex., 80 is A and 81 is B). In Red, the standard one ends at BF with the symbol 'v. The blank spaces that you used (assuming you didn't overwrite the existing symbols) are between C0 and DF. That means, in the order of which you drew them in the alphabet tiles, they have been assigned to those numbers.
Change Oak's intro speech (or some other convenient text) to have the hex C0, C1, C2 ... CF, D0, D1 ... to DF in it and then restart your rom and see if it showed up properly. This way you can also check which hex value corresponds to which symbol if you had trouble figuring that out for some reason.
After you know that it works, to make this easier for further editing you should add your additions to your table file. Theoretically, just add stuff like...
... to your table file. However, at least in mine, it doesn't work displaying any special characters, so what I actually use is more like...
... which at least lets me see which symbols I'm using in the text even if I have to add them in by hex.
Below this spoiler tag is a basic table list for RBY in case anyone doesn't have one. Make a plain text file, put this list in there, and save as MyFabulousHackName.tbl (or save as a .txt file first and later rename it to a .tbl).
Note that 7F is blankspace and not just empty.
If everything worked out, you should be done now. Feel free to ask me if you need help with this, but easier might be to think and test things for a while as you will QUICKLY surpass my knowledge of this stuff that way.
It's a reasonable tutorial, but you definitely, definitely need to work on the layout. It's far too clustered and difficult to read. I suggest working on that as soon as possible.
That is what happens when a forum has to approve your threads before you can see/edit them again... :-)
It just garbled my post, if you had taken a look you'd see the HTML tags being displayed instead of doing their job, like that it's rather obvious what happened. Will be fixing that in a moment.
EDIT: Fixed, luckily I had saved the original post in a text file since I had a bunch of trouble posting it the first time...