(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
06-11-24 08:53 PM
Acmlm's Board - I3 Archive - - Posts by kanzure
User Post
kanzure
Newcomer


 





Since: 06-17-06

Last post: 6569 days
Last view: 6569 days
Posted on 06-17-06 01:02 AM, in Searching for (Pokémon) Emerald tile drawing-order information and addresses Link
Hey all, this will be a slightly strange question from the normal stream of things*, but hopefully we can crank out a solution. In essence, I have been looking for some information regarding the variables to set in order to trigger the ability to draw a sprite over the main player versus under the main player. After downloading AdvanceMap, I was rather saddened to discover that the collision detection bytemap is not the solution. The following is a collection of screenshots to assist in realizing my search criteria. Yeah, it is more like an assembly of various screenshots, but it should prove more effective than staggering 16 different PNGs in numerical order.

* see [1]

Anyway, let's see if I can shed some more light on what I am searching for. As we can tell from the linked image, the player's bike is a bit of an anomaly in the entire game (it is starting to look like a really bad hack by the Japanese developers), as it is forced to be drawn under yet sometimes over at various different positions. The pokeball stance is grabbed just before cut/fly is used. The images are not all related, as I have been collecting these screenshots to generally help with reverse engineering the way by which the engine blits graphical information (such as what order, et cetera).

It is doubtful that anyone has an immediate answer for me. Instead of complaining about the situation, I recommend that we figure out how we would find this information and play around with it. I suspect that if the information is found we can make it such that, given any tile placed on the map, we can make it draw over the player's sprite (even if the tile is the normal town grass, et cetera). I doubt that the original RPGs were developed to only blit the tops of trees and houses over the player. After the addresses of this information is found we can easily whip up a tool as a return gift for working on this problem. How can we find this information? Any techniques to apply? Today I tried out some simple corruption technique, see my edit (far) below.

Furthermore, I have assembled a video for the extra special assistance. It's over at [2]. The local message board system over at pokecommunity.com, where I originally posted this thread, rejects my message when I include links, so you will have to forgive my linking of the WMV file, I didn't bother to convert it. I apologize for the format, but my local GNU/Linux box is not suitable for (timely) streaming video modification.

Thanks,
~ kanzure

[1] http://24.27.53.128/~bbishop/shots/pokemonEmeraldJune14th02006_12.PNG
[2] http://24.27.53.128/~bbishop/shots/example_all.wmv
* at least at where this thread was originally posted, over at http://www.pokecommunity.com/showthread.php?t=69637

(pseudo) EDIT: The information may be in memory addresses 0x300000 to 0x400000, although I have yet to isolate anything down to a single group of addresses.
kanzure
Newcomer


 





Since: 06-17-06

Last post: 6569 days
Last view: 6569 days
Posted on 06-17-06 01:09 AM, in Searching for (Pokémon) Emerald tile drawing-order information and addresses Link

And who moves the thread?
Surely that trivial matter can wait until a moderator bothers to move this.
kanzure
Newcomer


 





Since: 06-17-06

Last post: 6569 days
Last view: 6569 days
Posted on 06-17-06 10:09 AM, in Searching for (Pokémon) Emerald tile drawing-order information and addresses Link

Hm, you know, I did not consider that it is due to the hardware that the ROM is supposed to be executing over. Regarding your point #3, what might be the trigger behind drawing the grass in BG1 when the characters are standing on a grass tile? I have noticed that the grass is still indeed under the characters. I suspect it has something more to do with checking some information concerning the tile, finding a pointer to what sprite to draw over the player, and then doing so. However that is not the simplified method, so feel free to butcher it with Occam's razor.

Do not get me wrong, I am in fact more interested in figuring out how to simulate nearly the same result on my own rather than hacking the ROMs. When you copy a work of art, you always start by looking at the art. Very closely, too.

Thank you for the response,
~ kanzure
kanzure
Newcomer


 





Since: 06-17-06

Last post: 6569 days
Last view: 6569 days
Posted on 06-17-06 01:18 PM, in Searching for (Pokémon) Emerald tile drawing-order information and addresses Link

DJ Bouche, thank you for the information. What is Map8 and where might I find some documentation? Are these bits anywhere near the stored tile grapical information? That may give me some hints as to where to scout out further addresses.
Acmlm's Board - I3 Archive - - Posts by kanzure


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.020 seconds; used 353.36 kB (max 417.22 kB)