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

TrollandToad.com
Closed Thread
 
Thread Tools
  #23401    
Old December 28th, 2012 (7:49 PM).
Darthatron's Avatar
Darthatron Darthatron is offline
巨大なトロール。
  • Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 25
Gender: Male
Nature: Modest
Posts: 1,152
Quote:
Originally Posted by karatekid552 View Post
I am working on a set of ASM routines that will be able to check what species your lead Pokemon is. I'm pretty new to it, so I need a little help. I dissected the Pokemon data and found how to unencrypt it, with the help of Bulbapedia, but I need a way to find the modular 24 of a reverse dword (the PID).

Let's say my Pokemon's PID is written out in the RAM as 23 45 67 34. I need a way to find the modular 18 (the 24 needs to be in hexadecimal) of 34 67 45 23 while starting out with 23 45 67 34.

So, I basically want to load the original PID into r0, reverse it, find the modular 18, and then write that to LASTRESULT. Any help would be greatly appreciated.


edit: I've seen in different places the command "bswap". Would this work?
There are functions you can call in the game which do all these tedious things for you. Which game are you hacking?
__________________
あなた は しきしゃ です
わたし は ばか です

Relevant Advertising!

  #23402    
Old December 28th, 2012 (10:49 PM).
annikaprue's Avatar
annikaprue annikaprue is offline
     
    Join Date: Dec 2012
    Location: Verdanturf Town, Hoenn
    Gender: Female
    Nature: Lonely
    Posts: 7
    I'm a beginner on hacking here, and I've been searching for a solution everywhere for my Advance Mart, PokeTronic, A-Tack problem. I've downloaded like four or three of each from different websites and links and it still says I'm missing or having an invalid file. I found out that Windows7 isn't compatible with some hacking tools, but is there a way I can fix this? Advance Map worked fine for me and so did some others, yet I can't continue hacking until this problem has a solution. If there's no possible way out of this, I can just use another computer, but I can't do that until I find out that this dead end is really a dead end. Thanks.
      #23403    
    Old December 28th, 2012 (10:54 PM).
    TM87's Avatar
    TM87 TM87 is offline
       
      Join Date: Dec 2012
      Gender: Male
      Posts: 1
      I'm having issues connecting soul silver to wifi any suggestions
        #23404    
      Old December 29th, 2012 (1:18 AM).
      Jambo51's Avatar
      Jambo51 Jambo51 is offline
      Glory To Arstotzka
         
        Join Date: Jun 2009
        Gender: Male
        Nature: Quiet
        Posts: 732
        Quote:
        Originally Posted by shinyabsol1 View Post
        I have a question about how surf works. In all of the GBA Pokemon games, once you have surf you can simply press 'A' on a surf-able tile and it asks you if you want to or not. However, on my ROM (FR), this does not happen.

        There is nothing wrong with surf itself, I can still make it work by using it from the Pokemon menu, and as far as I can tell, all of the behavior byte settings I have are also correct. So did I miss something else necessary for this to work, or does JPAN's hacked engine (which I am using) have something to do with this problem? Those are the only two things I can think of that might be wrong.

        Any help would be appreciated.
        JPAN's hacked engine disables all behaviour byte ASM/scripts. You need to manually re-add the necessary scripts or ASM.
        __________________
        Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
          #23405    
        Old December 29th, 2012 (7:17 AM). Edited December 29th, 2012 by karatekid552.
        karatekid552's Avatar
        karatekid552 karatekid552 is offline
        What happens if I push it?....
           
          Join Date: Nov 2012
          Location: Do you really want to know? Really?
          Gender: Male
          Nature: Bold
          Posts: 1,766
          Quote:
          Originally Posted by TM87 View Post
          I'm having issues connecting soul silver to wifi any suggestions
          You do realize this is a Rom hacking simple question thread, right? So, next time, try a different thread, but I guess everyone does deserve an answer. If you're on an original DS, I've found that only basic WEP security works. If you're on a newer DS, I can't help you. If your on an emulator, which makes sense as Rom Hacking is a category of emulation, I don't believe there is a way to connect to wifi, not yet at least. I've been seeing different GBA servers and such, but none for DS.



          Quote:
          Originally Posted by Darthatron View Post
          There are functions you can call in the game which do all these tedious things for you. Which game are you hacking?

          The way I was planning on doing it, it could be ported to any game just by changing the offsets. However, I had first wanted to implement it into Ruby.
            #23406    
          Old December 29th, 2012 (3:00 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 shinyabsol1 View Post
            I have a question about how surf works. In all of the GBA Pokemon games, once you have surf you can simply press 'A' on a surf-able tile and it asks you if you want to or not. However, on my ROM (FR), this does not happen.

            There is nothing wrong with surf itself, I can still make it work by using it from the Pokemon menu, and as far as I can tell, all of the behavior byte settings I have are also correct. So did I miss something else necessary for this to work, or does JPAN's hacked engine (which I am using) have something to do with this problem? Those are the only two things I can think of that might be wrong.

            Any help would be appreciated.
            Maybe those are script in behavior bytes... :/ Maybe this could help; http://www.pokecommunity.com/showthread.php?t=211598 ;)
            __________________
              #23407    
            Old December 29th, 2012 (3:42 PM).
            shinyabsol1's Avatar
            shinyabsol1 shinyabsol1 is offline
            Pokemon DarkJasper!?
               
              Join Date: Aug 2010
              Gender: Male
              Nature: Calm
              Posts: 330
              Quote:
              Originally Posted by Jambo51
              JPAN's hacked engine disables all behaviour byte ASM/scripts. You need to manually re-add the necessary scripts or ASM.
              I suspected that this might be the case. Adding the surf script back in wasn't hard, but there is one annoying thing. If you click on a water tile with the re-inserted surf script, but DON'T have a pokemon with surf in your party, it still makes the clicking noise. Is there a way to stop this?

              Thanks.
                #23408    
              Old December 30th, 2012 (3:41 PM).
              Herpahermaderp's Avatar
              Herpahermaderp Herpahermaderp is offline
              I liek Mudkipz
                 
                Join Date: Jul 2012
                Location: USA
                Age: 19
                Gender: Male
                Nature: Relaxed
                Posts: 66
                Quote:
                Originally Posted by Eveveelution View Post
                Hi I was wondering what software would I use to edit the intro to the game like where it says fire red, and there is a charizard.

                Also how do you edit the script of a trainer after you finish the battle.
                You use unLZ, there are plenty tutorials on how to change the Charizard in the Tutorials section.
                __________________
                Y: Roak || 1177-8023-4387
                  #23409    
                Old December 30th, 2012 (8:54 PM).
                Rain Dancer's Avatar
                Rain Dancer Rain Dancer is offline
                Wanderer
                   
                  Join Date: Dec 2012
                  Location: Norway
                  Age: 26
                  Gender: Female
                  Nature: Calm
                  Posts: 52
                  I've been all day at this one..


                  Anyone know how to edit RLCN pallete files form a pokemon BW/B2W2 rom? It's just a few color lines out of the 256 colors that it has. Some colors are supposed to stay as they are.

                  Some programs just screw with the color order. Others, like Console tool 3.0, can't seem to save the edits, even though they display well.. And I don't think I have the time to go hex and surf through all those 256 colors.


                  And my second question.. I want to change some textures and palletes in BMD0 3D files from BW. Any program out there that can do this?

                  That's all.. x)
                    #23410    
                  Old December 31st, 2012 (7:52 AM).
                  BlueOverRed BlueOverRed is offline
                     
                    Join Date: Dec 2012
                    Gender: Male
                    Posts: 2
                    Hello everyone. I'm recently interested in just one aspect of editing a Pokemon Blue ROM. Ever since I was a kid I thought that the character sprite for Blue (Gary, your Rival, etc.) was always a lot cooler than Red (your default character). I would like to know if it is possible for me to swap these characters' sprites so that I can play the game as the sprite of Blue and my rival will be the sprite of Red?

                    I hope I explained what I am looking to do well enough. Your time is appreciated. Any details would be helpful as I am new to ROM hacking.
                      #23411    
                    Old December 31st, 2012 (8:12 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 BlueOverRed View Post
                      Hello everyone. I'm recently interested in just one aspect of editing a Pokemon Blue ROM. Ever since I was a kid I thought that the character sprite for Blue (Gary, your Rival, etc.) was always a lot cooler than Red (your default character). I would like to know if it is possible for me to swap these characters' sprites so that I can play the game as the sprite of Blue and my rival will be the sprite of Red?

                      I hope I explained what I am looking to do well enough. Your time is appreciated. Any details would be helpful as I am new to ROM hacking.
                      If you're not looking for correcting the sprites shown during battle, you can achieve this simply by using a tile layer editor, for example Tile Layer Pro.

                      Open the rom file with Tile Layer Pro, scroll down all the data until you run into the standing/walking sprites and replace those two with each other. If you're just going to play it yourself and not sharing the hack, I guess you don't have to worry about not having a right bicycle sprite. If you want to do something about the bicycle sprite as well, you're going to have to "re-write" it with Tile Layer Pro there.
                      __________________
                      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
                        #23412    
                      Old December 31st, 2012 (8:32 AM).
                      BlueOverRed BlueOverRed is offline
                         
                        Join Date: Dec 2012
                        Gender: Male
                        Posts: 2
                        Quote:
                        Originally Posted by miksy91 View Post
                        If you're not looking for correcting the sprites shown during battle, you can achieve this simply by using a tile layer editor, for example Tile Layer Pro.

                        Open the rom file with Tile Layer Pro, scroll down all the data until you run into the standing/walking sprites and replace those two with each other. If you're just going to play it yourself and not sharing the hack, I guess you don't have to worry about not having a right bicycle sprite. If you want to do something about the bicycle sprite as well, you're going to have to "re-write" it with Tile Layer Pro there.
                        Thank you very much! I really do appreciate this. I spent a lot of time yesterday trying to find out how to swap the sprites, but had no luck until now. Thanks again!
                          #23413    
                        Old January 1st, 2013 (4:41 PM).
                        waw waw is offline
                           
                          Join Date: Jan 2013
                          Gender: Male
                          Posts: 18
                          1. Adding evolutions to Eevee - Leafeon... trying to add this in on Pokemon Ruby with easy use of a Leafstone. Eevee currently has maxed evolutions. I have axed Plusle (good god not another pikachu!!!!) and placed in Leafeon, moves, pokedex, sprite, stats, all of that. I can make Leafeon breed into Eevee (using YAPE). I understand the game must be edited to allow room for an additional evolution. Not sure how to do this however.

                          2. Editing Birch in the into sequence (and Marill) can I replace him with another trainer sprite? I just can't find where he is. Went through UNLZ a dozen times and cannot find his image. Is there an opener program i could use?

                          3. Making all trainer battles repeatable - I have advance map, several others, making trainers, and setting up there events. But can I make it so that they can ask to battle again?

                          4. This is for the end of the game, but I would like to do a series of questions, yes making a battle start, no being a gift of items.

                          5. Pokemon Red/Blue had pokeballs where you could pick up very rare and unique pokemon (lapras, eevee)... is that possible in Ruby?

                          Doing searches, trying to find answers, but figure if I can get help along the way it won't hurt. Thank you!
                            #23414    
                          Old January 1st, 2013 (6:51 PM).
                          TheOrangePichu's Avatar
                          TheOrangePichu TheOrangePichu is offline
                          Currently working on new hack
                             
                            Join Date: Jun 2011
                            Location: Earth
                            Gender: Male
                            Nature: Jolly
                            Posts: 49
                            Hello, I was wondering how do you find the battle animations for a move? I repointed all the tables and everything and was wondering how you get battle animations for custom moves?
                            __________________
                            Credit to UmbraDragonX on deviantart for the icon!

                              #23415    
                            Old January 1st, 2013 (10:54 PM).
                            Brane's Avatar
                            Brane Brane is offline
                            -
                               
                              Join Date: May 2011
                              Age: 24
                              Gender: Male
                              Posts: 372
                              Quote:
                              Originally Posted by waw View Post
                              1. Adding evolutions to Eevee - Leafeon... trying to add this in on Pokemon Ruby with easy use of a Leafstone. Eevee currently has maxed evolutions. I have axed Plusle (good god not another pikachu!!!!) and placed in Leafeon, moves, pokedex, sprite, stats, all of that. I can make Leafeon breed into Eevee (using YAPE). I understand the game must be edited to allow room for an additional evolution. Not sure how to do this however.

                              2. Editing Birch in the into sequence (and Marill) can I replace him with another trainer sprite? I just can't find where he is. Went through UNLZ a dozen times and cannot find his image. Is there an opener program i could use?

                              3. Making all trainer battles repeatable - I have advance map, several others, making trainers, and setting up there events. But can I make it so that they can ask to battle again?

                              4. This is for the end of the game, but I would like to do a series of questions, yes making a battle start, no being a gift of items.

                              5. Pokemon Red/Blue had pokeballs where you could pick up very rare and unique pokemon (lapras, eevee)... is that possible in Ruby?

                              Doing searches, trying to find answers, but figure if I can get help along the way it won't hurt. Thank you!
                              1. Wouldn't have a clue. It would most likely involve ASM.

                              2. It should be in UNLZ, but you could try opening the ROM up in TileMolester. It will most definitely be in there.

                              3. You'd just have to delete the flag I'm fairly sure so that the script doesn't change no matter how many times it's used. If you want to have them ask in a new box whether they want to battle again, you'd just set a flag for the first battle and have the script go to a new script for the remainder of the battles with different dialogue. It's fairly easy stuff, and you should have looked in the tutorial section but I'll link you to a thread that more then likely has your answer somewhere. http://www.pokecommunity.com/showthread.php?t=164276 for XSE or http://www.pokecommunity.com/showthread.php?t=128887 for PokeScript

                              4. This is another simple script you'd have to just take your time to write. You'd have the script continue at a different place depending on the answer. Again, browse the tutorials that I linked in 3.

                              5. This is another extremely easy script involving the givepokemon command. You'll definitely find it in the tutorials above.
                                #23416    
                              Old January 2nd, 2013 (4:11 PM).
                              SK3's Avatar
                              SK3 SK3 is offline
                              Pokemon Hacking Company™ CEO
                                 
                                Join Date: Apr 2011
                                Location: Johto
                                Age: 22
                                Gender: Male
                                Nature: Quirky
                                Posts: 276


                                Any specific reason why my map is glitched out?
                                __________________

                                Pokemon
                                Daydream White version


                                Want to help out? Just PM or VM me!

                                  #23417    
                                Old January 2nd, 2013 (4:14 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 SK3 View Post


                                  Any specific reason why my map is glitched out?
                                  Is that how it looks in A-map?
                                  __________________
                                    #23418    
                                  Old January 2nd, 2013 (4:33 PM).
                                  SK3's Avatar
                                  SK3 SK3 is offline
                                  Pokemon Hacking Company™ CEO
                                     
                                    Join Date: Apr 2011
                                    Location: Johto
                                    Age: 22
                                    Gender: Male
                                    Nature: Quirky
                                    Posts: 276
                                    Quote:
                                    Originally Posted by tajaros View Post
                                    Is that how it looks in A-map?
                                    No, it only happens in VBA.
                                    __________________

                                    Pokemon
                                    Daydream White version


                                    Want to help out? Just PM or VM me!

                                      #23419    
                                    Old January 2nd, 2013 (7:00 PM). Edited January 3rd, 2013 by FrozenInfernoZX.
                                    FrozenInfernoZX's Avatar
                                    FrozenInfernoZX FrozenInfernoZX is offline
                                    What is out there?
                                       
                                      Join Date: Jun 2012
                                      Location: United States
                                      Gender: Male
                                      Nature: Adamant
                                      Posts: 769
                                      Quote:
                                      Originally Posted by SK3 View Post


                                      Any specific reason why my map is glitched out?
                                      Hmmm, that is weird. Are you near any connections?
                                      Or, is the movement permissions the same way you entered it in Advance Map?

                                      Also, does anybody know the offset of the PC? I want to add a new option to the PC menu "Time" (because the PC is a tile behavior in Advance Map)
                                      And, anybody know how to remove Gary from the Oak intro?
                                      __________________

                                      Current Live Update: Build 3.0 RC 2.73 No more Flag Errors!
                                      Always periodically make backup saves!
                                        #23420    
                                      Old January 2nd, 2013 (9:42 PM).
                                      SchokoInc SchokoInc is offline
                                         
                                        Join Date: Nov 2012
                                        Posts: 20
                                        Quote:
                                        Originally Posted by TheOrangePichu View Post
                                        Hello, I was wondering how do you find the battle animations for a move? I repointed all the tables and everything and was wondering how you get battle animations for custom moves?
                                        There is already a tutorial in the R&D section for this :) Hope this helped :)
                                          #23421    
                                        Old January 3rd, 2013 (7:24 AM). Edited January 3rd, 2013 by karatekid552.
                                        karatekid552's Avatar
                                        karatekid552 karatekid552 is offline
                                        What happens if I push it?....
                                           
                                          Join Date: Nov 2012
                                          Location: Do you really want to know? Really?
                                          Gender: Male
                                          Nature: Bold
                                          Posts: 1,766
                                          Quote:
                                          Originally Posted by FrozenInfernoZX View Post

                                          Also, does anybody know the offset of the PC? I want to add a new option to the PC menu "Time" (because the PC is a tile behavior in Advance Map)
                                          And, anybody know how to remove Gary from the Oak intro?
                                          I found it last night in Ruby, it's at 1A0009 there. Try seaching with a hex editor for the bytes 250601. This is the special which opens up the box that says someones pc and such. When you find the offset, open it up in a script editor and check. This is not the entire script as there is about 15 lines before it so if you find that you need the entire script, just subtract one from the offset until you see lockall and the first msgbox that tells you you've turned on the pc in the script editor.
                                            #23422    
                                          Old January 3rd, 2013 (8:08 AM). Edited January 3rd, 2013 by misasoki.
                                          misasoki misasoki is offline
                                             
                                            Join Date: Feb 2012
                                            Gender: Male
                                            Posts: 2
                                            well, theres a few questions but some background things are i know how to do stuff for the most part, but there are a few things im not really sure about, also, im doing a firered hack
                                            1. can i make the overworld sprites for people completely in monochrome, save for a few?
                                            2. is it possible to make a whole map at once monochrome, and then later make different things in color?
                                            3. if not, is there another way to do it?
                                            4. how do i make the healing circle thing in lavender tower work, stepping in the circle and getting healed
                                            the reason i want to know these things are because im trying to make a creepypasta-ish hack, with almost everything in black and white save for a few things to make everything feel more "off"
                                            edit, i found another thing i need help with
                                            5. im trying to mae it so that all the water in the game will be red, i've looked at the palettes and cant find the normal surf water in red, might need a bit of help with that
                                              #23423    
                                            Old January 3rd, 2013 (9:23 AM).
                                            awipe1's Avatar
                                            awipe1 awipe1 is offline
                                               
                                              Join Date: Aug 2012
                                              Gender: Male
                                              Posts: 215
                                              When I applied Jpans hacker, I got a problem in a few of my maps.
                                              In AdvancedMap, when I went to the events tab, the map was gone; Like I can't see the map in the events tab, but I can see the map in the other tabs. I am not able to put new events in on those maps anymore. Anyone know a way to fix this?
                                              __________________
                                              Check out my Pokemon Rom! Click the Image Below!
                                                #23424    
                                              Old January 3rd, 2013 (9:50 AM).
                                              karatekid552's Avatar
                                              karatekid552 karatekid552 is offline
                                              What happens if I push it?....
                                                 
                                                Join Date: Nov 2012
                                                Location: Do you really want to know? Really?
                                                Gender: Male
                                                Nature: Bold
                                                Posts: 1,766
                                                Quote:
                                                Originally Posted by misasoki View Post
                                                well, theres a few questions but some background things are i know how to do stuff for the most part, but there are a few things im not really sure about, also, im doing a firered hack
                                                1. can i make the overworld sprites for people completely in monochrome, save for a few?
                                                2. is it possible to make a whole map at once monochrome, and then later make different things in color?
                                                3. if not, is there another way to do it?
                                                4. how do i make the healing circle thing in lavender tower work, stepping in the circle and getting healed
                                                the reason i want to know these things are because im trying to make a creepypasta-ish hack, with almost everything in black and white save for a few things to make everything feel more "off"
                                                edit, i found another thing i need help with
                                                5. im trying to mae it so that all the water in the game will be red, i've looked at the palettes and cant find the normal surf water in red, might need a bit of help with that
                                                1. You can do whatever you want with sprites, especially since you can use JPAN's hacked engine and have as many pallets as you please. To do this, I would say just redo all of the palletes to create the monochrome effect you are looking for, but save one or two (if you're not going to use JPAN's hack, which you could just make more) and use those to color your "normal sprites".

                                                2. I have no idea, but I believe it would involve a map script. The "previously on your quest" is able to make any map look black and white, so it is possible to change a maps color. hmmm

                                                3. You could have two maps, one in monochrome and one in color. Every warp would have to be a script and depending on a flag you would go to either the monochrome one or the colored one.

                                                4. Script! You could copy the one in Lavender Town or write your own. Little tutorial that I found a while ago, hopefully it will help: Tutorial
                                                The "fadescreen" command can be used to create the flash and "special 0x0" will heal your Pokemon.

                                                5. Your gonna have to redraw the water in red, along with it's animation. Here's some options: "Okay tutorial but all of the pictures are messed up" or "a general animation tutorial"





                                                Quote:
                                                Originally Posted by awipe1 View Post
                                                When I applied Jpans hacker, I got a problem in a few of my maps.
                                                In AdvancedMap, when I went to the events tab, the map was gone; Like I can't see the map in the events tab, but I can see the map in the other tabs. I am not able to put new events in on those maps anymore. Anyone know a way to fix this?
                                                I know that if there aren't any events on a map, it won't show the map, but I don't understand not being able edit the events.

                                                Just a couple questions to help anyone understand what is going on:
                                                1. Were you able to edit events before applying JPAN's hack?

                                                2. Did you clean your rom with JPAN's cleaner?

                                                3. Did you make any modifications to the rom before applying the hack.

                                                4. Did you use the patch and do everything, or did you use the tool and select only certain things or everything.
                                                  #23425    
                                                Old January 3rd, 2013 (10:05 AM).
                                                misasoki misasoki is offline
                                                   
                                                  Join Date: Feb 2012
                                                  Gender: Male
                                                  Posts: 2
                                                  thanks for that! ought to download that now, it would actually be interesting to make the previously on your quest thing replaced with colour and the normal in monochrome!
                                                  Closed Thread

                                                  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 4:01 AM.