Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools
More

Affiliates
Legendary Star Blob 2 (Hakuda) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: Invalid Pokémon in Gen 6  (Read 47227 times)

0 Members and 1 Guest are viewing this topic.

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Invalid Pokémon in Gen 6
« on: January 30, 2015, 02:25:02 pm »
So, thanks to the 9.x browser exploit, we're now in a position to research Gen 6.

I patched PKHex to allow for invalid moves, items and Pokémon. Above a certain point, when selecting an invalid Pokémon from the list, it will throw an exception, but you can just click continue and it'll work fine.

First thing to note is that invalid Pokémon (in Omega Ruby at least) seems to use Bulbasaur's sprite/texture, and have Normal type. I'm not sure how it gets the cry, one of them has Deoxys' cry. They do not learn any moves, and cannot be taught any TMs or HMs.

I first used some invalid Pokémon close to the last valid one, that don't error out, and got unremarkable Pokémon with bad stats. (14 Speed after Rare Candying to Level 100!)

I then tried 0x82B1, and it's pretty unstable, as I assume most will be. I had to use Withdraw Pokémon, withdraw 0x82B1 then press B straight away to avoid a freeze. I tried to use a Rare Candy on it and the game froze, probably trying to recalculate stats. It has no cry, and Pokédex number ?55 (convert 0x82B1 to decimal to see why that is!)

No screenshots yet, (I'm obviously doing this on real hardware and I don't have any decent way to take them) but the glitch Pokémon I tried (not 0x82B1 yet!) worked fine in battles and in contests. As said by someone else, species names seem to be dynamic. Sometimes they are blank, in summary screens it's their dex number and so on.

When I get home, I'll provide a download link to the modded PkHex. That is if Torchickens hasn't uploaded it (I already gave it to him). It's a .NET exe so you *should* be able to run it on non-Windows platforms using mono.

Apologies for any typos, etc in this post, I made it on my Android tablet.
C H E C K E D . B U I L D S . A R E . A W E S O M E N E S S

BetaArchiveSoftHistory Forumsirc.rol.im #galaxy,#softhistory

Also known as The Distractor.

Shane, please stop telling children that there's a Mew outside under the delivery trucks. - Management

Pokémon: arbitrary code execution 1996-2016

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • View Profile
Re: Invalid Pokémon in Gen 6
« Reply #1 on: January 30, 2015, 02:31:01 pm »
Yes. I uploaded it but it wasn't that easy to notice because I added it as an edit for an existing post. Here it is. https://mega.co.nz/#!Et9CUDRQ!SOpnOhYMW3HE5tC4umU0JATZDsGzFiA7P3ZZqs-Dw9Y

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Sex male, and spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman. Call me whichever pronouns you like. :)

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Invalid Pokémon in Gen 6
« Reply #2 on: January 30, 2015, 03:00:14 pm »
OK. The reason I got a freeze with 715 initially was because I saved the Pokémon instead of the entire save. Probably because it was late and I was tired.
C H E C K E D . B U I L D S . A R E . A W E S O M E N E S S

BetaArchiveSoftHistory Forumsirc.rol.im #galaxy,#softhistory

Also known as The Distractor.

Shane, please stop telling children that there's a Mew outside under the delivery trucks. - Management

Pokémon: arbitrary code execution 1996-2016

Kraust

  • GCLF Member
  • Offline Offline
  • Random Lurker + Researcher
    • View Profile
Re: Invalid Pokémon in Gen 6
« Reply #3 on: January 31, 2015, 06:01:47 am »
It might be worth asking Kaphotics if he can release a version of PKHeX that gives all variables for a specific parameter and not just the valid ones.

I've also been using it, and I noticed that in one of the tabs there's a debug register thing where it gives offsets and values:


But it's the only part of the program with anything like this. You can't even give Pokemon invalid abilities.

