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
  #20976    
Old April 10th, 2012 (6:46 AM).
redriders180's Avatar
redriders180 redriders180 is offline
Mastermind of Pokemon Glazed
     
    Join Date: Jun 2010
    Location: Path of Victory, Tunod
    Gender: Male
    Nature: Quirky
    Posts: 540

    Quote:
    Originally Posted by pikachuFan50 View Post
    i will thx.and does the offset has to be hexadecimal or decimal?

    Hexadecimal. I have to fill the rest of this message with nonsense to get over the 25 character limit, so apologies for that

    __________________


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



    Relevant Advertising!

      #20977    
    Old April 10th, 2012 (7:38 AM). Edited April 10th, 2012 by DaleH771.
    DaleH771's Avatar
    DaleH771 DaleH771 is offline
    I know who you are.
       
      Join Date: Oct 2011
      Gender: Male
      Posts: 126

      Right, Ive searched everywhere and I can not find an XSE download that actually works? Most are con methods to get me to download something else and arent actually real, and all the ones on here are broken. I just need to script ONE Gym Leader before I can release the Beta of my game damn it.... thanks

      If its easier however, a Gym Leader script that works with PokeScript will be fine instead thanks!

      Right, Ive searched everywhere and I can not find an XSE download that actually works? Most are con methods to get me to download something else and arent actually real, and all the ones on here are broken. I just need to script ONE Gym Leader before I can release the Beta of my game damn it.... thanks

      If its easier however, a Gym Leader script that works with PokeScript will be fine instead thanks!

        #20978    
      Old April 10th, 2012 (8:18 AM).
      pikachuFan50's Avatar
      pikachuFan50 pikachuFan50 is offline
         
        Join Date: May 2010
        Gender: Male
        Posts: 32

        Quote:
        Originally Posted by redriders180 View Post
        Hexadecimal. I have to fill the rest of this message with nonsense to get over the 25 character limit, so apologies for that
        ok thx
        .but i kinda dont know what do i have to put in advance map so plz explain me the whole process after i write the script

          #20979    
        Old April 10th, 2012 (10:14 AM).
        AyakaChan's Avatar
        AyakaChan AyakaChan is offline
           
          Join Date: Jun 2011
          Gender: Female
          Posts: 27

          Hi again, I hope you don't forget my last question it's really important, I know have another problem T____T;;

          In the game there is a cave, and I want to make more maps to make the cave big but when I try to add a map it is added "PALLET TOWN"
          Why is this happening? D:

          __________________
            #20980    
          Old April 10th, 2012 (10:25 AM).
          redriders180's Avatar
          redriders180 redriders180 is offline
          Mastermind of Pokemon Glazed
             
            Join Date: Jun 2010
            Location: Path of Victory, Tunod
            Gender: Male
            Nature: Quirky
            Posts: 540

            Quote:
            Originally Posted by AyakaChan View Post
            Hi again, I hope you don't forget my last question it's really important, I know have another problem T____T;;

            In the game there is a cave, and I want to make more maps to make the cave big but when I try to add a map it is added "PALLET TOWN"
            Why is this happening? D:

            The map has to have a name, so it gives the first one in index, which is Pallet Town. Change it by going to the "Header" tab, clicking the dropdown that says "Pallet Town", and selecting another name. It won't show up as the official name immediately, but hitting F5 will show the change.

            Quote:
            Originally Posted by pikachuFan50 View Post
            ok thx
            .but i kinda dont know what do i have to put in advance map so plz explain me the whole process after i write the script

            You had the process correct. When inserting the script, just highlight the last six zeroes and paste over it, instead of highlighting all eight.

            Quote:
            Originally Posted by DaleH771 View Post
            Right, Ive searched everywhere and I can not find an XSE download that actually works? Most are con methods to get me to download something else and arent actually real, and all the ones on here are broken. I just need to script ONE Gym Leader before I can release the Beta of my game damn it.... thanks

            If its easier however, a Gym Leader script that works with PokeScript will be fine instead thanks!

            Right, Ive searched everywhere and I can not find an XSE download that actually works? Most are con methods to get me to download something else and arent actually real, and all the ones on here are broken. I just need to script ONE Gym Leader before I can release the Beta of my game damn it.... thanks

            If its easier however, a Gym Leader script that works with PokeScript will be fine instead thanks!

            Most of the links around here are probably dying, since Megaupload closed down, and other sites are starting to limit downloading. Anyway, but here is a copy of XSE for you. Courtesy of the great Hackmew!

            __________________


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


              #20981    
            Old April 10th, 2012 (12:18 PM).
            Rumille's Avatar
            Rumille Rumille is offline
               
              Join Date: Feb 2012
              Gender: Male
              Posts: 72

              Is there a way to change the starting position at the beginning of the game? So you start in a certain map.

                #20982    
              Old April 10th, 2012 (12:53 PM).
              droomph's Avatar
              droomph droomph is offline

              weeb

              • Crystal Tier
               
              Join Date: Sep 2011
              Location: nowhere spectacular
              Age: 20
              Gender: Male
              Nature: Impish
              Posts: 4,291

              Search up "SMCA", and if you're using RSE also search up "Truck Remover".

              __________________
              did u no there r 21 letters in the alphabet
              o i forgot 5
              uraqt


                #20983    
              Old April 10th, 2012 (2:09 PM).
              Rumille's Avatar
              Rumille Rumille is offline
                 
                Join Date: Feb 2012
                Gender: Male
                Posts: 72

                The problem with SMCA is that I can't seem to set an 'Y'-position. Only the X. What's up with that?

                  #20984    
                Old April 10th, 2012 (2:58 PM).
                sonic1's Avatar
                sonic1 sonic1 is offline
                ASM is my life now...
                   
                  Join Date: May 2008
                  Location: Portugal
                  Age: 22
                  Gender: Male
                  Nature: Timid
                  Posts: 79

                  Quote:
                  Originally Posted by Rumille View Post
                  The problem with SMCA is that I can't seem to set an 'Y'-position. Only the X. What's up with that?

                  Code:
                  080549F8 @ =============== S U B R O U T I N E =======================================
                  080549F8
                  080549F8
                  080549F8 sub_080549F8:                           @ CODE XREF: new_game+CAp
                  080549F8
                  080549F8 var_8           = -8
                  080549F8
                  080549F8                 PUSH    {LR}
                  080549FA                 SUB     SP, SP, #4
                  080549FC                 MOVS    R2, #1
                  080549FE                 NEGS    R2, R2
                  08054A00                 MOVS    R0, #6
                  08054A02                 STR     R0, [SP,#8+var_8]
                  08054A04                 MOVS    R0, #4
                  08054A06                 MOVS    R1, #1
                  08054A08                 MOVS    R3, #6
                  08054A0A                 BL      sub_0805538C
                  08054A0E                 BL      load_warp_map
                  08054A12                 ADD     SP, SP, #4
                  08054A14                 POP     {R0}
                  08054A16                 BX      R0
                  08054A16 @ End of function sub_080549F8

                  Thing is that the coordinate Y is stored in stack.

                  To customize the Y coordinate, go to offset 0x054A00 in an hex editor and change the 06 to what you want to be the Y coordinate.

                  ~Sonic1

                  __________________
                  This signature has been disabled.
                  over 350px high
                  Please review and fix the issues by reading the signature rules.

                  You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

                  Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
                    #20985    
                  Old April 11th, 2012 (7:32 AM).
                  pikachuFan50's Avatar
                  pikachuFan50 pikachuFan50 is offline
                     
                    Join Date: May 2010
                    Gender: Male
                    Posts: 32

                    still doesn't work h t t p: //youtu.be/rId6cQkv6tY

                      #20986    
                    Old April 11th, 2012 (7:45 AM).
                    Mana's Avatar
                    Mana Mana is offline
                    • Platinum Tier
                     
                    Join Date: Jan 2009
                    Location: UK
                    Gender: Female
                    Posts: 10,008

                    Quote:
                    Originally Posted by pikachuFan50 View Post
                    still doesn't work h t t p: //youtu.be/rId6cQkv6tY

                    There's nothing wrong with your script, so I can only imagine it's your dynamic.

                    Always use dynamic 0x800000 (or some people use 0x740000 but the first is easier to remember). Free space finder is redundant, and what you're overwriting may not actually be free space.

                    If that doesn't work, try decompiling the script (from A-Map) and see if it's the same as the original.

                      #20987    
                    Old April 11th, 2012 (8:42 AM).
                    pikachuFan50's Avatar
                    pikachuFan50 pikachuFan50 is offline
                       
                      Join Date: May 2010
                      Gender: Male
                      Posts: 32

                      Quote:
                      Originally Posted by SwiftSign View Post
                      There's nothing wrong with your script, so I can only imagine it's your dynamic.

                      Always use dynamic 0x800000 (or some people use 0x740000 but the first is easier to remember). Free space finder is redundant, and what you're overwriting may not actually be free space.

                      If that doesn't work, try decompiling the script (from A-Map) and see if it's the same as the original.

                      whatcha mean by decompiling.and if i always use 0x800000 how am i gonna write the other scripts i mean they have to have diferent offsets.right?

                        #20988    
                      Old April 11th, 2012 (8:49 AM).
                      redriders180's Avatar
                      redriders180 redriders180 is offline
                      Mastermind of Pokemon Glazed
                         
                        Join Date: Jun 2010
                        Location: Path of Victory, Tunod
                        Gender: Male
                        Nature: Quirky
                        Posts: 540

                        Quote:
                        Originally Posted by pikachuFan50 View Post
                        whatcha mean by decompiling.and if i always use 0x800000 how am i gonna write the other scripts i mean they have to have diferent offsets.right?

                        #dynamic 0x800000 means that XSE will calculate how many bytes you need, search for the free space, and insert it where it will fit. It starts searching at 0x800000, and keeps searching until it finds enough free space, and then puts the script there. Basically, just always put #dynamic 0x800000 at the top, then begin writing the script.

                        PS: You're compiling a script in a very roundabout fashion. All you need to do is write the script, and hit the button with two gears. (when you mouseover, it says compile). And you don't need to save the script either.

                        Decompiling is when you open the script from Advance Map, i.e. double clicking the event and opening up its event in XSE.

                        __________________


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


                          #20989    
                        Old April 11th, 2012 (8:58 AM).
                        pikachuFan50's Avatar
                        pikachuFan50 pikachuFan50 is offline
                           
                          Join Date: May 2010
                          Gender: Male
                          Posts: 32

                          Quote:
                          Originally Posted by redriders180 View Post
                          #dynamic 0x800000 means that XSE will calculate how many bytes you need, search for the free space, and insert it where it will fit. It starts searching at 0x800000, and keeps searching until it finds enough free space, and then puts the script there. Basically, just always put #dynamic 0x800000 at the top, then begin writing the script.

                          PS: You're compiling a script in a very roundabout fashion. All you need to do is write the script, and hit the button with two gears. (when you mouseover, it says compile). And you don't need to save the script either.

                          Decompiling is when you open the script from Advance Map, i.e. double clicking the event and opening up its event in XSE.

                          nad so when i click compile in xse i copy the one that is highlited?

                            #20990    
                          Old April 11th, 2012 (9:01 AM).
                          redriders180's Avatar
                          redriders180 redriders180 is offline
                          Mastermind of Pokemon Glazed
                             
                            Join Date: Jun 2010
                            Location: Path of Victory, Tunod
                            Gender: Male
                            Nature: Quirky
                            Posts: 540

                            Quote:
                            Originally Posted by pikachuFan50 View Post
                            nad so when i click compile in xse i copy the one that is highlited?

                            Correct. Just make sure you start at #org 0x800000 always.

                            __________________


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


                              #20991    
                            Old April 11th, 2012 (9:07 AM).
                            pikachuFan50's Avatar
                            pikachuFan50 pikachuFan50 is offline
                               
                              Join Date: May 2010
                              Gender: Male
                              Posts: 32

                              Quote:
                              Originally Posted by redriders180 View Post
                              Correct. Just make sure you start at #org 0x800000 always.

                              #org or #dynamic ??????????????????????????????????

                                #20992    
                              Old April 11th, 2012 (9:21 AM).
                              redriders180's Avatar
                              redriders180 redriders180 is offline
                              Mastermind of Pokemon Glazed
                                 
                                Join Date: Jun 2010
                                Location: Path of Victory, Tunod
                                Gender: Male
                                Nature: Quirky
                                Posts: 540

                                Quote:
                                Originally Posted by pikachuFan50 View Post
                                #org or #dynamic ??????????????????????????????????

                                My bad. #dynamic is what you want.

                                __________________


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


                                  #20993    
                                Old April 11th, 2012 (9:22 AM).
                                pikachuFan50's Avatar
                                pikachuFan50 pikachuFan50 is offline
                                   
                                  Join Date: May 2010
                                  Gender: Male
                                  Posts: 32

                                  Quote:
                                  Originally Posted by redriders180 View Post
                                  My bad. #dynamic is what you want.
                                  and umm i still don't understand about xse finding free space how am i going to know hwat offset it is?

                                    #20994    
                                  Old April 11th, 2012 (9:34 AM).
                                  droomph's Avatar
                                  droomph droomph is offline

                                  weeb

                                  • Crystal Tier
                                   
                                  Join Date: Sep 2011
                                  Location: nowhere spectacular
                                  Age: 20
                                  Gender: Male
                                  Nature: Impish
                                  Posts: 4,291

                                  Choose a spot, and #dynamic will find the closest area of free space to that spot for you, so you don't have to worry about that.

                                  __________________
                                  did u no there r 21 letters in the alphabet
                                  o i forgot 5
                                  uraqt


                                    #20995    
                                  Old April 11th, 2012 (9:38 AM).
                                  pikachuFan50's Avatar
                                  pikachuFan50 pikachuFan50 is offline
                                     
                                    Join Date: May 2010
                                    Gender: Male
                                    Posts: 32

                                    Quote:
                                    Originally Posted by droomph View Post
                                    Choose a spot, and #dynamic will find the closest area of free space to that spot for you, so you don't have to worry about that.
                                    POTATO.i suck hahah.what do you mean chose a spot.can u show a pic or sumting.english isnt my native language and im 13.so i dont really understand much

                                      #20996    
                                    Old April 11th, 2012 (9:52 AM).
                                    droomph's Avatar
                                    droomph droomph is offline

                                    weeb

                                    • Crystal Tier
                                     
                                    Join Date: Sep 2011
                                    Location: nowhere spectacular
                                    Age: 20
                                    Gender: Male
                                    Nature: Impish
                                    Posts: 4,291

                                    So like,

                                    Code:
                                    #dynamic 0x800000
                                    means that it will search from offset 0x800000, and from there, it looks for a certain amount of repetitions of a certain byte, usually 0xFF. Once it finds a string of that byte long enough it will compile the script there.

                                    __________________
                                    did u no there r 21 letters in the alphabet
                                    o i forgot 5
                                    uraqt


                                      #20997    
                                    Old April 11th, 2012 (9:54 AM).
                                    pikachuFan50's Avatar
                                    pikachuFan50 pikachuFan50 is offline
                                       
                                      Join Date: May 2010
                                      Gender: Male
                                      Posts: 32

                                      Quote:
                                      Originally Posted by droomph View Post
                                      So like,
                                      Code:
                                      #dynamic 0x800000
                                      means that it will search from offset 0x800000, and from there, it looks for a certain amount of repetitions of a certain byte, usually 0xFF. Once it finds a string of that byte long enough it will compile the script there.
                                      yeah.but what do i write into A-MAP

                                        #20998    
                                      Old April 11th, 2012 (9:55 AM).
                                      droomph's Avatar
                                      droomph droomph is offline

                                      weeb

                                      • Crystal Tier
                                       
                                      Join Date: Sep 2011
                                      Location: nowhere spectacular
                                      Age: 20
                                      Gender: Male
                                      Nature: Impish
                                      Posts: 4,291

                                      When you compile the script, it will give you a certain offset. You copy that offset over to Amap.

                                      __________________
                                      did u no there r 21 letters in the alphabet
                                      o i forgot 5
                                      uraqt


                                        #20999    
                                      Old April 11th, 2012 (10:17 AM).
                                      pikachuFan50's Avatar
                                      pikachuFan50 pikachuFan50 is offline
                                         
                                        Join Date: May 2010
                                        Gender: Male
                                        Posts: 32

                                        hmm still doesnt work.this is the script

                                        #dynamic 0x800000
                                        #org @start
                                        lock
                                        faceplayer
                                        msgbox @talk 0x6
                                        release
                                        end

                                          #21000    
                                        Old April 11th, 2012 (10:46 AM).
                                        redx2dth's Avatar
                                        redx2dth redx2dth is offline
                                        Metapods' got class!
                                           
                                          Join Date: Jul 2011
                                          Location: Im an AI. I live in a chip.
                                          Age: 22
                                          Gender: Male
                                          Nature: Sassy
                                          Posts: 27

                                          Quote:
                                          Originally Posted by pikachuFan50 View Post
                                          hmm still doesnt work.this is the script

                                          #dynamic 0x800000
                                          #org @start
                                          lock
                                          faceplayer
                                          msgbox @talk 0x6
                                          release
                                          end

                                          Wheres your text data? Like this:

                                          #dynamic 0x800000
                                          #org @start
                                          lock
                                          faceplayer
                                          msgbox @talk 0x6
                                          release
                                          end

                                          #org @talk
                                          = This is some text for\nyour script to show.

                                          __________________

                                          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 1:39 PM.