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

0 Members and 1 Guest are viewing this topic.

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • 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

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
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: 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
  • Distinguished Member
  • *
  • Offline Offline
    • 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 »
A. Malacoda, http://monarch-pass.net

Also malacoda@social.monarch-pass.net and @malacoda:matrix.monarch-pass.net

Also adrianmalacoda or kuschelyagi in some places.

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • 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.

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
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: 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

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • 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 »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
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: 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

Princess Torchic Owl Lover ☽ ❤

  • Head Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • Aspiring mother. 🦋 ✿
    • 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 »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
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

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.