PDA

View Full Version : Development: Hacking the PokéNav (map data, phone data, etc.)


diegoisawesome
November 14th, 2010, 03:52 PM
I feel that it's pretty safe to say that we don't have much hacking information done on the PokéNav. I mean, some people just put it into a hack without really changing anything.

I, for one, have started to hack the little information box that appears when you scroll over a place in the map on Zoom mode.

I found a little table located at 0x623118 that controls this, although how so, I don't really know. The format is like this:
[map name ID] [00] [01 if scrolled over second half] [00] [pointer to data]

The routines that load the table start at 0x1ccd34 and 0x1ccd70.

There is a limiter byte at 0x1ccd40 that makes the first routine not work if r4 is over 0x15. The number is not the map name ID, however, so I assume that it's to make sure it passes through the routine 0x15 times, each time increasing by 1. After all, this is the routine that loads at the load of the map. I believe this routine is the checker to see which map names have a mini-map and which do not; however, I may be wrong.

The second routine, however, I know a bit more about. This one loads the map name byte and checks it against the ones in the table. It also does checks to see if it's the second half of the map name. It also has a limiter byte like the one above, this one at 0x1ccd8c. This is also, supposedly, to check how much times it's gone through the routine. After that, though, I lose track of what it does.

This is just one part of the PokéNav, though; feel free to help with any part of it.

Darthatron
November 15th, 2010, 03:08 AM
Maybe you should talk to colcolstyles, he's done some stuff with the emerald maps before: http://www.youtube.com/watch?v=WCkCCuowTDQ

I've done a little bit of study on this stuff, I'll see if I can find my notes.

U.Flame
November 15th, 2010, 04:16 PM
I don't know how, but I noticed Baro's Pokemon Quartz had a hacked PokeNav. Not much of a difference but the rotating PokeNav image was changed. Quartz is the only hack that I've seen that.

Team Fail
November 15th, 2010, 05:38 PM
Maybe you should talk to colcolstyles, he's done some stuff with the emerald maps before: http://www.youtube.com/watch?v=WCkCCuowTDQ

I've done a little bit of study on this stuff, I'll see if I can find my notes.

I hate notes. x_x The town map can obviously be hacked, but what about the phone? What about the times that people call you and at what rate do they call? Another interesting thing that could be hacked is comparing the RTC and showing the time in the Pokenav. Also, how about being able to extend the list so it can scroll? It could show that there would be more features than what the original games had to offer. I would like to see a hacked Pokenav and maybe have one in my hack if this is done, and change to Emerald from FireRed. Also, (EDIT) what about making it so you can place markers on the map and plae custom notes for your travels like in Heart Gold and Soul Silver?

Shiny Quagsire
November 16th, 2010, 10:04 PM
It's defiantly possible. I haven't hacked emerald yet, but I might still look into this.

diegoisawesome
February 6th, 2011, 07:52 AM
Since the posting of this thread, I've made major advances in hacking the PokéNav. If anybody would like me to share this info in this thread, feel free to ask.

knizz
February 6th, 2011, 09:17 AM
Since the posting of this thread, I've made major advances in hacking the PokéNav. If anybody would like me to share this info in this thread, feel free to ask.

I want more info. Also: Y U not on mah irc-channel?

diegoisawesome
February 6th, 2011, 09:24 AM
I want more info. Also: Y U not on mah irc-channel?
Before, I was joining whenever my PC turned on but I closed out of it so it doesn't automatically connect any more. I'll join right now if you want.

colcolstyles
February 6th, 2011, 11:31 AM
diegoisawesome, I'm sure we all would like to see your findings.[/attempt-to-get-things-back-on-topic]

Team Fail
February 6th, 2011, 11:46 AM
Since the posting of this thread, I've made major advances in hacking the PokéNav. If anybody would like me to share this info in this thread, feel free to ask.

diegoisawesome, I'm sure we all would like to see your findings.[/attempt-to-get-things-back-on-topic]

You think just like me. I am still deciding on a Rom Base, so this may help me decide.

diegoisawesome
February 6th, 2011, 12:43 PM
Well, for one, I've figured out how to hack the phone to its (almost) fullest. Should I start there?
Or should I tell you how I finally managed to get what I said in the first post working?
Maybe how the order of the buttons, the palettes of the buttons, and some other things were changed?
Tell me what you'd like to know and I'll share.

giradialkia
February 6th, 2011, 04:10 PM
Tell me what you'd like to know and I'll share.

(At the risk of being accused of SPAMming...)

TELL US EVERYTHING YOU'VE FOUND PLEASE.

Team Fail
February 6th, 2011, 04:20 PM
(At the risk of being accused of SPAMming...)

TELL US EVERYTHING YOU'VE FOUND PLEASE.

I feel the same. It'd be interesting to see what you've found.

diegoisawesome
February 6th, 2011, 04:28 PM
Well, first things first: the phone.
At 0x6252A8 is a list of pointers. Following one of these pointers will lead to some data in the order of:
[byte - type] [byte - location] [hword - flag to check if in PokéNav] [word - pointer to trainer class name] [word - pointer to name] [word - pointer to 2nd array]

2nd array:
[word - pointer to text] [hword - flag to check to see if this message should be shown] [hword - flag to set after this message is shown]... until 00 00 00 00 FF FF FF FF.

I'm attempting to do something else ATM, so I'll try to post more some other time.

U.Flame
February 9th, 2011, 06:28 PM
Is it possible at all to import Emerald PokeNav features to Ruby and Sapphire's Pokenav?

PokéRepublic
March 27th, 2011, 01:03 PM
Has anybdy found out how to use the radio function on the PokéNav for better Pokégear emulation?

diegoisawesome
March 27th, 2011, 01:18 PM
Has anybdy found out how to use the radio function on the PokéNav for better Pokégear emulation?
What radio function on the Nav? AFAIK, there is none.
I would like to try and implement one, however.

PokéRepublic
March 27th, 2011, 02:23 PM
What radio function on the Nav? AFAIK, there is none.
I would like to try and implement one, however.

Sorry for the misunderstanding. I meant implementing a radio function to make it like the Pokégear of Johto.

diegoisawesome
March 27th, 2011, 02:34 PM
Sorry for the misunderstanding. I meant implementing a radio function to make it like the Pokégear of Johto.
I thought that was what you meant.
Nope, not yet, this'll probably be the hardest part of 'Nav hacking.

PokéRepublic
March 27th, 2011, 03:15 PM
Oh, well have u thought of using the Nav's match call function to "call" the broadcast of a certain radio station? Sorry not expert just tryin to give suggestions

Team Fail
March 27th, 2011, 03:44 PM
Oh, well have u thought of using the Nav's match call function to "call" the broadcast of a certain radio station? Sorry not expert just tryin to give suggestions

You could do that, you would have to modify the scripts that each name links to.

I think.

diegoisawesome
March 27th, 2011, 03:58 PM
You could do that, you would have to modify the scripts that each name links to.

I think.
Not quite. It doesn't load a script, just text.
And why would you use that if you already need it for the phone card?

PokéRepublic
March 27th, 2011, 04:21 PM
I was trying to give some suggestions/ideas, because i was just thinking that if you could set a trainer and make it a radio station and everytime you would call it, the broadcasting response would never be the same message over and over depending on time of day, locations, a maybe a randomness factor? And the phone card function would still be applicable at the same time in the "match call" function.