Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
ItemDex
TrainerDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi trick
Select glitches (Japan)
SRAM glitch
CoolTrainer♀ corruption
LOL glitch
Rival LOL glitch
Super Glitch
ZZAZZ glitch
Pomeg corruption glitch (Glitzer Popping)
Tweaking
Elite Four door glitch (Japan)
Pokémon merge glitch
Pokémon cloning
Time Capsule exploit
Arbitrary code execution
Coin Case glitch
More

Other Glitch Categories
Glitches by generation
Glitches between two generations
Japan-only/language specific glitches
Music glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Officially acknowledged glitches
Recurring glitches
Dead glitches

References
Pokémon GameShark codes
The Big HEX List
GB programming
Curiosities
Debugging features
Easter eggs
Error traps
Glitch areas
Glitch myths
Non-glitch exploits
Placeholder texts
Pokémon glitch terminology
Unused content and prerelease information

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Search Wiki

 

Search Forums

 

Author Topic: Invalid Pokémon in Gen 6  (Read 27002 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

Torchickens

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
    • 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
Hello. I actually identify as gender questioning, but nowadays feel more firmly that I identify as female. My sex is male but I like to express myself as female.  She/her pronouns, please.


Thank you Aeriixion for the cute sprite above! :) Roelof also made different variations of the sprite (which I animated).

Contact:

Email Youtube Twitter
Skype: Torchickens
Bulbapedia Starfy Wiki

Beyond all philosophies are the things that go best for you; what makes you feel content. It's important to always follow your heart, so unless you feel perfectly happy about it don't just follow something because it is popular, fits a style or is conventional. Sometimes you may reach a point you're not sure who you are, but as things settle I'm convinced things do work out in time.

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.

drc

  • Decamark Collector and Pokémaniac
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • i hate being alive
    • View Profile
    • my music shit
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 »
hey, i'm danny. you can call me danny.
i don't know what the f**k i'm doing anymore.
discord me because i'm lonely: big man dan#3383
certified gorillaz trash(tm)

also i make music now

Torchickens

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
    • 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 »
Hello. I actually identify as gender questioning, but nowadays feel more firmly that I identify as female. My sex is male but I like to express myself as female.  She/her pronouns, please.


Thank you Aeriixion for the cute sprite above! :) Roelof also made different variations of the sprite (which I animated).

Contact:

Email Youtube Twitter
Skype: Torchickens
Bulbapedia Starfy Wiki

Beyond all philosophies are the things that go best for you; what makes you feel content. It's important to always follow your heart, so unless you feel perfectly happy about it don't just follow something because it is popular, fits a style or is conventional. Sometimes you may reach a point you're not sure who you are, but as things settle I'm convinced things do work out in time.

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
    • Youtube channel
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 DON'T THINK THIS SITE COULD EVER BE WORKSAFE

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

Torchickens

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
    • 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 »
Hello. I actually identify as gender questioning, but nowadays feel more firmly that I identify as female. My sex is male but I like to express myself as female.  She/her pronouns, please.


Thank you Aeriixion for the cute sprite above! :) Roelof also made different variations of the sprite (which I animated).

Contact:

Email Youtube Twitter
Skype: Torchickens
Bulbapedia Starfy Wiki

Beyond all philosophies are the things that go best for you; what makes you feel content. It's important to always follow your heart, so unless you feel perfectly happy about it don't just follow something because it is popular, fits a style or is conventional. Sometimes you may reach a point you're not sure who you are, but as things settle I'm convinced things do work out in time.

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~!

Torchickens

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
    • 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 »
Hello. I actually identify as gender questioning, but nowadays feel more firmly that I identify as female. My sex is male but I like to express myself as female.  She/her pronouns, please.


Thank you Aeriixion for the cute sprite above! :) Roelof also made different variations of the sprite (which I animated).

Contact:

Email Youtube Twitter
Skype: Torchickens
Bulbapedia Starfy Wiki

Beyond all philosophies are the things that go best for you; what makes you feel content. It's important to always follow your heart, so unless you feel perfectly happy about it don't just follow something because it is popular, fits a style or is conventional. Sometimes you may reach a point you're not sure who you are, but as things settle I'm convinced things do work out in time.

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.