The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.


Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #1    
Old December 10th, 2010, 02:34 PM
Lin
JohtoMap/ZOLE Creator
 
Join Date: Jul 2007
Nature: Adamant
Send a message via Windows Live Messenger to Lin
Note: This project is no longer active. You can get the source here: http://www.mediafire.com/?377o5521i20kqdz Feel free to make any modifications to it. You may not sell it or make any money off of it at all.

Hi there. Some of you may notice the unfinished Pokemon G/S level editor I released (JohtoMap), and I'm here to bring you a new editor for R/B. For the same reason as JohtoMap, ClassicMap is going to be made to make hacking these games much easier. As you guys know, no decent editor out there that can do all the things that AdvanceMap does exists.

So what is my goal? To create the best public Pokemon R/B level editor. I am posting it here unfinished because I want to include all realistic suggestions. Here's what I have so far:

-Map editing
-Event editing
-Wild Pokemon editing
-Displaying the town map
-Everything loading from the ROM (Includes town map marker graphics and all other game graphics used), which also includes Pokemon Names

I plan to have the following:

-Fly point editing
-Town map editing (The data IS compressed but it's weak)
-Map name editing (Although... Not as important as the rest of the stuff)
-Header editing, including data repointing
-Connection editing with straight-forward editing like AM has it, not JM

Some screenshots (As usual, not 100% up-to-date):

http://img24.imageshack.us/img24/5141/classicmap3.png
http://img262.imageshack.us/img262/3199/classicmap4.png

This project will be open-source, so if you know C# and there's no chance of me adding it, perhaps you could. Also, you'll notice this looks a lot like JohtoMap. I did actually copy the layout from JM, and even use bits of code from it. It uses the same icons, and everything to make ClassicMap look like JohtoMap.

One more thing: I've found all this data on my own. The only thing I haven't found on my own is the "Event Displacement" formula or the text table. This means I will fully understand data formats and can make it a lot easier to edit.

But that's it. Hopefully since other WIP projects are allowed, this one will be.

~Lin
__________________
Hiidoran is one of the most helpful people on here

Last edited by Lin; March 2nd, 2011 at 06:52 PM. Reason: Reporting dead.
Reply With Quote
  #2    
Old December 11th, 2010, 03:11 AM
miksy91's Avatar
miksy91
A GB/C Rom Hacker since 2010
 
Join Date: Oct 2008
Location: A small country in the North
Gender: Male
Nature: Relaxed
Looks pretty amazing indeed

Here are some suggestions:

You could add support for Yellow as well. The map header locations are different but I've made a complete list of them including the event data for some of them.
If you want, I can PM the list for ya.

You could also make it so that it displays the pokemon in "wild pokemon changer" -menu in alphabetical system instead of the way they're shown in the game.
And for wild pokemon menu, also include the location of start of the grass pokemon data so that it could be repointed easily.

"Map name editing (Although... Not as important as the rest of the stuff)"
I'd say, don't include that feature. It can be done so easily without any editor so if you can't do something as simple as that, you really shouldn't be hacking 1st gen in the first place. I myself had hard time learning how pointers worked and afterwards, how to change the locations of events in yellow.

By the way, where did you find the start of "town map events" data ?
I mean, the way you change the locations of different maps shown in town map.
__________________
My Rom Hack



Hacks I support





Learn how to hack GB/C games:

Check my GameBoy/Color hacking videos in Youtube
-The video set uses Pokemon Silver (U) rom for demonstrations
Reply With Quote
  #3    
Old December 11th, 2010, 08:12 AM
Link2999's Avatar
Link2999
Beginning Trainer
 
Join Date: Jan 2007
Age: 22
Gender: Male
Nature: Modest
Pretty cool. More or less Advanced Map for the GB games.
__________________
Reply With Quote
  #4    
Old December 11th, 2010, 12:12 PM
Lin
JohtoMap/ZOLE Creator
 
Join Date: Jul 2007
Nature: Adamant
Send a message via Windows Live Messenger to Lin
Quote:
Originally Posted by miksy91 View Post
Looks pretty amazing indeed :)

Here are some suggestions:

You could add support for Yellow as well. The map header locations are different but I've made a complete list of them including the event data for some of them.
If you want, I can PM the list for ya.

You could also make it so that it displays the pokemon in "wild pokemon changer" -menu in alphabetical system instead of the way they're shown in the game.
And for wild pokemon menu, also include the location of start of the grass pokemon data so that it could be repointed easily.

"Map name editing (Although... Not as important as the rest of the stuff)"
I'd say, don't include that feature. It can be done so easily without any editor so if you can't do something as simple as that, you really shouldn't be hacking 1st gen in the first place. I myself had hard time learning how pointers worked and afterwards, how to change the locations of events in yellow.

