Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
ItemDex

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: Arbitrary code execution in Red/Blue using the "8F" item  (Read 203433 times)

0 Members and 1 Guest are viewing this topic.

Torchickens

  • Administrator
  • *****
  • Online Online
  • Gender: Female
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #30 on: May 20, 2013, 07:17:42 am »
Wow. TheZZAZZGlitch just wrote a program for pong and executed it using 8F.

Link: here
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 Myri for my avatar! 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: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #31 on: May 20, 2013, 01:14:01 pm »
Wow. TheZZAZZGlitch just wrote a program for pong and executed it using 8F.

Link: here

looks more like Breakout with no blocks to break, in my opinion.
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

Abwayax

  • Founder/Technical Support
  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Male
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #32 on: November 30, 2013, 08:16:49 pm »
Congratulations for your epic discovery!

This thread made front page of Hacker News today, resulting in hundreds of viewers reading the thread and setting a record for the most visitors online on our humble forum.

It's awesome that the server can handle this much traffic today. I remember back in the early days when it went down roughly once a week.

The video is also currently the top post in /r/programming today.

I would award you "Distinguished Member" status but someone beat me to it. This makes me wish we had something higher. Distinguished Member+ perhaps?
« Last Edit: November 30, 2013, 08:37:24 pm by Adrian Malacoda »
Adrian Malacoda, http://monarch-pass.net

Free Software Foundation member #8136
Electronic Frontier Foundation member
American Civil Liberties Union member

Torchickens

  • Administrator
  • *****
  • Online Online
  • Gender: Female
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #33 on: December 01, 2013, 07:24:19 am »
Wow, that's cool! Congrats TheZZAZZGlitch for your glitch's sudden recognition.
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 Myri for my avatar! 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: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #34 on: December 01, 2013, 10:38:16 am »
Wow. I guess this is notable enough we should have realised it'd get a whole lot of recognition sometime. And to think that it was basically luck that caused it: an invalid item just *happened* to have its function point to a place in RAM that could be easily modified...
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

blahpy

  • Yeah! Pomeg Berry!
  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #35 on: December 02, 2013, 04:54:51 pm »
This seems to be getting quite the attention! Here's another article that I found when searching HN:

http://hackaday.com/2013/12/02/pokemon-blue-becomes-an-ide/

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #36 on: December 03, 2013, 03:52:23 am »
I find it weird that just about nobody giving this attention has mentioned "ws m" in Yellow..

I guess that's what happens when the first post is all people read.
« Last Edit: December 03, 2013, 03:52:42 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

camper

  • aka GlitcherRed, azum4roll
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • 975642dx║'r DExsfoF▓1 error.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #37 on: December 03, 2013, 06:43:21 am »
Now there are always 20+ people reading this thread.
Youtube
 

Guess where this is?

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #38 on: December 03, 2013, 07:01:29 am »
Now there are always 20+ people reading this thread.

Yeah. And how many of those people actually registered? :P
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

camper

  • aka GlitcherRed, azum4roll
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • 975642dx║'r DExsfoF▓1 error.
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #39 on: December 03, 2013, 07:43:49 am »
Last member was 15 November. :P
Youtube
 

Guess where this is?

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #40 on: December 03, 2013, 01:34:55 pm »
Last member was 15 November. :P

0, then.

Meh.
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
  • *****
  • Online Online
  • Gender: Female
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #41 on: December 03, 2013, 02:41:57 pm »
I'm working on a cheat code compilation video for "ws m", so I'm basically going to show a lot of different item lists and use them for certain cheats (mainly from Matthew Robinson's code archive) and I wondered whether there was an easy way to make the machine continually write to a value like a real Gameshark? Preferably with the ability to turn the code off without resetting.

For instance, D35A changes the music in the current sound bank when you enter a building, but in order for the cheat to work it must be kept on as entering a building changes it to the intended value.

Thanks in advance!
« Last Edit: December 04, 2013, 07:44:42 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 Myri for my avatar! 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: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #42 on: December 03, 2013, 04:48:28 pm »
I'm working on a cheat code compilation video for "ws m", so I'm basically going to show a lot of different item configurations and use them for certain cheats (mainly from Matthew Robinson's code archive) and I wondered whether there was an easy way to make the machine continually write to a value like a real Gameshark? Preferably with the ability to turn the code off without resetting.

I don't think this is possible. You can't write to ROM, and gameboy definitely doesn't have multi-threading.

Also, "a lot of different item configurations"? You would only really need to base it on this thing that I did.
« Last Edit: December 03, 2013, 04:49:34 pm 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

Torchickens

  • Administrator
  • *****
  • Online Online
  • Gender: Female
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #43 on: December 03, 2013, 05:07:23 pm »
I'm working on a cheat code compilation video for "ws m", so I'm basically going to show a lot of different item configurations and use them for certain cheats (mainly from Matthew Robinson's code archive) and I wondered whether there was an easy way to make the machine continually write to a value like a real Gameshark? Preferably with the ability to turn the code off without resetting.

I don't think this is possible. You can't write to ROM, and gameboy definitely doesn't have multi-threading.

Also, "a lot of different item configurations"? You would only really need to base it on this thing that I did.

I see, OK. Yes, most of the cheats I've done so far are based on that skeleton.
« Last Edit: December 03, 2013, 05:07:43 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 Myri for my avatar! 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.

blahpy

  • Yeah! Pomeg Berry!
  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Arbitrary code execution in Red/Blue using the "8F" item
« Reply #44 on: December 03, 2013, 09:30:59 pm »
Humourous note: I just went to rename my Onix to what I wanted to change my name to after testing the code at and calling my trainer "ONIX".  Of course, naturally, I now had a different OT and couldn't rename it :D Silly me.