Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!

Reply
 
Thread Tools
  #26    
Old July 2nd, 2010 (7:47 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: 19
    Gender: Male
    Nature: Jolly
    Posts: 700

    I found some more animation data. It's huge though,

    Code:
    01 00 14 00
    02 00 06 00
    03 00 06 00
    04 00 18 00
    00 00 01 00
    FF FF 00 00

    01 00 14 00 02 00 06 00 03 00 06 00 04 00 18 00 00 00 01 00 FF FF 00 00

    01 00 18 00 02 00 09 00 03 00 18 00 00 00 09 00 FF FF 00 00

    01 00 18 00 02 00 09 00 03 00 18 00 00 00 09 00 FF FF 00 00

    00 00 18 00 01 00 09 00 02 00 18 00 00 00 09 00 03 00 32 00 FF FF 00 00

    00 00 18 00 01 00 09 00 02 00 18 00 00 00 09 00 03 00 32 00 FF FF 00 00

    it's at offset 239EBB.There are 6 different trainers: the boy, the girl, trainer dude, old man, brendan, and may. plus, they're all the same!I played with the values, and it's correct. These are the animations for the trainer backsprites! Funny, there are pointers to 2347E8, which contains this:
    Code:
    00 00 00 00 FF FF 00 00
    I fiddled with the first value, the frame, and changed it to 05, and check out the result!

    Oh, and I was a boy at the time.

    __________________


    Reply With Quote

    Relevant Advertising!

      #27    
    Old July 4th, 2010 (9:17 PM).
    ERROR ERROR is offline
       
      Join Date: Aug 2009
      Posts: 84

      never would have though that it was possible :D
      overwhelming :'(

      __________________

      Gen IV FC: 4772 1434 3503
      Gen V FC: 2753 3643 9488

      Reply With Quote
        #28    
      Old July 10th, 2010 (3:05 PM). Edited July 10th, 2010 by xGGxToiZ.
      xGGxToiZ's Avatar
      xGGxToiZ xGGxToiZ is offline
      >.//:SO HOT:\\.<
         
        Join Date: Mar 2010
        Location: We're now near the Tin Tower! . xD
        Age: 21
        Gender: Male
        Nature: Modest
        Posts: 44

        Hey look you guys! I've stumbled upon something on Youtube last night. (Out of boredom.)

        Spoiler:

        What do you think?
        It's not perfect but it's not that shabby, r-right?

        __________________



        JOHTO ELITE FOUR


        . . .

        Reply With Quote
          #29    
        Old July 10th, 2010 (3:10 PM).
        Shiny Quagsire's Avatar
        Shiny Quagsire Shiny Quagsire is offline
        I'm Still Alive, Elsewhere
           
          Join Date: May 2009
          Location: Hoenn Safari Zone
          Age: 19
          Gender: Male
          Nature: Jolly
          Posts: 700

          That's exacly what I've been looking for!

          __________________


          Reply With Quote
            #30    
          Old July 10th, 2010 (3:28 PM).
          Ben.'s Avatar
          Ben. Ben. is offline
          Orange I s l a n d s~
          • Silver Tier
           
          Join Date: Jun 2009
          Location: England
          Age: 21
          Gender: Male
          Nature: Quirky
          Posts: 626

          Wow, this looks great.
          I'm going to make a .IPS patch but not realising to the public.
          I will be doing some more research on this, and will report to you soon.

          __________________



          Reply With Quote
            #31    
          Old July 10th, 2010 (3:28 PM).
          aSeRo141414's Avatar
          aSeRo141414 aSeRo141414 is offline
          zZJoennZz inside
             
            Join Date: Jun 2009
            Location: In your head
            Age: 21
            Gender: Male
            Nature: Jolly
            Posts: 379

            very helpful! but it's many offset I'm dizzy, anyway.. I try this later XD

            __________________

            Regards,
            aSeRo141414

            Reply With Quote
              #32    
            Old July 10th, 2010 (5:29 PM).
            Flandre Scarlet's Avatar
            Flandre Scarlet Flandre Scarlet is offline
            Free your mind.
            • Gold Tier
             
            Join Date: Feb 2008
            Location: Australia
            Age: 21
            Gender: Male
            Nature: Adamant
            Posts: 355

            Quote:
            Originally Posted by xGGxToiZ View Post
            Hey look you guys! I've stumbled upon something on Youtube last night. (Out of boredom.)
            Spoiler:

            What do you think?
            It's not perfect but it's not that shabby, r-right?

            Holy mackerel! I wonder where he found the animation data :O

            __________________

            Reply With Quote
              #33    
            Old July 10th, 2010 (5:33 PM).
            aSeRo141414's Avatar
            aSeRo141414 aSeRo141414 is offline
            zZJoennZz inside
               
              Join Date: Jun 2009
              Location: In your head
              Age: 21
              Gender: Male
              Nature: Jolly
              Posts: 379

              The animation in trainer? I thought you know it XD

              __________________

              Regards,
              aSeRo141414

              Reply With Quote
                #34    
              Old July 11th, 2010 (1:22 PM).
              Shiny Quagsire's Avatar
              Shiny Quagsire Shiny Quagsire is offline
              I'm Still Alive, Elsewhere
                 
                Join Date: May 2009
                Location: Hoenn Safari Zone
                Age: 19
                Gender: Male
                Nature: Jolly
                Posts: 700

                Quote:
                Originally Posted by aSeRo141414 View Post
                very helpful! but it's many offset I'm dizzy, anyway.. I try this later XD

                This is real hacking kiddo!

                Quote:
                Originally Posted by aSeRo141414 View Post
                The animation in trainer? I thought you know it XD

                No, but he does. I tried asking but he wouldn't tell me

                __________________


                Reply With Quote
                  #35    
                Old July 11th, 2010 (3:52 PM).
                sir.euge's Avatar
                sir.euge sir.euge is offline
                Bunchies Back!
                   
                  Join Date: Jun 2009
                  Gender: Male
                  Nature: Naughty
                  Posts: 140

                  what program do u use? i want to research some animation stuff. now its possible to find the move animations and i want to help out.

                  __________________

                  Reply With Quote
                    #36    
                  Old July 12th, 2010 (12:40 AM).
                  Binary's Avatar
                  Binary Binary is offline
                  え?
                     
                    Join Date: Aug 2007
                    Age: 22
                    Posts: 3,993

                    Quote:
                    Originally Posted by xGGxToiZ View Post
                    Hey look you guys! I've stumbled upon something on Youtube last night. (Out of boredom.)
                    Spoiler:

                    What do you think?
                    It's not perfect but it's not that shabby, r-right? :|

                    :o
                    It's near perfect enough.
                    Quote:
                    Originally Posted by sir.euge View Post
                    what program do u use? i want to research some animation stuff. now its possible to find the move animations and i want to help out.
                    A hex editor and some knowledge C:

                    __________________

                    Reply With Quote
                      #37    
                    Old July 14th, 2010 (7:46 AM).
                    Heart's Soul's Avatar
                    Heart's Soul Heart's Soul is offline
                    Hey, look, I was gone.
                       
                      Join Date: Nov 2007
                      Age: 21
                      Gender: Male
                      Posts: 2,536

                      Any luck on Trainer animations?

                      __________________

                      I've been on this forum for about 10 years now. You guys wanna see a rare badge? I got some rare badges.

                      Reply With Quote
                        #38    
                      Old August 21st, 2010 (7:43 AM). Edited August 21st, 2010 by El Diabeetus.
                      El Diabeetus's Avatar
                      El Diabeetus El Diabeetus is offline
                      Amateur Voice Actor / ROM Editor ('Hacker')
                         
                        Join Date: Jul 2006
                        Age: 24
                        Nature: Lonely
                        Posts: 1,068

                        I've got the animations activated. But, I'm confused on how to insert them. I've got a bunch of sprites from DarkCopper that have 2 frames.

                        EDIT: Nevermind, got it.

                        __________________

                        Hacks I'm currently working on (at a super slow pace):

                        Chinpokomon Big/Small (would leave the titles, but apparently exceeded sig limit)

                        Check my Japanese inspired Logo edits for Gens 1-7!:
                        http://www.pokecommunity.com/showpost.php?p=9137003

                        Reply With Quote
                          #39    
                        Old September 5th, 2010 (1:52 PM).
                        Spiky-Eared Pichu's Avatar
                        Spiky-Eared Pichu Spiky-Eared Pichu is offline
                        NDS Hacker/Researcher
                           
                          Join Date: Apr 2010
                          Posts: 257

                          If we can animate the Pokémon sprites, we can make something interesting with the loop feature. I think you know what I'm thinking...

                          We can try to do something like the sprites in Black and White! But the problem is that it would need a lot of space, we'll likely have to enlarge the roms to 32mb...

                          Reply With Quote
                            #40    
                          Old May 7th, 2011 (6:17 PM).
                          El Diabeetus's Avatar
                          El Diabeetus El Diabeetus is offline
                          Amateur Voice Actor / ROM Editor ('Hacker')
                             
                            Join Date: Jul 2006
                            Age: 24
                            Nature: Lonely
                            Posts: 1,068

                            I altered the ff ff to fe ff, and it seems to work it won't stop playing the animation and it looks like it's non glitchy.

                            I'll get a video of it up. I'll add a second frame!

                            EDIT: Not quite, the battle won't totally load, but I'll keep playing with it.

                            __________________

                            Hacks I'm currently working on (at a super slow pace):

                            Chinpokomon Big/Small (would leave the titles, but apparently exceeded sig limit)

                            Check my Japanese inspired Logo edits for Gens 1-7!:
                            http://www.pokecommunity.com/showpost.php?p=9137003

                            Reply With Quote
                              #41    
                            Old November 9th, 2011 (8:42 AM).
                            Hackrex Hackrex is offline
                               
                              Join Date: Aug 2007
                              Gender:
                              Posts: 35

                              hi,
                              I have a little problem with my English. My English is bad therefore I can´t understand differrent things....
                              Is it possible to make a guide with pictures which shows what you are trying to explain?

                              I also have this question: Where can I find the second frame after I changed it? Or where I have to replace the second frame?

                              __________________

                              Temporarily not available

                              Reply With Quote
                                #42    
                              Old November 15th, 2011 (9:33 AM).
                              Crimson5M's Avatar
                              Crimson5M Crimson5M is offline
                              what
                              • Crystal Tier
                               
                              Join Date: Feb 2011
                              Location: Scotland
                              Age: 21
                              Gender: Male
                              Nature: Quiet
                              Posts: 1,101

                              Quote:
                              Originally Posted by Hackrex View Post
                              hi,
                              I have a little problem with my English. My English is bad therefore I can´t understand differrent things....
                              Is it possible to make a guide with pictures which shows what you are trying to explain?

                              I also have this question: Where can I find the second frame after I changed it? Or where I have to replace the second frame?

                              Made some changes to the OP, should be much easier to understand now. Screenshots will be there eventually.
                              For the second frame just insert a 64x128 instead of 64x64 image into Unlz-GBA.

                              __________________

                              Youtube

                              Reply With Quote
                                #43    
                              Old November 30th, 2011 (5:21 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

                              Hi

                              I'm interested in the animation code, such as how they expand or contract the sprite without additional sprites (do they? I don't think so...)...

                              But I don't have the offset in Emerald, and I can't find it either, since I don't know any Python, Java, C, etc.

                              So if someone could give me the offset, or tell me a good way to find it, that would be awesome.

                              Thanks
                              Oh and this is my first post and I'm really really worried that I'm doing something wrong

                              Reply With Quote
                                #44    
                              Old November 30th, 2011 (6:43 PM).
                              IIMarckus's Avatar
                              IIMarckus IIMarckus is offline
                                 
                                Join Date: Oct 2007
                                Gender:
                                Posts: 402

                                Quote:
                                Originally Posted by droomph View Post
                                I'm interested in the animation code, such as how they expand or contract the sprite without additional sprites (do they? I don't think so...)...
                                There are no additional sprites—the GBA itself can rotate and scale sprites. It’s just a graphical effect done by the hardware.

                                __________________

                                iimarck.us / hax.iimarck.us

                                If you want me, please contact me by email. [email protected]

                                If you want to hack Pokémon RBY or GSC, read, read, and read some more. This has tons of valuable information.

                                Pokémon Red disassembly project

                                Rules that should be rethought: 25charlimit, bumping.
                                Bad posts are bad posts, regardless of how many words are in them or how old the thread is.
                                Good posts are good posts, regardless of how old the thread is—and brevity is underrated.

                                Reply With Quote
                                  #45    
                                Old December 1st, 2011 (3:47 PM). Edited December 1st, 2011 by droomph.
                                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

                                Quote:
                                Originally Posted by IIMarckus
                                There are no additional sprites—the GBA itself can rotate and scale sprites. It’s just a graphical effect done by the hardware.

                                Thanks! I was wondering about that. But how would you go about to use the actual rotation/scaling feature? It sounds pretty easy to use. (Are they the two empty bytes in the animation instructions?)

                                I have a couple other questions. I hope you don't mind:\

                                Firstly, what is the offset in Emerald for the animations nonetheless? Or what would be a relatively quick way to search for it, if it hasn't been found yet? I don't want to trouble anybody.

                                And secondly, and can there be more than two sprites? I don't think you can, but I just want to make sure.

                                Thank you, I have only been doing this for a couple months. Please excuse me if I ask any dumb questions. You are all awesome

                                I also hope to be of some help to this community in the future *joy*

                                __________________

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

                                Reply With Quote
                                  #46    
                                Old December 1st, 2011 (6:34 PM).
                                Shiny Quagsire's Avatar
                                Shiny Quagsire Shiny Quagsire is offline
                                I'm Still Alive, Elsewhere
                                   
                                  Join Date: May 2009
                                  Location: Hoenn Safari Zone
                                  Age: 19
                                  Gender: Male
                                  Nature: Jolly
                                  Posts: 700

                                  Quote:
                                  Originally Posted by droomph View Post
                                  Thanks! I was wondering about that. But how would you go about to use the actual rotation/scaling feature? It sounds pretty easy to use. (Are they the two empty bytes in the animation instructions?)

                                  I have a couple other questions. I hope you don't mind:\

                                  Firstly, what is the offset in Emerald for the animations nonetheless? Or what would be a relatively quick way to search for it, if it hasn't been found yet? I don't want to trouble anybody.

                                  And secondly, and can there be more than two sprites? I don't think you can, but I just want to make sure.

                                  Thank you, I have only been doing this for a couple months. Please excuse me if I ask any dumb questions. You are all awesome

                                  I also hope to be of some help to this community in the future *joy*

                                  I really don't know. Emerald's animation system is much more different than the previous animations. As for more than two, Just continue the pattern, we described it well. However, every pokemon will need to have 3, or 4 sprites. I once made an ASM hack where you can have a unique animation for each pokemon. If anyone wants it, I can pull up the code.

                                  __________________


                                  Reply With Quote
                                    #47    
                                  Old December 2nd, 2011 (3:44 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

                                  Quote:
                                  Originally Posted by shiny quagsire View Post
                                  I really don't know. Emerald's animation system is much more different than the previous animations.

                                  Well, poop. If there's a tutorial anywhere, and/or if you know someone who can guide me to start "researching", can you point me to there? I just think Emerald has so many more possibilities for long games/hacks (YEAH THE NAMES, I KNOW). I'm not wierd I swear

                                  Quote:
                                  Originally Posted by shiny quagsire View Post
                                  As for more than two, Just continue the pattern, we described it well. However, every pokemon will need to have 3, or 4 sprites.

                                  Hm, shouldn't be too hard. Thanks! I'll keep that in mind.

                                  Also, is there a limit (not considering space)? Is it up to FF, or FFFF? I know this is common sense, but I just want to make sure.

                                  Quote:
                                  Originally Posted by shiny quagsire View Post
                                  I once made an ASM hack where you can have a unique animation for each pokemon. If anyone wants it, I can pull up the code.

                                  OOHOOHOOH I WANT IT sorry
                                  Wait, what version is this for?

                                  Thank you for your answers! They don't solve my problem, but they sure do point me in the direction I need to go, something I couldn't have done myself! Thanks a million!

                                  Heh, and as a side note, I noticed you all do this very late at night. Just sayin'

                                  __________________

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

                                  Reply With Quote
                                    #48    
                                  Old December 3rd, 2011 (7:05 PM). Edited December 3rd, 2011 by Chaos Rush.
                                  Chaos Rush's Avatar
                                  Chaos Rush Chaos Rush is offline
                                     
                                    Join Date: May 2007
                                    Gender: Male
                                    Posts: 1,303

                                    I found one of the offset's for Emerald's animations: 0x308CBC

                                    This is a table that seems to control how long each frame lasts. Each Pokemon has two pointers, meaning that starting at 0x308CBC, the first two pointers (the first 8 bytes) is Missingno, then the 3rd and 4th pointer is Bulbasaur, the 5th and 6th pointer is Ivysaur, the 7th and 8th pointer is Venusaur, etc.

                                    Messing around with Bulbasaur's second pointer (0x308CC8), I managed to make it's second frame do this:

                                    Unfortunately the table I found only seems to control how long each frame lasts and some other stuff I don't know. I don't think it controls the movement of the sprite, because no matter what I do to Bulbasaur's pointers, he still moves around on the same (meaning the sprite jumps around)

                                    EDIT: There's another table at 0x309AAC that's definitely related to the animations, but at this table it's only 1 pointer per Pokemon, unlike the table at 0x308CBC.

                                    __________________

                                    Reply With Quote
                                      #49    
                                    Old December 3rd, 2011 (8:07 PM). Edited December 3rd, 2011 by droomph.
                                    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

                                    Quote:
                                    Originally Posted by Chaos Rush View Post
                                    I found one of the offset's for Emerald's animations: 0x308CBC

                                    This is a table that seems to control how long each frame lasts. Each Pokemon has two pointers, meaning that starting at 0x308CBC, the first two pointers (the first 8 bytes) is Missingno, then the 3rd and 4th pointer is Bulbasaur, the 5th and 6th pointer is Ivysaur, the 7th and 8th pointer is Venusaur, etc.

                                    Messing around with Bulbasaur's second pointer (0x308CC8), I managed to make it's second frame do this:

                                    Unfortunately the table I found only seems to control how long each frame lasts and some other stuff I don't know. I don't think it controls the movement of the sprite, because no matter what I do to Bulbasaur's pointers, he still moves around on the same (meaning the sprite jumps around)

                                    :D Thanks, I'll try that
                                    -----------------------------
                                    WAIT A MINUTE that code IS the actual code I was looking for, so that means there's something else to discover...

                                    sadface

                                    (I wonder what the first pointer is for? It seems to be just lonely and empty... )

                                    Quote:
                                    Originally Posted by Chaos Rush View Post
                                    EDIT: There's another table at 0x309AAC that's definitely related to the animations, but at this table it's only 1 pointer per Pokemon, unlike the table at 0x308CBC.

                                    *GASP*

                                    Wait, can I ask you how you can go about to searching for 25 iterations of the same group of numbers? I can tell you're using that trick, and I would love to use it

                                    *Later*
                                    These, apparently, are all pointers to pointers to that same chunk of "00 00 00 00 FF FF 00 00" from the stuff from the other table.

                                    __________________

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

                                    Reply With Quote
                                      #50    
                                    Old December 4th, 2011 (11:26 AM).
                                    Chaos Rush's Avatar
                                    Chaos Rush Chaos Rush is offline
                                       
                                      Join Date: May 2007
                                      Gender: Male
                                      Posts: 1,303

                                      Quote:
                                      Originally Posted by droomph View Post
                                      Wait, can I ask you how you can go about to searching for 25 iterations of the same group of numbers? I can tell you're using that trick, and I would love to use it
                                      Um what? I have no idea what you're talking about. I simply found the table by going to where the sprite stuff was in Emerald in a hex editor, then I scrolled up and I'm like, "oh look, it's a table. Let's mess with it". Then I made Bulbasaur upside-down.

                                      __________________

                                      Reply With Quote
                                      Reply
                                      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 10:03 PM.