By the way, where did you find the start of "town map events" data ?
I mean, the way you change the locations of different maps shown in town map.
Thank you, the first bit of feedback I've actually received. I'll look into yellow support; it should be pretty easy to add. As for the wild Pokemon editor, it displays Pokemon how the Pokedex displays them. I can't really change it because the combobox and way things are displayed depends on a table in the ROM, which I use, so it'll have to be like that.

As for the town map data, it's very simple. I did a quick debug using BGB and found it. The maps the town map marker uses are at 0x70F11 (+ the selected spot). Next, the table for the X/Y locations and name pointer... Well, I'll just give you the code...

Code:
			int x = 0, y = 0;
			byte map = gb.ReadByte(0x70F11 + (int)nTownMap.Value);
			nMap.Value = map;
			int namePointer = 0;
			if (map <= 0x25)
			{
				gb.BufferLocation = 0x71313 + map * 3;
				byte location = gb.ReadByte();
				x = (location & 0xF) * 8 + 12;
				y = (location >> 4) * 8 + 4;
				namePointer = gb.ReadByte() + ((gb.ReadByte() - 0x40) * 0x100);
			}
			else
			{
				gb.BufferLocation = 0x71382;
				while (true)
				{
					if (gb.ReadByte() > map)
					{
						byte location = gb.ReadByte();
						x = (location & 0xF) * 8 + 12;
						y = (location >> 4) * 8 + 4;
						namePointer = gb.ReadByte() + ((gb.ReadByte() - 0x40) * 0x100);
						break;
					}
					else
						gb.BufferLocation += 3;
				}
			}
Anything looking like gb.ReadByte() + ((gb.ReadByte() - 0x40) * 0x100); means it's a traditional pointer. Hope it helps.
__________________
Hiidoran is one of the most helpful people on here
Reply With Quote
  #5    
Old December 12th, 2010, 07:36 AM
Platinum Lucario's Avatar
Platinum Lucario
The Legendary Master of Light!
Community Supporter
 
Join Date: Jan 2008
Location: Warrnambool, Victoria, Australia.
Age: 21
Gender: Male
Nature: Calm
Hm... seems to me like another map editor for the 1st generation games... oh wait, it is! At least I really do hope this map editor becomes better than Redmap, BluMap, and PokeMap. However, wouldn't it be a good idea to also add support for Pokémon Yellow as well (like what Miksy91 said)? Because those three sure do fit in the 1st generation saga. It can all be made into a map editor that would work very much like what AdvanceMap does. ;)

It could also be possible to add support for Pokémon Crystal in JohtoMap as well. ;)

Oh wait! I have another great idea! It could also feature a built in hex editor as well, so you can fix any problems with maps or even any routines that are used.
__________________
[Platinum Lucario's Signature]
Researching the NDS ROMs...

sure does feel like a brand new adventure!

I'm really looking forward to learning how to understand what the hex values mean and how to create programs using Microsoft Visual Studio!

Always focus on the present, best thing to do! Never look back into the past and never worry about anything bad of the future!
Reply With Quote
  #6    
Old December 12th, 2010, 04:17 PM
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by PokémonShinySilver View Post
It could also feature a built in hex editor as well, so you can fix any problems with maps or even any routines that are used.
...or you could just open your ROM in a separate hex editor. :\
__________________

Brother of Vrai
Reply With Quote
  #7    
Old December 13th, 2010, 03:45 PM
itari's Avatar
itari
Community Supporter
 
Join Date: Mar 2010
Location: 渦潮隠れの里
Age: 17
Gender: Female
Nature: Relaxed
This looks like a wonderful tool. But, with the town map editor, will you be able to edit the towns positions, or just the graphics?
__________________
Reply With Quote
  #8    
Old December 16th, 2010, 03:43 AM
UltraXTheMagmaDrapion's Avatar
UltraXTheMagmaDrapion
Dinosaurs~
 
Join Date: Jul 2008
Location: Somewhere in the shadows...
Gender: Male
Nature: Quirky
So where is the download link?
__________________
LOL 420 BLAZE KICK NUGGET
^ I wonder if anyone would get that...?

Ehem, sorry, I'm a little odd xD
Reply With Quote
  #9    
Old December 16th, 2010, 04:20 AM
sky_queen3's Avatar
sky_queen3
Minusle Fangirl. ;)
 
Join Date: Feb 2009
Location: Australia
Age: 24
Gender: Female
Nature: Naive
Looks like it's still being made. I want to have a play for fun. Being a tool user I'll never get past the playing stage but still it'll be nice. :D
__________________
Reply With Quote
  #10    
