Jump to content

Pkx: The New Pokemon Format For Gen 6


Bond697

Recommended Posts

  • Replies 284
  • Created
  • Last Reply

Top Posters In This Topic

Alright, I have a few more abilities from the batch of .pkx's I uploaded yesterday.

Abilities

#173/0xAD - Strong Jaw

#174/0xAE - Refrigerate

#186/0xBA - Dark Aura

#187/0xBB - Fairy Aura

#188/0xBC - Aura Break

Everything else I uploaded had old abilities.

EDIT: ReignOfComputer got the moves already, so removed them from this list. Leaving the abilities, though.

Edited by er1c1996
Link to comment
Share on other sites

Seems like the list is missing Belch, Fell Stinger, Flying Press, Ion Deluge, Noble Roar, and Parting Shot. I'll see if I can find those for you.

EDIT: I have most of the Pokemon that can learn them. But it'll take some grinding. I'll get back on that.

Link to comment
Share on other sites

As for 3DS regions...

var REGION = { JP:0, US:1, EU:2, CN:4, KR:5, TW:6 };
This is in the 3DS region detection code the PGL uses, so is likely the same order as in-game.

It's also the same as the order used by Nintendo in other things, which means 3 would be the would-be AU-only region that doesn't actually exist (since they get EU games and consoles).

Link to comment
Share on other sites

Obtained Mega stones IDs, they are between Mulchs and the new berries

656 Gengarite

657 Gardevoirite

658 Ampharosite

659 Venusaurite

660 Charizardite X

661 Blastoisinite

662 Mewtwonite X

663 Mewtwonite Y

664 Blazikenite

665 Medichamite

666 Houndoominite

667 Aggronite

668 Banettite

669 Tyranitarite

670 Scizorite

671 Pinsirite

672 Aerodactylite

673 Lucarionite

674 Abomasite

675 Kangaskhanite

676 Gyaradosite

677 Absolite

678 Charizardite Y

679 Alakazite

680 Heracronite

681 Mawilite

682 Manectite

683 Garchompite

684 ????

685 ????

686 Roseli Berry

Link to comment
Share on other sites

It's not much, but the 5 abilities I posted yesterday can start off the abilities section for you, if you'd like.

I've already done Abilities :P

Should probably have noted that the spreadsheet's updated.

http://sdrv.ms/17znyCW

ID Ability

165 Aroma Veil

166 Flower Veil

167 Cheek Pouch

168 Protean

169 Fur Coat

170 Magician

171 Bulletproof

172 Competitive

173 Strong Jaw

174 Refrigerate

175 Sweet Veil

176 Stance Change

177 Gale Wings

178 Mega Launcher

179 Grass Pelt

180 Symbiosis

181 Tough Claws

182 Pixilate

183 Gooey

184

185

186 Dark Aura

187 Fairy Aura

188 Aura Break

Missing ID associations:

Missing IDs Can't Get - Reason

Aerilate Mega Pinsir

Parental Bond Mega Kangaskhan

Edit: Added an items sheet, merged data from RubenPikachu's post in. Thanks!

Link to comment
Share on other sites

ea d0 01 03 04 00 11 11 82 20 b2 01 00 00 fa 7e ef ac 29 ae 9a 1e 2d d1 b8 85 0c 6f e3 58 02 01 00 00 2b 00

ea d0 01 03 04 00 11 11 82 20 b3 01 00 00 f7 c9 34 e6 8b 9e 79 05 90 de 3c ed 91 ae ba 67 02 01 00 00 2b 00

ea d0 01 03 04 00 af a1 82 20 b1 01 00 00 46 be fb b1 6c 90 09 b6 e3 d6 9a be 5b 18 cc 07 02 01 00 00 2b 00

ea d0 01 03 04 00 11 11 82 20 b4 01 00 00 44 32 19 78 39 1a e9 36 de e7 4d 16 a9 8a 20 83 02 01 00 00 2b 00

