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

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old August 27th, 2007 (2:48 AM). Edited April 15th, 2010 by Spherical Ice.
Christos's Avatar
Christos Christos is offline
  • Moderator
  • Battle Server Staff
  • Platinum Tier
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,403
Advanced Palette Editing Tutorial

Requirements:
  • VisualBoy Advance
  • A Hex Editor
  • Notepad
  • Your ROM
  • A-Colour



First, open your ROM with VBA and go to the place where there's something you want to change its colors. Then go to Tools -> Map Viewer.



There's 4 backgrounds, 0, 1, 2 and 3. The textbox is in BG0. Choose the colors you want to edit from the textbox and write its RGB down in notepad.
We want to edit the blue colors from the textbox, in notepad we should have:
19 25 31 and 15 23 28

Now go back, and go to Tools -> Palette Viewer.
Look at all the blue colors until you find two blue ones that their RGB numbers match with the ones from the textbox.



The blue colors of the textbox are there, so we'll have to search for the whole palette in the hex editor (the one in the red circle). If you just search for the two colors, you may edit something else.

The blue color's value that's selected in this picture is "7F33". To search for the palette in the hex editor, you have to write down the values of all the colors in the palette. But to work, you have to flip the first two digits with the last two digits of each value. For example, "7F33" should be "337F".

When you finish writing all the values down and flipping the first two digits with the last two digits you should have:
000029251F00E003007CFF03E07F1F7C5A67000000009C77FF7F337FEF72FF7F

Now, open your ROM in a hex editor, and search for that as a "hex string".



The hex editor finds the string at offset "1E66B0". Go to "337F" and "EF72", edit them and save. Now you'll need A-Color, find a picture with the colors you want to use, open it in Paint, and choose the colors with the colorpicker. Then go to Colors -> Edit Colors and you'll find the color's RGB numbers.



Now open A-Color, put the RGB numbers and select "Give Me My Color!".



Now, flip the first two digits with the last two of the Hex Value, and replace the textbox's blue colors in the hex editor with the two new orange ones.
At the offset "1E66B0", find the two blue colors ("337F" and "EF72") and replace them with "5F13" and "1F2F", the hex values of the two orange colors. Then save. Now open the ROM with VBA.

__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
Reply With Quote

Relevant Advertising!

  #2    
