This is a page about editing credits using the credits editor. It can be a bit finicky, and I (Nodever2) was asked to put what I learned about it here. I am by no means an expert on the credits, so feel free to add to this page if you learn more!
Special thanks to Smiley for researching the credits routines and providing more information for us.
Further reading: This great resource can teach you more about the credits in general. It contains additional technical information about the credits.
The credits are composed of a compressed tilemap (at $97:EEFF) which the game decompresses and precisely loads certain lines from, and displays those lines on-screen. The game chooses what lines to load based on the credits instruction list at $8C:D91B. This instruction lists' format is as follows:
______ Instruction in $8B to execute | _ Argument for instruction | | iiii aaaa
If the instruction value (
iiii) is 0000, then the argument (
aaaa) is a pointer into the uncompressed credits tilemap, telling the game what line of the credits to load (the line pointed to by this pointer).
My advice (Nodever2 here): SMILE RF's credits editor has.. problems. If you really want the best experience editing the credits, you might be best off doing so without the credits editor; you could use the credits editor to edit and save the credits tilemap, and then repoint the credits instruction list and manually edit it in hex. SMILE RF seems to not always save the instruction list properly and/or overwrite other data with it without telling you. (This may also be true of the credits tilemap, since it is compressed, so edit that with caution as well).
The credits tilemap is pointed to by the $D91B here:
$8B:F6F8 dw 93D9,93D9,D91B
If you want to repoint it, start there. (Found by Smiley)
The Credits Editor in SMILE RF can be accessed by navigating to Tools > Special Editors > Ending Credits Editor. This document was written for the editor in SMILE RF.
Here's a quick overview on the credits editor, SMMM-style:
If you want to edit names from the credits, it's quite easy. Simple right-click a tile from the Credits Tile Table, and it will show up in Box #4 when selected. Then, click in a line in the Credits Tilemap Editor to place it on a line there. Note that the credits are broken up into individual lines.
I'm assuming the purpose of editing the credits is adding your own, but there isn't a lot of extra lines in the Credits Tilemap Editor to work with. However, it is disrespectful to remove the names of the Nintendo staff, so I don't recommend doing that. One possible workaround to this problem is to remove the headings from the credits in the credits tilemap editor (examples of headings:
PRODUCER, PROGRAM DIRECTOR, etc.), and then use those lines for your own credits. If you don't have a ton of credits, this will work. if your hack is large enough to need even more lines, then you'll have to do some more advanced editing which is beyond the scope of this tutorial.
After preparing the lines you want to place/move around, you're ready to move on to the left window (Credits Line Arranger). Navigating this window is tricky at first. Here's the basics: You navigate this window by selecting and moving entire lines at a time. Right-click anywhere in this window to select a line, and then use the controls below to edit it. It's that simple! However, there are many pitfalls which you must be careful to avoid, as discussed in the next section…..
A few tips I've learned:
(Notice in this image, the Credits Editor is scrolled all the way to the bottom. You want that empty space!)
(When the in-game credits scroll to this point, the player will most likely see a glitchy mess, followed by a possibly crash of the Credits Editor. Avoid!)
(feel free to expand this section if you learn more!)