| |||
Views: 88,314,460 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 03-28-24 11:10 PM |
|
Guest: Register | Login |
0 users currently in ROM Hacking | 1 guest |
Main - ROM Hacking - Zelda Title | New thread | New reply |
Chaobomr |
| ||
Buster Beetle Banned: Spammer takeover? Level: 45 Posts: 4/467 EXP: 636523 Next: 23641 Since: 05-07-13 From: The dirty south Last post: 3451 days Last view: 3450 days |
Can anyone give me any pointers on how to change the text of the background story in the Legend of Zelda? ____________________ Sorry for the stupidity. That jerk will be dealt with in the most insane way possible. |
Xeruss |
| ||
Sledge Brother Compromised account. Level: 86 Posts: 1790/1815 EXP: 6111878 Next: 30229 Since: 02-19-07 From: Oregon Last post: 1784 days Last view: 1784 days |
|
snarfblam |
| ||
Tektite Level: 18 Posts: 44/54 EXP: 26327 Next: 3570 Since: 03-10-12 Last post: 3842 days Last view: 2792 days |
If you're looking to edit the story text, you'll probably want to be able to change the color of the text too (so you don't have random letters in green or red). This data is stored separately. IIRC, it's stored as a complete 64-byte attribute table.
Let me know if you need a hand, but I know it's documented somewhere. |
Chaobomr |
| ||
Buster Beetle Banned: Spammer takeover? Level: 45 Posts: 5/467 EXP: 636523 Next: 23641 Since: 05-07-13 From: The dirty south Last post: 3451 days Last view: 3450 days |
Posted by Xeruss I already have a tbl file, looking at the data made no sense. The quote marks were missing. There were also a lot of spaces. I'm thinking there's some compression going on ____________________ Sorry for the stupidity. That jerk will be dealt with in the most insane way possible. |
Chaobomr |
| ||
Buster Beetle Banned: Spammer takeover? Level: 45 Posts: 6/467 EXP: 636523 Next: 23641 Since: 05-07-13 From: The dirty south Last post: 3451 days Last view: 3450 days |
Posted by snarfblam I could use some help there, thanks ____________________ Sorry for the stupidity. That jerk will be dealt with in the most insane way possible. |
snarfblam |
| ||
Tektite Level: 18 Posts: 45/54 EXP: 26327 Next: 3570 Since: 03-10-12 Last post: 3842 days Last view: 2792 days |
Posted by Chaobomr Definitely no compression. It occurs to me now that the normal text table isn't going to cut it. The story text is stored in a tile map that also includes graphics, namely the plantyness around the story. E2 and E3 are the horizontal bits, E4 and E5 are the vertical bits, and E6 is used for the corners. F8 is used for the quotes, and goes on the line ABOVE the text the quotes surround. And all those extra spaces are used to layout the text. If you added something like this to the table file...
...and dumped the text and wrapped every 32 characters and used a monospace font, you would end up with something like this
As for the colors, I don't know how much you know about ROM hacking, but I'll try. The colors of the text are stored in a 64-byte block found at $1A82B in the ROM (it is raw attribute data). If you open the rom in FCEUX, open the hex editor, pull up the ROM (under the "View" menu), and go to $1A82B, you can start playing around with the values. After changing the values, reset the ROM and you'll see the changes take effect. Changing the text to all white would be easy (changing certain bytes to 00). If you want to do your own custom "highlighting", well, even thought I understand attribute data perfectly well in theory, trying to manipulate it by hand gives me one hell of a headache. |
Chaobomr |
| ||
Buster Beetle Banned: Spammer takeover? Level: 45 Posts: 7/467 EXP: 636523 Next: 23641 Since: 05-07-13 From: The dirty south Last post: 3451 days Last view: 3450 days |
Thanks for the help
Posted by snarfblam I looked into a rom map that I acquired from datacrystal and it said that the ROM offset was at $1A81b. ____________________ Sorry for the stupidity. That jerk will be dealt with in the most insane way possible. |
snarfblam |
| ||
Tektite Level: 18 Posts: 46/54 EXP: 26327 Next: 3570 Since: 03-10-12 Last post: 3842 days Last view: 2792 days |
Posted by Data Crystal That ROM map does not include the iNES header. Accounting for the header, $1A81B + $10 = $1A82B |
Chaobomr |
| ||
Buster Beetle Banned: Spammer takeover? Level: 45 Posts: 8/467 EXP: 636523 Next: 23641 Since: 05-07-13 From: The dirty south Last post: 3451 days Last view: 3450 days |
So, I should add $10? ____________________ Sorry for the stupidity. That jerk will be dealt with in the most insane way possible. |
snarfblam |
| ||
Tektite Level: 18 Posts: 47/54 EXP: 26327 Next: 3570 Since: 03-10-12 Last post: 3842 days Last view: 2792 days |
Posted by snarfblamPosted by Data Crystal |
Chaobomr |
| ||
Buster Beetle Banned: Spammer takeover? Level: 45 Posts: 9/467 EXP: 636523 Next: 23641 Since: 05-07-13 From: The dirty south Last post: 3451 days Last view: 3450 days |
Looks like the hacking tutorials are back. It seems hastily written ____________________ Sorry for the stupidity. That jerk will be dealt with in the most insane way possible. |
Main - ROM Hacking - Zelda Title | New thread | New reply |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 87, rows: 117/118, time: 0.015 seconds. |