Old August 27th, 2007 (4:46 AM).
BlackRainbow*'s Avatar
BlackRainbow* BlackRainbow* is offline
Pokemon Coralo Version ?
     
    Join Date: Oct 2006
    Location: Yiushu
    Gender:
    Nature: Bold
    Posts: 518
    Nice new tutorial...Really good for hackers who don't know pal. changing
    __________________
    Pokemon Coralo Version...New Pokemon Petal.
    Shyrika Region
    Reply With Quote
      #3    
    Old August 27th, 2007 (5:24 AM).
    Green Charizard's Avatar
    Green Charizard Green Charizard is offline
    pɹɐzıɹɐɥɔ uǝǝɹƃ
       
      Join Date: Nov 2004
      Location: the UK
      Gender:
      Nature: Quiet
      Posts: 253
      Well done Christos, err, Semele I mean... Nice and simple, it'll help alot of people who can't get their head 'round this.
      __________________
      Ex-rom hacker, too attached to his childhood to leave.
      Reply With Quote
        #4    
      Old August 27th, 2007 (5:29 AM).
      D-Trogh's Avatar
      D-Trogh D-Trogh is offline
      Dead
         
        Join Date: Jul 2005
        Location: Belgium
        Age: 26
        Gender: Male
        Posts: 439
        Pretty basic.. Anyway, I think newbies will more likely use APE now :-\
        __________________
        [NTME | WPEDS | HTPE | SGPE | TGPE | PDEDS]
        Reply With Quote
          #5    
        Old August 27th, 2007 (4:05 PM). Edited July 19th, 2008 by SerenadeDS.
        SerenadeDS's Avatar
        SerenadeDS SerenadeDS is offline
        Trainer
           
          Join Date: Feb 2007
          Posts: 283
          Good tutorial Christos. APE is much easier to use however.
          Reply With Quote
            #6    
          Old August 27th, 2007 (4:06 PM).
          Ooka's Avatar
          Ooka Ooka is offline
          <3
          • Crystal Tier
           
          Join Date: Aug 2007
          Location: Challenging The E4
          Age: 25
          Gender: Male
          Nature: Relaxed
          Posts: 2,613
          Well isn't this the same thing as the Palette editing in Zel's tutorial, and if not can't it still be done his way?
          __________________
          Hi
          Reply With Quote
            #7    
          Old August 27th, 2007 (10:01 PM).
          Christos's Avatar
          Christos Christos is offline
          • Moderator
          • Battle Server Staff
          • Platinum Tier
           
          Join Date: Feb 2006
          Gender: Male
          Nature: Serious
          Posts: 6,403
          The way is the same as zel's but there's a few things zel's tutorial doesn't have.

          And I'll try and make two ways to continue the tutorial after you get in the middle, continue with a hex editor, or use APE.
          __________________

          A Pokemon that is discriminated!
          Support squirtle and make it everyone's favourite.
          Reply With Quote
            #8    
          Old August 27th, 2007 (10:06 PM).
          Ooka's Avatar
          Ooka Ooka is offline
          <3
          • Crystal Tier
           
          Join Date: Aug 2007
          Location: Challenging The E4
          Age: 25
          Gender: Male
          Nature: Relaxed
          Posts: 2,613
          Well, I like that you made this but to my knowledge, can't you edit all the palettes in the game with just the VBA and a hex editor. They have both worked for everything that I have palette edited.
          __________________
          Hi
          Reply With Quote
            #9    
          Old August 27th, 2007 (10:11 PM).
          Christos's Avatar
          Christos Christos is offline
          • Moderator
          • Battle Server Staff
          • Platinum Tier
           
          Join Date: Feb 2006
          Gender: Male
          Nature: Serious
          Posts: 6,403
          What do you mean? With a hex editor, you can edit any palette, APE's difference is that you can see what the colors are too.
          __________________

          A Pokemon that is discriminated!
          Support squirtle and make it everyone's favourite.
          Reply With Quote
            #10    
          Old August 28th, 2007 (2:57 AM).
          Kasekopf Kasekopf is offline
             
            Join Date: Aug 2007
            Gender:
            Posts: 17
            Thanks for the tutorial, I've been having trouble with my palette editing. I only have one question:

            What are the offsets of the Palettes for the empty tile palettes in Advance Map? (In the AM block editor, palettes 13, 14, and 15)

            The game is Pokemon FireRed. Thanks!
            Reply With Quote
              #11    
            Old August 28th, 2007 (10:41 AM).
            Dr.Razor's Avatar
            Dr.Razor Dr.Razor is offline
            Yellow Remaker
               
              Join Date: Aug 2007
              Location: Switzerland
              Posts: 101
              I've got the same question.
              What are the offset of all tile palette in AM?
              For Fire Red.
              Thank you.
              Reply With Quote
                #12    
              Old August 28th, 2007 (12:30 PM).
              cooley's Avatar
              cooley cooley is offline
              ///Keepin' it simple
              • Silver Tier
               
              Join Date: Feb 2007
              Location: United States
              Age: 22
              Gender: Male
              Nature: Impish
              Posts: 1,150
              Where do you get A-color, and is Color-2-hex the same?
              Thanks.
              __________________

              Reply With Quote
                #13    
              Old August 29th, 2007 (7:07 AM).
              Christos's Avatar
              Christos Christos is offline
              • Moderator
              • Battle Server Staff
              • Platinum Tier
               
              Join Date: Feb 2006
              Gender: Male
              Nature: Serious
              Posts: 6,403
              I've uploaded A-Color, the link is in the first post.
              __________________

              A Pokemon that is discriminated!
              Support squirtle and make it everyone's favourite.
              Reply With Quote
                #14    
              Old August 29th, 2007 (8:31 AM).
              cooley's Avatar
              cooley cooley is offline
              ///Keepin' it simple
              • Silver Tier
               
              Join Date: Feb 2007
              Location: United States
              Age: 22
              Gender: Male
              Nature: Impish
              Posts: 1,150
              Do you know why When I try to change the Tree Colors in Pokémon FireRed to a Pokémon Diamond Tree Color, It always changes Red,yellow and very Light Green. I have the Correct colors and their offsets if it helps:

              0000 F747 5033 471A 6709 - The Colors I want to change
              0000 F747 5033 471A 6709 8E31 E818 1F7C 715F 1F3B 1D36 D820 9463 2E53 C846 8336 - The whole Color palette.

              I want to Over Write the Green Colors with these colors:
              4315 36B1 260B 2987 2147 - But I don't know if I could add Palettes(By the way those colors are From Zel's Tree Tiles, I am not going to use his Tree Tile Just the Color).

              Thanks for uploading A-Color.
              __________________

              Reply With Quote
                #15    
              Old August 29th, 2007 (11:13 AM).
              Christos's Avatar
              Christos Christos is offline
              • Moderator
              • Battle Server Staff
              • Platinum Tier
               
              Join Date: Feb 2006
              Gender: Male
              Nature: Serious
              Posts: 6,403
              It should work, but editing the first color of the palette won't do anything.
              __________________

              A Pokemon that is discriminated!
              Support squirtle and make it everyone's favourite.
              Reply With Quote
                #16    
              Old October 27th, 2007 (6:32 AM).
              Dr.Razor's Avatar
              Dr.Razor Dr.Razor is offline
              Yellow Remaker
                 
                Join Date: Aug 2007
                Location: Switzerland
                Posts: 101
                Where can i downlaod A-color?
                Reply With Quote
                  #17    
                Old October 27th, 2007 (7:15 AM).
                mithsu mithsu is offline
                   
                  Join Date: Jul 2007
                  Gender:
                  Nature: Adamant
                  Posts: 18
                  Nice tut, i really can use this!
                  __________________
                  Papier's PokePet

                  Mithsu the level 87 Turtwig!
                  Reply With Quote
                    #18    
                  Old October 31st, 2007 (11:38 PM).
                  Tré's Avatar
                  Tré Tré is offline
                  Raised by the bastards of 1969
                     
                    Join Date: Oct 2007
                    Location: My town was blind from refinery sun
                    Gender: Male
                    Nature: Quiet
                    Posts: 1,591
                    nice tutorial
                    it really helped
                    me thanx again..
                    __________________
                    Reply With Quote
                      #19    
                    Old November 8th, 2007 (3:40 PM).
                    yayzombie yayzombie is offline
                       
                      Join Date: Sep 2007
                      Gender:
                      Posts: 1
                      Where can I find a-colour? Your last link to wikiupload didn't work.
                      Reply With Quote
                        #20    
                      Old November 17th, 2007 (4:40 AM).
                      .hack's Avatar
                      .hack .hack is offline
                      skunkape
                         
                        Join Date: Oct 2007
                        Location: London, England
                        Age: 22
                        Gender: Male
                        Nature: Naughty
                        Posts: 549
                        i guess it helps some people but i just dont see the point in changing the colour around the text
                        Reply With Quote
                          #21    
                        Old November 27th, 2007 (5:20 PM).
                        xin1 xin1 is offline
                           
                          Join Date: Nov 2007
                          Posts: 2
                          what is advance-color... i have APE?
                          Reply With Quote
                            #22    
                          Old December 4th, 2007 (7:19 PM).
                          axlefoley's Avatar
                          axlefoley axlefoley is offline
                             
                            Join Date: Sep 2004
                            Age: 28
                            Gender:
                            Posts: 244
                            I would also like to know where one can get a copy of the program
                            __________________



                            Click here to feed Herman a Rare Candy!
                            Click here to feed Horrace a Rare Candy!
                            Get your own at Pokeplushies!
                            Reply With Quote
                              #23    
                            Old December 8th, 2007 (12:42 PM).
                            DarkFear's Avatar
                            DarkFear DarkFear is offline
                            I will ^^
                               
                              Join Date: Nov 2005
                              Location: NZ
                              Age: 23
                              Nature: Relaxed
                              Posts: 210
                              Hmmm... if you change just that scene, will it have effects on all the textboxes? (I don't understand that part, but everything else is great Christos!)
                              Reply With Quote
                                #24    
                              Old December 8th, 2007 (6:02 PM).
                              cooley's Avatar
                              cooley cooley is offline
                              ///Keepin' it simple
                              • Silver Tier
                               
                              Join Date: Feb 2007
                              Location: United States
                              Age: 22
                              Gender: Male
                              Nature: Impish
                              Posts: 1,150
                              To download it, Click on the Word "A-color" in the requirements.
                              __________________

                              Reply With Quote
                                #25    
                              Old December 8th, 2007 (6:06 PM).
                              DarkFear's Avatar
                              DarkFear DarkFear is offline
                              I will ^^
                                 
                                Join Date: Nov 2005
                                Location: NZ
                                Age: 23
                                Nature: Relaxed
                                Posts: 210
                                Nope that link doesn't work.
                                Reply With Quote
                                Reply

                                Quick Reply

                                Join the conversation!

                                Create an account to post a reply in this thread, participate in other discussions, and more!

                                Create a PokéCommunity Account

                                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 1:40 PM.