ea d0 01 03 04 00 11 11 82 20 b5 01 00 00 c0 4b 5d ec 93 1c bf 10 7c e7 9c 98 13 3f e2 cc 02 01 00 00 2b 00

ea d0 01 03 04 00 11 11 82 20 b6 01 00 00 c6 30 40 65 b8 fe c7 f9 95 d6 50 e1 fe 1c e2 ab 02 01 00 00 2b 00

ea d0 01 03 04 00 11 11 82 20 b7 01 00 00 20 fc 36 7e 30 63 8d dc 98 14 a3 aa 00 6c 45 a9 02 01 00 00 2b 00

ea d0 01 03 04 00 11 11 82 20 b8 01 00 00 7e 70 3d c8 74 2e c8 44 7d c4 c0 ce f6 a6 f5 ec 02 01 00 00 2b 00

ea d0 01 03 04 00 11 11 82 20 b9 01 00 00 74 b8 02 24 21 f1 50 5e d9 3d b8 42 1f 49 55 73 02 01 00 00 2b 00

ea d0 01 03 04 00 11 11 82 20 bb 01 00 00 eb b6 3e 0f 73 72 c3 15 dd 16 5e b6 79 fe 87 0d 02 01 00 00 2b 00

ea d0 01 03 04 00 11 11 82 20 bd 01 00 00 cf 4d 45 d3 1a d3 9a 73 c7 5c 0a 3b de 27 36 e3 02 01 00 00 2b 00

same data, 1 byte difference in the header (number of wondertrades) and one exception where its a management packet.

This just has to be cracked somehow @_@

Edited by codemonkey85
Link to comment
Share on other sites

Here is a copy of my Shiny Charizard that has had Pokerus and been cured. (Thanks <ReignOfComputer> and <black_> for help. )

I have taken a few photos of it ingame the shiny status does not show and the ribbon also in the .PKX it was traded via P2P not wondertrade.

UwaiXJx.jpg

AwdfaoZ.jpg

ShinyCharizard.zip (3.7 MB) (Contains the photos above + .PKX)

https://mega.co.nz/#!yR8hmY5L!D1hlyhMW2ja1CzjJtH6ejFqCTnQPeil1pZi2d-J6jVg

Download

Hope it helps.

Link to comment
Share on other sites

Finished my spreadsheet to the best I can. Don't think there's anymore data left to collect.

http://sdrv.ms/17znyCW

MOVES | ABILITIES | ITEMS | FORME.MEGA | 3DSREGION | LANGUAGE | GAME | LOCATIONS

Also updated my PKX collection http://projectpokemon.org/forums/showthread.php?33180-Pok%E9mon-X-and-Y-PKX-Contribution

Link to comment
Share on other sites

