ROM Hacking Need a helping hand? You can get help on any ROM Hacking-related problems or questions you have here.

Closed Thread
 
Thread Tools
  #21801    
Old June 30th, 2012 (2:27 AM).
Germaniac's Avatar
Germaniac Germaniac is offline
Victoria Concordia Crescit
     
    Join Date: May 2009
    Location: Jakarta, Indonesia
    Age: 18
    Gender: Male
    Nature: Relaxed
    Posts: 565
    I found the table, but how to repoint it to free space? Sorry for being a noob
    __________________

    Relevant Advertising!

      #21802    
    Old June 30th, 2012 (7:32 AM).
    redriders180's Avatar
    redriders180 redriders180 is offline
    Mastermind of Pokemon Glazed
       
      Join Date: Jun 2010
      Location: Path of Victory, Tunod
      Gender: Male
      Nature: Quirky
      Posts: 540
      Quote:
      Originally Posted by アルセウス View Post
      I found the table, but how to repoint it to free space? Sorry for being a noob
      You start off by copying the entire table using Ctrl+C, and then paste-writing it to some free space. To clarify, paste-writing isn't usually Ctrl+V, it's a different set of keys. With HxD, the combination is Ctrl+B for a paste-write.

      After you paste that into free space, take note of where you put it. For the sake of this tutorial, we'll be using 0x800000. Also write down where the original table was. Reverse both of these pointers by splitting them into pairs of two bytes, and reading it backwards. Finally, add 08 to the end (800000 becomes 00 00 80 08, for instance). Now using the Find/Replace tool in your hex editor, search for all instances of the original pointer, reversed, and replace it with your new pointer, reversed. And that's usually it when it comes to repointing.
      __________________


      I think I'm done with ROM hacking. I'll still pop in and visit, though.


        #21803    
      Old June 30th, 2012 (1:52 PM). Edited June 30th, 2012 by SpadeEdge16.
      SpadeEdge16's Avatar
      SpadeEdge16 SpadeEdge16 is offline
         
        Join Date: May 2012
        Gender: Male
        Posts: 154
        Hey guys, I've been editing my rom and I've gotten to the point where I've finished editing maps for the later cities in the game, and I want to know what people usually do to test the later maps without having to wait until you play through the whole game.

        And another thing. Is it possible to delete maps that are already made? Cause I don't want some of the ones already in my rom, and I also make mistakes and dont want the maps I maade myself and then they just sit there...
          #21804    
        Old June 30th, 2012 (4:26 PM).
        redriders180's Avatar
        redriders180 redriders180 is offline
        Mastermind of Pokemon Glazed
           
          Join Date: Jun 2010
          Location: Path of Victory, Tunod
          Gender: Male
          Nature: Quirky
          Posts: 540
          Quote:
          Originally Posted by SpadeEdge16 View Post
          Hey guys, I've been editing my rom and I've gotten to the point where I've finished editing maps for the later cities in the game, and I want to know what people usually do to test the later maps without having to wait until you play through the whole game.

          And another thing. Is it possible to delete maps that are already made? Cause I don't want some of the ones already in my rom, and I also make mistakes and dont want the maps I maade myself and then they just sit there...
          I usually just use warp points from the beginning town to whatever town I want to go to, or set all the world map flags, and give myself something with Fly. Of course, it's no alternative to playing through the entire game. You have to do that eventually, so why not now?

          Advance Map doesn't have a conventional way to delete maps, and frankly, it isn't necessary. Idle maps just sitting there never hurt anything, and if anything, they can be used for plenty of other things as well. Just keep all the maps where they are, just in case
          __________________


          I think I'm done with ROM hacking. I'll still pop in and visit, though.


            #21805    
          Old June 30th, 2012 (6:05 PM).
          Ferox Ferox is offline
             
            Join Date: Jun 2012
            Gender: Female
            Posts: 19
            I'm just learning how to use map scripts, and when I walk into the house in question the first time, it works fine (check flag and hidesprite if flag not active). However, every subsequent time I walk in the script doesn't run at all. In Advance map it's set as Script type 02, is there a setting I change to make it run every time I enter the building?
              #21806    
            Old June 30th, 2012 (6:15 PM).
            tajaros's Avatar
            tajaros tajaros is offline
            Hi I'm dawg
               
              Join Date: Apr 2012
              Location: Philippines
              Age: 18
              Gender: Male
              Nature: Timid
              Posts: 857
              Quote:
              Originally Posted by Ferox View Post
              I'm just learning how to use map scripts, and when I walk into the house in question the first time, it works fine (check flag and hidesprite if flag not active). However, every subsequent time I walk in the script doesn't run at all. In Advance map it's set as Script type 02, is there a setting I change to make it run every time I enter the building?
              What kind of script is this?

              If you want it happen all over again try setmaptile script....
              __________________
                #21807    
              Old June 30th, 2012 (6:27 PM).
              SpadeEdge16's Avatar
              SpadeEdge16 SpadeEdge16 is offline
                 
                Join Date: May 2012
                Gender: Male
                Posts: 154
                Yeah, well, I did the maps before all of my additions of new pokemon and all that, and I've
                heard people say not to play and save the game while working on it, but doing the awrp thing sounds good, thank you!

                I just like to keep it organized, and seeing the extras there that I'm not even using kinda bugs me, but I guess I'll just start using them right away so I can feel like they've been useful, haha.
                  #21808    
                Old June 30th, 2012 (6:29 PM).
                redriders180's Avatar
                redriders180 redriders180 is offline
                Mastermind of Pokemon Glazed
                   
                  Join Date: Jun 2010
                  Location: Path of Victory, Tunod
                  Gender: Male
                  Nature: Quirky
                  Posts: 540
                  Quote:
                  Originally Posted by Ferox View Post
                  I'm just learning how to use map scripts, and when I walk into the house in question the first time, it works fine (check flag and hidesprite if flag not active). However, every subsequent time I walk in the script doesn't run at all. In Advance map it's set as Script type 02, is there a setting I change to make it run every time I enter the building?
                  Usually, in a level script of this type, you set a variable to make it so it will run only once. Which variable is determined in the header:

                  Spoiler:

                  To make run multiple times, you need to make a level script or a walk-on script outside of whatever building you are entered, to set that variable to be equal to whatever value is specified in the header (next to the "Flag" value). The level script will run whenever the variable specified (0x4086 in my case) is equal to that value (0000 in my case).
                  __________________


                  I think I'm done with ROM hacking. I'll still pop in and visit, though.


                    #21809    
                  Old June 30th, 2012 (7:32 PM).
                  Ferox Ferox is offline
                     
                    Join Date: Jun 2012
                    Gender: Female
                    Posts: 19
                    Thanks, but I still couldn't get it to work right. I had the flag set to the save setvar variable, but wasn't getting anywhere. I had tried a trip script outside the building previously, but ended up either crashing or not working.

                    I have removed the map script and redone it as a trip script inside the building, with the sprite in question just out of sight when it vanished instead. It functions but it's not quite the way I imagined it.

                    My new problem is that if I set wild Pokemon encounters to be Unowns, the game freezes every time a wild encounter starts. It doesn't matter what level the unowns are, and if I change the species it works fine, just the Unowns freezing the game.
                      #21810    
                    Old June 30th, 2012 (7:39 PM).
                    DrFuji's Avatar
                    DrFuji DrFuji is offline
                    Heiki Hecchara‌‌
                    • Crystal Tier
                     
                    Join Date: Sep 2009
                    Location: Downia-upside
                    Age: 24
                    Gender: Male
                    Nature: Jolly
                    Posts: 1,328
                    Quote:
                    Originally Posted by Ferox View Post
                    I'm just learning how to use map scripts, and when I walk into the house in question the first time, it works fine (check flag and hidesprite if flag not active). However, every subsequent time I walk in the script doesn't run at all. In Advance map it's set as Script type 02, is there a setting I change to make it run every time I enter the building?
                    Level script type 03 will activate every time you enter the map. Types 05 and 07 will do the same but also activate when you close the menu. You do not have to associate a variable/ value combination with them so you could just use a checkflag within the script if you wanted to.
                    __________________
                      #21811    
                    Old June 30th, 2012 (7:50 PM).
                    Ferox Ferox is offline
                       
                      Join Date: Jun 2012
                      Gender: Female
                      Posts: 19
                      If I used any script type other than 02 the screen went black and the game froze.
                        #21812    
                      Old June 30th, 2012 (7:53 PM).
                      redriders180's Avatar
                      redriders180 redriders180 is offline
                      Mastermind of Pokemon Glazed
                         
                        Join Date: Jun 2010
                        Location: Path of Victory, Tunod
                        Gender: Male
                        Nature: Quirky
                        Posts: 540
                        Quote:
                        Originally Posted by Ferox View Post
                        Thanks, but I still couldn't get it to work right. I had the flag set to the save setvar variable, but wasn't getting anywhere. I had tried a trip script outside the building previously, but ended up either crashing or not working.

                        I have removed the map script and redone it as a trip script inside the building, with the sprite in question just out of sight when it vanished instead. It functions but it's not quite the way I imagined it.

                        My new problem is that if I set wild Pokemon encounters to be Unowns, the game freezes every time a wild encounter starts. It doesn't matter what level the unowns are, and if I change the species it works fine, just the Unowns freezing the game.
                        I should've read your original post better, I hadn't noticed what your intended script was. Type 02 is more suited for events that occur when you're finished warping into a map, with messages and applymovement-type scripts. If you just want to hide a sprite, type 03 is a completely viable option.

                        Edit: I suppose I deserved that...got Ninja'd :D
                        __________________


                        I think I'm done with ROM hacking. I'll still pop in and visit, though.


                          #21813    
                        Old June 30th, 2012 (9:23 PM).
                        ADLFM14's Avatar
                        ADLFM14 ADLFM14 is offline
                        Legendary Spriter
                           
                          Join Date: May 2012
                          Location: EGYPT
                          Gender: Male
                          Nature: Bold
                          Posts: 42
                          I have a small problem if any one would help i would be very glad i want to change the pokeballs the comes in the beginning of a trainer battle

                          and i found them on Unlz-gba

                          but when i edit them and write to rom and i test it they are still found and didn't change what have i done wrong?
                          __________________
                          My Tutorials:
                          Hacking Ruby Title Screen Completely Step By Step
                          How To Insert An OW Sprite In NSE Classic Step By Step.
                          Hacks I'm Currently Making


                          Join My Hacking Team(D.A.T.S)




                          My deviantART


                            #21814    
                          Old July 1st, 2012 (5:48 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
                            Quote:
                            Originally Posted by ADLFM14 View Post
                            I have a small problem if any one would help i would be very glad i want to change the pokeballs the comes in the beginning of a trainer battle

                            and i found them on Unlz-gba

                            but when i edit them and write to rom and i test it they are still found and didn't change what have i done wrong?
                            In theory, the same pokeball graphics can be written "unlimited" times in rom so if you've changed graphics of a pokeball, it doesn't necessarily mean it will affect the game in any way. But there is no good reason for the game's creators to do this so likely that you've accomplished to do, is to change pokeball graphics that are loaded sometime during the gameplay but not in battle.
                            __________________
                            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
                              #21815    
                            Old July 1st, 2012 (5:55 AM). Edited July 1st, 2012 by Spherical Ice.
                            Spherical Ice's Avatar
                            Spherical Ice Spherical Ice is offline
                            • Moderator
                            • Silver Tier
                             
                            Join Date: Nov 2007
                            Location: Bristol, UK
                            Age: 19
                            Posts: 5,179
                            So I've applied JPAN's patch, followed metapod23's Overworld inserting tutorial and everything works well, EXCEPT whenever the new overworld table is loaded (when the overworld with the unknown 0001 is loaded), the rain sprite gets completely removed and replaced with white rectangles, like so:



                            I checked the Tile Viewer, and it seems when the overworld is loaded, the rain image is replaced with just... black.



                            The rain works whenever the overworld hasnt been loaded or isnt accessing the new table.

                            Why does this happen, is there a way of fixing it, etc?

                            edit

                            Okay, so it appears when the Overworld that uses the new table is loaded, data at 06010380 on the memory viewer through to 061B2380 is replaced with free space (FF). That massive chunk contains the image data for some of the footprint graphics and weather graphics, so whatever is setting that big chunk to FF temporarily...I hate. Would anyone know what it is that is causing this and how to prevent it? It's really, really frustrating.
                              #21816    
                            Old July 1st, 2012 (2:08 PM).
                            RaditzNappa RaditzNappa is offline
                               
                              Join Date: Feb 2011
                              Posts: 1
                              How do you edit the town map/fly screen in FR/LG, so as to correspond to an edited overworld?
                                #21817    
                              Old July 1st, 2012 (2:30 PM).
                              SpadeEdge16's Avatar
                              SpadeEdge16 SpadeEdge16 is offline
                                 
                                Join Date: May 2012
                                Gender: Male
                                Posts: 154
                                A few Amap question.
                                How come when my character enters a cave I made, he is facing the exit?
                                Also, I changed the weather in cerulean city to sunny with clouds on the water, but when the coouds go by, they also continue on some other tiles as well, how can I fix this?
                                  #21818    
                                Old July 1st, 2012 (3:31 PM).
                                redriders180's Avatar
                                redriders180 redriders180 is offline
                                Mastermind of Pokemon Glazed
                                   
                                  Join Date: Jun 2010
                                  Location: Path of Victory, Tunod
                                  Gender: Male
                                  Nature: Quirky
                                  Posts: 540
                                  Quote:
                                  Originally Posted by SpadeEdge16 View Post
                                  A few Amap question.
                                  How come when my character enters a cave I made, he is facing the exit?
                                  Also, I changed the weather in cerulean city to sunny with clouds on the water, but when the coouds go by, they also continue on some other tiles as well, how can I fix this?
                                  The way the clouds are programmed are they have a priority level of 3, which is the lowest priority. This basically means they only show up on the bottom layer of tiles with the background byte "block is covered by hero". To fix it, you need to adapt your tiles accordingly. It's such a finnicky weather that it's rarely used, even in the original games.
                                  __________________


                                  I think I'm done with ROM hacking. I'll still pop in and visit, though.


                                    #21819    
                                  Old July 1st, 2012 (6:09 PM).
                                  Darkrai Lv.1000's Avatar
                                  Darkrai Lv.1000 Darkrai Lv.1000 is offline
                                  Has a tendency to figure things out
                                     
                                    Join Date: Jul 2007
                                    Location: On an island with Hakaze
                                    Age: 22
                                    Gender: Male
                                    Nature: Quirky
                                    Posts: 671
                                    Update: I think I found the "The End" graphic in unLZ, but i can't find the credits, even in A-Text. Is it even possible to edit the credits in FireRed?

                                    Also, I'll restate my other question. Is it currently possible to remove the part in the intro where Oak introduces your Rival and you name him?
                                    __________________
                                      #21820    
                                    Old July 1st, 2012 (7:12 PM).
                                    Shootingace's Avatar
                                    Shootingace Shootingace is offline
                                    Lord
                                       
                                      Join Date: Jun 2012
                                      Age: 21
                                      Gender: Male
                                      Nature: Calm
                                      Posts: 81
                                      Hi, I want to make a Pokemon hack based on Fire red but i have no idea where i can find a complete list of downloadable tools to hack it perfectly. I would be really grateful if someone can give a some kind of connection to such access. Thanks in advance.
                                      P.S. I already checked the toolbox but it lacks main tools and confuses my brains!
                                        #21821    
                                      Old July 1st, 2012 (10:02 PM).
                                      redriders180's Avatar
                                      redriders180 redriders180 is offline
                                      Mastermind of Pokemon Glazed
                                         
                                        Join Date: Jun 2010
                                        Location: Path of Victory, Tunod
                                        Gender: Male
                                        Nature: Quirky
                                        Posts: 540
                                        Quote:
                                        Originally Posted by Darkrai Lv.1000 View Post
                                        Update: I think I found the "The End" graphic in unLZ, but i can't find the credits, even in A-Text. Is it even possible to edit the credits in FireRed?

                                        Also, I'll restate my other question. Is it currently possible to remove the part in the intro where Oak introduces your Rival and you name him?
                                        I just did a quick check, and the credits are editable in A-text. It's very seperated though. For example, "Director" is one string, and "Junichi Masuda" is a completely separate string. You'll need to find all of them in order to edit the credits, which should be a pretty big feat, but it's still do-able.

                                        The rival naming is only removable with ASM.

                                        Quote:
                                        Originally Posted by Shootingace View Post
                                        Hi, I want to make a Pokemon hack based on Fire red but i have no idea where i can find a complete list of downloadable tools to hack it perfectly. I would be really grateful if someone can give a some kind of connection to such access. Thanks in advance.
                                        P.S. I already checked the toolbox but it lacks main tools and confuses my brains!
                                        If the stuff in the toolbox confuses your brains you ought to start somewhere basic. The three tools that, in my opinion, any ROM hacker needs is Advance Map, both 1.95 and 1.92 if possible, XSE 1.1.1, and a good hex editor. Technically, a hex editor is the only thing you need, but A-Map and XSE help make the process somewhat less confusing. Learn how to use those tools, and basic ROM hacking stuff before downloading tons of tools. It's better to understand before you blindly charge in
                                        __________________


                                        I think I'm done with ROM hacking. I'll still pop in and visit, though.


                                          #21822    
                                        Old July 1st, 2012 (10:03 PM). Edited July 1st, 2012 by Teawanee.
                                        Teawanee's Avatar
                                        Teawanee Teawanee is offline
                                        Fire-Type Trainer
                                           
                                          Join Date: Dec 2011
                                          Location: Pluto!
                                          Gender: Female
                                          Nature: Naughty
                                          Posts: 16
                                          Please help? I'm a noob at hacking, so try to explain things as simply as possible? I'm using a fire red rom btw ^.^

                                          I'm using unLZ.gba to replace sprites, and when I write to rom I keep getting the error: "Compressed size is XXX: which is too big."
                                          Is there any way to fix this?

                                          Also, when you first start the game you know the page with the charizard and flames and version name? can I edit that in any way?
                                          __________________
                                            #21823    
                                          Old July 1st, 2012 (10:41 PM).
                                          Darkrai Lv.1000's Avatar
                                          Darkrai Lv.1000 Darkrai Lv.1000 is offline
                                          Has a tendency to figure things out
                                             
                                            Join Date: Jul 2007
                                            Location: On an island with Hakaze
                                            Age: 22
                                            Gender: Male
                                            Nature: Quirky
                                            Posts: 671
                                            Quote:
                                            Originally Posted by redriders180 View Post
                                            I just did a quick check, and the credits are editable in A-text. It's very seperated though. For example, "Director" is one string, and "Junichi Masuda" is a completely separate string. You'll need to find all of them in order to edit the credits, which should be a pretty big feat, but it's still do-able.

                                            The rival naming is only removable with ASM.
                                            I checked through all the sections in Advance Text, but I still couldn't find it. Can you tell me how you managed to do it?

                                            I'm scared of it, but it appears it's time to read up on ASM...
                                            __________________
                                              #21824    
                                            Old July 1st, 2012 (10:55 PM).
                                            redriders180's Avatar
                                            redriders180 redriders180 is offline
                                            Mastermind of Pokemon Glazed
                                               
                                              Join Date: Jun 2010
                                              Location: Path of Victory, Tunod
                                              Gender: Male
                                              Nature: Quirky
                                              Posts: 540
                                              Quote:
                                              Originally Posted by Darkrai Lv.1000 View Post
                                              I checked through all the sections in Advance Text, but I still couldn't find it. Can you tell me how you managed to do it?

                                              I'm scared of it, but it appears it's time to read up on ASM...
                                              I opened up A-text, opened up the ROM, opened up the search tool, checked "go to beginning of text", and typed in various strings, i.e. "FireRed Version" and "Junichi Masuda", keeping mind to use proper case.
                                              __________________


                                              I think I'm done with ROM hacking. I'll still pop in and visit, though.


                                                #21825    
                                              Old July 1st, 2012 (11:41 PM). Edited July 2nd, 2012 by KhaosKnight.
                                              KhaosKnight's Avatar
                                              KhaosKnight KhaosKnight is offline
                                              The 1 and only Khaotic Hacker
                                                 
                                                Join Date: Dec 2007
                                                Nature: Relaxed
                                                Posts: 355
                                                Quote:
                                                Originally Posted by Teawanee View Post
                                                Please help? I'm a noob at hacking, so try to explain things as simply as possible? I'm using a fire red rom btw ^.^

                                                I'm using unLZ.gba to replace sprites, and when I write to rom I keep getting the error: "Compressed size is XXX: which is too big."
                                                Is there any way to fix this?

                                                Also, when you first start the game you know the page with the charizard and flames and version name? can I edit that in any way?

                                                This is unLZ telling you that your Sprite image is too big to be put in that spot where the old image is, so you will need to re-point that image elsewhere in your ROM. unLZ will do this for you, here is an excerpt from my Tutorial that should help you.

                                                Spoiler:

                                                A dialog will appear, Check Export Image and Automatically fix pointer, and make sure to leave Export Palette UNCHECKED...



                                                After clicking OK, you should get this message, although the size will be most likely different for you.




                                                Next, open up FSF, load your ROM, and click “Search from the beginning of the ROM”. Then in the bottom corner under Dec/Hex type in the Hex offset you received from unLZ. The number on top will be converted to Decimal. Take that and put it in the Needed Bytes box, click Find, Then click Copy.



                                                This is the area of free space in your ROM that can fit your Tile Set, so we will go back to unLZ with this offset and paste it into the Image Offset box. Then click OK.



                                                It should give you confirmation that the data was re-pointed correctly.




                                                As for the second part you are probably referring to the Title screen in Fire Red. There is a Tutorial on that in the Tutorials section of the forum, usually midway through the first page.
                                                __________________





                                                Closed Thread
                                                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 6:34 PM.