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: Pokemon Red Blue and Yellow 3DS Glitch Confirmation  (Read 14117 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
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #15 on: February 26, 2016, 07:10:44 am »
It seems the Pokemon Red RomFS contains all the patches. I note that DMGAPSS0.J17.patch contains obvious IDA output. So, they have the src for some versions of Gen 1, but not all?

Code: [Select]
;222222aaaaaaaaaaaaaaaa: pc32 = 0xf9847 addr = 0xffb3 value = 0x0         
;F9843                 ld      a, [byte_FFB3]                   
;ROM:F9845                 and     $B                           
;ROM:F9847                 jr      nz, unk_9866                 
; 000f9843h: F0 B3 E6 0B                                     ; <F0 B3>?   

For the record, here's a zip with all the patches: http://lucasm.cf/?m2nim
« Last Edit: February 26, 2016, 07:54:09 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

ドナルド・マクドナルド

  • French Fry Overlord
  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
    • View Profile
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #16 on: February 26, 2016, 09:00:35 am »
So who here is going to try to put glitchmon in the pokebank?

Kraust

  • GCLF Member
  • Offline Offline
  • Random Lurker + Researcher
    • View Profile
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #17 on: February 26, 2016, 09:23:55 am »
So who here is going to try to put glitchmon in the pokebank?

What a coincidence:

SatoMew

  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #18 on: February 26, 2016, 09:31:25 am »
What a coincidence:


Heh. I doubt that they won't try to block illegitimate Pokémon data from being uploaded to Bank, though. There are link-related patches in the Virtual Console releases. Is it likely that they can issue updates to patch it further?

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #19 on: February 26, 2016, 09:42:34 am »
What a coincidence:


Heh. I doubt that they won't try to block illegitimate Pokémon data from being uploaded to Bank, though. There are link-related patches in the Virtual Console releases. Is it likely that they can issue updates to patch it further?

They can issue updates. I'm sure if someone found an emulator escape issue and used, say, a link-related buffer overflow to exploit it, that'd be patched rather quickly.

The link-related patches are probably just so they can hook into the link-related stuff, maybe to make it harder for someone to just use their emulator with whatever ROM they want using HANS or similar (and have link-related functionality still working).

If you can seriously put stuff from RBY into Bank, it'll be interesting to test various things with it; the first thing that comes to my mind being unstable hybrids.
« Last Edit: February 26, 2016, 09:48:17 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

Háčky

  • Distinguished Member
  • *
  • Offline Offline
  • Pick which packet as an error?
    • View Profile
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #20 on: February 26, 2016, 10:39:22 am »
Code: [Select]
[disable_print]
Mode = 1
Address = 0x400ca
Fixcode = 0xE8

This appears to be disabling the Game Boy Printer feature in Yellow’s Pokédex in the laziest way possible, by making the menu option do nothing. Oddly, I don’t see any patches related to printing PC boxes or party Pokémon.

Code: [Select]
[MiniGame]
Mode = 1
Address = 0xF222F
Fixcode = 0x7F

[MiniGame-HighScorePC]
Mode = 1
Address = 0xF2303
Fixcode = 0x7F

What are these doing? This section of code isn’t disassembled in pokeyellow. Maybe they’re just disabling the option for printing Pikachu’s Beach high scores.

So who here is going to try to put glitchmon in the pokebank?

I’d love to know how their names are officially represented in Unicode :P

If you can seriously put stuff from RBY into Bank, it'll be interesting to test various things with it; the first thing that comes to my mind being unstable hybrids.

Even Gold and Silver checked for unstable hybrids; I can’t imagine Pokémon Bank wouldn’t. It might even be smart enough to check for a valid Generation I species!

SatoMew

  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #21 on: February 26, 2016, 10:52:31 am »
Code: [Select]
[MiniGame]
Mode = 1
Address = 0xF222F
Fixcode = 0x7F

[MiniGame-HighScorePC]
Mode = 1
Address = 0xF2303
Fixcode = 0x7F

What are these doing? This section of code isn’t disassembled in pokeyellow. Maybe they’re just disabling the option for printing Pikachu’s Beach high scores.

There's a printer in Summer Beach House for printing Pikachu Beach's hi-scores. Maybe it's related to that? If you accept the request to print, it prints the hi-score; if you decline, it displays the hi-score in-game.

Even Gold and Silver checked for unstable hybrids; I can’t imagine Pokémon Bank wouldn’t. It might even be smart enough to check for a valid Generation I species!

Let's hope so ;)

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #22 on: February 26, 2016, 10:53:29 am »
What are these doing? This section of code isn’t disassembled in pokeyellow. Maybe they’re just disabling the option for printing Pikachu’s Beach high scores.

It is, you're just not looking hard enough.

https://github.com/pret/pokeyellow/blob/3db446ca4fafe72e606428369d716dbdffb92a9e/scripts/beach_house.asm#L16
https://github.com/pret/pokeyellow/blob/3db446ca4fafe72e606428369d716dbdffb92a9e/scripts/beach_house.asm#L135

Both patches change bit 6,a to bit 7,a.

I'm going to take a guess that this disables access to Pikachu's Beach (unless you use ws m to call it directly), and, as mentioned, the printer to print the hi-scores.

If so, it's nice to know that my Pikachu's Beach ws m payloads will be getting some real use, since everyone else probably just used ws m to put Surf onto their Pikachu.
« Last Edit: February 26, 2016, 11:00:17 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

Háčky

  • Distinguished Member
  • *
  • Offline Offline
  • Pick which packet as an error?
    • View Profile
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #23 on: February 26, 2016, 11:17:06 am »
It is, you're just not looking hard enough.

https://github.com/pret/pokeyellow/blob/3db446ca4fafe72e606428369d716dbdffb92a9e/scripts/beach_house.asm#L16
https://github.com/pret/pokeyellow/blob/3db446ca4fafe72e606428369d716dbdffb92a9e/scripts/beach_house.asm#L135

Ah, thanks.

Quote
Both patches change bit 6,a to bit 7,a.

I'm going to take a guess that this disables access to Pikachu's Beach (unless you use ws m to call it directly), and, as mentioned, the printer to print the hi-scores.

Bit 7 of $D471 (wd472) is set if the starter Pikachu is in the party, which means these patches make Pikachu’s Beach and the high-score printer accessible without Surf!

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #24 on: February 26, 2016, 11:24:23 am »
Bit 7 of $D471 (wd472) is set if the starter Pikachu is in the party, which means these patches make Pikachu’s Beach and the high-score printer accessible without Surf!

Thanks. I didn't know what that specific bit did. I assumed it was always off.
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

Krys3000

  • The frenchie
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • Head admin of the PRAMA Initiative
    • View Profile
    • PRAMA Initiative - Main french Pokémon glitch website
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #25 on: February 26, 2016, 11:59:26 am »
How the heck did they come with the idea of allowing trades between RBY and Sun/Moon via Pokébank?! Seriously, guys? The GTS is not f*cked up enough so we need to add some 8F-created lvl 255 Mewtwo with 999 in each stats to it? That move definitively killed the idea of trading with unknown people for legit collections. First the paying Pokébank to transfer Pokémon, then this, I think Game Freak really forgot what was the point of Pokémon at first. So disappointed. 

I'm guessing the bank will refuse many things, but I really hope it will be dealt correctly. 1G doesn't have so many checks for conformity, right?
« Last Edit: February 26, 2016, 12:03:30 pm by Krys3000 »

Admin of the PRAMA Initiative, the main french Pokémon glitch website
http://www.prama-initiative.com
“Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge.'” - Isaac Asimov

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #26 on: February 26, 2016, 12:06:14 pm »
How the heck did they come with the idea of allowing trades between RBY and Sun/Moon via Pokébank?! Seriously, guys? The GTS is not f*cked up enough so we need to add some 8F-created lvl 255 Mewtwo with 999 in each stats to it? That move definitively killed the idea of trading with unknown people for legit collections. First the paying Pokébank to transfer Pokémon, then this, I think Game Freak really forgot what was the point of Pokémon at first. So disappointed.

I'm sure Pokébank's checkers will at least keep out such an obvious hackjob as that.
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

TheZZAZZGlitch

  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • Unknown opcode fc at 801a
    • View Profile
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #27 on: February 27, 2016, 09:22:55 am »


lel

Also, this menu appears after trying to access the Cable Club:



I wonder how the emulator actually communicates with the 3DS hardware to display this menu. Is this menu something completely new, made only for the purposes of this game, or is it just a normal link cable interface for Virtual Console releases? Is there any VC title (besides the Pokemon games) that uses Link Cable features?

I'm not sure how do I access Pokemon Bank from this. Still, I can't wait to trade my disobedient exploding Bulbasaurs to Pokemon X and Y.
« Last Edit: February 27, 2016, 09:34:41 am by TheZZAZZGlitch »
qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF

rortik

  • GCLF Member
  • Offline Offline
  • Pokemon Yellow: Best game ever
    • View Profile
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #28 on: February 27, 2016, 09:35:36 am »
I can't think of any VC games that require link cables, however when I use the browser exploit to run RBY on the VC, using the cable club does NOT bring up that menu.
~Rortik

Krys3000

  • The frenchie
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • Head admin of the PRAMA Initiative
    • View Profile
    • PRAMA Initiative - Main french Pokémon glitch website
Re: Pokemon Red Blue and Yellow 3DS Glitch Confirmation
« Reply #29 on: February 27, 2016, 11:04:00 am »
Yep, Wack0, that sure was a really extreme example. But I'm quite sure a lot of things will pass the Bank.

I wonder how the emulator actually communicates with the 3DS hardware to display this menu. Is this menu something completely new, made only for the purposes of this game, or is it just a normal link cable interface for Virtual Console releases? Is there any VC title (besides the Pokemon games) that uses Link Cable features?

I'm not sure how do I access Pokemon Bank from this. Still, I can't wait to trade my disobedient exploding Bulbasaurs to Pokemon X and Y.

If it communicates directly with the 3DS hardware, couldn't this be a way to, I don't know, use RBY to run something and hack the 3DS somehow? Just thinking.

Admin of the PRAMA Initiative, the main french Pokémon glitch website
http://www.prama-initiative.com
“Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge.'” - Isaac Asimov