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
  #8851    
Old April 10th, 2009 (7:18 PM).
tom101222 tom101222 is offline
     
    Join Date: Mar 2009
    Gender:
    Posts: 30
    wat in an emulator? go to file then save game

    Relevant Advertising!

      #8852    
    Old April 10th, 2009 (7:33 PM).
    0m3GA ARS3NAL's Avatar
    0m3GA ARS3NAL 0m3GA ARS3NAL is offline
    Im comin' home...
    • Silver Tier
     
    Join Date: Jan 2008
    Location: Superjail Penitentiary
    Age: 24
    Gender: Male
    Nature: Gentle
    Posts: 1,812
    Quote:
    Originally Posted by Crocky View Post
    How do you get a Ruby Rom to save?
    Or, set your save type to 128K flash, and you will be able to save like a regular gameboy advance.
    __________________
    >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...

    >
      #8853    
    Old April 10th, 2009 (9:45 PM).
    Raiser Raiser is offline
       
      Join Date: Jun 2008
      Gender:
      Posts: 15
      I searched for this and saw it unanswered quite a few times.
      So, I'm asking:

      How do you change the music of a wild battle?

      So say I have
      Spoiler:
      #org 0x880263B
      '-----------------------------------
      special 0x187
      compare LASTRESULT 0x2
      if 0x1 jump 0x81A7AE0 ' Equal To
      special 0x188
      lock
      faceplayer
      checksound
      cry 0x196 0x2
      waitcry
      pause 0x14
      playsound 0x0 0x2
      battle 0x196 0x4B 0x0
      setflag 0x807
      special 0x138
      waitspecial
      clearflag 0x807
      special2 0x800D 0xB4
      compare LASTRESULT 0x1
      if 0x1 jump 0x8162558 ' Equal To
      compare LASTRESULT 0x4
      if 0x1 jump 0x8162561 ' Equal To
      compare LASTRESULT 0x5
      if 0x1 jump 0x8162561 ' Equal To
      fadescreen 0x1 ' Fade screen to black
      disappear 0x800F
      fadescreen 0x0 ' Fade back into the action from black
      setflag 0x1016
      release
      end


      This was generated by PKSVs Script Generator. This is an encounter with RAYQUAZA. I had to add fadescreen 0x1 -> fadescreen 0x0 so the sprite would disappear. xD

      Anyways, what would I add/change to change the battle music?
      (This is the compiled script)

      Thanks
        #8854    
      Old April 10th, 2009 (9:55 PM).
      0m3GA ARS3NAL's Avatar
      0m3GA ARS3NAL 0m3GA ARS3NAL is offline
      Im comin' home...
      • Silver Tier
       
      Join Date: Jan 2008
      Location: Superjail Penitentiary
      Age: 24
      Gender: Male
      Nature: Gentle
      Posts: 1,812
      Quote:
      Originally Posted by blastimpulseee View Post
      I searched for this and saw it unanswered quite a few times.
      So, I'm asking:

      How do you change the music of a wild battle?

      So say I have
      Spoiler:
      #org 0x880263B
      '-----------------------------------
      special 0x187
      compare LASTRESULT 0x2
      if 0x1 jump 0x81A7AE0 ' Equal To
      special 0x188
      lock
      faceplayer
      checksound
      cry 0x196 0x2
      waitcry
      pause 0x14
      playsound 0x0 0x2
      battle 0x196 0x4B 0x0
      setflag 0x807
      special 0x138
      waitspecial
      clearflag 0x807
      special2 0x800D 0xB4
      compare LASTRESULT 0x1
      if 0x1 jump 0x8162558 ' Equal To
      compare LASTRESULT 0x4
      if 0x1 jump 0x8162561 ' Equal To
      compare LASTRESULT 0x5
      if 0x1 jump 0x8162561 ' Equal To
      fadescreen 0x1 ' Fade screen to black
      disappear 0x800F
      fadescreen 0x0 ' Fade back into the action from black
      setflag 0x1016
      release
      end


      This was generated by PKSVs Script Generator. This is an encounter with RAYQUAZA. I had to add fadescreen 0x1 -> fadescreen 0x0 so the sprite would disappear. xD

      Anyways, what would I add/change to change the battle music?
      (This is the compiled script)

      Thanks
      You need to use Mastermind_X's music hack. You'll have to go look for Mastermind_X, and get the link to his site, if someone could provide a link, that would be nice.... he has a few advanced tutorials on there, and it requires a little ASM... (Just inserting the ASM, not making it) But it will allow you to change the music...
      __________________
      >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...

      >
        #8855    
      Old April 10th, 2009 (10:28 PM). Edited April 10th, 2009 by Raiser.
      Raiser Raiser is offline
         
        Join Date: Jun 2008
        Gender:
        Posts: 15
        Awesome thanks.
        I just started ROM hacking a week ago, and I've learned so much so fast. xD

        EDIT: Is this Mastermind_X's site? If so, I can't find any music hack tutorials/downloads. :o
          #8856    
        Old April 11th, 2009 (12:48 AM).
        Banjora Marxvile's Avatar
        Banjora Marxvile Banjora Marxvile is offline
        hOI!!!!!! i'm tEMMIE!!
           
          Join Date: May 2008
          Age: 23
          Gender: Male
          Nature: Bashful
          Posts: 3,487
          Quote:
          Originally Posted by blastimpulseee View Post
          Awesome thanks.
          I just started ROM hacking a week ago, and I've learned so much so fast. xD

          EDIT: Is this Mastermind_X's site? If so, I can't find any music hack tutorials/downloads. :o
          No, this isn't Mastermind_X's site. Search his name in the Member List, and a link should be on his Profile somewhere.
          __________________


          Temmie vibrates intensely.

          awwAwa cute!! (pets u)

          OMG!! humans TOO CUTE (dies)

          can't blame a BARK for tryin'...

          RATED TEM OUTTA TEM.

            #8857    
          Old April 11th, 2009 (1:57 AM).
          mineowyn's Avatar
          mineowyn mineowyn is offline
             
            Join Date: Apr 2009
            Gender:
            Posts: 145
            Hi I'm pretty new to this ROM hacking.. I was just wondering, is it possible to create a Pokemon hack without basing it on the original Pokemon ROMs? How much of the game can you really change when you apply just an IPS patch? And after you've made your hack instead of distributing it as an IPS file, say quite a number of features have been added to the game hack for it to be too big to store as an IPS, is it possible to convert it into a ROM file?

            I'd be thankful if anyone can answer my questions..
              #8858    
            Old April 11th, 2009 (2:31 AM).
            Raiser Raiser is offline
               
              Join Date: Jun 2008
              Gender:
              Posts: 15
              Quote:
              Originally Posted by Marxvile View Post
              No, this isn't Mastermind_X's site. Search his name in the Member List, and a link should be on his Profile somewhere.
              Oh, sorry. I meant to post the link. xDD
              Bleh, my history is gone already. But most of it was German and the banner had a "serving you since 2006" thing on it.

              Anyways, one last question.
              I changed the palettes of the Hero's backsprite and front, but I want to edit the overworld ones as well. I don't want to use OW Editor and do every single square inch of all the indexes/frames, so I'm asking for the palette offset of the main index.
              Or, (they can be found with unlz-GBA, right?) where they're found in Unlz. (FireRed)

              Thanks.
                #8859    
              Old April 11th, 2009 (3:04 AM).
              Cheesymitten's Avatar
              Cheesymitten Cheesymitten is offline
              Dukcs
              • Silver Tier
               
              Join Date: Aug 2008
              Gender: Male
              Posts: 1,839
              Quote:
              Originally Posted by mineowyn View Post
              Hi I'm pretty new to this ROM hacking.. I was just wondering, is it possible to create a Pokemon hack without basing it on the original Pokemon ROMs?
              Yep there's a programme called sphere which you can design a whole new game from scratch, there's another one i think it's RPG maker or something i'm not sure but i'm positive that sphere doesn't base it on other ROM's though you have to look for tutorials to help you with sphere.
                #8860    
              Old April 11th, 2009 (3:14 AM).
              NTA's Avatar
              NTA NTA is offline
              Where?
                 
                Join Date: Nov 2007
                Nature: Adamant
                Posts: 264
                if instead of using a fanfare in a script how do i change the music during the script instead?
                __________________

                  #8861    
                Old April 11th, 2009 (4:09 AM).
                Crocky's Avatar
                Crocky Crocky is offline
                SuperScarlet!
                   
                  Join Date: Feb 2009
                  Posts: 95
                  Quote:
                  Originally Posted by 0m3GA ARS3NAL View Post
                  Or, set your save type to 128K flash, and you will be able to save like a regular gameboy advance.
                  It still won't save like a gameboy advance
                    #8862    
                  Old April 11th, 2009 (4:53 AM). Edited April 11th, 2009 by mineowyn.
                  mineowyn's Avatar
                  mineowyn mineowyn is offline
                     
                    Join Date: Apr 2009
                    Gender:
                    Posts: 145
                    Quote:
                    Originally Posted by cheesymitten View Post
                    Yep there's a programme called sphere which you can design a whole new game from scratch, there's another one i think it's RPG maker or something i'm not sure but i'm positive that sphere doesn't base it on other ROM's though you have to look for tutorials to help you with sphere.
                    O I see..Thanks for answering part of my question! I was thinking if a "Pokemon-esque" game could feasibly have the original battle and contest gameplay systems, plus added gameplay systems and features. Since I heard somewhere that it's impossible to have a hack with all 4 generation pokemon because the "slots" on the original base game isn't enough and that the .gba file is just too small or something like that. So I wondered whether it was necessary to create an entire new game from scratch or if I could just build a hack using the original base game.
                      #8863    
                    Old April 11th, 2009 (6:48 AM).
                    xyzmetal xyzmetal is offline
                    The Metal Generation
                       
                      Join Date: Mar 2009
                      Location: New Bark Town
                      Gender:
                      Nature: Docile
                      Posts: 14
                      How do you edit the pokemon stats/wild pokemon modifier/items/etc in leafgreen?
                        #8864    
                      Old April 11th, 2009 (7:02 AM).
                      Diegoisawesome's Avatar
                      Diegoisawesome Diegoisawesome is offline
                      Oh god the bees
                      • Silver Tier
                       
                      Join Date: Dec 2007
                      Location: :noitacoL
                      Age: 20
                      Gender: Male
                      Nature: Naive
                      Posts: 1,032
                      I have a little problem:
                      I inserted this new trainer sprite. It looks okay in UN-LZ and in PET.
                      But when I battle the trainer, everything works up until it loads the sprite into memory, which then causes the game to freeze with a red screen.
                      Also, this may or may not be related:
                      I inserted a new PKMN sprite over an old one, repointed it, and loaded it up in VBA. It also freezes when loading this sprite into memory.

                      Help please?
                      __________________


                      My other resources:
                      My Website
                      diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
                      diegoisawesome's Miscellaneous Finds
                      The Ruins of Alph Puzzles
                      Diego's Miscellaneous Patches
                      GBA Intro Manager
                      The Secret Sauce: Triple-Layer Tiles
                        #8865    
                      Old April 11th, 2009 (9:16 AM).
                      Crocky's Avatar
                      Crocky Crocky is offline
                      SuperScarlet!
                         
                        Join Date: Feb 2009
                        Posts: 95
                        How do you insert sprites into a game?
                          #8866    
                        Old April 11th, 2009 (9:35 AM).
                        Naikado's Avatar
                        Naikado Naikado is offline
                           
                          Join Date: Apr 2009
                          Location: Here
                          Gender: Male
                          Nature: Adamant
                          Posts: 142
                          Er... 2 of my programs, unLZ.GBA and Advance-Mart seem to give out after a couple of uses... Advance-Mart worked about twice, and unLZ.GBA stopped working about 5 minutes ago. How can I fix them?

                          Note: Advance-Mart, when I open a ROM, the shop names don't appear, but on the bottom it says all the data was found, plus I can't edit items. For unLZ.GBA, I can't load any ROM at all.
                            #8867    
                          Old April 11th, 2009 (11:23 AM).
                          Melash's Avatar
                          Melash Melash is offline
                          Back for now.
                             
                            Join Date: May 2008
                            Location: Idaho
                            Age: 23
                            Gender: Male
                            Nature: Relaxed
                            Posts: 425
                            Okay, I've got a question that I would really like answered:
                            1. What is the format of music codes in Red/Blue. NOT the music header, but the actual music codes themselves. I've searched around for this, but I haven't been able to find an answer.
                              #8868    
                            Old April 11th, 2009 (11:52 AM).
                            sasquatchd00d's Avatar
                            sasquatchd00d sasquatchd00d is offline
                            welcoming a clean head.
                               
                              Join Date: Nov 2008
                              Location: barracuda, capital of the world
                              Age: 25
                              Nature: Relaxed
                              Posts: 265
                              Quote:
                              Originally Posted by Naikado View Post
                              Er... 2 of my programs, unLZ.GBA and Advance-Mart seem to give out after a couple of uses... Advance-Mart worked about twice, and unLZ.GBA stopped working about 5 minutes ago. How can I fix them?

                              Note: Advance-Mart, when I open a ROM, the shop names don't appear, but on the bottom it says all the data was found, plus I can't edit items. For unLZ.GBA, I can't load any ROM at all.
                              Do you have your ROM open in any other programs? That might be why unLZ.gba isn't working. I don't know about Advance-Mart. Never used it.
                              __________________
                              [ [???="Not so good artwork. If you can even call it that."]deviantART[/???] | [???="No thread yet. Maybe eventually."]Pokémon Apollo[/???] | [???="SkythurBathandBeyond151"]Pair[/???] ]
                                #8869    
                              Old April 11th, 2009 (12:04 PM).
                              Tropical Sunlight's Avatar
                              Tropical Sunlight Tropical Sunlight is offline
                              The Faltine
                                 
                                Join Date: Mar 2008
                                Location: Slovenia
                                Age: 21
                                Gender: Male
                                Posts: 3,572
                                Send a message via Windows Live Messenger to Tropical Sunlight
                                I was asking about the event in ShinyGold when you have to pursuit the Farfetch'd to get Cut. If you talk to him from the left, he goes right. But if you talk to him from the right, he'll go left.
                                __________________
                                  #8870    
                                Old April 11th, 2009 (12:12 PM).
                                Shadow's Avatar
                                Shadow Shadow is offline
                                Eeyah hah hah!
                                • Crystal Tier
                                 
                                Join Date: Oct 2003
                                Location: Inside Bowser's Story
                                Age: 28
                                Gender:
                                Posts: 2,858
                                Send a message via AIM to Shadow Send a message via Windows Live Messenger to Shadow Send a message via Yahoo to Shadow
                                Quote:
                                Originally Posted by ~Watermelon View Post
                                I was asking about the event in ShinyGold when you have to pursuit the Farfetch'd to get Cut. If you talk to him from the left, he goes right. But if you talk to him from the right, he'll go left.
                                I was wondering about this sort of thing, as well.

                                I was told by Hiroshi, there's a Game Freak example of this sort of check in Ruby/Sapphire/Emerald, in Oldale when you talk to the lady who shows you the PC and Mart. I haven't looked into it myself yet, though. Basically when she starts moving she moves you around to be behind her based on where you were standing before she moves.
                                __________________
                                  #8871    
                                Old April 11th, 2009 (12:47 PM).
                                0m3GA ARS3NAL's Avatar
                                0m3GA ARS3NAL 0m3GA ARS3NAL is offline
                                Im comin' home...
                                • Silver Tier
                                 
                                Join Date: Jan 2008
                                Location: Superjail Penitentiary
                                Age: 24
                                Gender: Male
                                Nature: Gentle
                                Posts: 1,812
                                Quote:
                                Originally Posted by Shadow View Post


                                I was wondering about this sort of thing, as well.

                                I was told by Hiroshi, there's a Game Freak example of this sort of check in Ruby/Sapphire/Emerald, in Oldale when you talk to the lady who shows you the PC and Mart. I haven't looked into it myself yet, though. Basically when she starts moving she moves you around to be behind her based on where you were standing before she moves.
                                This sort of thing can happen a few different ways.
                                You can use the current position of the camera ( getplayerpos 0xvariable 0xvariable)
                                and then you can make a check that checks if those variables equal a certain amount, and if they do, then the script does one thing, or, if it equals a different amount, it will do something else.

                                This is usually a more complicated way, but it works well with events that span across a few tiles, that the player can step on any of them...

                                Another way is using the player's facing direction.
                                variable 0x800C is the direction the player is currently facing.
                                0x1 is down
                                0x2 is up
                                0x3 is left
                                0x4 is right

                                You can make a check for this in a script, and have it change depending on the direction the player is facing.
                                Spoiler:
                                compare 0x800C 0x1
                                if b_true goto @down
                                compare 0x800C 0x2
                                if b_true goto @up

                                ect ect... get it?

                                The game just uses different compares and checks to see what script to use based on player position, and direction faced.
                                __________________
                                >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...

                                >
                                  #8872    
                                Old April 11th, 2009 (2:14 PM).
                                Raiser Raiser is offline
                                   
                                  Join Date: Jun 2008
                                  Gender:
                                  Posts: 15
                                  Question:
                                  Has anyone encountered any problems when recoloring sprites using OW Editor RE?
                                  I'm asking because for my Emerald hack, I recolored the Hero and after some customizations in AdvanceMap, I would load it up in VBA and the sprite would be "more white". So black was grey, grey was near white, etc.
                                  I'm recoloring my FireRed one now and I wanna make sure no one has had any problems. xD
                                    #8873    
                                  Old April 11th, 2009 (4:20 PM). Edited April 11th, 2009 by Quickster.
                                  Quickster's Avatar
                                  Quickster Quickster is offline
                                  Dream or Drop?
                                     
                                    Join Date: Oct 2007
                                    Gender: Male
                                    Nature: Quiet
                                    Posts: 351
                                    Does anyone know the unzl numbers for item sprites in fire red?

                                    EDIT: nevermind,i foundthem.
                                    __________________
                                    I laugh looking at this.

                                    But sometimes I want to come back to it...

                                      #8874    
                                    Old April 11th, 2009 (8:43 PM).
                                    ckret2's Avatar
                                    ckret2 ckret2 is offline
                                    usually pronounced "secret 2"
                                       
                                      Join Date: Dec 2008
                                      Location: You Are Here
                                      Age: 26
                                      Gender:
                                      Nature: Rash
                                      Posts: 518
                                      Send a message via AIM to ckret2
                                      Quote:
                                      Originally Posted by mineowyn View Post
                                      O I see..Thanks for answering part of my question! I was thinking if a "Pokemon-esque" game could feasibly have the original battle and contest gameplay systems, plus added gameplay systems and features. Since I heard somewhere that it's impossible to have a hack with all 4 generation pokemon because the "slots" on the original base game isn't enough and that the .gba file is just too small or something like that. So I wondered whether it was necessary to create an entire new game from scratch or if I could just build a hack using the original base game.
                                      Technically, it is "possible" to put more than 25-ish extra Pokémon into the game. However, you'd have to repoint so much data, moving all the Pokémon data to a new place in the game and then changing every pointer in the game that references the Pokémon data, that nobody has ever attempted to do it before. And, in fact, the idea of repointing all that data is entirely a theoretical idea, since no one has actually tried to open up more slots. The size of the .gba file itself isn't really a problem, since you can expand a rom with several different programs; it's getting the data for the Pokémon moved to a place where more slots can be added that's nearly impossible. And if I'm phrasing any of this wrong, feel free to correct me, since I'm a bit fuzzy on the workings of direct hex editing. I do know, however, that putting more slots for Pokémon into the game is such a tricky idea that even the most veteran hackers haven't done it.

                                      So, the original base game is too limited to feasibly build a hack with all 400-whatever current Pokémon, especially for a hacker without much experience in hex editing. You could just take out the gen 1-3 Pokémon that you don't want to squeeze in as many gen 4 Pokémon as possible, if you decide any of them are expendable. If you really want a game with all 4 gens of Pokémon, your best bet would be to check out the Game Development section and make a game there. They've got tutorials on how to use the programs like RPG maker and stuff, and from what I've heard from people in that forum, it's not a whole lot more difficult than the tools to make a hack once you get the hang of it. There's even a starter kit called Pokémon Essentials for people who want to make a new game using the basic Pokémon system, like the one for battling. I don't know if the contest system is included in Pokémon Essentials, though.

                                      A warning: not all of them, but some of the people in the Game Development section can be not nice to people who use starter kits. (They'll say stuff like "If you're going to take the easy way out, just go make a ROM hack," which goes to show what they think of ROM hackers, but what can you do? ) Most of them are nice people, though, and the ones who get bent out of shape are more the lunatic minority than the main body of the Game Development section. Make a good game with whatever tools you've got and they won't be able to say anything against you.

                                      Anyway, hope that helps. Good luck with your game, however you decide to make it.
                                      __________________

                                      This one is my hack.


                                      This one is the hack I part-time map for.

                                      I got an Illumise?
                                      Pretty awesome.
                                      Glad I grabbed an egg I didn't recognize.
                                        #8875    
                                      Old April 12th, 2009 (12:18 AM).
                                      Tropical Sunlight's Avatar
                                      Tropical Sunlight Tropical Sunlight is offline
                                      The Faltine
                                         
                                        Join Date: Mar 2008
                                        Location: Slovenia
                                        Age: 21
                                        Gender: Male
                                        Posts: 3,572
                                        Send a message via Windows Live Messenger to Tropical Sunlight
                                        Quote:
                                        Originally Posted by 0m3GA ARS3NAL View Post
                                        This sort of thing can happen a few different ways.
                                        You can use the current position of the camera ( getplayerpos 0xvariable 0xvariable)
                                        and then you can make a check that checks if those variables equal a certain amount, and if they do, then the script does one thing, or, if it equals a different amount, it will do something else.

                                        This is usually a more complicated way, but it works well with events that span across a few tiles, that the player can step on any of them...

                                        Another way is using the player's facing direction.
                                        variable 0x800C is the direction the player is currently facing.
                                        0x1 is down
                                        0x2 is up
                                        0x3 is left
                                        0x4 is right

                                        You can make a check for this in a script, and have it change depending on the direction the player is facing.
                                        Spoiler:
                                        compare 0x800C 0x1
                                        if b_true goto @down
                                        compare 0x800C 0x2
                                        if b_true goto @up

                                        ect ect... get it?

                                        The game just uses different compares and checks to see what script to use based on player position, and direction faced.
                                        Ooooh shiny...
                                        Thanks 0M3GA!
                                        __________________
                                        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 AM.