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
  #20976    
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?

    Relevant Advertising!

      #20977    
    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.


        #20978    
      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 ??????????????????????????????????
          #20979    
        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.


            #20980    
          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?
              #20981    
            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


              #20982    
            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
                #20983    
              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


                #20984    
              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
                  #20985    
                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


                  #20986    
                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
                    #20987    
                  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.
                      #20988    
                    Old April 11th, 2012 (11:08 AM).
                    pikachuFan50's Avatar
                    pikachuFan50 pikachuFan50 is offline
                       
                      Join Date: May 2010
                      Gender: Male
                      Posts: 32
                      Quote:
                      Originally Posted by redx2dth View Post
                      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.
                      i wrote it in script but i forgot to write it here.ups anyways the script was like this

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


                      #org @talk
                      = Hi.
                        #20989    
                      Old April 11th, 2012 (11:23 AM).
                      Spherical Ice's Avatar
                      Spherical Ice Spherical Ice is online now
                      • Crystal Tier
                       
                      Join Date: Nov 2007
                      Location: Bristol, UK
                      Age: 19
                      Posts: 5,226
                      When you compile the script to your ROM, pikachu, the offset that appears next to @start in the popup box is what you need to assign to a person event in Advance Map. So just press the "copy" button and paste it in the offset box for the person you want to assign it to.

                      Also, as a side note, if you type "msgbox @talk 0x2", you don't need to include "Lock" and "faceplayer". This saves, while very little, space in your ROM. It also saves time ;3
                      __________________

                      A Pokemon that is discriminated!
                      Support squirtle and make it everyone's favourite.
                        #20990    
                      Old April 11th, 2012 (3:43 PM). Edited April 11th, 2012 by redx2dth.
                      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
                        i wrote it in script but i forgot to write it here.ups anyways the script was like this

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


                        #org @talk
                        = Hi.
                        Another problem would be if you have the rom opened with other tools a sharing violation could occur and it wont save any changes(even compiling)
                        Almost all hex editors are known to lock the file from being used by other running processes and so does unlz.gba i believe.

                        So always make sure that the only tools opened with your rom at the same time are advance map & your script editor of choice.
                          #20991    
                        Old April 11th, 2012 (11:31 PM).
                        Remiremi Remiremi is offline
                           
                          Join Date: Apr 2012
                          Gender: Female
                          Posts: 1
                          I've heard that the gibberish method is a way to fix the wild Pokemon encounters in HGSS, so as not to corrupt the script. Is this true?
                          If so, how do I do it? Do I have to apply this in every script in each map so that I can safely edit them wild Pokemon?
                            #20992    
                          Old April 12th, 2012 (1:00 AM).
                          south69_dallas south69_dallas is offline
                             
                            Join Date: Feb 2010
                            Gender: Male
                            Posts: 30
                            ummm i 4got who helped me last time but thanks alot i figured out a trainer and was able to fix my mistake.

                            so now i changed the weather in advance map 1.95 for viridian forest and everything looks fine except the middle two "squares" of all my trees, they are all bright green while the rest of the tree is darker. I used heavy mist fog etc.
                              #20993    
                            Old April 12th, 2012 (4:32 AM).
                            pikachuFan50's Avatar
                            pikachuFan50 pikachuFan50 is offline
                               
                              Join Date: May 2010
                              Gender: Male
                              Posts: 32
                              Quote:
                              Originally Posted by Spherical Ice View Post
                              When you compile the script to your ROM, pikachu, the offset that appears next to @start in the popup box is what you need to assign to a person event in Advance Map. So just press the "copy" button and paste it in the offset box for the person you want to assign it to.

                              Also, as a side note, if you type "msgbox @talk 0x2", you don't need to include "Lock" and "faceplayer". This saves, while very little, space in your ROM. It also saves time ;3
                              i did everything you said but it still doesnt work.mybe its the ROM i have?
                                #20994    
                              Old April 12th, 2012 (5:58 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 south69_dallas View Post
                                ummm i 4got who helped me last time but thanks alot i figured out a trainer and was able to fix my mistake.

                                so now i changed the weather in advance map 1.95 for viridian forest and everything looks fine except the middle two "squares" of all my trees, they are all bright green while the rest of the tree is darker. I used heavy mist fog etc.
                                Some of the weather in FR/LG is 'broken'; Fog and Sun with Clouds are good examples. I think there might be a tutorial to fix it around here, but I don't know of one offhand. I don't know what determines what works and what doesn't, but a solution might be to avoid fog.
                                __________________


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


                                  #20995    
                                Old April 12th, 2012 (8:18 AM).
                                pikachuFan50's Avatar
                                pikachuFan50 pikachuFan50 is offline
                                   
                                  Join Date: May 2010
                                  Gender: Male
                                  Posts: 32
                                  anyone know how to solve my problem
                                    #20996    
                                  Old April 12th, 2012 (10:15 AM). Edited April 12th, 2012 by Teomat.
                                  Teomat Teomat is offline
                                     
                                    Join Date: Jan 2010
                                    Gender: Male
                                    Posts: 36
                                    I have modyfied trainers classes in Emerald and find four classes called PKMN TRAINER. Why there are so much and what the difference between them?
                                      #20997    
                                    Old April 12th, 2012 (11:03 AM).
                                    bensgraphicdesign bensgraphicdesign is offline
                                       
                                      Join Date: Apr 2012
                                      Gender: Male
                                      Posts: 48
                                      Hey hackers! I'm trying to hack firered and insert a sprite using the following programs; Paint, Irfanview, unLZ, FSF and APE! Is it still possible? I follow older guides and the pallete returns to normal, the file hasn't shrunk and it's unindexed. How can I index a sprite?!
                                      __________________
                                        #20998    
                                      Old April 12th, 2012 (12:06 PM).
                                      south69_dallas south69_dallas is offline
                                         
                                        Join Date: Feb 2010
                                        Gender: Male
                                        Posts: 30
                                        Has anyone seen a fix to firered fog weather problem? i looked in the tutorials and nothing. Im doing a forest thats more maze like with creepy music so thats why the fog is awesome. Also is there a way to adjust how hard it is to catch certain pokemon? like lv 5 murkcrow broke out of 5 pokeballs and he was on red and par.
                                          #20999    
                                        Old April 12th, 2012 (3:48 PM).
                                        redriders180's Avatar
                                        redriders180 redriders180 is offline
                                        Mastermind of Pokemon Glazed
                                           
                                          Join Date: Jun 2010
                                          Location: Path of Victory, Tunod
                                          Gender: Male
                                          Nature: Quirky
                                          Posts: 540
                                          Quote:
                                          Originally Posted by Teomat View Post
                                          I have modyfied trainers classes in Emerald and find four classes called PKMN TRAINER. Why there are so much and what the difference between them?
                                          I can't say for sure, but it might have something to do with various Battle Frontier and Rival battles. Firered does something similar, with certain trainer classes buffering a rivals name or whatnot. I'd check around, and see if you can find pre-done battles that use it.

                                          Quote:
                                          Originally Posted by bensgraphicdesign View Post
                                          Hey hackers! I'm trying to hack firered and insert a sprite using the following programs; Paint, Irfanview, unLZ, FSF and APE! Is it still possible? I follow older guides and the pallete returns to normal, the file hasn't shrunk and it's unindexed. How can I index a sprite?!
                                          The newest version of Paint doesn't support indexed images. To counter this, I use Gimp, which is a free version of Photoshop, so either of those should help you. Same process as before, just open up in Gimp or Photoshop instead of Paint

                                          Quote:
                                          Originally Posted by south69_dallas View Post
                                          Has anyone seen a fix to firered fog weather problem? i looked in the tutorials and nothing. Im doing a forest thats more maze like with creepy music so thats why the fog is awesome. Also is there a way to adjust how hard it is to catch certain pokemon? like lv 5 murkcrow broke out of 5 pokeballs and he was on red and par.
                                          Yet Another Pokemon Editor (YAPE) has the ability to change catch rates. Download it from the Tools section. As for the fog, maybe try comparing the non-foggy tree tiles to tiles that become foggy, and see if there's something different that can be changed, either behavior bytes or layer-wise.
                                          __________________


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


                                            #21000    
                                          Old April 12th, 2012 (4:21 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 south69_dallas View Post
                                          Has anyone seen a fix to firered fog weather problem? i looked in the tutorials and nothing. Im doing a forest thats more maze like with creepy music so thats why the fog is awesome. Also is there a way to adjust how hard it is to catch certain pokemon? like lv 5 murkcrow broke out of 5 pokeballs and he was on red and par.
                                          The fog doesn't cover all of the tiles since it lies in between the player and the tiles the fog covers. Think of it like this: The are some tiles that cover the player as they walk underneath (e.g treetops), any tiles which carry this characteristic will not be covered by the fog as they lie above the fog's priority. This thread gives some more information should you want it.

                                          Quote:
                                          Originally Posted by pikachuFan50 View Post
                                          anyone know how to solve my problem
                                          Are you sure you're using XSE version 1.1.1?
                                          __________________
                                          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:33 AM.