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 Egg 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 glitches
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
Glitch Pokémon cries
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!

Technical
Site Source Code

Search Wiki

 

Search Forums

 

Author Topic: Gen VII invalid Pokémon / etc research  (Read 1237 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
Gen VII invalid Pokémon / etc research
« on: December 09, 2016, 11:06:29 am »
Finally got that modded PKHeX compiled. Find it here http://lucasm.cf/?n2i0o - mirrors would be appreciated.

Expect lots and lots of lag, this has support for Pokémon/items/attacks up to 0xffff.

I took a Pokémon in my box, made a copy of it, changed its species to 0xffff, gave it move 0xffff, shoved it in the PC.

When hovering over it in the PC I got a nice crash, a null pointer deref related to the attack name (Luma's exception dump showed r0 to r4 all being zero, and pc pointed at ldr r1, [r4, #0x84]).

Changed the attack 0xffff to something valid (Flamethrower), and now I can hover over it in the PC! It looks like Kirlia; and viewing its summary crashes in the exact same place as before.

0xffff's species name is not constant. I think it's based on the level number of the Pokémon you previously selected or something. (it changed from "70" to "64", then hovering over it inside the PC when the Pokémon was in the party caused a crash)

OK, that's interesting. Put 0xffff in the party, went  back out of the PC, went back into the PC, touched 0xffff (to avoid a crash), and it now looks like Staravia.
« Last Edit: December 09, 2016, 11:40:30 am by Wack0 »
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

Charmy

  • A guy who likes glitchyness.
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • "NIDOQUEEN THOMAS wants to battle!"
    • View Profile
Re: Gen VII invalid Pokémon / etc research
« Reply #1 on: December 09, 2016, 11:56:40 am »
Hmm, so, gen 7 grabs this data of RAM?
"Time is mone
Go along then" - Old Man


TMZ4 is the BEST TM while the sucky Channel is the best channel.

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Gen VII invalid Pokémon / etc research
« Reply #2 on: December 09, 2016, 12:08:48 pm »
Seems index 0xffff's model (in the PC) is derived from the last Pokémon hovered over in the PC (as its name is).
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

Charmy

  • A guy who likes glitchyness.
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • "NIDOQUEEN THOMAS wants to battle!"
    • View Profile
Re: Gen VII invalid Pokémon / etc research
« Reply #3 on: December 09, 2016, 01:01:06 pm »
So, technicaly, I'm right.

[offtopic]I'm filling my dex now... 85%[/offtopic]
"Time is mone
Go along then" - Old Man


TMZ4 is the BEST TM while the sucky Channel is the best channel.

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Gen VII invalid Pokémon / etc research
« Reply #4 on: December 09, 2016, 01:32:27 pm »
Tried index 0x1828 (got the index number from RNG output).

Its name is derived in the same way as 0xffff's; its model is also derived from the last Pokémon hovered over in the PC, but using different data.
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

Evie ✿

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Gen VII invalid Pokémon / etc research
« Reply #5 on: January 18, 2017, 11:22:09 pm »
Can you upload this on Mega please and I'll host it on my Google Sites? That lucasm.cf website is blocked for me for some reason.
Hi! I identify as transgender female.  She/her pronouns, please.

Online I most often use the username Torchickens or Chickasaurus.



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

I like to collect interesting video games.
https://www.vgcollect.com/Torchickens

The psychology of birth (including spiritual birth): pain>acceptance/courage in face of pain>embracement>unconditional love and strength

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: Gen VII invalid Pokémon / etc research
« Reply #6 on: January 19, 2017, 08:04:35 am »
Can you upload this on Mega please and I'll host it on my Google Sites? That lucasm.cf website is blocked for me for some reason.

How's another pomf clone? https://aww.moe/nsqoyy.zip
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

Evie ✿

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Gen VII invalid Pokémon / etc research
« Reply #7 on: January 21, 2017, 11:28:00 am »
Can you upload this on Mega please and I'll host it on my Google Sites? That lucasm.cf website is blocked for me for some reason.

How's another pomf clone? https://aww.moe/nsqoyy.zip

This works, thanks Wack0! :)

I now have a mirror here. https://sites.google.com/site/torchickens2/glitching-tools
« Last Edit: January 21, 2017, 11:29:34 am by Torchickens »
Hi! I identify as transgender female.  She/her pronouns, please.

Online I most often use the username Torchickens or Chickasaurus.



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

I like to collect interesting video games.
https://www.vgcollect.com/Torchickens

The psychology of birth (including spiritual birth): pain>acceptance/courage in face of pain>embracement>unconditional love and strength

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.

zxSuperGlitch

  • Guest
Re: Gen VII invalid Pokémon / etc research
« Reply #8 on: February 03, 2017, 05:08:37 pm »
I've hosted it on my host too;

http://www.dillon.host/PKHeX.exe