+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Editing a GBA Images Display Location
Pages: [1]
Author Topic: Editing a GBA Images Display Location  (Read 2 times)
RadioShadow
Guest
« on: March 17, 2008, 04:07:59 pm »

The GBA loads the necessary tile data into the I/O (for sprites) and VRAM (backgrounds).  Using VBA, I can locate the tiles loader, find the data in a hex editor and change the data to load the necessary graphics. 

But I've no idea on how to find the x and y values which tell the game where about the image has to be displayed on the screen.  How is it possible to locate them?  I've had no luck finding any documents about how the GBA does this besides one which I misplaced. >_<

Anyone able to help?   

Karatorian
Guest
« Reply #1 on: March 17, 2008, 06:08:57 pm »

Check out the GBA docs at "http://www.devrs.com/gba/" and "http://www.gbadev.org/". I don't remember exactly how the GBA does what you're talking about, but I do remember reading something about it at one of those sites. Or was it at "http://www.drunkencoders.com/"? Anyway, one of those three sites should have the info you're after.
KaioShin
Guest
« Reply #2 on: March 17, 2008, 06:26:55 pm »

Homebrew coding sites are absolutely useless for romhacking in my experience Tongue Especially when it comes to GBA. The connected community is also very hostile to ours to boot, never ever give away you're romhacking when you ask them a question about one of their tools (even if the question itself would have absolutely no connection with romhacking), or they'll refuse to help you.

RadioShadow: You'll usually have to debug and change the ASM code that loads the tilemap. Unless the game just loads a tilemap for the whole screen at once, but that's not so common. It sounds though as if you already found the routine which sends the tilemap data to VRAM. Well, just change the VRAM destination address then.
Ryusui
Guest
« Reply #3 on: March 17, 2008, 06:37:50 pm »

Even if it copies an entire tilemap to the screen at once, that still only adds an extra step. Sometimes the tilemap is assembled in RAM and then copied to VRAM: find it in RAM and trace the ASM code that puts it together.
Solid One
Guest
« Reply #4 on: March 18, 2008, 07:22:26 am »

what exactly are you trying to edit? background related stuff or sprite related?
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC