Archive
Register | Login | Logout | Edit profile
Views: 1397612
Main | Memberlist | Calendar | Online users
Ranks | FAQ | Search | Photo album
11-13-07 11:42 PM
rustedmagick forums - The ROM Hacking Data Repository - Dungeon Kid (NES) |
Next newer thread | Next older thread
User
Post
KingMike
Bag of Stinky Weeds
Level: 5

Posts: 2/5
EXP: 436
For next: 93

Since: 09-12-03

Since last post: 837 days
Last activity: 105 days
Posted on 01-17-04 10:38 PMQuote
Here we have a Wizardry-type RPG for the NES, probably meant for kids, but it includes the option to edit the game to the player's liking. Don't know how likely it'd be to translate (menu text seems to be stored as TSA, haven't hit non-menu text yet).

Well, anyways, this game uses a simple form of RLE compression for the graphics. It's so simple, I'd thought I'd share it rather than keep it.

Graphics data is written to VRAM, and considered uncompressed until a control code is hit:

99 xx : xx is an uncompressed byte of graphics data (used to prevent the control codes from interfering with the graphics data)
AA xx : Get the value stored in RAM $0067 and write it xx times to VRAM.
BB xx : Write #$00 to VRAM xx times.
CC xx : Write #$FF to VRAM xx times.
DD xx yy : Write #$xx to VRAM yy times.
EE : Stop loading graphics data to VRAM.

After testing a decompressor and recompressor I wrote I found the compressed background tile data in the ROM (these addresses include the header):

4628- 4D10 Edit menu tiles
4D11- 4D51 Empty tiles

5C4D- 61E0 Church background tiles

6201- 661B Cave background tiles
661C- 6672 Window border tiles

6683- 67ED Moon/finger/etc. tiles

69FE- 7632 Title screen tiles

7769- 7DAB Kana tiles
7DAC- 7E65 Number tiles
7E66- 7ECC Colored border tiles

9B03- 9EFE Game Intro screen

C1CC- C2A5
C53C- C8B2 More background graphics
C9C5- D005
D118- D6A9
D7BC- DE06
DF19- E3BC
E4CF- EA12
EB25- F05D
F170- F87D

10083-10494 Battle sprite graphics
10495-1085E
1085F-10A74
10A75-10C7F
10C80-10E37

14078-14492 Sprite graphics/data
14493-1470D
1470E-14B95
14B96-14EF2
14EF3-15272
15273-15620
15621-159B8
159B9-15DB1
15DB2-1616D
1616E-164D7
164D8-167C8
167C9-16B99
16B9A-16E98
16E99-17670
17671-17E3B


(edited by KingMike on 02-06-04 05:48 PM)
Next newer thread | Next older thread
rustedmagick forums - The ROM Hacking Data Repository - Dungeon Kid (NES) |


rustedmagick.com

AcmlmBoard v1.8a BMF Hax0r Special™
© 2000-2002 Acmlm
Board additions/modifications by:
BMF54123
Tuvai




Page rendered in 0.02 seconds.