DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Beating Castlevania: Symphony of the Night with assembly code  (Read 10,777 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
OSNews has a really cool post today about a very unusual and technical "speed-run" (fast playthrough of a game), that involes performing some very elaborate and precise tricks that actually corrupt game data in order to patch the code (planted while playing the actually game live).

Quote
The end time of 7 minutes and 52 seconds is mind-blowing enough, but how he actually gets there is just utterly insane. Basically, he procures a very specific set of items in his inventory, and then proceeds to manipulate the items in his inventory in a extremely specific way, within very specific fractions of seconds of game-time, to use the sorting mechanism of the inventory to manipulate the assembly code in memory to make the game finish itself. All this, on the actual console itself, without tools, without additional software, without emulators, without anything.



Secondary video showing how the code is patched: http://www.twitch.tv/sockfolder/c/3810968

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 11,861
Re: Beating Castlevania: Symphony of the Night with assembly code
« Reply #1 on: January 07, 2016, 09:17 PM »
Now THAT is a hacker in my book. Using timing to exploit running code is a lost art form these days. Having the know how to pull a trick like that off is even rarer. Time was when it was the lion's share of the lore leading up to the keys to the kingdom in the days of phone phreaking. It wasn't just the tones. It was also getting the timing exactly right in order to get in and not trip warning bells or let the dogs off the leash. Small wonder so many old school hackers (in the old meaning of the word) were also usually pretty decent musicians whenever they were away from their keyboard. It didn't mean a thing unless you could swing.

I don't know about any of this personally mind you. I've just "been told."  8)

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: Beating Castlevania: Symphony of the Night with assembly code
« Reply #2 on: January 07, 2016, 09:21 PM »
I don't know about any of this personally mind you. I've just "been told."  8)

says 40hz ... the musician :-)


EDIT// forgot to say:
a very impressive video -- even to a non-gamer and non-coder
Tom
« Last Edit: January 07, 2016, 09:27 PM by tomos »

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 11,861
Re: Beating Castlevania: Symphony of the Night with assembly code
« Reply #3 on: January 07, 2016, 09:22 PM »
I don't know about any of this personally mind you. I've just "been told."  8)

says 40hz ... the musician :-)

Yep. JUST a musician. Now move along folks. Nothing to see... ;D

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
Re: Beating Castlevania: Symphony of the Night with assembly code
« Reply #4 on: January 08, 2016, 11:54 PM »
Wow. Talk about cheat codes! ;)

Renegade

  • Tell me something you don't know...
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
    • Participated in NANY Challenge Three Times
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: Beating Castlevania: Symphony of the Night with assembly code
« Reply #5 on: January 10, 2016, 05:06 AM »
Talk about "God mode".  :D
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
Re: Beating Castlevania: Symphony of the Night with assembly code
« Reply #6 on: March 29, 2016, 11:42 PM »
Someone did something similar in Super Mario World to "beat" the game in ~6 minutes:

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
Re: Beating Castlevania: Symphony of the Night with assembly code
« Reply #7 on: April 04, 2016, 09:04 PM »
This guy also injected the Flappy Bird game code into Super Mario World:

Original address: https://www.donationcoder.com/forum/index.php?topic=42171.0