Search the Community
Showing results for tags 'syntax'.
-
I've been looking on the save files in a hex editor but I can't quite seem to figure out the purpose of most positions. What I have figured out so far is basically the ground rules: 1-4 = unknown 5-6 = zero 7-8 = unknown 9 = pokemon id 10 = zero 11 = unknown 12 = zero 13-19 = unknown 20 = zero 21 = unknown 22 = unknown 23 = zero 24 = "2" 25 = EV; HP 26 = EV; Attack 27 = EV; Defense 28 = EV; Speed 29 = EV; Sp. Atk 30 = EV; Sp. Def 31 = Cool 32 = Beauty 33 = Cute 34 = Smart 35 = Though 36 = Sheen 37 = "1" 38-40 = zero 41-60 = unknown 61-72 = zero 73-94 = pokemon (custom) name, separated by "01", name ends when "FFFF" occurs, rest is zero bytes 95 = zero 96 = unknown 97-104 = zero 105-120 = trainer name, same method as pokemon name 121-140 = unknown 141-156 = unknown, syntax is 2 bit, a suffix, and repeated -assuming this is the stats values when the save is from a party pokemon 157-161 = unknown, zeros 162-163 = unknown 164-186 = "ff" 187-188 = zero 189-190 = "ff" 191-192 = unknown 193-198 = "ff" 199-200 = unknown 201-206 = "ff" 207-208 = unknown 209-212 = "ff" 213-EoF = zero I am amazed that I could not find documentation on this on the old forum too... the wiki is new so there is nothing in there to help me on this matter. I am trying to make a site where you can upload your .pkm file and let the site calculate a random average stats for your Pokemon. For example if you create one you usually put the IV to 31 since it is max, you put some numbers here and there on the EV but you don't really know what you have used, how much you have left, e.g. so I wanted to make this tool to automatically correct and balance the stats -of course depending on the user if he wants a Pokemon specialized in attack, defense, speed, sp.atk, e.g. Same goes for IV if he wants to have a super inhuman farmed Pokemon or if he wants a average one, and so on. There is much that can be done, I just need help on mapping the .pkm file structure so I can have my PHP parse it correctly. I am sure a developer of Pokesav can help me here, unless you want to keep the documentation on the .pkm files a secret of course. *Edit* Noticed there is a "SAV Research" forum but a bit too late.
- 2 replies
-
- documentation
- files
-
(and 2 more)
Tagged with: