Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2013-12-17 00:02:00

Pokemon_Master
Member
From: emuNAND
Registered: 2013-05-18
Post 692/948
Website

Adding more Map ?[Pokémon Silver]

I wanted to know how can i add more map. Example,at Route 29 mapfolder(i think it's called so)are: Map 1 and Map 2,but how do i add more map? Map 3 an example. I know that by clicking the Map Properties you can add new map,but how. And how do i add a new mapfolder like New Bark Town or Route 29?
Thanks :)

Offline

#2 2013-12-17 07:45:15

Miksy91
Member
Registered: 2010-10-16
Post 2,019/2,317

Re: Adding more Map ?[Pokémon Silver]

This ain't a simple task, and I haven't personally added any more maps to the game. You can simply however, move maps around the different "folders". The sixth byte in the Primary Header of each map represents the area where that specific map belongs to.

If you really want to have more maps though, you should study the coding behind map header pointers and afterwards, move stuff around a bit. I don't think it should be too hard, but it does require being familiar with data handling, copy pasting and repointing.

Offline

#3 2013-12-17 11:15:02

Crystal_
Member
From: Spain
Registered: 2012-09-16
Post 152/437
Website

Re: Adding more Map ?[Pokémon Silver]

Unless you want too add a lot of new maps, you can just replace the entries in the map headers for beta maps such as safari zone and the beta pokecenters. But, of course, if you want to add connections to those maps, you'd have to repoint the second map header to make room for them. But if they do not require connections, it shouldn't be too hard, I think. (but then making events and scripts for the new maps in another story)

Offline

#4 2013-12-17 14:37:31

Pokemon_Master
Member
From: emuNAND
Registered: 2013-05-18
Post 695/948
Website

Re: Adding more Map ?[Pokémon Silver]

Yet another question: What is a  map header (sorry for asking)? And i have a question related to Offsets. Why when typing an offset it will show only one byte F1 (example) and when jumping to another byte it will show another offset. Why?
Thanks again.

Offline

#5 2013-12-17 14:58:05

Miksy91
Member
Registered: 2010-10-16
Post 2,022/2,317

Re: Adding more Map ?[Pokémon Silver]

Rom data could be described in various ways. One way is to represent it as bytes, and say that if x is an offset/address, the next offset/address is one byte away.

But as example; 0x127A9 is an offset which holds the value of 72 (= byte). We say that byte 72 is written in offset 0x127A9. Here "0x" before 127A9 represents a hexadecimal value, nothing more. Then again, if we just said offset/address 12789, that could mean either mean an address in decimal or hexadecimal.

So in every offset/address, we have one byte.

Map header determines the whole functionality of the map; music, map size, where to look for map data, events and scripts, map connections etc.

Offline

#6 2013-12-17 20:11:09

Pokemon_Master
Member
From: emuNAND
Registered: 2013-05-18
Post 697/948
Website

Re: Adding more Map ?[Pokémon Silver]

Miksy91 wrote:

Rom data could be described in various ways. One way is to represent it as bytes, and say that if x is an offset/address, the next offset/address is one byte away.

But as example; 0x127A9 is an offset which holds the value of 72 (= byte). We say that byte 72 is written in offset 0x127A9. Here "0x" before 127A9 represents a hexadecimal value, nothing more. Then again, if we just said offset/address 12789, that could mean either mean an address in decimal or hexadecimal.

So in every offset/address, we have one byte.

Map header determines the whole functionality of the map; music, map size, where to look for map data, events and scripts, map connections etc.

Ah,really thanks for telling me that an offset has only one byte. But does several offsets mean a function? Example: does 5 offests has function for a certain map area. And if adding a new feature,should i add a new offset?
Thanks again.

Last edited by Pokemon_Master (2013-12-17 20:13:23)

Offline

#7 2013-12-17 20:45:57

ShaneM
Member
From: United States (USA)
Registered: 2013-03-11
Post 269/287
Website

Re: Adding more Map ?[Pokémon Silver]

Pokemon_Master wrote:

Ah,really thanks for telling me that an offset has only one byte. But does several offsets mean a function? Example: does 5 offests has function for a certain map area. And if adding a new feature,should i add a new offset?
Thanks again.

Why are you even asking? You aren't even making any hacks. It seems that you are posting just for the sake of talking...

Last edited by ShaneM (2013-12-17 20:46:30)


