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
  #14426    
Old April 19th, 2010 (7:43 PM).
Zeffy's Avatar
Zeffy Zeffy is offline
blink and you're dead
  • Crystal Tier
 
Join Date: Apr 2009
Gender: Male
Posts: 6,440
Could anyone explain how to use the preparemsg command in XSE?
Thanks, in advance.
__________________

Relevant Advertising!

  #14427    
Old April 19th, 2010 (8:31 PM).
Xirr0 Xirr0 is offline
     
    Join Date: Mar 2010
    Gender: Female
    Nature: Bashful
    Posts: 26
    Quote:
    Originally Posted by Noririn View Post
    Are you trying to edit overworld sprites or trainer sprites?

    For overworld sprites use Overworld Editer RE which you can get in HackMew's tool thread (sorry I can't post links yet).

    For trainer sprites, use unLZ GBA, you can also get the hacked version from HackMew's thread. Trainer sprites start at 1499 in unLZ GBA for Fire Red, not sure about other roms but they should be in that general area.

    Thank you for your help. (Sorry, I have to type more because it keeps telling me my message is too short.)
      #14428    
    Old April 19th, 2010 (11:52 PM).
    HackMew's Avatar
    HackMew HackMew is offline
    Mewtwo Strikes Back
    • Crystal Tier
     
    Join Date: Jun 2006
    Posts: 1,314
    Quote:
    Originally Posted by Zeffy View Post
    Could anyone explain how to use the preparemsg command in XSE?
    Thanks, in advance.
    What about decompiling some in-game scripts and figuring it out yourself? :)
    __________________
      #14429    
    Old April 20th, 2010 (9:12 PM).
    lmdst's Avatar
    lmdst lmdst is offline
    Blast From the Past
       
      Join Date: Nov 2008
      Age: 27
      Posts: 13
      Well, figures my first post here would be a question.

      All right, so I've searched this place upside down to find out a means of changing whether a type is physical/special. Oh, I know what you're thinking - not this again! - but don't worry, I'm not going to ask about it. I gave up trying to find an answer for that one.

      In my project, we've agreed that Ghost and Dark make more sense being the opposite of each other (in other words, Dark would be made from Special to Physical, and Ghost would be made from Physical to Special). Since I couldn't do it the easy way, I went with the hard way - switch around everything about the types.

      It worked out, except for the name of the type during a battle when picking a move. (Because it's the only part of the game that doesn't use the icons) I figured - okay, let's just use Advance Text and change those around!

      Weeell... I found the offsets and all, but. While the original text for ghost has like 8 characters I can use (It has some blank spaces for some reason), Dark only has four (no blank space). I figured this wouldn't be a problem since A-Text can repoint, but well. Once this is done, no text shows up during a battle when I have a Ghost(formerly Dark) move selected. (It just says "Type/______")

      Any idea what might be causing this, or how it can be averted? I figure the best thing to do would be switch the pointers around instead of replacing the actual text, but I have no idea how to work with pointers in the first place (I can figure out my way with a hex editor but repointing is something I couldn't find a guide on). For reference, the rom I'm working on is US FireRed Version, the Ghost text is at 24F1CE and the Dark text is at 24F217. Thanks.
        #14430    
      Old April 21st, 2010 (2:16 AM).
      Bozster's Avatar
      Bozster Bozster is offline
      Chief Lunatic
         
        Join Date: Jul 2008
        Gender: Male
        Nature: Jolly
        Posts: 115
        Does anyone know where the offsets start for footprint image data on Emerald? I know I've asked a question about footprints before, but I was hoping I could try a different method.
        Thanks
          #14431    
        Old April 21st, 2010 (6:14 AM).
        metapod23's Avatar
        metapod23 metapod23 is offline
        Hardened Trainer
           
          Join Date: Mar 2009
          Gender: Male
          Nature: Timid
          Posts: 673
          Quote:
          Originally Posted by lmdst View Post
          Well, figures my first post here would be a question.

          All right, so I've searched this place upside down to find out a means of changing whether a type is physical/special. Oh, I know what you're thinking - not this again! - but don't worry, I'm not going to ask about it. I gave up trying to find an answer for that one.

          In my project, we've agreed that Ghost and Dark make more sense being the opposite of each other (in other words, Dark would be made from Special to Physical, and Ghost would be made from Physical to Special). Since I couldn't do it the easy way, I went with the hard way - switch around everything about the types.

          It worked out, except for the name of the type during a battle when picking a move. (Because it's the only part of the game that doesn't use the icons) I figured - okay, let's just use Advance Text and change those around!

          Weeell... I found the offsets and all, but. While the original text for ghost has like 8 characters I can use (It has some blank spaces for some reason), Dark only has four (no blank space). I figured this wouldn't be a problem since A-Text can repoint, but well. Once this is done, no text shows up during a battle when I have a Ghost(formerly Dark) move selected. (It just says "Type/______")

          Any idea what might be causing this, or how it can be averted? I figure the best thing to do would be switch the pointers around instead of replacing the actual text, but I have no idea how to work with pointers in the first place (I can figure out my way with a hex editor but repointing is something I couldn't find a guide on). For reference, the rom I'm working on is US FireRed Version, the Ghost text is at 24F1CE and the Dark text is at 24F217. Thanks.
          My guess is that maybe it's a text that can't be repointed? Because I'm guessing A-Text repoints dialogues, so that it adds that dialogue to some free space, then changes the enclosed dialogue script, like:

          msgbox 0x111111 msg_face

          the 0x111111 would be repointed to say 0x800000 and then I guess A-Text change the above script to "msgbox 0x800000 msg_face". But presumably the type descriptions you're talking about don't work the same way. They might not even have pointers, really. I don't know.

          If I were you, I'd do a little more research. Use A-Text to find the offset for the Dark-type text in the game. Then open a Hex-Editor and go to that offset. Also, try viewing that offset in XSE's Hex Viewer and see where it's located and what's around it. In your hex editor, try reversing the offset (like, if it was offset 0x24F217, make it 17 F2 24 08) and doing a search for it to see if there are any pointers to it, and if it looks like there are, try manually changing them in the hex editor to the pointer to your own text.

          That's how I would start trying to solve the problem anyway.
          __________________
            #14432    
          Old April 21st, 2010 (6:38 AM).
          saintsalive saintsalive is offline
             
            Join Date: Apr 2010
            Gender: Male
            Posts: 3
            I have a question that most of you will probably laugh at me for. XD
            I am very, very new to ROM hacking. The most I've been able to do is make some fakemon (that I am very proud of), change the title screen, change names, change the map. Nothing beyond that.
            AdvanceText or whatever it's called crashes on me, and Thingy-32 or whatever does the same. How do I edit text without one of these programs? Could anyone direct me to a tool that would work better for my computer (Windows Vista by the way)?
            Thanks!
              #14433    
            Old April 21st, 2010 (8:50 AM). Edited April 21st, 2010 by lmdst.
            lmdst's Avatar
            lmdst lmdst is offline
            Blast From the Past
               
              Join Date: Nov 2008
              Age: 27
              Posts: 13
              Quote:
              Originally Posted by metapod23 View Post
              If I were you, I'd do a little more research. Use A-Text to find the offset for the Dark-type text in the game. Then open a Hex-Editor and go to that offset. Also, try viewing that offset in XSE's Hex Viewer and see where it's located and what's around it. In your hex editor, try reversing the offset (like, if it was offset 0x24F217, make it 17 F2 24 08) and doing a search for it to see if there are any pointers to it, and if it looks like there are, try manually changing them in the hex editor to the pointer to your own text.
              Ah, all right, that makes sense. I don't suppose anyone got around to changing type names and would know specifics, though?


              But, then again, I just realized a big flaw in my plan. The move Curse now has its special effects to Dark-type pokémon as opposed to Ghost-type ones. This.... is an issue. I don't suppose there'd be a byte somewhere that determines the type this move affects?


              EDIT: All right, I got it. These are my findings:

              - Looking at the offsets for the GHOST and DARK text in a hex editor I found out it was just as I expected: the type names are all close together, separated by an FF, in their in-game order (Where Normal is the first, Fighting is the second, etc., and Dark is last). Some types have 00s in front of their names for some reason. So, assuming the FF is what tells the game to end the string and start with the next type's (shot in the dark here), I went and removed one of the 00s in the GHOST string, pulling everything back, and adding an extra character to the DARK string. (for this test, I simply repeated the last K)

              - Testing it in the emulator and... just as I expected. The text for ghost now reads "HOST", and the text for dark reads "ARKK". This means the game calls upon the address of the first character through a different means, and the extra 00s between the names must be a result of changing character lengths around when translating the game from japanese to english. Thankfully for me, there are a couple 00s after the "DARK" text as well. I am not sure what their purpose is, as the data after that is for something else, but I'll take a shot in the dark and assume that at least one of those 00s has the same purpose as the 00s in the other type names, and can be successfully overwritten.

              - I replace the FF after the DARK string with a text character, and the first 00 after it with an FF. The result? A resounding success! Aside from the unfortunate problem with Curse, Ghost and Dark have been fully switched around! Thanks, Metapod23, for opening my eyes.

              For reference, the data begins at 0x24F1A0 with the string "NORMAL".


              Quote:
              Originally Posted by saintsalive View Post
              AdvanceText or whatever it's called crashes on me, and Thingy-32 or whatever does the same. How do I edit text without one of these programs? Could anyone direct me to a tool that would work better for my computer (Windows Vista by the way)?
              Thanks!
              What do you mean it crashes on you? Does the program just won't open because it lacks a specific file (an .ocx or a .dll)? That could happen because it uses some kind of runtime library. All you need to do is obtain that file and put it either in the program's folder or in Windows\system32. I am not sure what the rules about that sort of thing here are, though, but it shouldn't be too hard for you to obtain the file you need.

              I think I remember specifically using AdvanceText on Vista, so I don't think it's an OS issue.
                #14434    
              Old April 22nd, 2010 (8:38 AM).
              Petz94's Avatar
              Petz94 Petz94 is offline
                 
                Join Date: Apr 2010
                Age: 32
                Gender: Male
                Posts: 32
                Does anyone know a way to remove the scene with Oak's Parcel in the Viridian City Pokemart?
                __________________
                Hack in Progress: Pokemon - Black Opal(Working Title)

                Hack Tools I Use:
                Advance Map 1.90
                Advance Text
                Advance Mart
                Advance Pokemon Sprite Editor
                Advance Pokemon Icon Editor
                A-Trainer
                Intro Ed
                YAPE
                Overworld Editor
                XSE
                FSF
                  #14435    
                Old April 22nd, 2010 (11:55 AM).
                Buizark's Avatar
                Buizark Buizark is offline
                Always looking for an OU match
                   
                  Join Date: Dec 2009
                  Gender: Male
                  Nature: Calm
                  Posts: 72
                  Delete the level script under header
                  __________________
                    #14436    
                  Old April 22nd, 2010 (12:15 PM).
                  Petz94's Avatar
                  Petz94 Petz94 is offline
                     
                    Join Date: Apr 2010
                    Age: 32
                    Gender: Male
                    Posts: 32
                    Quote:
                    Originally Posted by Buizark View Post
                    Delete the level script under header
                    Thank you. I enjoy easy solutions.
                    __________________
                    Hack in Progress: Pokemon - Black Opal(Working Title)

                    Hack Tools I Use:
                    Advance Map 1.90
                    Advance Text
                    Advance Mart
                    Advance Pokemon Sprite Editor
                    Advance Pokemon Icon Editor
                    A-Trainer
                    Intro Ed
                    YAPE
                    Overworld Editor
                    XSE
                    FSF
                      #14437    
                    Old April 22nd, 2010 (2:00 PM).
                    Chaos Rush's Avatar
                    Chaos Rush Chaos Rush is offline
                       
                      Join Date: May 2007
                      Gender: Male
                      Posts: 1,303
                      I'd like to edit specials. I know it requires ASM, and that the specials are located in a table somewhere. Can somebody tell me where the table is in Ruby version? And how to find the offset of where a special command is located?
                      __________________
                        #14438    
                      Old April 23rd, 2010 (5:22 AM).
                      Professor-J Professor-J is offline
                         
                        Join Date: Mar 2010
                        Gender: Male
                        Posts: 1
                        Probably a stupid question but I can't seem to find the answer to this anywhere.

                        Is there a way to export, edit and import the animations of say, a door opening or moving flowers or walking through grass? I've been playing about in AM and can't seem to find any way to do it so I'm presuming I need a different program or I'm just doing something wrong D=
                          #14439    
                        Old April 23rd, 2010 (6:57 AM).
                        0m3GA ARS3NAL's Avatar
                        0m3GA ARS3NAL 0m3GA ARS3NAL is offline
                        Im comin' home...
                        • Silver Tier
                         
                        Join Date: Jan 2008
                        Location: Superjail Penitentiary
                        Age: 25
                        Gender: Male
                        Nature: Gentle
                        Posts: 1,816
                        Quote:
                        Originally Posted by Professor-J View Post
                        Probably a stupid question but I can't seem to find the answer to this anywhere.

                        Is there a way to export, edit and import the animations of say, a door opening or moving flowers or walking through grass? I've been playing about in AM and can't seem to find any way to do it so I'm presuming I need a different program or I'm just doing something wrong D=
                        Look for thethethethe's Grass Animation Hacking Tutorial, it's a scarce document, but it SHOULD be findable on this website, in the Documents and Tutorials Section.
                        __________________
                        >Boot Jailbot
                        >Pass *****
                        .
                        .
                        Jailbot OS Ver 1.1.2
                        Greetings Warden
                        of Superjail Penitentiary
                        Awaiting user input...

                        >Display User_Info
                        ╠══User Info══╣
                        Username:
                        0m3GA ARS3NAL
                        Age: 18
                        Sex: Male ♂
                        Race: Caucasian
                        Quote:
                        "What is this
                        I don't even..."

                        M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
                        ╠══End of File══╣
                        Awaiting user input...

                        >
                          #14440    
                        Old April 23rd, 2010 (12:22 PM).
                        KatLee's Avatar
                        KatLee KatLee is offline
                           
                          Join Date: Aug 2007
                          Gender:
                          Posts: 14
                          Alrighty. I did something to my unlz gba torchic. Now the pallette is messed up. It's showing me the shiny pallette. I went down one to what usually for back sprites is the normal pallette, but it's showing me the same pallette. I went down one more and it switched to sceptile's shiny pallette. I tried to go back in and resend the sprite in regular form and it was still like that. I tried again and checked the 'export pallette' box. But that only made it worse, it made the front sprite change but after undoing that I'm still at a loss. When I play the game the back sprite is shiny even if the front is normal! Please help me.
                            #14441    
                          Old April 23rd, 2010 (6:33 PM).
                          MUDKIPS4LIFE's Avatar
                          MUDKIPS4LIFE MUDKIPS4LIFE is offline
                          Hack Player.
                             
                            Join Date: Apr 2010
                            Location: I could say, but odds are you don't care.
                            Gender: Male
                            Nature: Relaxed
                            Posts: 72
                            I need help, I got day and night working but don't know how to edit the wild pokemon from day to night.
                              #14442    
                            Old April 23rd, 2010 (8:28 PM).
                            Aljam's Avatar
                            Aljam Aljam is offline
                            Pierce the heavens
                            • Gold Tier
                             
                            Join Date: Jul 2008
                            Location: Canada
                            Age: 24
                            Gender: Male
                            Nature: Modest
                            Posts: 583
                            Quote:
                            Originally Posted by MUDKIPS4LIFE View Post
                            I need help, I got day and night working but don't know how to edit the wild pokemon from day to night.
                            I don't believe you can do that at the moment sorry...
                            __________________
                            Paired with Druyii.
                              #14443    
                            Old April 24th, 2010 (5:09 AM).
                            altariaking's Avatar
                            altariaking altariaking is offline
                            Needs NO VMs...
                               
                              Join Date: Dec 2009
                              Location: Scotland, Lesmahagow
                              Age: 43
                              Gender: Male
                              Nature: Naive
                              Posts: 1,098
                              i'm having a problem with emerald.
                              i removed the changemaptile script, but ingame it's still there!
                              how do i fix this?
                              __________________
                              http://www.pokecommunity.com/member.php?u=253113
                                #14444    
                              Old April 24th, 2010 (9:01 AM).
                              GateClown GateClown is offline
                                 
                                Join Date: Apr 2009
                                Location: CT
                                Gender: Male
                                Nature: Quiet
                                Posts: 1
                                Hello.
                                How do I edit the town map in Ruby using Advance Map?
                                  #14445    
                                Old April 24th, 2010 (9:59 AM).
                                Shiny Quagsire's Avatar
                                Shiny Quagsire Shiny Quagsire is offline
                                I'm Still Alive, Elsewhere
                                   
                                  Join Date: May 2009
                                  Location: Hoenn Safari Zone
                                  Age: 20
                                  Gender: Male
                                  Nature: Jolly
                                  Posts: 700
                                  Quote:
                                  Originally Posted by GateClown View Post
                                  Hello.
                                  How do I edit the town map in Ruby using Advance Map?
                                  You don't edit it in advanced map. Look in the tutorials section and you'll find something there.
                                  __________________



                                    #14446    
                                  Old April 24th, 2010 (11:00 AM). Edited April 24th, 2010 by ListenT.
                                  ListenT's Avatar
                                  ListenT ListenT is offline
                                  Black kitteh
                                     
                                    Join Date: Feb 2010
                                    Gender: Male
                                    Posts: 9
                                    Anyone know's how to make other region pokemon evolve without the national dex in Pokemon Fire Red ? Like that other region pokemon would evolve at the very begining of the game? Someone?
                                      #14447    
                                    Old April 24th, 2010 (1:17 PM).
                                    Darthatron's Avatar
                                    Darthatron Darthatron is offline
                                    巨大なトロール。
                                    • Silver Tier
                                     
                                    Join Date: Jan 2006
                                    Location: Melbourne, Australia
                                    Age: 26
                                    Gender: Male
                                    Nature: Modest
                                    Posts: 1,152
                                    Quote:
                                    Originally Posted by ListenT View Post
                                    Anyone know's how to make other region pokemon evolve without the national dex in Pokemon Fire Red ? Like that other region pokemon would evolve at the very begining of the game? Someone?
                                    That would cause an error (or rather, the game to just crash).
                                    __________________
                                    あなた は しきしゃ です
                                    わたし は ばか です
                                      #14448    
                                    Old April 24th, 2010 (5:25 PM).
                                    Ninja Caterpie's Avatar
                                    Ninja Caterpie Ninja Caterpie is offline
                                    Sitting by the back window
                                       
                                      Join Date: Mar 2008
                                      Location: Best City OCE
                                      Age: 21
                                      Gender: Male
                                      Nature: Bold
                                      Posts: 5,988
                                      Quote:
                                      Originally Posted by ListenT View Post
                                      Anyone know's how to make other region pokemon evolve without the national dex in Pokemon Fire Red ? Like that other region pokemon would evolve at the very begining of the game? Someone?
                                      Only if you mess with the game engine can that even remotely be possible. I still doubt it, though.

                                      Alright, I need a bit of help myself. I tried to make this loop with minimal success. Every track has exactly 12 full measures and 6' and I loop after one measure, but it still is out of sync, somehow. Can anyone check it to see if I missed anything? D=
                                      Attached Files
                                      File Type: txt 0085.txt‎ (37.7 KB, 2 views) (Save to Dropbox)
                                      __________________
                                      Brony represent.
                                        #14449    
                                      Old April 24th, 2010 (5:43 PM).
                                      Incineroar's Avatar
                                      Incineroar Incineroar is online now
                                      the spirit of the fighter
                                      • Moderator
                                      • Platinum Tier
                                      • Developer
                                       
                                      Join Date: May 2009
                                      Location: Iki Town
                                      Age: 22
                                      Nature: Brave
                                      Posts: 13,623
                                      Quote:
                                      Originally Posted by ListenT View Post
                                      Anyone know's how to make other region pokemon evolve without the national dex in Pokemon Fire Red ? Like that other region pokemon would evolve at the very begining of the game? Someone?
                                      There is a single solution. You'd have to obtain the National Dex first.

                                      Quote:
                                      Originally Posted by Ninja Caterpie View Post
                                      Alright, I need a bit of help myself. I tried to make this loop with minimal success. Every track has exactly 12 full measures and 6' and I loop after one measure, but it still is out of sync, somehow. Can anyone check it to see if I missed anything? D=
                                      I have a question for you: How is it that you can import a song with 10 channels? I thought the gameboy limit was to 5 channels.
                                      __________________
                                        #14450    
                                      Old April 24th, 2010 (5:59 PM).
                                      Ninja Caterpie's Avatar
                                      Ninja Caterpie Ninja Caterpie is offline
                                      Sitting by the back window
                                         
                                        Join Date: Mar 2008
                                        Location: Best City OCE
                                        Age: 21
                                        Gender: Male
                                        Nature: Bold
                                        Posts: 5,988
                                        I didn't notice that. Maybe because each one is the same and I just forgot to change something?
                                        __________________
                                        Brony represent.
                                        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 10:05 PM.