Old December 16th, 2010, 03:21 PM
Shiny Quagsire's Avatar
Shiny Quagsire
Unexpectedly Gone until Aug 13
 
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 16
Gender: Male
Nature: Jolly
Nice to see some C# tools. I program C# also, and I'm actually interested in a few pieces of code. As I don't really do Gen 1 and 2 hacking, I'm not even going to try to replicate this awesome WIP. In other words, I hope this gets finished.
__________________



Reply With Quote
  #11    
Old December 16th, 2010, 04:28 PM
diegoisawesome's Avatar
diegoisawesome
Not the Script Help Thread
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
You know what?
Instead of ClassicMap, you should name this KantoMap, since, like GSC's main region is Johto, RBY's main region is Kanto. In the future, people will be able to look back and say, "Oh, yeah, JohtoMap and KantoMap? They must be by the same author."
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Reply With Quote
  #12    
Old December 16th, 2010, 08:16 PM
Lin
JohtoMap/ZOLE Creator
 
Join Date: Jul 2007
Nature: Adamant
Send a message via Windows Live Messenger to Lin
Quote:
Originally Posted by diegoisawesome View Post
You know what?
Instead of ClassicMap, you should name this KantoMap, since, like GSC's main region is Johto, RBY's main region is Kanto. In the future, people will be able to look back and say, "Oh, yeah, JohtoMap and KantoMap? They must be by the same author."
:P The only reason JohtoMap is called JohtoMap is because I couldn't think of another name. I'll look into that though XD

Sorry for the lack of updates. I've been pretty busy in real life, but should resume work soon (In other words: When I stop being lazy). I have actually done some other stuff but haven't posted it yet. For example:



I still have to figure out how spritesets work. Also, the sprites in that image are not transparent but are in the final. Thanks for the support you guys.
__________________
Hiidoran is one of the most helpful people on here
Reply With Quote
  #13    
Old December 17th, 2010, 03:00 AM
sky_queen3's Avatar
sky_queen3
Minusle Fangirl. ;)
 
Join Date: Feb 2009
Location: Australia
Age: 24
Gender: Female
Nature: Naive
Metalmap? Or Gameboy Colour Map? :D What if we want certains colours like the how the gameboy has that effect, is that editable?
__________________
Reply With Quote
  #14    
Old December 19th, 2010, 01:12 AM
Lin
JohtoMap/ZOLE Creator
 
Join Date: Jul 2007
Nature: Adamant
Send a message via Windows Live Messenger to Lin
Meh... I hope I don't disappoint anyone here, but I may not finish this. It's extremely boring creating a map editor for a game that's been hacked and figured out to death. I'm probably going to release the source and the program as it is, hoping somebody else will finish it. It's pretty organized so I'm sure atleast SOMEBODY will be able to do it.
__________________
Hiidoran is one of the most helpful people on here
Reply With Quote
  #15    
Old February 13th, 2011, 07:16 PM
Pingouin_7
This account is now inactive
 
Join Date: Oct 2008
Age: 20
Gender: Male
Nature: Hardy
Quote:
Originally Posted by Lin View Post
It's extremely boring creating a map editor for a game that's been hacked and figured out to death.
But there's no map editor that lets us edit the whole game.
Pokemap doesn't even let us edit all of the wild Pokémon data.
Reply With Quote
  #16    
Old February 17th, 2011, 08:41 AM
tkallab's Avatar
tkallab
Should have been in Dissidia
 
Join Date: Jan 2008
Location: I'm on a horse
Age: 18
Gender: Male
Nature: Quiet
This tool is exactly what I've been looking for! Please continue creating it, you wonderful sir you.
Also, does this mean that this will be a scripting tool too, or only for mapping and changing the events, like AdvanceMap?
Reply With Quote
  #17    
Old February 17th, 2011, 04:58 PM
Pink Typholsion's Avatar
Pink Typholsion
When I step outside... ♥
 
Join Date: Feb 2011
Location: Nimbasa City, Unova
Age: 16
Gender: Male
Nature: Relaxed
where's the download link?
__________________

Meloetta
Master the Arts

OfficiallyClaimed:


Reply With Quote
  #18    
Old February 21st, 2011, 02:03 PM
Lin
JohtoMap/ZOLE Creator
 
Join Date: Jul 2007
Nature: Adamant
Send a message via Windows Live Messenger to Lin
Alright. I don't plan on picking this up as I've been too busy with ZOLE and want to hack other games, so here's the source. Just be sure to give me credit for everything that's already there if you plan on working on it.

