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
  #25426    
Old June 5th, 2013 (12:34 PM).
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 buckeyestilidie View Post
    What do you mean? Also KarateKid serious question..... Are you Albert Einstein?? Lol seriously dude not a question goes unasked without you giving the correct answer to it. Much love and respect to you dude.
    Gogojjtech beat me to the answer of your first question.

    Unfortunately, I am not Albert Einstein, but I do learn quickly and I really enjoy rom hacking and I like to share what I have learned with others, which is why I answer questions so much. There are many more hackers around that are much better than me, but have chosen not to help out as much. No disrespect meant to them, it just isn't their thing. I tend to enjoy helping people out, but most don't which is why they don't frequent these threads, and that is their personal feelings and choices which I respect also.
    __________________

    Paired with Simba

    Relevant Advertising!

      #25427    
    Old June 5th, 2013 (2:53 PM).
    Zemekis's Avatar
    Zemekis Zemekis is offline
    The Booze Cruise
       
      Join Date: Feb 2013
      Location: 'Murica
      Gender: Male
      Posts: 22
      Zem here, back with yet ANOTHER problem. Can anybody take a guess as to why my msgboxes and signposts look like this now (see attached image).

      I don't think I did anything too drastic to the ROM, but this appears to have only happened since I patched with diegoisawesome's Force Male Gender patch.

      Thanks again guys.
      Attached Images
      File Type: png WhyMe.png‎ (70.0 KB, 5 views) (Save to Dropbox)
        #25428    
      Old June 5th, 2013 (3:17 PM).
      GoGoJJTech's Avatar
      GoGoJJTech GoGoJJTech is offline
      (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
      • Gold Tier
       
      Join Date: Nov 2012
      Location: Earth
      Age: 18
      Gender: Female
      Nature: Jolly
      Posts: 2,477
      You need to repoint msgboxes that don't work.
      __________________
      I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
      The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
      Romhack.me Profile - Pokecommunity Profile - Youtube Channel

      Support me at my site!
      Pokémon Platinum Red and Blue
        #25429    
      Old June 5th, 2013 (7:24 PM). Edited June 5th, 2013 by Zemekis.
      Zemekis's Avatar
      Zemekis Zemekis is offline
      The Booze Cruise
         
        Join Date: Feb 2013
        Location: 'Murica
        Gender: Male
        Posts: 22
        Quote:
        Originally Posted by gogojjtech View Post
        You need to repoint msgboxes that don't work.
        Do you mean like just make a new "@[something]" in the script? I'll give it a shot.
        *edit* It worked perfectly, thanks gogojjtech!
          #25430    
        Old June 5th, 2013 (7:39 PM).
        BlackWhiteRobin's Avatar
        BlackWhiteRobin BlackWhiteRobin is offline
           
          Join Date: Sep 2012
          Age: 19
          Gender: Male
          Nature: Quirky
          Posts: 534
          Hiya guys!

          Umm... When I re position the battle textboxes (the one showing HP, EXP, name, lvl etc.), do I have to hack the Video RAM too? I wanted to move it so (I could make sideview battles. I hate making backsprites.). If so, how? If not, how will I do it?

          Sorry for the question that is a bit pointless for others!

          Oh and what's this about #includestditems.rbh?

          What does it do? Why is it needed?
          __________________

            #25431    
          Old June 5th, 2013 (7:55 PM).
          Zemekis's Avatar
          Zemekis Zemekis is offline
          The Booze Cruise
             
            Join Date: Feb 2013
            Location: 'Murica
            Gender: Male
            Posts: 22
            Quote:
            Originally Posted by robin22gongon View Post
            Oh and what's this about #includestditems.rbh?

            What does it do? Why is it needed?
            I'm interested too, i'd like to know where I can find the other include commands for XSE. I remember them being super useful when I'm writing in C++. I didn't even think to add in libraries in XSE. I'd be grateful for more info on this as well.
              #25432    
            Old June 5th, 2013 (8:13 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 robin22gongon View Post
            Oh and what's this about #includestditems.rbh?

            What does it do? Why is it needed?
            Quote:
            Originally Posted by Zemekis View Post
            I'm interested too, i'd like to know where I can find the other include commands for XSE. I remember them being super useful when I'm writing in C++. I didn't even think to add in libraries in XSE. I'd be grateful for more info on this as well.
            #includestditems.rbh allows you to substitute actual items names in place of hex values in XSE. In order to use it you will need the actual stditems.rbh file that comes bundled with most XSE downloads (If you don't have it you can download it here).

            For example, in the line 'giveitem 0x15E 0x1 0x1', instead of typing '0x15E' I could type 'ITEM_POKEFLUTE' and XSE will be able to compile the script. This makes it easier for people who find it hard to work with numbers rather than names, or if they just don't know the hex value for a Pokemon, item, move etc.
            __________________
              #25433    
            Old June 5th, 2013 (8:26 PM).
            BlackWhiteRobin's Avatar
            BlackWhiteRobin BlackWhiteRobin is offline
               
              Join Date: Sep 2012
              Age: 19
              Gender: Male
              Nature: Quirky
              Posts: 534
              Quote:
              Originally Posted by DrFuji View Post
              #includestditems.rbh allows you to substitute actual items names in place of hex values in XSE. In order to use it you will need the actual stditems.rbh file that comes bundled with most XSE downloads (If you don't have it you can download it here).

              For example, in the line 'giveitem 0x15E 0x1 0x1', instead of typing '0x15E' I could type 'ITEM_POKEFLUTE' and XSE will be able to compile the script. This makes it easier for people who find it hard to work with numbers rather than names, or if they just don't know the hex value for a Pokemon, item, move etc.
              Oh so that's what it was about. Hey I can edit that right? So in the stditems.rbh it says ITEM_POKEFLUTE I can edit it to make it say just POKEFLUTE so when I type i in XSE I just type POKEFLUTE? (If I don't make sense, please let me know.)
              __________________

                #25434    
              Old June 5th, 2013 (8:49 PM).
              Zemekis's Avatar
              Zemekis Zemekis is offline
              The Booze Cruise
                 
                Join Date: Feb 2013
                Location: 'Murica
                Gender: Male
                Posts: 22
                Quote:
                Originally Posted by DrFuji View Post
                #includestditems.rbh allows you to substitute actual items names in place of hex values in XSE. In order to use it you will need the actual stditems.rbh file that comes bundled with most XSE downloads (If you don't have it you can download it here).

                For example, in the line 'giveitem 0x15E 0x1 0x1', instead of typing '0x15E' I could type 'ITEM_POKEFLUTE' and XSE will be able to compile the script. This makes it easier for people who find it hard to work with numbers rather than names, or if they just don't know the hex value for a Pokemon, item, move etc.
                Awesome, thanks for clearing that up!
                  #25435    
                Old June 5th, 2013 (9:17 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 robin22gongon View Post
                Oh so that's what it was about. Hey I can edit that right? So in the stditems.rbh it says ITEM_POKEFLUTE I can edit it to make it say just POKEFLUTE so when I type i in XSE I just type POKEFLUTE? (If I don't make sense, please let me know.)
                Yup, you can do that. Just be careful to not make the same as other commands or they might get mixed up. That's why they're initially written as 'ITEM_POKEFLUTE' because you're never going to use that exact same line anywhere else in your scripts.
                __________________
                  #25436    
                Old June 5th, 2013 (9:26 PM).
                BlackWhiteRobin's Avatar
                BlackWhiteRobin BlackWhiteRobin is offline
                   
                  Join Date: Sep 2012
                  Age: 19
                  Gender: Male
                  Nature: Quirky
                  Posts: 534
                  I have another question also related to this:

                  Quote:
                  Originally Posted by robin22gongon View Post
                  Hiya guys!

                  Umm... When I re position the battle textboxes (the one showing HP, EXP, name, lvl etc.), do I have to hack the Video RAM too? I wanted to move it so (I could make sideview battles. I hate making backsprites.). If so, how? If not, how will I do it?

                  Sorry for the question that is a bit pointless for others!
                  Where's the Battle Textbox raw?
                  __________________

                    #25437    
                  Old June 6th, 2013 (2:16 AM).
                  GoGoJJTech's Avatar
                  GoGoJJTech GoGoJJTech is offline
                  (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
                  • Gold Tier
                   
                  Join Date: Nov 2012
                  Location: Earth
                  Age: 18
                  Gender: Female
                  Nature: Jolly
                  Posts: 2,477
                  Most likely next to the battle textboxes in unlz. Or the pointer after the pointer to the textbox is the raw.
                  __________________
                  I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
                  The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
                  Romhack.me Profile - Pokecommunity Profile - Youtube Channel

                  Support me at my site!
                  Pokémon Platinum Red and Blue
                    #25438    
                  Old June 6th, 2013 (3:32 AM). Edited June 6th, 2013 by BlackWhiteRobin.
                  BlackWhiteRobin's Avatar
                  BlackWhiteRobin BlackWhiteRobin is offline
                     
                    Join Date: Sep 2012
                    Age: 19
                    Gender: Male
                    Nature: Quirky
                    Posts: 534
                    Quote:
                    Originally Posted by gogojjtech View Post
                    Most likely next to the battle textboxes in unlz. Or the pointer after the pointer to the textbox is the raw.
                    Well, in unLZ there was none. (Unless it was Deep-Scan.) I don't know about this Pointer after the Pointer thing though.

                    Oh. And is there anything else I can use to export tilemaps.raw from a ROM except unLZ?
                    __________________

                      #25439    
                    Old June 6th, 2013 (4:51 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 robin22gongon View Post
                      Well, in unLZ there was none. (Unless it was Deep-Scan.) I don't know about this Pointer after the Pointer thing though.

                      Oh. And is there anything else I can use to export tilemaps.raw from a ROM except unLZ?
                      GBA Graphics editor. It can be better as it allows you to search by offset instead of Lz number.
                      __________________

                      Paired with Simba
                        #25440    
                      Old June 6th, 2013 (5:47 AM).
                      BlackWhiteRobin's Avatar
                      BlackWhiteRobin BlackWhiteRobin is offline
                         
                        Join Date: Sep 2012
                        Age: 19
                        Gender: Male
                        Nature: Quirky
                        Posts: 534
                        Quote:
                        Originally Posted by karatekid552 View Post
                        GBA Graphics editor. It can be better as it allows you to search by offset instead of Lz number.
                        Thanks bro.

                        BTW guys, can someone link me to "A-Map 1.92 Hacked"? I found it in Petalburg Woods Forums. It says that it can support Jambo51's Map Name Extension Hack. I can't download it there because it's in a package. Link's dead too.
                        __________________

                          #25441    
                        Old June 6th, 2013 (7:06 AM).
                        buckeyestilidie buckeyestilidie is offline
                           
                          Join Date: May 2013
                          Gender: Male
                          Posts: 34
                          Quote:
                          Originally Posted by karatekid552 View Post
                          If checkitemamount won't compile, then that is because the name has been changed. Hit F1 in XSE and you will see a command database pop up. Now, scroll through the commands until you get to the command with the number "0x46". This is the command for checkitemamount. See what it's new name is and change your script accordingly.
                          Are you sure it's not 0x47? 0x46 is checkitemroom but 0x47 is checkitem.
                            #25442    
                          Old June 6th, 2013 (7:13 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 buckeyestilidie View Post
                            Are you sure it's not 0x47? 0x46 is checkitemroom but 0x47 is checkitem.
                            Try both. On PokeScript, 0x46 wasn't checkitemroom, it was checkitemamount, so I don't know what to think.
                            __________________

                            Paired with Simba
                              #25443    
                            Old June 6th, 2013 (9:10 AM).
                            buckeyestilidie buckeyestilidie is offline
                               
                              Join Date: May 2013
                              Gender: Male
                              Posts: 34
                              Quote:
                              Originally Posted by karatekid552 View Post
                              Try both. On PokeScript, 0x46 wasn't checkitemroom, it was checkitemamount, so I don't know what to think.
                              #include stditems.rbh

                              '---------------
                              #org 0x800200
                              checkitem ITEM_RARECANDY 0x5
                              compare LASTRESULT 0x5
                              if 0x5 goto 0x880020D
                              end

                              '---------------
                              #org 0x80020D
                              lock
                              end

                              Tried checkitem, checkitemamount, and checkitemroom. Nothing. Lol if it helps I'm running Advancedmap 1.95
                                #25444    
                              Old June 6th, 2013 (9:39 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 buckeyestilidie View Post
                                #include stditems.rbh

                                '---------------
                                #org 0x800200
                                checkitem ITEM_RARECANDY 0x5
                                compare LASTRESULT 0x5
                                if 0x5 goto 0x880020D
                                end

                                '---------------
                                #org 0x80020D
                                lock
                                end

                                Tried checkitem, checkitemamount, and checkitemroom. Nothing. Lol if it helps I'm running Advancedmap 1.95
                                Don't use 1.95. It probably isn't the problem, but it is an unfinished beta that is quite buggy. Also, try using the hex value for rarecandy. That might work better as your rbh file may be wrong.
                                __________________

                                Paired with Simba
                                  #25445    
                                Old June 7th, 2013 (4:11 AM).
                                AtecainCorp.'s Avatar
                                AtecainCorp. AtecainCorp. is offline
                                Rejishan awake...
                                   
                                  Join Date: Jun 2008
                                  Location: Takoabe Town (Region Thonsu)
                                  Age: 24
                                  Gender: Male
                                  Nature: Hardy
                                  Posts: 1,246
                                  I have one question. How change wild Pokemon Battle theme in Pokemon Ruby? I want add to my expansion patch an JOHTO region isnide. And my question is about to change music to JOHTO WILD POKEMON THEME <Which I paste in header of TEST LITTLEROOT THEME> When you in Johto.
                                  __________________
                                  - My new Project comming Soon
                                    #25446    
                                  Old June 7th, 2013 (4:40 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 Ksiazek Bartlomiej View Post
                                    I have one question. How change wild Pokemon Battle theme in Pokemon Ruby? I want add to my expansion patch an JOHTO region isnide. And my question is about to change music to JOHTO WILD POKEMON THEME <Which I paste in header of TEST LITTLEROOT THEME> When you in Johto.
                                    You would have to branch the music loading routine to check which region you are in and play different music based on it.
                                    __________________

                                    Paired with Simba
                                      #25447    
                                    Old June 7th, 2013 (5:16 AM).
                                    AtecainCorp.'s Avatar
                                    AtecainCorp. AtecainCorp. is offline
                                    Rejishan awake...
                                       
                                      Join Date: Jun 2008
                                      Location: Takoabe Town (Region Thonsu)
                                      Age: 24
                                      Gender: Male
                                      Nature: Hardy
                                      Posts: 1,246
                                      But can you told me where is that ROUTINE and how I would change it?
                                      __________________
                                      - My new Project comming Soon
                                        #25448    
                                      Old June 7th, 2013 (5:23 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 Ksiazek Bartlomiej View Post
                                        But can you told me where is that ROUTINE and how I would change it?
                                        Nope. You need to find that. Why? Becuase I would have to find it to tell you. Learn ASM and eventually you will be able to figure it out.
                                        __________________

                                        Paired with Simba
                                          #25449    
                                        Old June 7th, 2013 (5:39 AM).
                                        AtecainCorp.'s Avatar
                                        AtecainCorp. AtecainCorp. is offline
                                        Rejishan awake...
                                           
                                          Join Date: Jun 2008
                                          Location: Takoabe Town (Region Thonsu)
                                          Age: 24
                                          Gender: Male
                                          Nature: Hardy
                                          Posts: 1,246
                                          This is Helpless answer...
                                          __________________
                                          - My new Project comming Soon
                                            #25450    
                                          Old June 7th, 2013 (6:28 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 Ksiazek Bartlomiej View Post
                                            This is Helpless answer...
                                            I'm not going to do any of this for you. I told you what you need to do. I spent 20+ hours hacking every single pokemon sprite loading routine to do a similar thing as to what hacking the music routine would do. I found all of these by myself using extremely simple ASM and basic math (literally basic, like just adding and subtracting). To find one music routine will take no time at all, but I refuse to do anything for you.
                                            __________________

                                            Paired with Simba
                                            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 3:34 AM.