|
Post by Harrison on Jul 26, 2010 11:09:40 GMT -5
This was fun This program allows you to easily edit the map that appears on the Pokégear and Town Maps in games Gold, Silver, and Crystal. It allows editing of both Johto and Kanto maps. This program is able to be compiled on any OS that can run Lazarus. Included is the Windows executable, for any other OS you will have to compile it yourself. The source is included in the zip. How to UseIt's fairly simple to use. On the right of the screen is your tileset box, which shows you the tiles you can use. Click the tile you want, and you're ready to start editing in the left box. You can also use your mousewheel to scroll through the tiles, or right click a tile on the map to select it for drawing. Screenshots Prism Brown (remade) Download LinkClick here to download.Version History7/27/10: + Importing and Exporting of maps + Mode 2, allowing editing where each place appears on the map + Included several blank maps to show functionality of importing and exporting 7/26/10: Initial release. NotesUnfortunately, I don't yet know enough to make this load the tileset from ROM. Instead, it's loading it from tileset.bmp. Maybe eventually I'll make it load from ROM, but until then, the current setup works fine.
|
|
|
Post by Mateo on Jul 26, 2010 11:37:15 GMT -5
Looks nice. I'm assuming it doesn't yet have the ability to edit where the locations show up on the map though?
|
|
|
Post by Tauwasser on Jul 26, 2010 11:45:21 GMT -5
Does it load the tileset from the rom itself? Might be worthwhile considering many people edit the tileset for custom region names etc.
cYa,
Tauwasser
|
|
|
Post by Harrison on Jul 26, 2010 11:49:09 GMT -5
Looks nice. I'm assuming it doesn't yet have the ability to edit where the locations show up on the map though? No, I honestly hadn't thought of that. That's actually a really good idea though, and I don't think it'd be too hard to implement. I seem to remember the place where I saw what bytes were used to determine where it appeared, but I can't. I seem to remember it being a part of the mapheaders, but it isn't from what I can tell. Does it load the tileset from the rom itself? Might be worthwhile considering many people edit the tileset for custom region names etc. cYa, Tauwasser No, I don't know enough to do that yet. I do have the tileset location ($F8C94 G/S, $F8BA2 C). Right now though they could just extract the tileset and replace tileset.bmp with it.
|
|
|
Post by Miksy91 on Jul 26, 2010 12:39:15 GMT -5
I think IImarcus just wrote a comment of editing the map headers and in a part of it, you could edit where the areas are shown in the map. Anyway, awesome tool. Really
|
|
|
Post by Mateo on Jul 26, 2010 13:50:47 GMT -5
The map headers just show which map name they belong to, such as New Bark Town, etc. As for the locations on the map, they are stored separately.
x92386 = Cursor/map name data! Format: Xloc, yloc, Name pointer [2 bytes] That will be for Gold, probably Silver too. Crystal is likely to be different but you can find it pretty easily once you know what you're looking for.
|
|
|
Post by Harrison on Jul 26, 2010 14:27:52 GMT -5
Working on this now.
|
|
Melash
Camper
Pokemon Hacker
Posts: 52
|
Post by Melash on Jul 26, 2010 16:05:30 GMT -5
Ah, changing the locations on the map should come in really handy. It always took a while to do and was really annoying, especially when you got it off by a tiny bit.
If you could figure out how to make it read the tileset from the ROM, it would be helpful. Not necessarily required though.
|
|
|
Post by Mateo on Jul 26, 2010 16:20:54 GMT -5
Also, I think the ability to save and load the map as an external file could be useful, especially if you end up re-doing one of your hacks and want to copy it over without manually re-drawing it, or if you have multiple hacks with the same region.
|
|
|
Post by Harrison on Jul 26, 2010 17:15:32 GMT -5
Alright, what do you all think of this? Ignore my debug box, it's showing wrong coordinates. Mode 1 is normal drawing mode, and Mode 2 is map position mode. In Mode 2, all you'll have to do is click and the map position gets moved. Since you all know, where exactly do the X and Y coordinates point for the map position? Is it the center, or the top left corner? I had to use an awkward equation to get it to draw the marker in the right position. The export and import map is a good idea. Shouldn't be too hard either.
|
|
|
Post by Masterge77 on Jul 26, 2010 18:36:17 GMT -5
Needed one of these for a long time, thanks!
|
|
|
Post by Luigi-San on Jul 26, 2010 19:07:38 GMT -5
I LOVE YOU
Downloading this now.
|
|
Melash
Camper
Pokemon Hacker
Posts: 52
|
Post by Melash on Jul 26, 2010 19:12:43 GMT -5
The location features should come in VERY handy. Doing that is time consuming. Does it read the location list from the ROM?
|
|
|
Post by Harrison on Jul 26, 2010 19:26:20 GMT -5
It does, so it will work correctly even with modified ROMs.
One thing is, once you get into the Kanto side you'll have to change the map manually. I could make the program change it, but then there'd be problems with modified roms if they make more locations on one map. So it'll be a "bug" that stays.
Working on exporting now. All it's going to be is a 360 byte file of the map data.
I really didn't expect this to be so popular suddenly. I just found the offsets when I was going through old messages on here and found them in a list from Melash, and decided to make it.
|
|
Melash
Camper
Pokemon Hacker
Posts: 52
|
Post by Melash on Jul 26, 2010 21:15:05 GMT -5
It does, so it will work correctly even with modified ROMs. One thing is, once you get into the Kanto side you'll have to change the map manually. I could make the program change it, but then there'd be problems with modified roms if they make more locations on one map. So it'll be a "bug" that stays. Working on exporting now. All it's going to be is a 360 byte file of the map data. I really didn't expect this to be so popular suddenly. I just found the offsets when I was going through old messages on here and found them in a list from Melash, and decided to make it. I'm glad it reads it from the ROM, that should be helpful. As for it being popular, it's always been something I've wanted for quite some time, editing by hex was time consuming and really annoying, this program makes it much easier.
|
|