danny

  • Decamark Collector and Pokémaniac
  • Member+
  • *
  • Offline Offline
  • i hate being alive
    • View Profile
Re: Invalid Pokémon in Gen 6
« Reply #4 on: January 31, 2015, 08:00:23 am »
Why does it say "f**k you Japan"?
« Last Edit: July 10, 2015, 09:58:58 am by Spoink »
ralsei is my son.

discord: dani#5700

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • View Profile
Re: Invalid Pokémon in Gen 6
« Reply #5 on: January 31, 2015, 10:07:19 am »
Probably because people needed Cyber Gadget (a Japanese tool that only works on Japanese 3DSes) for a lot of memory hacking stuff (unless you somehow did it without like how smea found the event Pokémon), and apparently you can't do that much with Action Replay Powersaves, but I don't know.
« Last Edit: January 31, 2015, 10:09:08 am by Torchickens »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Sex male, and spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman. Call me whichever pronouns you like. :)

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

Kraust

  • GCLF Member
  • Offline Offline
  • Random Lurker + Researcher
    • View Profile
Re: Invalid Pokémon in Gen 6
« Reply #6 on: January 31, 2015, 07:22:38 pm »
Why does it say "f**k you Japan"?

I wanted to be quite edgy and I Was wonder trading 6IV Shiny Dittos.
I didn't notice that it was there until I posted. Sorry <_<.

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Invalid Pokémon in Gen 6
« Reply #7 on: February 01, 2015, 04:52:53 am »
Yes. I uploaded it but it wasn't that easy to notice because I added it as an edit for an existing post. Here it is. https://mega.co.nz/#!Et9CUDRQ!SOpnOhYMW3HE5tC4umU0JATZDsGzFiA7P3ZZqs-Dw9Y

Umm, it won't start up here, it just keeps loading forever (strangely enough its Properties doesn't have Compatibility tab while the official one does). After a while, I got a BSoD.  :o

It takes a while to load, it loads in 3 minutes for me. But I'm using a Core i7 with 8GB RAM (and I know it uses around ~15% CPU while loading).
C H E C K E D . B U I L D S . A R E . A W E S O M E N E S S

BetaArchiveSoftHistory Forumsirc.rol.im #galaxy,#softhistory

Also known as The Distractor.

Shane, please stop telling children that there's a Mew outside under the delivery trucks. - Management

Pokémon: arbitrary code execution 1996-2016

Zowayix

  • Loose cannon mod who lives on the edge and doesn't play by the rules
  • Staff
  • *****
  • Offline Offline
  • Gender: Female
  • Cool story m8
    • View Profile
    • Github and whatnot
Re: Invalid Pokémon in Gen 6
« Reply #8 on: February 01, 2015, 05:02:09 am »
Yes. I uploaded it but it wasn't that easy to notice because I added it as an edit for an existing post. Here it is. https://mega.co.nz/#!Et9CUDRQ!SOpnOhYMW3HE5tC4umU0JATZDsGzFiA7P3ZZqs-Dw9Y

Umm, it won't start up here, it just keeps loading forever (strangely enough its Properties doesn't have Compatibility tab while the official one does). After a while, I got a BSoD.  :o

BSoDs happen at the kernel layer so they can only be caused by either the OS itself, or some stupid driver who for some reason might get triggered by a .NET application doing something. Most likely the latter, because as much as Windows sucks, third party drivers suck more.

Good to know it's not just Mono who can't load it though. I take it from your wording of 'patched' that the original source code is not available and hence the source code for this version isn't, meaning I can't jump in and see what's going on without decompiling?


I need a new siggy, because this siggy is shitty... shittiggy... shiggy.... something.

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Invalid Pokémon in Gen 6
« Reply #9 on: February 01, 2015, 05:08:40 am »
Yes. I uploaded it but it wasn't that easy to notice because I added it as an edit for an existing post. Here it is. https://mega.co.nz/#!Et9CUDRQ!SOpnOhYMW3HE5tC4umU0JATZDsGzFiA7P3ZZqs-Dw9Y

