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

Reply
 
Thread Tools
  #1    
Old July 26th, 2009 (1:37 PM). Edited April 15th, 2010 by Logan.
Xatoku's Avatar
Xatoku Xatoku is offline
Game Developer
     
    Join Date: Feb 2009
    Location: Canada
    Gender: Male
    Posts: 451
    Hey PC!

    I am going to be making a few tutorials about editing the Big Intro Sprites!
    Hopefully you will understand throughout the tutorial but if you have any questions, just post them in a reply below :D.

    Things You Will Need:
    FSF - HackMew's Tool Factory
    VBA - Google
    Fire Red Rom - Google
    unLZ - HackMew's Tool Factory
    APE - HackMew's Tool Factory
    Irfanview - Google
    Paint - Comes with Windows
    Calculator - Comes with Windows
    NotePad - Comes With Windows

    Let's Get Started (MALE HERO)
    Spoiler:
    Alright first thing's first.

    -Okay, first of all, save the sprite you want as a .png.
    -Next, open your sprite in Irfanview.
    -Click Image>Decrease Colour Depth>16 Colours.
    -Next, click Image>Palette>Edit Palette and make it so that the first colour is the transparent colour, if it isn't then switch it with the colour in it's place, don't worry if the image messes up.
    -Now save the image as a .png with a different name then the original.
    Spoiler:

    Spoiler:


    -Now open 2 Paint windows.
    -Open your old sprite of your Hero, and the one we just edited within Irfanview.
    -Copy the Old Sprite and paste it onto the new one edited through Irfanview.
    -Now the sprite should look fine.
    -Save the image and close Paint.
    Spoiler:


    -Open Photoshop and open your new indexed image.
    -Click Image>Mode>Colour Table and then click save and save the palette as a .act file.
    Spoiler:



    -Now open APE.
    -Bookmark these 2 offsets.
    >0046161C - Hero Sprite 1
    >004615FC - Hero Sprite 2
    Spoiler:


    -Once bookmarked, go to Hero Palette 1.
    -On the 2nd Colour Table below the first one, click the Import Palette button and chose the .act palette we just saved in Photoshop.
    -Once imported, change the first colour to your transparent colour for your image, mine being FF7F(White).
    -Then click replace.
    Spoiler:


    -Now load Hero Sprite 2's palette offset and export it.


    -Once exported, import it on the 2nd Colour Table under the first.
    -After you've imported it, click the first colour and make it the same transparent colour as in the first palette. Once again, FF7F(White) for me.
    Spoiler:


    -Now open your rom in VBA.
    -Make a new game and wait until you can see Red's Big Sprite.
    -Once there, click Tools>Palette Viewer>Save .bg and save it as a .act file.
    Spoiler:


    -Now open unLZ.
    -Open your rom and then click 256 Colours + Black & White.
    -Got to #340 and Red should be around there. For me he's on #341 but it may differ for you.
    -Use the Minus(-) and Plus(+) Buttons to make the sprite look proper.
    -Once that's all set click Save As and save it as a .png file.
    Spoiler:


    -Now open the image you just exported in Photoshop.
    -Click Image>Mode>Colour Table and load the .bg .act file you saved through the Palette Viewer in VBA.
    -Once that's done, click the first colour and make sure that it's the transparent colour of your sprite.
    -Now paste your sprite we edited earlier through Irfanview onto the Red sprite, the colours may have some wierd dots but they should be generally the same.
    -Now fix up your sprite and save.
    Spoiler:

    Spoiler:


    -Go back into unLZ at Red's #.
    -Uncheck Black & White.
    -Click Import and chose the sprite you just edited through Photoshop.
    -Click Write to Rom and make sure that only Export Image and Auto Abort is checked.
    Spoiler:



    -If you get an error in unLZ follow these steps:
    >Open Calculator + FSF
    >In Calculator, go into Scientific Mode and click Hex.
    >Type the # unLZ gave you when it couldn't Write to Rom.
    >Click dec.
    >Copy the number you got in Dec and go into FSF.
    >Open your rom in FSF and paste the Dec # in the Needed Bytes section, and in the box below that type in 1, and check the first checkbox.
    >Click search and copy the offset it gives you.
    >Click Write to Rom again in unLZ and paste the offset FSF gave you in the Offset box, and check the Automatically Fix Pointers Box.
    >Click Ok and it should say Pt Changed :D.

    -There you go, you should have just successfully inserted the sprite.

    Spoiler:


    Reply With Quote

    Relevant Advertising!

      #2    
    Old July 26th, 2009 (6:04 PM).
    .Seth's Avatar
    .Seth .Seth is offline
    .explorer.
    • Crystal Tier
     
    Join Date: Jun 2008
    Location: A capacitor in a power supply board.
    Gender: Male
    Nature: Quiet
    Posts: 1,645
    Very nice. I'll have to get Photoshop CS3 sometime. Seems like it's really useful for hacking purposes.
    Very good tutorial, has images, and of it working. Great job, great job Xatoku!
    Reply With Quote
      #3    
    Old July 26th, 2009 (10:49 PM).
    o0oBahamuto0o o0oBahamuto0o is offline
       
      Join Date: Apr 2008
      Gender:
      Nature: Lonely
      Posts: 38
      I'm Using PTS CS3 for Edit this thing
      Thanks men :D
      Great Job
      Reply With Quote
        #4    
      Old July 27th, 2009 (7:17 AM).
      sab's Avatar
      sab sab is offline
      Now too much of a life.
         
        Join Date: Jul 2008
        Location: Midgar
        Age: 21
        Gender: Male
        Nature: Timid
        Posts: 995
        great tut, but could you also use gimp instead of photoshop?
        __________________
        Reply With Quote
          #5    
        Old July 27th, 2009 (8:06 AM).
        Xatoku's Avatar
        Xatoku Xatoku is offline
        Game Developer
           
          Join Date: Feb 2009
          Location: Canada
          Gender: Male
          Posts: 451
          I've never used Gimp so I wouldn't know sorry.
          Reply With Quote
            #6    
          Old July 27th, 2009 (9:39 AM).
          .Seth's Avatar
          .Seth .Seth is offline
          .explorer.
          • Crystal Tier
           
          Join Date: Jun 2008
          Location: A capacitor in a power supply board.
          Gender: Male
          Nature: Quiet
          Posts: 1,645
          Quote:
          Originally Posted by sab View Post
          great tut, but could you also use gimp instead of photoshop?
          GIMP can't work well with .pal and .act files if I remember correctly, so no.
          Reply With Quote
            #7    
          Old July 27th, 2009 (9:40 AM).
          Logan's Avatar
          Logan Logan is offline
          • Discord Moderoid
          • Platinum Tier
           
          Join Date: Nov 2008
          Location: Salisbury, England
          Age: 22
          Gender: Male
          Nature: Sassy
          Posts: 10,019
          Well, you can't use gimp because you need to save it as .act.
          Adobe
          Colour
          Table.
          So, it only works with adobe products, aka PS.
          __________________
          Wait, I saw bare kicks, saw bare clothes
          Said psyduck that, I can't wear those
          I don't like them, they're not my ting
          They went silent, they're all weirdos
          Reply With Quote
            #8    
          Old July 27th, 2009 (3:50 PM).
          ~*Mew*~'s Avatar
          ~*Mew*~ ~*Mew*~ is offline
          Rom Hacker.
             
            Join Date: Feb 2009
            Location: London.
            Nature: Calm
            Posts: 34
            This Tutorial is good to the NEWBIES and other users.
            Though, i already know how to do it.
            Anyway, this is really helpful.
            Well done!


            ~*Mew*~
            __________________

            ~*Mew*~
            Reply With Quote
              #9    
            Old July 27th, 2009 (4:52 PM).
            Xatoku's Avatar
            Xatoku Xatoku is offline
            Game Developer
               
              Join Date: Feb 2009
              Location: Canada
              Gender: Male
              Posts: 451
              Thanks, I tried to make it newb friendly hehe.
              Reply With Quote
                #10    
              Old July 27th, 2009 (5:39 PM).
              Mr.Silver's Avatar
              Mr.Silver Mr.Silver is offline
              Say Hello To Nurse Barbra
                 
                Join Date: Jun 2009
                Location: The Ushimi region.
                Age: 23
                Gender: Male
                Posts: 670
                this is really handy and more in depth
                But i keep getting an error saying something about not being able to save to the rom
                __________________







                Reply With Quote
                  #11    
                Old July 27th, 2009 (6:14 PM).
                NarutoActor's Avatar
                NarutoActor NarutoActor is offline
                The rocks cry out to me
                • Silver Tier
                 
                Join Date: Jan 2009
                Location: Brooklyn/Marlboro
                Age: 23
                Gender: Female
                Nature: Bashful
                Posts: 1,979
                Quote:
                Originally Posted by animeFTW View Post
                this is really handy and more in depth
                But i keep getting an error saying something about not being able to save to the rom
                use a hex editor or free shapce finder and change the picture offset
                __________________
                ~There are those people who understand hex, F the rest
                Reply With Quote
                  #12    
                Old July 27th, 2009 (6:40 PM).
                Mr.Silver's Avatar
                Mr.Silver Mr.Silver is offline
                Say Hello To Nurse Barbra
                   
                  Join Date: Jun 2009
                  Location: The Ushimi region.
                  Age: 23
                  Gender: Male
                  Posts: 670
                  I did
                  the error i get is after Unzl,Its on the other pictures
                  __________________







                  Reply With Quote
                    #13    
                  Old July 28th, 2009 (4:38 AM).
                  Kakunatops's Avatar
                  Kakunatops Kakunatops is offline
                     
                    Join Date: Jul 2009
                    Location: Grand Rapids, MI
                    Gender: Male
                    Nature: Docile
                    Posts: 8
                    Where do you get the offsets for other sprites, like Pro.Oak, and Gary, etc.
                    Reply With Quote
                      #14    
                    Old July 28th, 2009 (10:12 AM).
                    Xatoku's Avatar
                    Xatoku Xatoku is offline
                    Game Developer
                       
                      Join Date: Feb 2009
                      Location: Canada
                      Gender: Male
                      Posts: 451
                      Quote:
                      Originally Posted by Kakunatops View Post
                      Where do you get the offsets for other sprites, like Pro.Oak, and Gary, etc.
                      Found them myself, it's not hard but it takes some time.
                      Reply With Quote
                        #15    
                      Old July 28th, 2009 (5:10 PM).
                      JerisEnigma1337's Avatar
                      JerisEnigma1337 JerisEnigma1337 is offline
                      Rocket Recruited Trainer
                         
                        Join Date: Jul 2009
                        Gender: Female
                        Posts: 21
                        Is there ANY way or other program to do this without Photoshop?
                        I don't have it and the trial version is 325MB... Way too much for me to download without making my computer go asploud...
                        I have everything else here and many many tools, so is there no alterative?
                        __________________

                        ---
                        Supporter of:


                        Reply With Quote
                          #16    
                        Old July 28th, 2009 (5:30 PM).
                        Xatoku's Avatar
                        Xatoku Xatoku is offline
                        Game Developer
                           
                          Join Date: Feb 2009
                          Location: Canada
                          Gender: Male
                          Posts: 451
                          Quote:
                          Originally Posted by JerisEnigma1337 View Post
                          Is there ANY way or other program to do this without Photoshop?
                          I don't have it and the trial version is 325MB... Way too much for me to download without making my computer go asploud...
                          I have everything else here and many many tools, so is there no alterative?
                          Are you sure you don't have enough space? Because 325mb is hardly anything.
                          Reply With Quote
                            #17    
                          Old July 28th, 2009 (6:01 PM). Edited July 28th, 2009 by JerisEnigma1337.
                          JerisEnigma1337's Avatar
                          JerisEnigma1337 JerisEnigma1337 is offline
                          Rocket Recruited Trainer
                             
                            Join Date: Jul 2009
                            Gender: Female
                            Posts: 21
                            I'm trying to download it but I'm on a pretty crappy connection so I don't know if I can. Plus, it'd be cool to have something to go to when the 30 day trial is up, seeing as I'm too cheap to buy photoshop.

                            EDIT: NEVERMIND!! LMAO!
                            I went nextdoor where the neighbors have highspeed and started to get the trial version, and their kid copied me his full to use at home XD Edit2: It turns out you still have to activate it, so I'll be out of luck in 30 days anyway. At least I can do this now!

                            But actually, it'd still be awesome if there was another option for other people with this problem. I know there are other ways to add sprites, but its a shame to only be able to follow this super easy newb-perfect route only halfway.

                            EDIT EDIT EDIT!:
                            Weeelll... This is what I ended up with. *attaches*
                            Looked great right up until you import the final photoshop edit into the game with Unlz... *head-desk* >.<
                            Attached Images
                            File Type: png darnit.PNG‎ (25.8 KB, 153 views) (Save to Dropbox)
                            __________________

                            ---
                            Supporter of:


                            Reply With Quote
                              #18    
                            Old July 31st, 2009 (10:14 AM).
                            Boterham Boterham is offline
                               
                              Join Date: Jul 2009
                              Gender: Male
                              Posts: 4
                              Quote:
                              Originally Posted by Kakunatops View Post
                              Where do you get the offsets for other sprites, like Pro.Oak, and Gary, etc.
                              Prof.Oak is for me: 342
                              and
                              Gary is for me: 343

                              I don't have photoshop so it won't work for me but when i get the time to download a trial i try this out.
                              Reply With Quote
                                #19    
                              Old July 31st, 2009 (6:03 PM).
                              JerisEnigma1337's Avatar
                              JerisEnigma1337 JerisEnigma1337 is offline
                              Rocket Recruited Trainer
                                 
                                Join Date: Jul 2009
                                Gender: Female
                                Posts: 21
                                Oh. My. Gawd. I redid this 3 times and its happened everytime! At least the one that I posted was the right palette this time, but I can't make it ungarbled! When I view the character in unLz, its only nice like your's in color; if I view it in b&w like in the tut its all messed up like my final result... :'(
                                __________________

                                ---
                                Supporter of:


                                Reply With Quote
                                  #20    
                                Old August 1st, 2009 (5:09 AM).
                                Pokepal17's Avatar
                                Pokepal17 Pokepal17 is offline
                                More cowbell~
                                • Silver Tier
                                 
                                Join Date: Oct 2008
                                Location: Steeltown
                                Age: 22
                                Gender: Male
                                Nature: Modest
                                Posts: 1,511
                                Awesome tutorial. It's simple and easy to follow It'll help a lot of people. Well done!
                                __________________
                                Pokémon Stardrop
                                Reply With Quote
                                  #21    
                                Old August 5th, 2009 (5:35 AM).
                                crdm crdm is offline
                                   
                                  Join Date: Jun 2009
                                  Gender:
                                  Posts: 15
                                  i'm getting a runtime error...
                                  help?
                                  Reply With Quote
                                    #22    
                                  Old September 27th, 2009 (7:04 PM).
                                  .Seth's Avatar
                                  .Seth .Seth is offline
                                  .explorer.
                                  • Crystal Tier
                                   
                                  Join Date: Jun 2008
                                  Location: A capacitor in a power supply board.
                                  Gender: Male
                                  Nature: Quiet
                                  Posts: 1,645
                                  Do you happen to have the offset for Prof. Oak's palette?
                                  Reply With Quote
                                    #23    
                                  Old September 27th, 2009 (9:13 PM).
                                  ●•ΛΣЯӨЩ•●'s Avatar
                                  ●•ΛΣЯӨЩ•● ●•ΛΣЯӨЩ•● is offline
                                  • Silver Tier
                                   
                                  Join Date: Nov 2008
                                  Location: Kanto
                                  Gender: Male
                                  Nature: Bold
                                  Posts: 441
                                  Thanks for the Kool tut i was seeking for this!!
                                  __________________
                                  Reply With Quote
                                    #24    
                                  Old October 5th, 2009 (5:23 PM).
                                  HackChu's Avatar
                                  HackChu HackChu is offline
                                  I need a haircut...
                                  • Silver Tier
                                   
                                  Join Date: Jan 2007
                                  Location: Bankrupt Amerika
                                  Age: 24
                                  Gender: Male
                                  Nature: Modest
                                  Posts: 673
                                  Nice tut, ill try it sometime since i have photoshop.
                                  __________________
                                  Join us!

                                  My 'learning how to combine battle scripts' thread:
                                  http://www.pokecommunity.com/showthread.php?t=183001

                                  SoulSilver FC:1162 1864 5409
                                  Name: Ethan

                                  Black FC: 2666 1354 4379
                                  Name: Ashton

                                  White 2 FC: 1120 8065 3049
                                  Name: Nate

                                  3DS Friend Code: 1349-4646-2412
                                  Name: tysonrss
                                  Reply With Quote
                                    #25    
                                  Old October 7th, 2009 (12:48 PM).
                                  Bayonetta's Avatar
                                  Bayonetta Bayonetta is offline
                                     
                                    Join Date: Apr 2009
                                    Posts: 34
                                    Im trying to change the rival now.
                                    But I cant find the 2 palette offsets for him.
                                    Like these ones, so its screwed up.
                                    -Bookmark these 2 offsets.
                                    >0046161C - Hero Sprite 1
                                    >004615FC - Hero Sprite 2


                                    Does someone know the Rival Sprite 1 and Rival Sprite 2 offsets for the intro?
                                    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 11:12 PM.