Found out how a pkx is shiny, it uses offset 0x18-0x1B (I'm not sure how the game generates it but acts as a unsigned integer for shiny check), ID and SID

Like the PID in Gen 5, divide this seed into 16 bit parts, let s1 be the upper part and s2 the lower part

If (id^sid^s1^s2)<16 then the pokemon is shiny

Edited by RubenPikachu
Link to comment
Share on other sites

Found out how a pkx is shiny, it uses offset 0x18-0x1B (I'm not sure how the game generates it but acts as a unsigned integer for shiny check), ID and SID

Like the PID in Gen 5, divide this seed into 16 bit parts, let s1 be the upper part and s2 the lower part

If (id^sid^s1^s2)<=8 then the pokemon is shiny (yes, including the 8, I have a shiny magikarp that makes this equal to 8)

It might be that 0x18-0x1B is actually the PID and the value at 0x0 is just an unrelated number.

Link to comment
Share on other sites

I got a shiny pkx with the formula equal to 12 it is possible that the formula is (id^sid^s1^s2)< 16 but I'm not sure of it...

Also found out how ability number (offset 0x15) works, seems it works through bits, bit 0 indicates the pkx has the ability 0 of its species, bit 1 is ability 1 and bit 2 is for Hidden Ability (values are 1 (0), 2 (1) and 4 (HA))

Link to comment
Share on other sites

I got a shiny pkx with the formula equal to 12 it is possible that the formula is (id^sid^s1^s2)< 16 but I'm not sure of it...

Also found out how ability number (offset 0x15) works, seems it works through bits, bit 0 indicates the pkx has the ability 0 of its species, bit 1 is ability 1 and bit 2 is for Hidden Ability (values are 1 (0), 2 (1) and 4 (HA))

we need to mass a large amount of shinys to find the new threshold. also about the 0x15. there seems to be a chespin with overgrow that has 0x04

Link to comment
Share on other sites

Are you sure it has 4 at offset 0x15? do you have the pkx file to check it out since all my HA pokemon have the value of 4 and all other have between 1 and 2

About shiny threshold, it would be needed a shiny pokemon with 15 as the result of XORing the data, and one with 16 to demostrate it...

Link to comment
Share on other sites

Maybe the correct formula is (id^sid^s1^s2) % 2 == 0 && (id^sid^s1^s2) < 16? I doubt that they are giving us 16/65536 odds this gen instead of usual 8/65536.

My only shiny Luvdisc has 6. I will be chaining more after my shift is over.

I got a pkx of a shiny Alakazam that has 11 as the result, so the (id^sid^s1^s2) % 2 == 0 cannot be part of the formula

shinyalakazam..zip

shinyalakazam..zip

Link to comment
Share on other sites

Ok instead of posting the pkx, I'll just post some results I got. I also made a script to auto-dump pkx from trades (if one of the trade players is showing them) which then checks them for shinyness. These are the results I acquired so far:

TID SID PID chance
53839 16673 1683814196 6
53839 16673 1084150779 11
53839 16673 1252973003 11
20641 54167 1908142732 1
53839 16673 3759633266 11
53839 16673 2360942553 14
31246 28938 1957986237 13
31246 28938 2826347387 9
31246 28938 2126214583 8
31246 28938 3014572197 15
57163 32215 1627833243 1
57163 32215 2100748206 4
57163 32215 1859243081 4
57163 32215 3496964850 1
37130 12372 1718470456 11
58635 60408 2719722727 15
57163 32215 1434777365 13
57163 32215 3554701694 2
57163 32215 2931690540 14
57163 32215 3357960892 6
57163 32215 1419507204 3
62094 46668 2179450150 3

As you can see there are some chances with a result of 15 in there, so 1-15 or 0-15 seems likely. Best would be if we find a non-shiny that has a chance-result of 16.

Link to comment
Share on other sites

Oh well, that sounds like something we probably won't be able to know until Pokémon Bank comes out.

Speculation, chances are I'm wrong for some of this since I only took about 5 minutes to do some quick research and do not actually know how the game processes all of that:

I took a quick look at the Pokémon data structure for Gen. IV and Gen. V, but there didn't seem to be a shinyness flag in the .pkm file, which seemed to imply that everything was calculated on the spot using the PID, ID and SID, while there is a byte that keeps the Pokémon's ability, which is (to my understanding) how Pokémon that came from Gen. III end up having abilities that don't match their PID.

Abilities on a Pokémon in Gen. III were calculated on-the-spot, since there wasn't any byte in the Pokémon data structure that said "This it the Pokémon's Ability."

I assume that what happened with the new abilities introduced in Gen. V is that, since the Pokémon from Gen. IV had the byte in their data that said what their ability was, I suppose that PokéTransfer just didn't re-calculate the ability or something.

Anyway, what I'm getting at, if there isn't any byte in the Pokémon data structure for Gen. VI that determines shinyness, if shinyness is still calculated based on the PID, ID and SID, then I would assume my theory would be correct.

Of course, it's possible that, for previous Gen. Pokémon, shinyness is saved somewhere in the Pokémon file upon transferring, which would make it possible for a Pokémon to be non-shiny even though the formula would make a Gen. VI Pokémon shiny.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...