Umm, it won't start up here, it just keeps loading forever (strangely enough its Properties doesn't have Compatibility tab while the official one does). After a while, I got a BSoD.  :o

BSoDs happen at the kernel layer so they can only be caused by either the OS itself, or some stupid driver who for some reason might get triggered by a .NET application doing something. Most likely the latter, because as much as Windows sucks, third party drivers suck more.

Good to know it's not just Mono who can't load it though. I take it from your wording of 'patched' that the original source code is not available and hence the source code for this version isn't, meaning I can't jump in and see what's going on without decompiling?

Interestingly enough, I didn't even change the CIL bytecode whatsoever, only the managed resources.
C H E C K E D . B U I L D S . A R E . A W E S O M E N E S S

BetaArchiveSoftHistory Forumsirc.rol.im #galaxy,#softhistory

Also known as The Distractor.

Shane, please stop telling children that there's a Mew outside under the delivery trucks. - Management

Pokémon: arbitrary code execution 1996-2016

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • View Profile
Re: Invalid Pokémon in Gen 6
« Reply #10 on: February 21, 2015, 05:25:48 pm »
I have started recording these. Here is a screeny.



P.S. While Pokémon like 725 looked like Bulbasaur, 999 looked like Ivysaur. Weird.

Edit:
Pokémon 723 (not exactly Bad Egg! Bulbasaur's pic. It has an Egg mini-sprite though)


Pokémon 1000 (looked like Ivysaur)



Pokémon 5000, no picture game freezes when you try to view its summary or close the boxes when it's in your party.

« Last Edit: February 21, 2015, 05:46:45 pm by Torchickens »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Sex male, and spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman. Call me whichever pronouns you like. :)

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

SatoMew

  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Invalid Pokémon in Gen 6
« Reply #11 on: February 21, 2015, 05:38:48 pm »
I have started recording these. Here is a screeny.



Now set its caught location to the Mystery Zone :P

Pawny

  • ༼ つ ◕‿◕ ༽つ
  • Member+
  • *
  • Offline Offline
  • Gender: Female
  • I'm sharp! :3
    • View Profile
Re: Invalid Pokémon in Gen 6
« Reply #12 on: February 21, 2015, 05:44:06 pm »
I left it loading for a longer while and it actually loaded. I was just too impatient lol. By the way, just tested and it's compatible with online injector, which can save quite some if you're doing one-by-one. You just drag mini-sprite directly from PKHeX (it's compatible with .pkx) to the square and scan it on the 3DS while the game is running. You can share the QRs too.
« Last Edit: February 21, 2015, 05:47:31 pm by Pawny »
Hug me~!

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • View Profile
Re: Invalid Pokémon in Gen 6
« Reply #13 on: February 21, 2015, 05:48:20 pm »
I left it loading for a longer while and it actually loaded. I was just too impatient lol. By the way, just tested and it's compatible with online injector, which can save quite some if you're doing one-by-one. You just drag mini-sprite directly from PKHeX (it's compatible with .pkx) to the square and scan it on the 3DS while the game is running. You can share the QRs too.

Cool! So that's probably what a foreign language article I read warning people about scanning specific Pokémon QR codes was about.

Now set its caught location to the Mystery Zone :P

Yeah, I can do that. Lol.
« Last Edit: February 21, 2015, 05:49:31 pm by Torchickens »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post ^^
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory)

✿ Hi, I'm Evie. Sex male, and spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman. Call me whichever pronouns you like. :)

Feel free to contact me here about anything regarding the site.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

SatoMew

  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Invalid Pokémon in Gen 6
« Reply #14 on: February 21, 2015, 05:53:18 pm »
Cool! So that's probably what a foreign language article I read warning people about scanning specific Pokémon QR codes was about.

Interesting, that article talks about malicious QR codes that could give access to your whole save file.