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
  #1    
Old April 28th, 2010 (2:43 PM).
Muffin™'s Avatar
Muffin™ Muffin™ is offline
Knows your age
     
    Join Date: Dec 2009
    Location: sucking balls
    Age: 6
    Gender: Male
    Nature: Calm
    Posts: 429
    Send a message via AIM to Muffin™
    Alright. So we know that move animations in the generations are part of the game to make the Pokemon's move unique.



    Now, I was thinking: Could me edit these animations? It could be complicated, but could be done, or, it could be impossible. Any ideas you have that could make this happen?

    I was thinking that we could get a spriter to make the move(?) and insert it somehow... by ASM hacking or HEX editing? I don't know yet, but maybe we could come up with an idea to edit the move animation.
    __________________
    >>>/v/
    Reply With Quote

    Relevant Advertising!

      #2    
    Old April 29th, 2010 (1:09 PM).
    Full Metal's Avatar
    Full Metal Full Metal is offline
    C(++) Developer.
    • Silver Tier
     
    Join Date: Jan 2008
    Location: In my mind.
    Age: 21
    Gender: Male
    Nature: Timid
    Posts: 806
    Send a message via Windows Live Messenger to Full Metal
    first of all, anything is possible (within reason of course...) for the games.
    out of reason involves:
    writing to a file
    controlling anything outside of the gba memory
    and there are some rips of d/p effects on tsr i think...
    __________________

    ★ full metal.

    I like to push it,
    and push it,
    until my luck is over.
    Reply With Quote
      #3    
    Old April 29th, 2010 (1:34 PM).
    altariaking's Avatar
    altariaking altariaking is offline
    Needs NO VMs...
       
      Join Date: Dec 2009
      Location: Scotland, Lesmahagow
      Age: 42
      Gender: Male
      Nature: Naive
      Posts: 1,098
      Send a message via Windows Live Messenger to altariaking
      can't this be done whith unlz gba?
      __________________
      http://www.pokecommunity.com/member.php?u=253113
      Reply With Quote
        #4    
      Old April 29th, 2010 (2:25 PM).
      giradialkia's Avatar
      giradialkia giradialkia is offline
      • Crystal Tier
       
      Join Date: Apr 2009
      Location: Ireland
      Age: 23
      Gender: Male
      Nature: Timid
      Posts: 1,562
      Quote:
      Originally Posted by altariaking View Post
      can't this be done whith unlz gba?
      Well...
      Various sprites and backgrounds for the moves can be edited, but I'd imagine people would also like to be able to edit how the move animations actually... Move, y'know? For example, the current GBA FlameThrower animation is like a streaming line of the same fire-sprite, whereas in Gen 4 it's like a proper billowing fire. Sure, it'd be near impossible to imitate that kind of quality in the 3rd Gen games, but to edit the pattern made by the move sprites would be cool.
      __________________

      I'm working on an album of Pokémon-inspired music. Check out the Soundcloud link if you're interested!


      This is my Soundcloud | | This is my bandcamp
      Reply With Quote
        #5    
      Old April 30th, 2010 (6:42 PM).
      Dabutcha's Avatar
      Dabutcha Dabutcha is offline
      Creator of the Alphanigma Saga
         
        Join Date: Jan 2010
        Location: Twilight sucks
        Gender: Male
        Posts: 45
        I'm sure that somewhere in Unlz you will find the attack animations. Look around all the pictures you may have called "useless".
        __________________


        What people say when a new game comes out: Why dont we widen our range by hacking the new game?

        What they mean: Lets abandon knowledge and tools on things we know, purge previous gen hacking, and start a new field that we probably wont master.

        For this reason, New pokemon games make me die inside just a little.

        95% of all Pokemon hacks are of the 3rd Generation, majority of them being FireRed, if you believe that the 2nd generation should be hacked more often, copy and paste this into your signature.

        Charlie R/G/E/D
        Reply With Quote
          #6    
        Old April 30th, 2010 (11:58 PM).
        Satoshi Ookami's Avatar
        Satoshi Ookami Satoshi Ookami is offline
        Memento Mori
        • Gold Tier
         
        Join Date: Jul 2008
        Location: Abyss of Time, Great Seal
        Age: 24
        Gender: Male
        Nature: Calm
        Posts: 14,466
        Of course it's possible through UnlZ
        Flora Sky has it
        Sky made animations for Shadow Force, Roar of Time and some other moves =)
        __________________
        ROM hacking FAQ - Read before asking how to play a hack.

        Anime List | PSN Trophy List
        Reply With Quote
          #7    
        Old May 1st, 2010 (7:38 AM).
        NatureKeeper NatureKeeper is offline
        No longer active here.
           
          Join Date: Jun 2008
          Location: Somewhere.
          Age: 19
          Gender: Male
          Nature: Hasty
          Posts: 1,233
          Send a message via Windows Live Messenger to NatureKeeper
          Quote:
          Originally Posted by Ash493 View Post
          Of course it's possible through UnlZ
          Flora Sky has it
          Sky made animations for Shadow Force, Roar of Time and some other moves =)
          The graphics are edited. However, the move's animation itself cannot be edited. With normal means, at least. For example, I want to change bullet seed to Dark Pulse, with an animation very similar to that of DPPtHGSS. Graphics only cannot do the desired job.
          Reply With Quote
            #8    
          Old May 1st, 2010 (11:58 AM).
          560cool.'s Avatar
          560cool. 560cool. is offline
          Probably back.
             
            Join Date: Aug 2009
            Location: Eastern Europe
            Age: 18
            Gender: Male
            Nature: Relaxed
            Posts: 2,002
            I've done it accidentaly while messing with unlzGBA.
            I found the Surf animation, the Confuse Ray one ... it is quite simple, but key word is "messing" while you need something serious ... x_x
            __________________
            Well, okay. I'm here just to chat with people. Don't really care about signatures and stuff.



            Reply With Quote
              #9    
            Old May 1st, 2010 (1:00 PM).
            Xela's Avatar
            Xela Xela is offline
            Do you believe in yourself?
            • Gold Tier
             
            Join Date: Feb 2008
            Posts: 349
            Quote:
            Originally Posted by 560cool. View Post
            I've done it accidentaly while messing with unlzGBA.
            I found the Surf animation, the Confuse Ray one ... it is quite simple, but key word is "messing" while you need something serious ... x_x
            That's the Graphics, not the animations.

            Yeah, it would be quite a thing to be able to edit the animations of attacks, however, I don't think it's possible through Hex editing... Or it may be, but for me it sounds a bit complex to edit it with a Hex editor.

            Another suggestion that can be taken in mind, why not make a list, listing all the graphics for the different attacks? And I'm not sure, but it's possible that some attacks share the same images.

            However, I have no experience with finding this kind of stuff, so I'll leave it to those who know.
            __________________
            Reply With Quote
              #10    
            Old May 4th, 2010 (7:46 PM).
            kittopian's Avatar
            kittopian kittopian is offline
            Source engine coder
               
              Join Date: Mar 2010
              Location: Lost in a poorly sorted filesystem
              Nature: Docile
              Posts: 11
              In the attack data table, there might be a pointer to graphics and maybe a byte or two on the actual animations...
              If so it might be possible to repoint and extend the table to program in fully functional moves with animations and other aspects, without overwriting.

              If anyone experianced in the field, can they can find the time... Look in to it!
              __________________
              <Insert content here>
              Reply With Quote
                #11    
              Old January 26th, 2012 (5:46 AM).
              whacky whacky is offline
                 
                Join Date: Jan 2012
                Gender: Male
                Posts: 1
                From what I've seen in UNLZ-GBA, the animations are just frames that are in the same picture aligned in increasing order vertically!
                Reply With Quote
                  #12    
                Old January 26th, 2012 (7:22 AM).
                Jambo51's Avatar
                Jambo51 Jambo51 is offline
                Glory To Arstotzka
                   
                  Join Date: Jun 2009
                  Gender: Male
                  Nature: Quiet
                  Posts: 732
                  I know the location of the move animation table in FR. It's at 0x1C68F4.
                  Each pointer in the table (and the table is 355 entries long - 1 for each move!) points to a script of sorts. Sadly, we know very little about these scripts, apart from tha fact that 00 loads graphics, 02 executes animations and 05 seems to be a waitstate sort of command -That is, it waits for the already executed animations to finish before continuing.

                  That is the sum of our knowledge on the move animations. Hope that helps.
                  __________________
                  Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
                  Reply With Quote
                    #13    
                  Old January 26th, 2012 (10:26 AM).
                  droomph's Avatar
                  droomph droomph is offline
                  weeb
                  • Crystal Tier
                   
                  Join Date: Sep 2011
                  Location: nowhere spectacular
                  Age: 20
                  Gender: Male
                  Nature: Impish
                  Posts: 4,291
                  Quote:
                  Originally Posted by Jambo51 View Post
                  I know the location of the move animation table in FR. It's at 0x1C68F4.
                  Each pointer in the table (and the table is 355 entries long - 1 for each move!) points to a script of sorts. Sadly, we know very little about these scripts, apart from tha fact that 00 loads graphics, 02 executes animations and 05 seems to be a waitstate sort of command -That is, it waits for the already executed animations to finish before continuing.

                  That is the sum of our knowledge on the move animations. Hope that helps.
                  What is the "end" command?
                  __________________
                  did u no there r 21 letters in the alphabet
                  o i forgot 5
                  uraqt


                  Reply With Quote
                    #14    
                  Old January 26th, 2012 (10:39 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
                    Chaos Rush has had a lot of luck with this, even manually replacing a move's background
                    Reply With Quote
                      #15    
                    Old February 16th, 2012 (9:06 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
                    I would also like to mention that when I replaced the pointer to 0x8000000, the game restarted, which means that it has something to do with ARM.
                    __________________
                    did u no there r 21 letters in the alphabet
                    o i forgot 5
                    uraqt


                    Reply With Quote
                      #16    
                    Old February 27th, 2012 (1:39 AM).
                    Xenesis's Avatar
                    Xenesis Xenesis is offline
                    Syogun Changer
                       
                      Join Date: May 2006
                      Location: Australia
                      Nature: Sassy
                      Posts: 55
                      Send a message via AIM to Xenesis Send a message via Windows Live Messenger to Xenesis
                      Quote:
                      Originally Posted by droomph View Post
                      I would also like to mention that when I replaced the pointer to 0x8000000, the game restarted, which means that it has something to do with ARM.
                      Actually, it doesn't mean that in the slightest.

                      0x800000 is the entry point for the ROM - it's where it starts in RAM. (Eg, when you turn on your GBA, it starts running the code at 0x8000000 in ARM mode).

                      What's happening is that these pointers are obviously to custom assembly code for each attack in some fashion - when you change the pointer to 0x08000000 you're telling the game whenever it runs to this pointer to 'run from the start of the rom, and run in ARM mode'. Hence, why it resets. If you changed it to 0x08000001 it would probably crash, because it goes to the ROM entry point, except in THUMB mode.

                      Apologies if this seems overly pedantic, but it's just for the benefit for anyone else that's reading the topic.
                      Reply With Quote
                        #17    
                      Old April 10th, 2012 (9:20 PM).
                      D3StR0Y4mike D3StR0Y4mike is offline
                      Dragon Tamer
                         
                        Join Date: Feb 2012
                        Gender: Male
                        Nature: Quirky
                        Posts: 9
                        The FireRed hack Pokemon Vega has lots of custom animations...
                        use it for research
                        Reply With Quote
                          #18    
                        Old May 7th, 2012 (11:00 PM). Edited May 7th, 2012 by Chaos Rush.
                        Chaos Rush's Avatar
                        Chaos Rush Chaos Rush is offline
                        im sexy and i know it
                           
                          Join Date: May 2007
                          Location: Taylor Swift
                          Gender: Male
                          Nature: Adamant
                          Posts: 1,296
                          Quote:
                          Originally Posted by Jambo51 View Post
                          I know the location of the move animation table in FR. It's at 0x1C68F4.
                          Each pointer in the table (and the table is 355 entries long - 1 for each move!) points to a script of sorts. Sadly, we know very little about these scripts, apart from tha fact that 00 loads graphics, 02 executes animations and 05 seems to be a waitstate sort of command -That is, it waits for the already executed animations to finish before continuing.

                          That is the sum of our knowledge on the move animations. Hope that helps.
                          I just thought of something, why try to edit the scripts with hex? Aren't they in ASM?

                          Now, I haven't tried this (can't right now, procrastinating on studying for school atm), but can't we easily view the animation routines with VBA-SDL-H? I'm assuming that would make things a crapload easier to make custom animations. If I recall correctly, VBA-SDL-H has a function where you can decompile thumb routines if you know the offset.

                          I'm assuming this is what Pokemon Vega did to create nearly flawless animations, and this is what I'm planning on doing in the near future (if it works)

                          EDIT: Just remembered, regular VBA has a function to view thumb routines, while VBA-SDL-H lets you view last executed thumb routine

                          EDIT: nevermind, just read JPAN's post in the battle script thread... so apparently it is a scripting language?
                          __________________

                          My projects:
                          Untitled Pokémon fangame (pictured above) | Final Fantasy II NES retranslation | Mother 1/EarthBound Beginnings Color Restoration for GBA
                          Non-Pokémon hacks I support:
                          Sonic Classic Heroes
                          Sonic 3 Complete
                          Reply With Quote
                            #19    
                          Old May 8th, 2012 (7:19 AM).
                          DoesntKnowHowToPlay's Avatar
                          DoesntKnowHowToPlay DoesntKnowHowToPlay is offline
                          Tiny Umbrella with Lots and Lots of Good
                             
                            Join Date: Jan 2012
                            Posts: 258
                            It is a scripting language, from what I've seen. Commands can be an arbitrary number of bytes, depending on which one. Now that I think about it we probably don't even need to know the method offsets- VBA-SDL-H has a function to break on reading a byte, which should let us find the animation code pretty easily.

                            Anyway, some of the ones I've been able to figure out:

                            00 XX XX: Loads sprite data. These are usually at the very beginning of the script, although there doesn't seem to be any obvious problem with having them in the middle.

                            04 XX: Delays script execution for XX units of time (frames? not really sure).

                            05: Halts script execution until currently running animations finish.

                            08: Ends the script. There *are* jumps in this scripting language, though since they point to a location and are followed by the address this means any block of script always ends in 08.

                            19 XX XX: Plays a sound. Might be able to play music if given the right parameters, I haven't mess with this one much.
                            Reply With Quote
                              #20    
                            Old May 8th, 2012 (8:26 AM).
                            droomph's Avatar
                            droomph droomph is offline
                            weeb
                            • Crystal Tier
                             
                            Join Date: Sep 2011
                            Location: nowhere spectacular
                            Age: 20
                            Gender: Male
                            Nature: Impish
                            Posts: 4,291
                            Hey, colcolstyles has a post in the battle animation thread about where you can find animation script asm, and much like how you can decompile an OW script command's ASM that could probably help you too.

                            Also iirc 0C XX XX is a transparency command.
                            __________________
                            did u no there r 21 letters in the alphabet
                            o i forgot 5
                            uraqt


                            Reply With Quote
                              #21    
                            Old March 12th, 2016 (3:54 AM).
                            FsaterThanDark's Avatar
                            FsaterThanDark FsaterThanDark is offline
                            Professional Weirdo
                               
                              Join Date: Jul 2014
                              Location: [CLASSIFIED]
                              Gender: Other
                              Nature: Relaxed
                              Posts: 9
                              I found a cool program that does this easily (among other things) so im going to post the link and then spam some search terms so this gets found easily (even though this is old as dirt)
                              Dropbox: https://www.dropbox.com/s/oym29jzsmc5v5cj/PokemonGameEditor-master.zip?dl=0
                              source: https://github.com/Gamer2020/PokemonGameEditor idk if the site will ever go down, but thats why i put it in my dropbox
                              To get to the editor open in winRAR and go to GBAPokemonGameEditor->bin->Debug->PokemonGameEditor.exe

                              pokemon hacking move animation editor pokemon move animation pokemon change attack pokemon change move pokemon attack animation pokemon move hack pokemon attack hack
                              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 8:22 PM.