I'm back. I'll try not to get as frustrated with stupid questions. People on my naughty list:

*Pokemon_Master
*Noizy
*lipun
*Spambots

Offline

#8 2013-12-17 21:14:17

comet
Member
Registered: 2012-04-09
Post 336/679

Re: Adding more Map ?[Pokémon Silver]

Pokemon_Master wrote:

Ah,really thanks for telling me that an offset has only one byte. But does several offsets mean a function? Example: does 5 offests has function for a certain map area. And if adding a new feature,should i add a new offset?
Thanks again.

when someone says data longer than a byte is 'at' an address, they mean the data starts there and keeps going into later addresses.

offsets are just locations. there's a fixed number of them, so you don't add offsets. you put stuff there.

Offline

#9 2013-12-17 22:49:25

Pokemon_Master
Member
From: emuNAND
Registered: 2013-05-18
Post 698/948
Website

Re: Adding more Map ?[Pokémon Silver]

comet wrote:
Pokemon_Master wrote:

Ah,really thanks for telling me that an offset has only one byte. But does several offsets mean a function? Example: does 5 offests has function for a certain map area. And if adding a new feature,should i add a new offset?
Thanks again.

when someone says data longer than a byte is 'at' an address, they mean the data starts there and keeps going into later addresses.

offsets are just locations. there's a fixed number of them, so you don't add offsets. you put stuff there.

Thanks again. So when editing data i edit only the bytes that are in those offsets?

Offline

#10 2013-12-18 08:35:08

Miksy91
Member
Registered: 2010-10-16
Post 2,024/2,317

Re: Adding more Map ?[Pokémon Silver]

The rom data consists only of bytes - nothing more. So yes, when you're hacking/modifying rom data, you're obviously editing some bytes.

And what comet said there meant that in for example my tutorial here, I'm telling you to write a list of bytes starting at offset 0x13EE0. It means that the first byte goes to that offset, the second byte in the list to offset 0x13EE1 and so on.

Offline

#11 2013-12-18 16:31:38

Pokemon_Master
Member
From: emuNAND
Registered: 2013-05-18
Post 699/948
Website

Re: Adding more Map ?[Pokémon Silver]

Miksy91 wrote:

The rom data consists only of bytes - nothing more. So yes, when you're hacking/modifying rom data, you're obviously editing some bytes.

And what comet said there meant that in for example my tutorial here, I'm telling you to write a list of bytes starting at offset 0x13EE0. It means that the first byte goes to that offset, the second byte in the list to offset 0x13EE1 and so on.

Thank you too. So bytsr are in ROM Map,but what is ROM and RAM map ? I know that rom means read-only memory and ram random access memory,but what are rom and ram for pokemon games?

Last edited by Pokemon_Master (2013-12-18 16:33:18)

Offline

#12 2013-12-18 17:24:19

Miksy91
Member
Registered: 2010-10-16
Post 2,025/2,317

Re: Adding more Map ?[Pokémon Silver]

ROM contains all the code and data the game uses. During the gameplay, the game has to store all kinds of information somewhere and it uses RAM memory for that. So you could imagine it so that ROM is the game while RAM as memory is somewhat related to a save file - it contains information on what kinds of events you have gone through, where your position is in the map, where you are, coordinates and functionality of all people events on the map you are in, and so on.

ROM Map simply stands for mapping of the rom, and so it is documentation telling what kind of data is located and where. In a same way, RAM Map covers information, what kind of data is stored and where in ram memory.

Last edited by Miksy91 (2013-12-18 17:30:12)

Offline

#13 2013-12-19 02:24:48

Vitharix
Member
Registered: 2011-12-29
Post 366/396

Re: Adding more Map ?[Pokémon Silver]

Pokemon_Master wrote:
Miksy91 wrote:

The rom data consists only of bytes - nothing more. So yes, when you're hacking/modifying rom data, you're obviously editing some bytes.

And what comet said there meant that in for example my tutorial here, I'm telling you to write a list of bytes starting at offset 0x13EE0. It means that the first byte goes to that offset, the second byte in the list to offset 0x13EE1 and so on.

Thank you too. So bytsr are in ROM Map,but what is ROM and RAM map ? I know that rom means read-only memory and ram random access memory,but what are rom and ram for pokemon games?

In perhaps overly simplified terms, the ROM map is like an unofficial Table of Contents.

Offline

Board footer

Powered by FluxBB