http://www.mediafire.com/?377o5521i20kqdz
__________________
Hiidoran is one of the most helpful people on here
Reply With Quote
  #19    
Old February 21st, 2011, 06:24 PM
itari's Avatar
itari
Community Supporter
 
Join Date: Mar 2010
Location: 渦潮隠れの里
Age: 17
Gender: Female
Nature: Relaxed
Quote:
Originally Posted by Lin View Post
Alright. I don't plan on picking this up as I've been too busy with ZOLE and want to hack other games, so here's the source. Just be sure to give me credit for everything that's already there if you plan on working on it.

http://www.mediafire.com/?377o5521i20kqdz
Had a peek through the code, and all I have to say is... Amazing work!

It is a shame to see such an awesome project given up on.
__________________
Reply With Quote
  #20    
Old February 26th, 2011, 04:10 AM
tkallab's Avatar
tkallab
Should have been in Dissidia
 
Join Date: Jan 2008
Location: I'm on a horse
Age: 18
Gender: Male
Nature: Quiet
Darn, just when I was hoping this would be completed soon... Truly a shame you're giving up on this :/
Reply With Quote
  #21    
Old March 1st, 2011, 10:18 AM
kringlur's Avatar
kringlur
Velkominn í heim POKéMON!
 
Join Date: Feb 2011
Location: Uppsala, Sweden
Age: 22
Gender: Male
Nature: Hasty
I would pay for a completed version of this. I really hope someone picks it up.
Reply With Quote
  #22    
Old March 3rd, 2011, 05:43 PM
Pingouin_7
This account is now inactive
 
Join Date: Oct 2008
Age: 20
Gender: Male
Nature: Hardy
That, and it completely ruins my chances of ever finishing that small Blue hack I wanted to do.
Pokémap doesn't even have wild Pokémon data for all of the locations I want to edit.
Reply With Quote
  #23    
Old March 3rd, 2011, 06:48 PM
kringlur's Avatar
kringlur
Velkominn í heim POKéMON!
 
Join Date: Feb 2011
Location: Uppsala, Sweden
Age: 22
Gender: Male
Nature: Hasty
Does anyone know how it could be edited so that it works with Yellow too, as-is? I'd be wiling to input all the numbers for trainers and maps etc. except I have no clue what I'd be doing...

This would be super, super useful for Yellow even if it's never finished.

Quick question, is Red on any map? I want to change which sprite he has, except I can't find him in the first place.

Not sure if this is a bug or if I'm using the program wrong, but when I edit the overworld sprite image for a person (ex. the fat guy below Oak's lab that talks about how technology these days is great), if the person is one that moves, the sprite image changes every few steps to random sprites. If I change Ash's mom's sprite, hers changes correctly and never changes to another sprite, because she never moves/walks.

Last edited by kringlur; March 3rd, 2011 at 07:18 PM. Reason: Your double post has been automatically merged.
Reply With Quote
  #24    
Old March 4th, 2011, 11:03 PM
Lin
JohtoMap/ZOLE Creator
 
Join Date: Jul 2007
Nature: Adamant
Send a message via Windows Live Messenger to Lin
Quote:
Originally Posted by kringlur View Post
Does anyone know how it could be edited so that it works with Yellow too, as-is? I'd be wiling to input all the numbers for trainers and maps etc. except I have no clue what I'd be doing...

This would be super, super useful for Yellow even if it's never finished.

Quick question, is Red on any map? I want to change which sprite he has, except I can't find him in the first place.

Not sure if this is a bug or if I'm using the program wrong, but when I edit the overworld sprite image for a person (ex. the fat guy below Oak's lab that talks about how technology these days is great), if the person is one that moves, the sprite image changes every few steps to random sprites. If I change Ash's mom's sprite, hers changes correctly and never changes to another sprite, because she never moves/walks.
Really not sure of the cause of the bug. Yellow would just be a header check upon loading the ROM, storing what game it is, and then comparing games when it comes to using addresses. If you knew exactly where everything in Yellow was in terms where Red/Blue's data was stored, adding Yellow support would take at most like 5 minutes. As for that bug, I can't figure out what would cause it (let alone recreate it). Maybe someone else could.
__________________
Hiidoran is one of the most helpful people on here
Reply With Quote
  #25    
Old March 5th, 2011, 09:59 AM
ggctuk's Avatar
ggctuk
 
Join Date: Aug 2007
Gender:
Red is not available since it's hardcoded where he starts, which map, and which position he's in.
__________________
GGCTUK's Friend Codes:
Black2: 2709-9620-1025
3DS Friend code: 4167-4906-2984
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 04:54 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.