The PokéCommunity Forums Fan Games ROM Hacking Tools, Tutorials & Resources
Tool [WIP] ClassicMap - A Pokemon Red/Blue Level Editor

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.

Reply
 
Thread Tools
  #1    
Old December 10th, 2010 (2:34 PM). Edited March 2nd, 2011 by Lin.
Lin Lin is offline
JohtoMap/ZOLE Creator
     
    Join Date: Jul 2007
    Nature: Adamant
    Posts: 51
    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
    Reply With Quote

    Relevant Advertising!

      #2    
    Old December 11th, 2010 (3:11 AM).
    miksy91's Avatar
    miksy91 miksy91 is offline
    Dark Energy is back in action! ;)
       
      Join Date: Oct 2008
      Location: A small country in the North
      Gender: Male
      Nature: Relaxed
      Posts: 1,435
      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



      Fixing bugs in a ROM hack
      CP of encountered pokemon in GO

      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 (8:12 AM).
      Link2999's Avatar
      Link2999 Link2999 is offline
         
        Join Date: Jan 2007
        Age: 25
        Gender: Male
        Nature: Modest
        Posts: 45
        Pretty cool. More or less Advanced Map for the GB games.
        __________________
        Reply With Quote
          #4    
        Old December 11th, 2010 (12:12 PM).
        Lin Lin is offline
        JohtoMap/ZOLE Creator
           
          Join Date: Jul 2007
          Nature: Adamant
          Posts: 51
          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 (7:36 AM).
          Platinum Lucario's Avatar
          Platinum Lucario Platinum Lucario is offline
          The Legendary Master of Light!
          • Crystal Tier
           
          Join Date: Jan 2008
          Location: Warrnambool, Victoria, Australia.
          Gender: Male
          Nature: Calm
          Posts: 1,561
          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]
          If you need to disable my signature, please give me some advice on how to improve the CSS-DIV code. Thanks!
          Signature Status: Strikes: 1/3 | Infractions: 0/3
          It's time to change the future...
          to a positive direction!

          Let's prevent things from getting bad!

          I'm a ROM and ISO Researcher
          Current Project: Researching Pokémon Mystery Dungeon Adventure Squad games (WiiWare)
          Reply With Quote
            #6    
          Old December 12th, 2010 (4:17 PM).
          colcolstyles's Avatar
          colcolstyles colcolstyles is offline
          Yours truly
          • Crystal Tier
           
          Join Date: May 2008
          Location: The Bay Area
          Gender: Male
          Nature: Lonely
          Posts: 1,584
          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 (3:45 PM).
          esperance's Avatar
          esperance esperance is offline
          • Moderator
          • Platinum Tier
           
          Join Date: Mar 2010
          Location: Ohio
          Age: 20
          Gender: Male
          Nature: Relaxed
          Posts: 3,805
          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?
          __________________

          A Pokemon that is discriminated!
          Support squirtle and make it everyone's favourite.
          Reply With Quote
            #8    
          Old December 16th, 2010 (3:43 AM).
          UltraXTheMagmaDrapion's Avatar
          UltraXTheMagmaDrapion UltraXTheMagmaDrapion is offline
          I regret most of my behavior here when I was younger lol.
             
            Join Date: Jul 2008
            Location: Somewhere in the shadows...
            Gender: Male
            Nature: Quirky
            Posts: 101
            So where is the download link?
            __________________
            [Awesome Pokemon-Related Signature]
            Reply With Quote
              #9    
            Old December 16th, 2010 (4:20 AM).
            sky_queen3's Avatar
            sky_queen3 sky_queen3 is offline
            Mimikyu is cute :3
               
              Join Date: Feb 2009
              Location: Australia
              Age: 27
              Gender: Female
              Nature: Naive
              Posts: 263
              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
              __________________
              Mimic me, mimic you
              Reply With Quote
                #10    
              Old December 16th, 2010 (3:21 PM).
              Shiny Quagsire's Avatar
              Shiny Quagsire Shiny Quagsire is offline
              I'm Still Alive, Elsewhere
                 
                Join Date: May 2009
                Location: Hoenn Safari Zone
                Age: 19
                Gender: Male
                Nature: Jolly
                Posts: 700
                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 (4:28 PM).
                Diegoisawesome's Avatar
                Diegoisawesome Diegoisawesome is offline
                Oh god the bees
                • Silver Tier
                 
                Join Date: Dec 2007
                Location: :noitacoL
                Age: 20
                Gender: Male
                Nature: Naive
                Posts: 1,032
                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
                Diego's Miscellaneous Patches
                GBA Intro Manager
                The Secret Sauce: Triple-Layer Tiles
                Reply With Quote
                  #12    
                Old December 16th, 2010 (8:16 PM).
                Lin Lin is offline
                JohtoMap/ZOLE Creator
                   
                  Join Date: Jul 2007
                  Nature: Adamant
                  Posts: 51
                  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 (3:00 AM).
                  sky_queen3's Avatar
                  sky_queen3 sky_queen3 is offline
                  Mimikyu is cute :3
                     
                    Join Date: Feb 2009
                    Location: Australia
                    Age: 27
                    Gender: Female
                    Nature: Naive
                    Posts: 263
                    Metalmap? Or Gameboy Colour Map? :D What if we want certains colours like the how the gameboy has that effect, is that editable?
                    __________________
                    Mimic me, mimic you
                    Reply With Quote
                      #14    
                    Old December 19th, 2010 (1:12 AM).
                    Lin Lin is offline
                    JohtoMap/ZOLE Creator
                       
                      Join Date: Jul 2007
                      Nature: Adamant
                      Posts: 51
                      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 (7:16 PM).
                      Pingouin_7 Pingouin_7 is offline
                      This account is now inactive
                         
                        Join Date: Oct 2008
                        Age: 23
                        Posts: 244
                        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 (8:41 AM).
                        tkallab's Avatar
                        tkallab tkallab is offline
                        Should have been in Dissidia
                           
                          Join Date: Jan 2008
                          Location: I'm on a horse
                          Age: 20
                          Gender: Male
                          Nature: Quiet
                          Posts: 1,029
                          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 (4:58 PM).
                          Pink Typholsion's Avatar
                          Pink Typholsion Pink Typholsion is offline
                             
                            Join Date: Feb 2011
                            Location: Nimbasa City, Unova
                            Age: 19
                            Gender: Male
                            Nature: Relaxed
                            Posts: 278
                            where's the download link?
                            __________________


                            GO for it.
                            Reply With Quote
                              #18    
                            Old February 21st, 2011 (2:03 PM).
                            Lin Lin is offline
                            JohtoMap/ZOLE Creator
                               
                              Join Date: Jul 2007
                              Nature: Adamant
                              Posts: 51
                              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 (6:24 PM).
                              esperance's Avatar
                              esperance esperance is offline
                              • Moderator
                              • Platinum Tier
                               
                              Join Date: Mar 2010
                              Location: Ohio
                              Age: 20
                              Gender: Male
                              Nature: Relaxed
                              Posts: 3,805
                              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.
                              __________________

                              A Pokemon that is discriminated!
                              Support squirtle and make it everyone's favourite.
                              Reply With Quote
                                #20    
                              Old February 26th, 2011 (4:10 AM).
                              tkallab's Avatar
                              tkallab tkallab is offline
                              Should have been in Dissidia
                                 
                                Join Date: Jan 2008
                                Location: I'm on a horse
                                Age: 20
                                Gender: Male
                                Nature: Quiet
                                Posts: 1,029
                                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 kringlur is offline
                                Velkominn í heim POKéMON!
                                   
                                  Join Date: Feb 2011
                                  Location: Uppsala, Sweden
                                  Age: 25
                                  Gender: Male
                                  Nature: Hasty
                                  Posts: 90
                                  I would pay for a completed version of this. I really hope someone picks it up.
                                  Reply With Quote
                                    #22    
                                  Old March 3rd, 2011 (5:43 PM).
                                  Pingouin_7 Pingouin_7 is offline
                                  This account is now inactive
                                     
                                    Join Date: Oct 2008
                                    Age: 23
                                    Posts: 244
                                    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 (6:48 PM). Edited March 3rd, 2011 by kringlur.
                                    kringlur's Avatar
                                    kringlur kringlur is offline
                                    Velkominn í heim POKéMON!
                                       
                                      Join Date: Feb 2011
                                      Location: Uppsala, Sweden
                                      Age: 25
                                      Gender: Male
                                      Nature: Hasty
                                      Posts: 90
                                      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.
                                      Reply With Quote
                                        #24    
                                      Old March 4th, 2011 (11:03 PM).
                                      Lin Lin is offline
                                      JohtoMap/ZOLE Creator
                                         
                                        Join Date: Jul 2007
                                        Nature: Adamant
                                        Posts: 51
                                        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 (9:59 AM).
                                        ggctuk's Avatar
                                        ggctuk ggctuk is offline
                                           
                                          Join Date: Aug 2007
                                          Gender:
                                          Posts: 272
                                          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

                                          Forum Jump


                                          All times are GMT -8. The time now is 2:53 PM.