-
Posts
1178 -
Joined
-
Last visited
-
Days Won
15
Content Type
Profiles
Pokédex
Portal
Technical Documentation
Pages
Tutorials
Forums
Events
Downloads
Gallery
Blogs
Everything posted by codemonkey85
-
It is worth asking about this though: Also, if you don't want to do the gender check manually (and if you are not validating the legality or integrity of the Pokémon data all that vigorously), you should see bytes 0x40-0x41.
-
My typical handle always used to be 347Studboy; 347 which is leet for "eat", which is always fun, and Studboy because I thought it was funny at the time. I regretted that one a bunch. So then a friend of mine said I should go by Codemonkey instead, and I have ever since. I usually append 85 to the end (my birth year, original, eh?). Codemonkey basically means I am a programming nerd.
-
greentea, most of the database information I use came originally from Legendary Pokémon. Some of it had to be edited / revised / reformatted for my needs, but there's a bunch there that I think you will find useful.
-
Nice going Jiggy. Don't worry if the GUI doesn't look like a work of art yet, you'll get there.
-
Part of the problem I am seeing is that you are using decimal instead of hexadecimal for your offsets. In VB you use the prefix &H to specify hex instead of decimal; so 38 should actually be &H38, 39 should be &H39, and the next two are actually &H3A and &H3B. Why are you doing it this way, anyway? How about doing this instead: IV = BitConverter.ToUInt32(DATA, &H38) The BitConverter class will automatically put your number together. DATA is your byte array, and &H38 is the starting offset. Easy, right?
-
Where mIVsAndEtc is an unsigned 32 bit integer consisting of the values at 0x38-0x3B: HP = (mIVsAndEtc >> (0)) And &H1F Attack = (mIVsAndEtc >> (5)) And &H1F Defense = (mIVsAndEtc >> (10)) And &H1F Speed = (mIVsAndEtc >> (15)) And &H1F SpAttack = (mIVsAndEtc >> (20)) And &H1F SpDefense = (mIVsAndEtc >> (25)) And &H1F That's basically what my code looks like.
-
Ah, well, I'm not too concerned with that particular graphic. If I ever do code a "virtual Pal Park" (unlikely since I have practically no info about the GBA saves), I will probably just use a border or backcolor to highlight the selected Pokémon.
-
This should cover ya.
-
Um, which yellow dot would that be? And what would I need it for?
-
That's called "concatenation", FYI. And feel free to post here or contact either Jiggy-Ninja or myself if you have further questions. (I love it when people start programming, it means more help with projects in the future!)
-
You know Andy, to be honest, all of my database information is hardcoded into my core library as dictionary objects (essentially hashtables). I'm not sure if this is viable or practical in a PHP / internet setting, but it works for me, because I don't have to supply any external files aside from the library .DLL during distribution. And after I initialize the dictionaries (which takes a few seconds), the lookup speed is pretty instantaneous as far as I can tell. EDIT: Hm, I almost accidentally edited your post instead of mine. I have done and can help you with the above things. Ribbons were extracted by Poryhack, and I have those as well as images for every item. Let me know what you need, or meet me on #PP-Research on the IRC.
-
Andy, good to hear from ya! I don't know PHP in the slightest, but I will help out with PKM reading as a general procedure, since I have had bags of experience with that.
-
Thanks! Inheriting from PicutreBox seemed the way to go, but the next challenge will be multiselecting Pokémon. Incidentally, did you get my PM?
-
I think SCV knows about the GBA save file structures, but not too many other people do. All I know is that the save file is split into sixteen (!) different blocks, all with their own checksum, and that those blocks shift positions relative to each other (or something like that).
-
randomspot: Cool, just let me know when is a good time to meet on wifi. Earthix: Well, if you insist. Meet me on IRC, or else PM me with a good time to meet up.
-
Yes, removing Pokémon is a feature I will add. No, the program does not edit the Pokédex yet. The next feature I am working on is Pokémon editing, but registering Pokémon in the Pokédex is likely the next priority.
-
Not anytime soon, as I only really know VB.Net at the moment. I am taking courses in programming and hope to be a professional software developer one day, but in the meantime, my advice is to just stick to PPSE. I am not coding PPSE. But rest assured, Jiggy-Ninja has announced his intentions to shamelessly steal my programs' features.
-
Well, this is in the wrong thread. So moving.... Is this for Pokémon DP, or Platinum? What is the size of your save file? What do your NO$ settings look like? The more specific and informative you are, the better shot we have of helping you.
-
You know, it would help tremendously if you were more specific in the future. I must have totally misread yours and evandixon's posts, but nevertheless I kept seeing "OT" as the trainer ID number, rather than the name. Also, you didn't mention that it was a PKM file specific program (although I think it still fits into save R&D). But anyway. Pokémon DS games have their own character table. I have been using a table to convert the DS character codes to their Unicode equivalent values. And here is that table (courtesy of Sabresite).
-
Or you could use the BitConverter class: Dim IDBytes() As Byte 'Read the bytes into your byte array however you do. Dim TrainerID As UInt16 = BitConverter.ToUInt16(IDBytes, 0) Also, you may be interested in my Pokémon DS code library. By the way, I figure this thread does belong in Save R&D, so I moved it.
-
Jiggy-Ninja, here are those text files that you wanted. JIGGY_DATA_TEXTFILES.zip
-
Big news (at least for me): Pokémon Platinum save files are now supported! Now you can open up two instances of the program and transfer Pokémon between a Diamond / Pearl save file and a Platinum save file! Nice. Check out the first post for the download! Special thanks go to SCV and Jiggy-Ninja for helping me figure out how to auto-detect which save type is being loaded.
-
Of course, for that program to work, one would need to do a complete save twice in a row before backing their save file up. (By complete save, I mean do something in the PC, save, do something else in the PC, and save again... that way both halves of your save file are roughly the same.) Otherwise you may fix the save file size, but still not be getting current save info. It would be even nicer if someone found a way to properly dump Platinum save files in the first place.
-
Yes, you would need to edit the ROM in such a way that boxed Pokémon retain the 236 byte structure, if it's even possible to do that. I was simply explaining the answer, which no one had done yet.
-
tool PPRE: Project Pokemon's ROM Editor
codemonkey85 replied to SCV's topic in ROM - NDS Research and Development
Blakem15192 and evandixon, this is beta software, and only the script editing is functional. The TM editing feature has not been added yet. I would expect the labels to be taken care of when the feature is added.