The PokéCommunity Forums Fan Games ROM Hacking
[ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION)

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
  #25026    
Old May 25th, 2013 (3:24 AM).
BlackWhiteRobin's Avatar
BlackWhiteRobin BlackWhiteRobin is offline
     
    Join Date: Sep 2012
    Age: 20
    Gender: Male
    Nature: Quirky
    Posts: 543
    Quote:
    Originally Posted by Jambo51 View Post
    FR doesn't matter in this case, a pointer to expanded ROM is the exact same as a pointer to the normal ROM. You just take the address and add 0x8000000 to it. So if your address is 0x1250000, the pointer to it is 0x1250000 + 0x8000000 -> 0x9250000 -> 00 00 25 09
    Oh so that's how.

    Quote:
    Originally Posted by Jambo51 View Post
    If you're on FR, you can't do a regional dex. The game doesn't draw any distinctions between the regional order and the National order, so if you edit one, it affects the other too.
    Actually, he is using Ruby. Is it still the same?

    Relevant Advertising!

      #25027    
    Old May 25th, 2013 (5:37 AM).
    GoGoJJTech's Avatar
    GoGoJJTech GoGoJJTech is offline
    (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
     
    Join Date: Nov 2012
    Location: Earth
    Age: 19
    Gender: Female
    Nature: Jolly
    Posts: 2,475
    If the offset is the usual 0123456 then its 56 34 12 08
    But in an expanded Rom offsets after 1000000 are like so 1123456 = 56 34 12 09
    __________________
    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
      #25028    
    Old May 25th, 2013 (11:01 AM).
    Emppuliini Emppuliini is offline
       
      Join Date: Oct 2012
      Gender: Male
      Posts: 1
      So I've been trying to get this code to work but no matter what the moment when stepped to tile that activates (should atleast) the game simply freezes and player doesn't move anywhere and nothings happening :d

      Spoiler:
      '---------------
      #org 0x71AC09
      checkflag 0xA80C
      if 0x1 goto 0x871AD3A
      lock
      checkflag 0x828
      if 0x0 goto 0x871ACBC
      checkflag 0xA861
      if 0x0 goto 0x871AD14
      applymovement 0x4 0x871ADE5
      applymovement 0x3 0x871ADF4
      pause 0x50
      setflag 0xA80C
      release
      end

      '---------------
      #org 0x71AD3A
      nop
      end

      '---------------
      #org 0x71ACBC
      applymovement 0x4 0x871ADE1
      applymovement 0x3 0x871ADE1
      waitmovement 0x0
      msgbox 0x871AD3D MSG_NORMAL '"We're sorry, but we can't\nlet you..."
      applymovement MOVE_PLAYER 0x871AE03
      waitmovement 0x0
      release
      end

      '---------------
      #org 0x71AD14
      applymovement 0x4 0x871ADE1
      applymovement 0x3 0x871ADE1
      waitmovement 0x0
      msgbox 0x871AD79 MSG_NORMAL '"Have you heard of the\nscientist i..."
      applymovement MOVE_PLAYER 0x871AE03
      waitmovement 0x0
      release
      end


      '---------
      ' Strings
      '---------
      #org 0x71AD3D
      = We're sorry, but we can't\nlet you pass without a\lpokemon.

      #org 0x71AD79
      = Have you heard of the\nscientist in the trialing\lcave?\pYou should go see him then\ncome here. wink wink


      '-----------
      ' Movements
      '-----------
      #org 0x71ADE5
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1D 'Step Down (Fast)
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1E 'Step Up (Fast)
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1E 'Step Up (Fast)
      #raw 0x1E 'Step Up (Fast)
      #raw 0x0 'Face Down
      #raw 0xFE 'End of Movements

      #org 0x71ADF4
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1D 'Step Down (Fast)
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1E 'Step Up (Fast)
      #raw 0x1F 'Step Left (Fast)
      #raw 0x1E 'Step Up (Fast)
      #raw 0x1E 'Step Up (Fast)
      #raw 0x1F 'Step Left (Fast)
      #raw 0x0 'Face Down
      #raw 0xFE 'End of Movements

      #org 0x71ADE1
      #raw 0x62 'Exclamation Mark (!)
      #raw 0x14 'Jump2 Down
      #raw 0xFE 'End of Movements

      #org 0x71AE03
      #raw 0x10 'Step Down (Normal)
      #raw 0xFE 'End of Movements
        #25029    
      Old May 25th, 2013 (12:09 PM).
      giradialkia's Avatar
      giradialkia giradialkia is offline
       
      Join Date: Apr 2009
      Location: Ireland
      Age: 24
      Gender: Male
      Nature: Timid
      Posts: 1,552
      A question for those who may be somewhat proficient with music hacking:

      Does anyone have a complete list of the instruments used in Pokémon Ruby? I've found one Magnius made a while ago, listing commonly used DirectSound instruments in GBA games (http://www.pokecommunity.com/showthread.php?t=139156), but I've realised that Ruby actually doesn't use some of them, such as the Overdriven Guitar and a few others (at least, to my knowledge). Obviously by a lot of trial and error I can figure out what instruments are 'missing' from Ruby, but it'd obviously be quicker if someone already had a list of what instruments are already there to work with? (Assuming of course that I'm correct in my.. assumption).
      __________________

      I'm working on an album of Pokémon-inspired music. Check out the Soundcloud link if you're interested!


      This is my Soundcloud | | This is my bandcamp
        #25030    
      Old May 25th, 2013 (3:40 PM).
      Jambo51's Avatar
      Jambo51 Jambo51 is offline
      Glory To Arstotzka
         
        Join Date: Jun 2009
        Gender: Male
        Nature: Quiet
        Posts: 732
        Quote:
        Originally Posted by robin22gongon View Post
        Actually, he is using Ruby. Is it still the same?
        Honestly, no idea. I looked at the code for Ruby's Pokédex and it made me cry. It's THAT bad.

        At a guess, I'd say it works like you'd expect, with one set of data being for regional and another being for national. One thing I do know is that you can't have any duplicate entries. That can cause crashes or simply cause the dex not to work properly.
        __________________
        Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
          #25031    
        Old May 25th, 2013 (3:52 PM).
        zork787's Avatar
        zork787 zork787 is offline
           
          Join Date: Oct 2012
          Gender: Male
          Posts: 15
          Ok i'm trying to edit the Gengar and Nidorino in the Fire Red opening, but when I change the sprites that are a tilemap, the tilemap goes all over the place and I have no clue how to fix it

          I'd post an image of what I'm talking about but I can't post links yet :/
            #25032    
          Old May 25th, 2013 (4:25 PM).
          BlackWhiteRobin's Avatar
          BlackWhiteRobin BlackWhiteRobin is offline
             
            Join Date: Sep 2012
            Age: 20
            Gender: Male
            Nature: Quirky
            Posts: 543
            Quote:
            Originally Posted by Jambo51 View Post
            Honestly, no idea. I looked at the code for Ruby's Pokédex and it made me cry. It's THAT bad.

            At a guess, I'd say it works like you'd expect, with one set of data being for regional and another being for national. One thing I do know is that you can't have any duplicate entries. That can cause crashes or simply cause the dex not to work properly.
            Oooohh... It's that bad. If that made you cry, it really IS bad.

            Quote:
            Originally Posted by zork787 View Post
            Ok i'm trying to edit the Gengar and Nidorino in the Fire Red opening, but when I change the sprites that are a tilemap, the tilemap goes all over the place and I have no clue how to fix it

            I'd post an image of what I'm talking about but I can't post links yet :/
            Actually, I haven't seen anyone hack that animation yet except the Logo where it says "GAMEFREAK". That's why you haven't seen any tut around here did you? The only thing we can do about that right now is skip it.

            Oh and try using Darth TME for creating your tilemap. Maybe that can help.
              #25033    
            Old May 25th, 2013 (4:27 PM).
            SKRON SKRON is offline
               
              Join Date: May 2013
              Gender: Male
              Posts: 10
              Quote:
              Originally Posted by Jambo51 View Post
              Honestly, no idea. I looked at the code for Ruby's Pokédex and it made me cry. It's THAT bad.

              At a guess, I'd say it works like you'd expect, with one set of data being for regional and another being for national. One thing I do know is that you can't have any duplicate entries. That can cause crashes or simply cause the dex not to work properly.
              But..I tried to set Bulbasaur to 1 in the regional as well as the national in Ruby. It didn't work. When you say duplicate..what exactly do you mean?
                #25034    
              Old May 25th, 2013 (4:36 PM).
              BlackWhiteRobin's Avatar
              BlackWhiteRobin BlackWhiteRobin is offline
                 
                Join Date: Sep 2012
                Age: 20
                Gender: Male
                Nature: Quirky
                Posts: 543
                Quote:
                Originally Posted by SKRON View Post
                But..I tried to set Bulbasaur to 1 in the regional as well as the national in Ruby. It didn't work. When you say duplicate..what exactly do you mean?
                He said something like what I said in one of my posts.

                Quote:
                Originally Posted by robin22gongon View Post
                Actually, even I don't really know how it works but, I think it works in the opposite way like setting for example, you want Bulbasaur to be #1 in regional dex, try setting him to #1 on the national dex. That's how I think it works. Oh, if that doesn't work. Try it again in the usual way you should do it, not the one I stated above and make sure, if you made Bulbasaur #1 in regional dex, swap his place with Treecko, the original #1 in the regional dex.

                You know like for example:
                #1 Treecko => #203 Bulbasaur (Not sure) will be
                #1 Bulbasaur => #203 Treecko.
                  #25035    
                Old May 25th, 2013 (4:48 PM).
                zork787's Avatar
                zork787 zork787 is offline
                   
                  Join Date: Oct 2012
                  Gender: Male
                  Posts: 15
                  Quote:
                  Originally Posted by robin22gongon View Post
                  Actually, I haven't seen anyone hack that animation yet except the Logo where it says "GAMEFREAK". That's why you haven't seen any tut around here did you? The only thing we can do about that right now is skip it.

                  Oh and try using Darth TME for creating your tilemap. Maybe that can help.
                  ah that should help a bit hopefully, though it does seem that the Japanese Hacking community knows how to hack it as I've seen a few Japanese hacks (mainly Moemon and Touhou puppet Play) with a modified intro, so there is something we've missed if they can do it.
                    #25036    
                  Old May 25th, 2013 (4:55 PM).
                  BlackWhiteRobin's Avatar
                  BlackWhiteRobin BlackWhiteRobin is offline
                     
                    Join Date: Sep 2012
                    Age: 20
                    Gender: Male
                    Nature: Quirky
                    Posts: 543
                    Quote:
                    Originally Posted by zork787 View Post
                    ah that should help a bit hopefully, though it does seem that the Japanese Hacking community knows how to hack it as I've seen a few Japanese hacks (mainly Moemon and Touhou puppet Play) with a modified intro, so there is something we've missed if they can do it.
                    Then I definitely think it's a problem with your tile map. Are you using the original tile map found in the game using unlz? if you are making a custom one, that's definitely the problem.
                      #25037    
                    Old May 25th, 2013 (4:59 PM).
                    SKRON SKRON is offline
                       
                      Join Date: May 2013
                      Gender: Male
                      Posts: 10
                      Quote:
                      Originally Posted by robin22gongon View Post
                      He said something like what I said in one of my posts.
                      Swapping the numbers? I tried that too, to no avail..I know I'm doing something wrong or missing a step, I just can't point out what..because I actually pulled this off once..
                        #25038    
                      Old May 25th, 2013 (5:11 PM).
                      BlackWhiteRobin's Avatar
                      BlackWhiteRobin BlackWhiteRobin is offline
                         
                        Join Date: Sep 2012
                        Age: 20
                        Gender: Male
                        Nature: Quirky
                        Posts: 543
                        Quote:
                        Originally Posted by SKRON View Post
                        Swapping the numbers? I tried that too, to no avail..I know I'm doing something wrong or missing a step, I just can't point out what..because I actually pulled this off once..
                        Then, do this:

                        Backup your ROM.
                        Open your ROM in PGE.
                        Open Pokedex Order Editor.
                        .
                        .
                        .
                        .
                        .
                        Try everything you can and mess up with it.
                          #25039    
                        Old May 25th, 2013 (5:12 PM).
                        zork787's Avatar
                        zork787 zork787 is offline
                           
                          Join Date: Oct 2012
                          Gender: Male
                          Posts: 15
                          Quote:
                          Originally Posted by robin22gongon View Post
                          Then I definitely think it's a problem with your tile map. Are you using the original tile map found in the game using unlz? if you are making a custom one, that's definitely the problem.
                          yeah I'm using a custom one, but it's from one of those Japanese hacks with the modified intro and I'm ripping them directly from the Japanese hack so I don't know whats goin on
                            #25040    
                          Old May 25th, 2013 (5:21 PM). Edited May 25th, 2013 by GoGoJJTech.
                          GoGoJJTech's Avatar
                          GoGoJJTech GoGoJJTech is offline
                          (☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
                           
                          Join Date: Nov 2012
                          Location: Earth
                          Age: 19
                          Gender: Female
                          Nature: Jolly
                          Posts: 2,475
                          @giradialkia
                          Just follow my tut on music hacking to get your own instruments.

                          @Emppuliini
                          In advance map go to the tile and in var type in 4051
                          __________________
                          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
                            #25041    
                          Old May 25th, 2013 (5:24 PM).
                          BlackWhiteRobin's Avatar
                          BlackWhiteRobin BlackWhiteRobin is offline
                             
                            Join Date: Sep 2012
                            Age: 20
                            Gender: Male
                            Nature: Quirky
                            Posts: 543
                            Quote:
                            Originally Posted by zork787 View Post
                            yeah I'm using a custom one, but it's from one of those Japanese hacks with the modified intro and I'm ripping them directly from the Japanese hack so I don't know whats goin on
                            Nonononononoooo! Use the one from the game and edit from there on. :/
                              #25042    
                            Old May 25th, 2013 (5:40 PM).
                            SKRON SKRON is offline
                               
                              Join Date: May 2013
                              Gender: Male
                              Posts: 10
                              Quote:
                              Originally Posted by robin22gongon View Post
                              Then, do this:

                              Backup your ROM.
                              Open your ROM in PGE.
                              Open Pokedex Order Editor.
                              .
                              .
                              .
                              .
                              .
                              Try everything you can and mess up with it.
                              I just tried using everything except the kitchen sink. =(
                                #25043    
                              Old May 25th, 2013 (5:59 PM).
                              BlackWhiteRobin's Avatar
                              BlackWhiteRobin BlackWhiteRobin is offline
                                 
                                Join Date: Sep 2012
                                Age: 20
                                Gender: Male
                                Nature: Quirky
                                Posts: 543
                                Quote:
                                Originally Posted by SKRON View Post
                                I just tried using everything except the kitchen sink. =(
                                Then try using the kitchen sink. Maybe that can be the answer. Even small things that look like very worthless can be useful when used right.

                                And as I said try messing with it like randomly setting this to that, that to this.
                                  #25044    
                                Old May 25th, 2013 (9:21 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
                                  Where's the player's sprite data, backsprite data, and trainer card sprite data stored at?
                                  __________________
                                  Y: Roak || 1177-8023-4387
                                    #25045    
                                  Old May 25th, 2013 (11:21 PM).
                                  SKRON SKRON is offline
                                     
                                    Join Date: May 2013
                                    Gender: Male
                                    Posts: 10
                                    Quote:
                                    Originally Posted by robin22gongon View Post
                                    Then try using the kitchen sink. Maybe that can be the answer. Even small things that look like very worthless can be useful when used right.

                                    And as I said try messing with it like randomly setting this to that, that to this.
                                    My friend, thank you for your time, unfortunately, it does not look like this will work
                                      #25046    
                                    Old May 26th, 2013 (3:03 AM).
                                    GoldXD GoldXD is offline
                                       
                                      Join Date: Feb 2013
                                      Gender: Male
                                      Posts: 15
                                      Hello everyone.I downloaded Advance Map,but i can't export pictures.

                                      It says:

                                      ERROR: (EFCreateError)Unable to create file"C:\Users\?????\Desktop\Tileset.dib"
                                        #25047    
                                      Old May 26th, 2013 (3:32 AM).
                                      giradialkia's Avatar
                                      giradialkia giradialkia is offline
                                       
                                      Join Date: Apr 2009
                                      Location: Ireland
                                      Age: 24
                                      Gender: Male
                                      Nature: Timid
                                      Posts: 1,552
                                      Quote:
                                      Originally Posted by gogojjtech View Post
                                      @giradialkia
                                      Just follow my tut on music hacking to get your own instruments.
                                      Yeah, tried that. I'm generally unlucky with tutorials- this is one of those cases, it just hasn't worked for me and doesn't look like it's going to. I have a method to change the instruments (within the song, not the ROM) that works absolutely fine, I just want to know exactly what instruments can be worked with in Ruby so I know how to compose around that; it's an odd way to go about it, but it works for me (so long as I know, again, what instruments I'm working with).
                                      __________________

                                      I'm working on an album of Pokémon-inspired music. Check out the Soundcloud link if you're interested!


                                      This is my Soundcloud | | This is my bandcamp
                                        #25048    
                                      Old May 26th, 2013 (1:37 PM).
                                      kablam kablam is offline
                                         
                                        Join Date: May 2013
                                        Gender: Male
                                        Posts: 21
                                        When I set XSE as the script editor in Advance Map and proceed to open up a script, it opens for less than a second and then closes out. This happens no matter what script I try and open.

                                        edit: This actually happens when I open up XSE in its respective file location as well. I have tried downloading from a different source with no luck.
                                          #25049    
                                        Old May 26th, 2013 (1:49 PM).
                                        ~Anbuja's Avatar
                                        ~Anbuja ~Anbuja is offline
                                        Let's Keep It Simple
                                           
                                          Join Date: Oct 2010
                                          Location: In Snorlax Stomach
                                          Gender: Male
                                          Nature: Lonely
                                          Posts: 321
                                          Quote:
                                          When I set XSE as the script editor in Advance Map and proceed to open up a script, it opens for less than a second and then closes out. This happens no matter what script I try and open.

                                          edit: This actually happens when I open up XSE in its respective file location as well. I have tried downloading from a different source with no luck.
                                          Uhm as far as I know it has somehting todo with the Setting.ini in you XSE folder.
                                          I've forgot which value had to be set to 0 so I'm inculding my Settings.ini in that spoiler.
                                          Just copy paste that over your Settings.ini after opening it in notepad.

                                          Hope this helps


                                          Spoiler:
                                          Quote:
                                          [MRUList]
                                          1=Kinglerscript.rbc
                                          2=stdattacks.rbh
                                          3=std.rbh
                                          4=Gym Guy (Inside).rbc
                                          5=Bug Catcher Kian.rbc
                                          6=Picnicker Suzie.rbc
                                          7=Final (1).rbc
                                          8=BugTrader.rbc
                                          9=BugTrader.rbc
                                          10=Kaplan.rbc
                                          [MRUPath]
                                          1=C:\Documents and Settings\Administrator\Desktop\AdvanceMap\Ini\
                                          2=C:\Users\Admin\Downloads\XSE\
                                          3=C:\Users\Admin\Downloads\XSE\
                                          4=C:\Users\Admin\Downloads\Get Together 2011\Scripts\Galug Town\
                                          5=C:\Users\Admin\Downloads\Get Together 2011\Scripts\Dusk Forest\
                                          6=C:\Users\Admin\Downloads\Get Together 2011\Scripts\Dusk Forest\
                                          7=C:\Users\Admin\Downloads\Get Together 2011\Scripts\Dusk Forest\
                                          8=C:\Users\Admin\Downloads\Get Together 2011\Scary\Galug Town\
                                          9=C:\Users\Admin\Downloads\Get Together 2011\Scary\Galug Town\Shades\
                                          10=C:\Users\Admin\Downloads\[New]\New Scripts (TC4+)\Poliberg\Gym\
                                          [Templates]
                                          LastPath=C:\Documents and Settings\Administrator\Desktop\AdvanceMap\XSE
                                          [Options]
                                          HexViewerFilter=0
                                          AlwaysOnTop=0
                                          MinimizeToSystemTray=0
                                          RememberSize=0
                                          IgnoreChanges=0
                                          LineNumbers=1
                                          MenuBar=1
                                          StatusBar=1
                                          Sidebar=1
                                          SidebarAlignment=1
                                          ShowNotes=1
                                          ShowRecentFiles=1
                                          CalcMode=0
                                          InlineHelp=1
                                          AutoUpdateCheck=0
                                          NoLog=0
                                          [Format]
                                          BackgroundColor=-2147483643
                                          ForegroundColor=-2147483640
                                          FontName=Courier New
                                          FontBold=0
                                          FontItalic=0
                                          FontSize=9
                                          [Batch]
                                          LastFile=C:\Users\Admin\Downloads\Get Together 2011\Scripting.gba
                                          FilePath=C:\Documents and Settings\Administrator\Desktop\AdvanceMap\XSE
                                          STD=1
                                          STDItems=1
                                          STDPoke=1
                                          STDAttacks=1
                                          [TextAdjuster]
                                          TextLimit=34
                                          __________________
                                            #25050    
                                          Old May 26th, 2013 (4:11 PM).
                                          shinyabsol1's Avatar
                                          shinyabsol1 shinyabsol1 is offline
                                          Pokemon DarkJasper!?
                                             
                                            Join Date: Aug 2010
                                            Gender: Male
                                            Nature: Calm
                                            Posts: 330
                                            Is there any way to check what direction the hero is facing from a script?
                                            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 11:38 AM.