Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.

Reply
 
Thread Tools
  #26    
Old May 1st, 2008 (2:45 AM).
+Sneasel™'s Avatar
+Sneasel™ +Sneasel™ is offline
It's a meeee, itman!
     
    Join Date: May 2007
    Location: None of your business!
    Age: 23
    Gender:
    Nature: Lonely
    Posts: 1,037
    Wow, i'm impressed, this program rocks!
    It has everything you need to edit pokemon!

    I have nothing else to say lol, but wow, its really useful!
    Great job, I can't wait for the final release!
    __________________
    Intentions that were pure have turned obscure,
    Seconds into hours, minutes into years.
    Don't ask me why,
    PLEASE DON'T CRY!
    I can't tell you lies...

    Don't click this!

    PPH - A great hacking forum
    Reply With Quote

    Relevant Advertising!

      #27    
    Old May 1st, 2008 (4:26 AM).
    choatix choatix is offline
    Choatix
       
      Join Date: Jul 2006
      Location: UK
      Gender:
      Nature: Adamant
      Posts: 30
      Awesome program!
      It does almost everything you'd ever want a tool like it to do!
      Maybe in the next version, you could add the pokemon's egg moves, pokemon it breeds too, and a picture for them. (because PokePic doesn't work on FRLG, which this does, so I can actually add pokemon like Budew, Roserade and so can others too) And also, a way to change the amount of moves each pokemon can learn... it's annoying if you are replacing the ? pokemon with new pokemon as they can only learn 1 move.

      As I said, it's totally awesome!
      Reply With Quote
        #28    
      Old May 1st, 2008 (6:46 AM).
      Swampert 22's Avatar
      Swampert 22 Swampert 22 is offline
      Is making tools for you...
      • Silver Tier
       
      Join Date: Sep 2005
      Location: Switzerland
      Age: 26
      Gender: Male
      Nature: Brave
      Posts: 393
      Quote:
      Originally Posted by choatix View Post
      Awesome program!
      It does almost everything you'd ever want a tool like it to do!
      Maybe in the next version, you could add the pokemon's egg moves, pokemon it breeds too, and a picture for them. (because PokePic doesn't work on FRLG, which this does, so I can actually add pokemon like Budew, Roserade and so can others too) And also, a way to change the amount of moves each pokemon can learn... it's annoying if you are replacing the ? pokemon with new pokemon as they can only learn 1 move.

      As I said, it's totally awesome!
      If you want to add a whole moveset for a ? Pokémon, use PEP by Darthatron, you can add as many attacks as you want then. Maybe silver314 will add this into the next version...

      Awesome tool by the way!!!
      __________________

      I've made some tools for Pokémon hacking! Please check out the thread... Swampert Tools Showcase

      Head over to my thread to check out my latest tool, Pokémon Red/Blue Trainer Editor!

      Visit my site for Pokémon ROM Hacking tools! Swampert Tools Homepage
      Reply With Quote
        #29    
      Old May 1st, 2008 (6:53 AM).
      Teh Baro's Avatar
      Teh Baro Teh Baro is offline
      In my times...!
         
        Join Date: Mar 2006
        Location: Spain
        Gender: Male
        Nature: Quiet
        Posts: 522
        Quote:
        Originally Posted by choatix View Post
        Awesome program!
        It does almost everything you'd ever want a tool like it to do!
        Maybe in the next version, you could add the pokemon's egg moves, pokemon it breeds too, and a picture for them. (because PokePic doesn't work on FRLG, which this does, so I can actually add pokemon like Budew, Roserade and so can others too) And also, a way to change the amount of moves each pokemon can learn... it's annoying if you are replacing the ? pokemon with new pokemon as they can only learn 1 move.

        As I said, it's totally awesome!
        ----------
        Instead of pokepic, use unlzgba and similars.
        And for the ?? pokemon attacks, each attack list is a pointer to the data. YAPE would use some repointing for this.
        ----------
        Just in case silver wants to do the egg thing, I have some info on that:

        Egg Moves
        These moves are learned through breeding. They are listed as follows:
        [Pokémon][Attack][Attack]...[Pokémon][Attack]...
        All of this in 16-bit values. The Pokémon index is increased by 4E20 (20.00010) to distinguish them from attack indices. For example, Pikachu’s index is 19. That plus 4E20 equals 4E39, so Pikachu’s egg move data would start with that.

        Example: Geodude
        This is the data for an R/S Geodude, found at offset 209366 in Ruby and 25F096 in Fire Red:
        [4E6A][0005][009D][014F]
        4E6A – 4E20 = 4A, which is Geodude’s index. 0005 is “Mega Punch”, 009D is “Rock Slide” and 014F16 is “Block”. Feel free to check this with strawhat’s FR/LG Pokédex on GameFaqs.
        - - - - - - - - - - Source: Kawa's collected pokemon documents


        And, checking myself at 25F096, I see that lists end with next pokemon's list (values > 4E20). And that only base pokemon have egg moves (next to geodude's egg moves are... next to golem is tentacool right?), so a function to repoint the whole list (each list is not pointed, the whole list is loaded each time), would be useful because the amount of evolution chains may differ.

        I hope this helps (I suppose so) and encourages silver to add this feature.
        __________________
        what the fudge
        Reply With Quote
          #30    
        Old May 1st, 2008 (10:02 AM). Edited May 1st, 2008 by silver314.
        silver314 silver314 is offline
           
          Join Date: Feb 2008
          Posts: 11
          @chaotix
          [breeding]
          You already can edit what a Pokémon breeds to. Sort of. The game determines this by looking up the evolution tree. There are some special cases like wobuffet and marill that do some checking beyond this, but the result is everything always breeds to the first Pokémon in the tree or the second if there is a special requirement (holding lax insence for example) to reach the first.

          You have a surprising amount of control over this. If you wanted to add manaphy and phione to the game, it's pretty easy. There's a specific evolution type for this (for breeding only). You could add a "for breeding only" evolution for phione to manaphy. Now, if you breed manaphy, you will get phione, but phione will never evolve into manaphy.

          [Attacks]
          You can already use YAPE to add more moves to the ??? Pokémon right now. It does not place any restriction on the number of attacks learned per Pokémon. It does keep all of the learned attack data together and limits the total space used so you don't accidentally overwrite anything important. It updates all required pointers automatically.

          Unfortunately, this means there's no simple way using YAPE to have these attacks spread all over the ROM with random pointers. The benefit is that by keeping all of the data in one location, YAPE automatically computes all of the necessary pointers for the attack data without you doing anything. So, for example, if you removed an attack from chimeco and added one to bulbasaur, YAPE would handle updating every single pointer between them. For the type of editing I was doing myself, this was much more convenient, but as you may be noticing, there are some drawbacks...

          Perhaps some sort of hybrid model that allows both the ease of automatic pointer updating most of the time and overriding it for individual Pokémon would work.

          @Teh Baro
          Thanks for the info. I was wondering if anyone had found out how to edit this yet. You have a link or anything for those documents?

          --Silver314
          Reply With Quote
            #31    
          Old May 1st, 2008 (11:21 AM).
          Teh Baro's Avatar
          Teh Baro Teh Baro is offline
          In my times...!
             
            Join Date: Mar 2006
            Location: Spain
            Gender: Male
            Nature: Quiet
            Posts: 522
            Quote:
            Originally Posted by silver314 View Post
            @Teh Baro
            Thanks for the info. I was wondering if anyone had found out how to edit this yet. You have a link or anything for those documents?

            --Silver314
            Actually I don't even know if they exist online, he just sent them to me via msn. I can sent them to you if you want, just pm me your email address or something
            __________________
            what the fudge
            Reply With Quote
              #32    
            Old May 2nd, 2008 (10:04 PM).
            Kronos1000's Avatar
            Kronos1000 Kronos1000 is offline
            Fear my nonhacked Lv100 Deoxys
               
              Join Date: Apr 2007
              Gender:
              Nature: Lonely
              Posts: 56
              I checked out your editor, it's great! But isn't there a way to give the ?? Pokémon a Pokédex data?
              Reply With Quote
                #33    
              Old May 3rd, 2008 (1:04 AM).
              silver314 silver314 is offline
                 
                Join Date: Feb 2008
                Posts: 11
                Quote:
                Originally Posted by Kronos1000 View Post
                I checked out your editor, it's great! But isn't there a way to give the ?? Pokémon a Pokédex data?
                I spent a couple hours looking into this since I've had several requests for it and I'm going to have to say no for now. I expected some complications involved, but it turned out to be far more difficult than I had hoped.

                Here's the issue:

                The Pokédex data is stored in its own table and the Pokémon's national dex number serves as an index into this table. The table in the games only has room for 386 entries and the ?? Pokémon have national dex numbers higher than 386. In order to add more entries, the table needs to be relocated and all of the pointers in the game that refer to this table need to be updated.

                I tried the relocation and pointer update, and that was pretty simple. It could even be done in an automated fashion via some sort of "Pokédex expansion" option in YAPE. Then I discovered the more difficult problems...

                In addition to adding more data entries (which is possible after moving the table to make more room), the game also has a fair bit of code that accesses the dex data at various times. Most of this code has checks built in to it so that it will not work properly if the national dex number is higher than 386.

                Some of the code that needs to be updated:
                • "Seen" code (adds partial data to dex when you encounter a Pokémon)
                • "Catch" code (adds full data when you catch a pokémon. This may or may not be combined with the code for when you hatch a new Pokémon or get one in a trade...)
                • "Dex rating" code (it would need to know that there are now more than 386 entries.)
                • Anything else that makes use of the dex data (I'm bound to be missing something...)

                I don't know where most of the code is that needs to be updated. Even if I took the time to track it down for say, FR and LG, I would need to essentially start from scratch on R/S/E as there's no telling how different the code would be until I look into it.

                I'm not saying this can't be done, it certainly could; I'm just saying that based on what I know now, I don't believe adding those extra 25 entries for all the advanced gen games is worth the effort required.

                --Silver314
                Reply With Quote
                  #34    
                Old May 3rd, 2008 (1:12 AM).
                Epsilon's Avatar
                Epsilon Epsilon is offline
                Shiny Scizor
                   
                  Join Date: Jun 2006
                  Location: Johto
                  Nature: Adamant
                  Posts: 243
                  Quote:
                  Originally Posted by silver314 View Post
                  I spent a couple hours looking into this since I've had several requests for it and I'm going to have to say no for now. I expected some complications involved, but it turned out to be far more difficult than I had hoped.

                  Here's the issue:

                  The Pokédex data is stored in its own table and the Pokémon's national dex number serves as an index into this table. The table in the games only has room for 386 entries and the ?? Pokémon have national dex numbers higher than 386. In order to add more entries, the table needs to be relocated and all of the pointers in the game that refer to this table need to be updated.

                  I tried the relocation and pointer update, and that was pretty simple. It could even be done in an automated fashion via some sort of "Pokédex expansion" option in YAPE. Then I discovered the more difficult problems...

                  In addition to adding more data entries (which is possible after moving the table to make more room), the game also has a fair bit of code that accesses the dex data at various times. Most of this code has checks built in to it so that it will not work properly if the national dex number is higher than 386.

                  Some of the code that needs to be updated:
                  • "Seen" code (adds partial data to dex when you encounter a Pokémon)
                  • "Catch" code (adds full data when you catch a pokémon. This may or may not be combined with the code for when you hatch a new Pokémon or get one in a trade...)
                  • "Dex rating" code (it would need to know that there are now more than 386 entries.)
                  • Anything else that makes use of the dex data (I'm bound to be missing something...)

                  I don't know where most of the code is that needs to be updated. Even if I took the time to track it down for say, FR and LG, I would need to essentially start from scratch on R/S/E as there's no telling how different the code would be until I look into it.

                  I'm not saying this can't be done, it certainly could; I'm just saying that based on what I know now, I don't believe adding those extra 25 entries for all the advanced gen games is worth the effort required.

                  --Silver314
                  I agree,
                  It's just way too much effort.
                  But thanks for discovering all of this,
                  the information is very helpful!

                  For the hackers out here,
                  it can fit in to your storyline perfectly that you just can't record those
                  pokemon because they are from another region or something.
                  Reply With Quote
                    #35    
                  Old May 3rd, 2008 (2:06 AM).
                  Darthatron's Avatar
                  Darthatron Darthatron is offline
                  巨大なトロール。
                  • Silver Tier
                   
                  Join Date: Jan 2006
                  Location: Melbourne, Australia
                  Age: 25
                  Gender: Male
                  Nature: Modest
                  Posts: 1,152
                  Quote:
                  Originally Posted by silver314 View Post
                  I spent a couple hours looking into this since I've had several requests for it and I'm going to have to say no for now. I expected some complications involved, but it turned out to be far more difficult than I had hoped.

                  Here's the issue:

                  The Pokédex data is stored in its own table and the Pokémon's national dex number serves as an index into this table. The table in the games only has room for 386 entries and the ?? Pokémon have national dex numbers higher than 386. In order to add more entries, the table needs to be relocated and all of the pointers in the game that refer to this table need to be updated.

                  I tried the relocation and pointer update, and that was pretty simple. It could even be done in an automated fashion via some sort of "Pokédex expansion" option in YAPE. Then I discovered the more difficult problems...

                  In addition to adding more data entries (which is possible after moving the table to make more room), the game also has a fair bit of code that accesses the dex data at various times. Most of this code has checks built in to it so that it will not work properly if the national dex number is higher than 386.

                  Some of the code that needs to be updated:
                  • "Seen" code (adds partial data to dex when you encounter a Pokémon)
                  • "Catch" code (adds full data when you catch a pokémon. This may or may not be combined with the code for when you hatch a new Pokémon or get one in a trade...)
                  • "Dex rating" code (it would need to know that there are now more than 386 entries.)
                  • Anything else that makes use of the dex data (I'm bound to be missing something...)

                  I don't know where most of the code is that needs to be updated. Even if I took the time to track it down for say, FR and LG, I would need to essentially start from scratch on R/S/E as there's no telling how different the code would be until I look into it.

                  I'm not saying this can't be done, it certainly could; I'm just saying that based on what I know now, I don't believe adding those extra 25 entries for all the advanced gen games is worth the effort required.

                  --Silver314
                  I could have told you it was difficult. People think it would be simple, but it clearly isn't. Good luck though. I hope you succeed where I failed.
                  __________________
                  あなた は しきしゃ です
                  わたし は ばか です
                  Reply With Quote
                    #36    
                  Old May 3rd, 2008 (11:29 PM).
                  silver314 silver314 is offline
                     
                    Join Date: Feb 2008
                    Posts: 11
                    Just thought I'd throw out some screen shots of what I'm currently working on...

                    I've made it a goal to keep all of the pointer-management in YAPE as automatic as possible. This did lead to some downsides in that the total number of learned attacks and total pokédex text was limited. I had initially considered providing the ability to manually override the pointers (and lose all of the automatic update capabilites), but I think what I have now is a much better approach...

                    I'm adding a tool to YAPE that allows easily relocating this data. The benefits:
                    • All pointer handling remains automatic, even if you need more space.
                    • All of the text and learned moves stay together in the ROM. To me, this is much cleaner than scattering various pieces of the data everywhere with custom pointers.
                    • It's much simpler and easier for average users who just want to add more text/moves. (At least I hope it is.)

                    The manual relocation is already working. Still some things to do on the automatic as well as other cleanup and safety checking... I'll be making another release once I have this and a few other minor things updated.

                    --Silver314
                    Attached Images
                    File Type: png yape-expander1.png‎ (15.0 KB, 156 views) (Save to Dropbox)
                    File Type: png yape-expander2.png‎ (38.0 KB, 139 views) (Save to Dropbox)
                    File Type: png yape-expander3.png‎ (28.5 KB, 127 views) (Save to Dropbox)
                    Reply With Quote
                      #37    
                    Old May 3rd, 2008 (11:40 PM).
                    D-Trogh's Avatar
                    D-Trogh D-Trogh is offline
                    Dead
                       
                      Join Date: Jul 2005
                      Location: Belgium
                      Age: 25
                      Gender: Male
                      Posts: 438
                      If this tool is complete (If it ever will be 100% finished, maybe you'll keep adding/fiing small things, I don't know ALL your plans ) this won't be 'Yet Another Pokémon Editor' :D
                      This will be 'YOPE' (Something like 'Your Only Pokémon Editor') :D
                      Ok, what I mean with this.. Nice work! Really!
                      Oh, and I can translate if you want.. To Dutch. I just need a string 'table'
                      __________________
                      [NTME | WPEDS | HTPE | SGPE | TGPE | PDEDS]
                      Reply With Quote
                        #38    
                      Old May 4th, 2008 (12:25 AM). Edited May 4th, 2008 by silver314.
                      silver314 silver314 is offline
                         
                        Join Date: Feb 2008
                        Posts: 11
                        Quote:
                        Originally Posted by D-Trogh View Post
                        If this tool is complete (If it ever will be 100% finished, maybe you'll keep adding/fiing small things, I don't know ALL your plans )
                        Software is one of those things that's never really finished. But I imagine I will eventually hit a point where adding anything new is more effort than its worth. At which point I'll move on to other projects of some sort.

                        Quote:
                        Originally Posted by D-Trogh View Post
                        Oh, and I can translate if you want.. To Dutch. I just need a string 'table'
                        That would be great!
                        And you should already have all the string table you could ever want. Brief instructions below. (Anyone else considering translations should look here too.)

                        To add a new language to YAPE, start by making a new folder under data (there should already be "common" and "en-us" folders here.) You'll want to name it appropriately for your language. I will use the example here of making a spanish (spain) translation. You might name the new folder "esp-espana" or whatever you want.

                        Under the new folder you will need a commonvals.ini file and a strings.ini file. See the examples in data\en-us. (I would just copy the English ones there and then edit the copies.)

                        Once you have these files in place, you can add an entry for the new language to the data\common\lang.ini file. Continuing with the example of Spanish, you might enter:

                        [ESP-ESPANA]
                        Name = Español
                        CommonVals = data\esp-espana\commonvals.ini
                        Strings = data\esp-espana\strings.ini
                        Help = data\esp-espana\yape-ayuda.chm

                        Once you have the new entry in data\common\lang.ini you can start testing it immediately. The new language should show up as an option in the Language selection on YAPE.

                        The only other thing you might want to translate is the help file. You would need HTML Help workshop to make this. (It's free from microsoft's website.) I do realize that this is much more work than just replacing the text in the *.ini files though...

                        --Silver314

                        P.S.
                        Don't forget to give yourself credit for the translation! Put something in for the "TranslationBy = " line in strings.ini. The recommended form is "xxx translation by yyy - (optional date/version/etc.)" Of course, you would write that in your language rather than English ;-)
                        Reply With Quote
                          #39    
                        Old May 4th, 2008 (4:20 AM).
                        Hiroshi Sotomura's Avatar
                        Hiroshi Sotomura Hiroshi Sotomura is offline
                        That's Deneb, Altair, and Vega.
                        • Developer
                        • Crystal Tier
                        • GTGet-Together Event Management
                        • PokéCommunity Daily
                        • Discord Moderoid
                         
                        Join Date: Nov 2002
                        Location: Melbourne, Australia
                        Gender: Male
                        Nature: Lax
                        Posts: 16,880
                        I'll admit that while a tool that acts as a jack of all trades would be very useful to me, I could never see myself using it. D:

                        But, I'll note that this is quite a star tool. I'll give you reputation for that.
                        __________________
                        On a day just like any other,
                        you suddenly stood up and said,
                        “Let's go stargazing tonight!”
                        Reply With Quote
                          #40    
                        Old May 4th, 2008 (10:10 AM).
                        Game_freak's Avatar
                        Game_freak Game_freak is offline
                           
                          Join Date: Mar 2008
                          Gender:
                          Posts: 3
                          great work
                          for the graphics editor you talked about please!! could you add in a easy way to edit menu styles, battles styles, the title screen and maybe the suitcase with pokeballs you get ruby
                          Reply With Quote
                            #41    
                          Old May 4th, 2008 (1:12 PM).
                          silver314 silver314 is offline
                             
                            Join Date: Feb 2008
                            Posts: 11
                            Quote:
                            Originally Posted by Game_freak View Post
                            great work
                            for the graphics editor you talked about please!! could you add in a easy way to edit menu styles, battles styles, the title screen and maybe the suitcase with pokeballs you get ruby
                            Sorry, but I'm going to have to say no for that one.

                            A few reasons:
                            • Any sort of graphics editing at all is a long way off (and I may not even add any such support)
                            • If I do decide to add graphics editing, it would only be for the Pokémon sprites used in battle/pokédex and the icons they have in the menu. YAPE is not really intended to be a generic catch-all editor for everything in the game. It's just for editing the Pokémon's stats, evolutions, dex entries, learned moves, etc. I have already decided to split some previously planned features (attack editor, item editor, etc.) to separate tools since they don't really fall in the scope of YAPE.
                            • Things like title screen, menu styles, etc. would best be edited by either a generic graphics editor (tile editor/unlz) or a specific tool just for that purpose, like a title screen changer.
                            --Silver314
                            Reply With Quote
                              #42    
                            Old May 6th, 2008 (11:05 AM).
                            Game_freak's Avatar
                            Game_freak Game_freak is offline
                               
                              Join Date: Mar 2008
                              Gender:
                              Posts: 3
                              do you know of any such title screen editor
                              Reply With Quote
                                #43    
                              Old May 10th, 2008 (10:30 PM).
                              Neonix's Avatar
                              Neonix Neonix is offline
                              ╚N═e═o═n═i═X
                                 
                                Join Date: Apr 2007
                                Location: earth
                                Gender:
                                Nature: Adamant
                                Posts: 4
                                This really is an amazing tool. Very powerful and so many useful features in one fully English program. I'm really impressed and I look forward to future updates with much anticipation!
                                __________________


                                Reply With Quote
                                  #44    
                                Old May 15th, 2008 (11:08 PM).
                                ThuGie ThuGie is offline
                                   
                                  Join Date: May 2008
                                  Posts: 21
                                  silver314,
                                  This might be a strange request but i hope you can do this,

                                  But can you add a option to save all pokemon data to file like "txt, doc",
                                  Or even posible to a sql database,

                                  I was planning to write all data to a database but doing this by hand is quite well hard to do.

                                  So if you can add a option that will store this into a file in a nice order.
                                  I can probably write up a parser to parse the .txt file and place it into a sql database.

                                  This would save me hours and hours of work.
                                  Even if you can only do this by 1 file per pokemon that wouldnt matter for me.

                                  So i hope you can respond to this and add a option like this.

                                  Thanks.

                                  Edit:
                                  Before i forget could you also add,
                                  Like locations where the pokemon can be found + rate to be found at the location + level to level,
                                  If posible thanks again and keep up the great work .
                                  Reply With Quote
                                    #45    
                                  Old May 16th, 2008 (1:29 AM).
                                  Teh Baro's Avatar
                                  Teh Baro Teh Baro is offline
                                  In my times...!
                                     
                                    Join Date: Mar 2006
                                    Location: Spain
                                    Gender: Male
                                    Nature: Quiet
                                    Posts: 522
                                    Quote:
                                    Originally Posted by ThuGie View Post
                                    silver314,
                                    This might be a strange request but i hope you can do this,

                                    But can you add a option to save all pokemon data to file like "txt, doc",
                                    Or even posible to a sql database,

                                    I was planning to write all data to a database but doing this by hand is quite well hard to do.

                                    So if you can add a option that will store this into a file in a nice order.
                                    I can probably write up a parser to parse the .txt file and place it into a sql database.

                                    This would save me hours and hours of work.
                                    Even if you can only do this by 1 file per pokemon that wouldnt matter for me.

                                    So i hope you can respond to this and add a option like this.

                                    Thanks.

                                    Edit:
                                    Before i forget could you also add,
                                    Like locations where the pokemon can be found + rate to be found at the location + level to level,
                                    If posible thanks again and keep up the great work :).
                                    If not YAPE, someone should make a program that autodocs all the data of a POKéMON, for release purposes: i.e. making an online pokedex of the hack
                                    __________________
                                    what the fudge
                                    Reply With Quote
                                      #46    
                                    Old May 16th, 2008 (1:42 AM). Edited May 16th, 2008 by ThuGie.
                                    ThuGie ThuGie is offline
                                       
                                      Join Date: May 2008
                                      Posts: 21
                                      Well currently its here 11:39 am in holland,
                                      Still havent slept yet.

                                      Currently learning a bit about api calls,
                                      Going to try and create a application that has the ability to read information from YAPE,
                                      And store all the information into a file/database.

                                      But since i never really worked with api's like thats its quite some learning/testing/taking alot of time :D.
                                      But i seem to have the basics if i ever finish it since i'm quite tired atm.
                                      I will ofcourse if the application is at least normal useable release the application/
                                      Or if its quite uhm well half working with testing and messing :p.
                                      I will release the result of it so a db/file with all the information.
                                      I probably if i finish this will store it into a sql file.

                                      edit:
                                      No progress its no 20:29 still havent slept so no wonder right :p.
                                      But uhm i was checking on what YAPE changes but it seems even if i only change the hp of 1 pokemon whole chuncks of code gets altert :/,
                                      Whats up with that is i may ask ?
                                      Ah and i'm checking using hex compare. a function inside Hex Workshop.
                                      Reply With Quote
                                        #47    
                                      Old May 16th, 2008 (8:09 PM).
                                      silver314 silver314 is offline
                                         
                                        Join Date: Feb 2008
                                        Posts: 11
                                        Sorry for the lack of activity here. Been really busy with other things lately. I'll probably have a bit more time in another week or two, so I should be able to make some more progress on YAPE.

                                        Text export is a reasonable request and one I had considered anyway. I'll add it to my list...

                                        Quote:
                                        Originally Posted by ThuGie View Post
                                        Well currently its here 11:39 am in holland,
                                        Still havent slept yet.

                                        Currently learning a bit about api calls,
                                        Going to try and create a application that has the ability to read information from YAPE,
                                        And store all the information into a file/database.

                                        But since i never really worked with api's like thats its quite some learning/testing/taking alot of time :D.
                                        But i seem to have the basics if i ever finish it since i'm quite tired atm.
                                        I will ofcourse if the application is at least normal useable release the application/
                                        Or if its quite uhm well half working with testing and messing :p.
                                        I will release the result of it so a db/file with all the information.
                                        I probably if i finish this will store it into a sql file.
                                        I'm not sure how you're reading info from YAPE, but I should warn you that some of the UI may change. Also, if you're using reflection to pull data from it, I could change the internal code and you might have some breaks then. The safest way to handle this would be for us to have a well-defined text format for exporting data from YAPE and then you can write a tool to pull that into whatever DB you want. If you're interested in defining the format, then that's fine. Otherwise I will probably make one up when I get the chance.


                                        Quote:
                                        Originally Posted by ThuGie View Post
                                        No progress its no 20:29 still havent slept so no wonder right :p.
                                        But uhm i was checking on what YAPE changes but it seems even if i only change the hp of 1 pokemon whole chuncks of code gets altert :/,
                                        Whats up with that is i may ask ?
                                        Ah and i'm checking using hex compare. a function inside Hex Workshop.
                                        The additional change you are seeing is probably normal. YAPE doesn't specifically track what was edited, it just saves all data every time you do a save. The things that are likely to change are:
                                        • the pokedex text/pointers (mainly in leaf green, as YAPE compacts all the entries and lg has some empty space in its dex text area)
                                        • The order of evolution data. (Evolution data is sorted internally in YAPE. When it writes the data back, it puts it in the sorted order rather than original order.)
                                        There should not be any functional change aside from what you modify. If you find any, let me know and I will look into it.

                                        --Silver314
                                        Reply With Quote
                                          #48    
                                        Old May 17th, 2008 (12:43 AM).
                                        ThuGie ThuGie is offline
                                           
                                          Join Date: May 2008
                                          Posts: 21
                                          If you are really intrested into adding a feature to make it posible to save all information to a file format,
                                          That would probably be best,
                                          Since the way i would be reading things from YAPE,

                                          Would break down every new version probably,
                                          As for the format of the text itself,
                                          Everything should do as long as its clear,

                                          I would actually recommend a ini format,
                                          [BASIC]
                                          count=4 < actually amount of diffrent pokemon stored,
                                          [INFO1]
                                          name=BULBASUAR
                                          more=?
                                          more=?

                                          Along of these lines would probably be best since about everybody knows how to read ini information,
                                          And its pretty easy to write a parser for it,
                                          If its made in ini format i probably write the parser in php.

                                          As for the hex info thank you then now i know why so much data was changed,
                                          I was actually trying to lookup where everything is stored so i could create my own tool and add it directly into a database.
                                          I already checked the forum but only minimal information is public.

                                          And as i'm quite new to gba editing/reading. i'm not quite sure on how to figure out where its stored at.

                                          But i hope you add the new feature of saving it to a file that would be great!
                                          Ofcourse i hope you not only add a posibilty to save 1 pokemon at a time but also to loop and save all pokemon information to 1 ini.

                                          The ???? pokemon well i guess a option to save those or not would be best.

                                          Thanks since this will save me alot of learning + messing things up.
                                          Reply With Quote
                                            #49    
                                          Old May 17th, 2008 (2:28 PM).
                                          Dukey's Avatar
                                          Dukey Dukey is offline
                                          oh.my.gaskarth.
                                          • Crystal Tier
                                           
                                          Join Date: Apr 2008
                                          Location: Sydney.
                                          Nature: Modest
                                          Posts: 3,265
                                          this is a great pokemon editor and its simple as well god job
                                          Reply With Quote
                                            #50    
                                          Old May 17th, 2008 (6:01 PM).
                                          XIIIth Legio XIIIth Legio is offline
                                          General Raptus
                                             
                                            Join Date: May 2008
                                            Gender:
                                            Nature: Adamant
                                            Posts: 6
                                            FRICKEN SHWEET!

                                            Seriously, I find this easy yet powerful.
                                            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 4:43 PM.