[Tutorial]Adding new events to a map in Goldmap 1.6

View previous topic View next topic Go down

[Tutorial]Adding new events to a map in Goldmap 1.6

Post by Mateo on Mon Jul 01, 2013 2:19 am

---------------
GETTING STARTED
---------------
Okay, this will explain how to add more events to a map in Pokémon Gold and Silver. This is a very important skill to learn, as you will need to use it quite often. I personally have to use it on almost every town and several other maps while working on Pokémon Secrets and Rumours. Without further ado, here is what you will need:

- Pokémon Gold or Silver rom
- Goldmap 1.6
- Pointer Berechner
- Hex Editor (I'll be using Translhextion)

--------
STEP ONE
--------
The first step is to load your rom in Goldmap and pull up the map you want to add more events to. In this tutorial, we will be adding a new person and house to Pallet Town. With your rom loaded, open the Map Properties dialogue as shown in the attatched screenshot.





You will notice in the area I've highlighted that there are two pointers: The map pointer and the event pointer. Make note of these. In the case of Pallet Town, these were given as 2A 5497 for the map and 4E 47AA for the events. The last two byte of these are shown backwards in Goldmap, so the actual pointers are 2A 9754 for the map and 4E AA47 for the events.

--------
STEP TWO
--------
Now that we have these written down, it's time to find some blank space to put the new event data in. Go to the address Goldmap says the events are at, and scroll down until you find free space. I'll be putting mine at 0x13A180. Enter that address into pointer berechner to find the pointer. The pointer to my new address is 4E 8061. Notice I didn't swap these, as unlike Goldmap, pointer berechner shows them properly.




----------
STEP THREE
----------
Now that you have your pointers found, we need to do something with them! Open your rom in your hex editor and do a search for the map pointer. Remember, Goldmap shows the last two byte of the pointer backwards. You need to swap the last two bytes before you search for them. Do a search for the 3 bytes of the map pointer followed immediately by the first byte of the Event Pointer.





This has taken us into the map header. You will notice that there are two more bytes between the first byte of the event pointer and the last two we saw in Goldmap. These point to the map script, so we ignore them for now. Take the pointer you found in step two and type the last two bytes of it over the ones for the old event data. In my case, I typed 8061 over AA47. Save your rom with a new name so you have the original as a backup. You'll see why in the next step. Congratulations! You've just repointed the event data!

---------
STEP FOUR
---------
Now that you have repointed the events, it's time to go back to Goldmap. Reload your rom and go to the map you repointed the events for. You will notice it loads no events on the map. This is what it is supposed to do, as there is no data there yet. In a seperate instance of Goldmap, load the old rom. This is just for comparison. In the one you repointed, go to Tools/Reconstruct Events. It will say 0 for every type. Enter here however many you need. In this tutorial, we are adding a person and a warp. So we will enter 4 warps, 0 Triggers, 4 Signposts, and 3 People. Press OK. Now this will cause it to pop up with a warning, but ignore it and press OK agan.





---------
STEP FIVE
---------
Using the old one as a guide, put the events back where they were and give them the data from the old events. To save future headaches, make sure the warps have the same number as the old ones when you put them back on doors. ie- Since Warp 1 was Ash's House, Warp 2 was Gary's house and Warp 3 was Oak's lab, we'll put these that way this time, and use warp 4 for our new warp. The numbers on people arent usually as important to keep the same.

--------
STEP SIX
--------
Now that you have all that copied, you will need to fill out the data on your new warp and person. As this is not a tutorial explaining scripting, we will make the new person just be a clone of the fat man below Oak's lab, so we will give him the same data as the fat man. Congratulations! You just added new events to a map!


EDIT: On a completely unrelated note, it just occured to me that I took these screenshots/wrote this back when I was running Vista, before I got rid of it for XP.

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
avatar
Mateo
Administrator
Administrator

Posts : 89
Join date : 2013-02-07
Age : 28
Location : Celadon City, Kanto

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum