Omnimaga

General Discussion => Technology and Development => ROM Hacking and Console Homebrew => Topic started by: TIfanx1999 on December 09, 2012, 10:24:24 am

Title: Reprogramming a gameboy from within Pokemon Yellow
Post by: TIfanx1999 on December 09, 2012, 10:24:24 am
[ Invalid YouTube link ]
One of my friends showed this to me. This has to be one of the coolest hacks I've ever seen. Give it a look.
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: Matrefeytontias on December 09, 2012, 10:40:00 am
Whoaaa ... can't just imagine how they actually found that xD
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: mdr1 on December 09, 2012, 10:41:19 am
Weird, I don't understand how it works. With actionreplay ?
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: ElementCoder on December 09, 2012, 10:41:34 am
How on earth would you find out something like this O_O! Pretty awesome though.
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: TIfanx1999 on December 09, 2012, 10:42:43 am
No, he overflowed some things and made it so that he could execute his own code.
*Edit* Explanation here for those that didn't wish to search through the description link to find out how this was done: http://tasvideos.org/3767S.html
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: Matrefeytontias on December 09, 2012, 10:44:35 am
@mdr1 they corrupt the memory by quitting while the game is saving, so certain flags are set that have different purposes whether the user is playing or saving, I think. So the list of items is interpreted as hex commands (first byte → item's ID and 2nd byte → quantity).
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: DrDnar on December 09, 2012, 10:44:52 am
That's not as impressive as the ROM dump hack for the TI-81. I'd bet a large amount of money the exploit(s) were found by analyzing a ROM dump of the game and locating potential bugs, such as buffer overflow exploits. Moody had to do the ROM dump hack for the TI-81 without an actual ROM dump, so he had to make a lot of educated guesses.
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: TIfanx1999 on December 09, 2012, 10:46:04 am
True, but it's still pretty cool nonetheless. :D
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: Juju on December 09, 2012, 07:01:28 pm
Yeah, I saw something like that from a 1-minute speedrun of Pokémon Yellow, you can literally input Action Replay/Gameshark codes by glitching the game (rebooting the console at the right place while it saves), then swapping items and Pokémons around beyond the limit.
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: DJ Omnimaga on December 09, 2012, 07:04:30 pm
That's indeed amazing lol. I didn't realize anyone could exploit glitches or abuse exploits (even by TASing) so far that they could manage to execute their own code in a game console, from a game cartridge. But again we've been doing similar stuff for calcs for years.
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: Juju on December 09, 2012, 07:09:02 pm
I wonder if you can do a similar glitch with other games.

Spoiler For End spoiler:
>mfw the guy programmed the MLP theme with that glitch
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: DJ Omnimaga on December 09, 2012, 07:10:52 pm
It would be funny if a game allowed someone to reprogram stuff fast enough to sneak in a 8 bit rickroll theme in the video, rickrolling everyone who watched expecting a tool-assisted speedrun.
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: Hexatron on November 23, 2013, 08:02:06 pm
I remember seeing this a while back.
The problem is the cartridge doesn't have access to the GBA firmware, or does it?
Imagine a calculator emulator on GB :P

EDIT : Sorry for the bump  :(
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: Hayleia on November 24, 2013, 04:09:29 am
Imagine a calculator emulator on GB :P
The contrary is possible (see TI-Boy SE) but that emulation would not be convenient because of the lack of buttons on the GameBoy (you can argue that the contrary is not convenient either due to the smaller screen on the calc too btw, but it works).
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: Eiyeron on November 24, 2013, 04:26:32 am
GBA don't have a reprogrammable firmware. Just a ROM bios. But filling the memory with code then run it is possible.
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: Keoni29 on November 24, 2013, 09:05:05 am
Wow. He made a hex editor by glitching out the game and then he entered machine language using the buttons. This is so awesome!
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: Streetwalrus on November 24, 2013, 09:06:56 am
Yup, it's pretty cool. :D
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: JWinslow23 on November 26, 2013, 02:22:44 pm
This is cooler.

I know it's not March 14, but this is still cool to watch. Doesn't this bring you back?

This TAS actually obsoleted that other Total Control hack. I think it's partly because the setup was shorter, and the result was cooler.
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: Jim Bauwens on December 02, 2013, 02:27:03 pm
This is still cooler

Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: Streetwalrus on December 02, 2013, 03:02:55 pm
Haha nice one ! :D
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: TheMachine02 on December 03, 2013, 05:19:03 am
but but that just very epic ! I always wondering how people can find thing like that  :P
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: Sorunome on December 03, 2013, 06:16:01 am
wow, that is pretty awesome O.O
Title: Re: Reprogramming a gameboy from within Pokemon Yellow
Post by: TIfanx1999 on December 03, 2013, 08:38:55 am
Pretty awesome find Jim! :D Feel free to post more cool stuff like this if you guys come across it. :)