Game Information

Earthbound is a game where the hero, Ness, is just an average 13 year old kid from the suburbs... until the night a meteor lands in his backyard. The local wildlife starts attacking him, he begins to realize psychic powers, and a mysterious messenger from the future tells him that he must save the world, but before he faces any of that Ness has to change out of his pajamas. With a baseball bat as his weapon, Ness begins a quest to stop an evil alien presence from destroying the world. He will later meet with Paula, a girl with strong psychic abilities, Jeff, a young genius with the ability to repair broken things, and Poo, a prince from far, far away who also happens to have strong psychic abilities.

About the run

  • Uses death to save time
  • Uses warps
  • Manipulates luck
  • Abuses programming errors in the game
  • Genre: RPG
Used emulator: Snes9x rerecording 1.51 v6
The following comments are written by mugg: I know many game series only because I played Super Smash Bros. Melee on the Nintendo Gamecube, a beat 'em up featuring many Nintendo characters and the prequel for SSBB. I got to know F-zero, Starfox, Kirby, and of course I got to know Earthbound. I always wanted to play through this game at some point and after I did so I felt the need to TAS this game. I simply loved the graphics, the comic-style and the music in this game. But a full run seemed to be very long and the glitched category was already well optimized. I wasn't very knowledgeable with the game either. Always with an eye for possible improvements for popular Nintendo games, I watched many Youtube videos until I saw the Tent glitch in Earthbound. It was said that when you check a certain place in the tent in Threed, the game would behave very strangely and sometimes it would even glitch up. People had written comments stating that it also triggered the debug menu #1 in this game so I thought this was my lucky day. I began researching the glitch, checking places in the out-of-bounds area and making a map for it, telling people like Nitrodon and Halamantariel about it and getting things started. However, I wasn't able to record this glitch in snes9x 1.43 (because playback behaved differently than recording mode), so this stopped progress for a while until I was said that it worked properly in snes9x 1.51. I tried it with the Japanese version, Mother 2, and it seemed to be more glitch-friendly and more likely to trigger the debug menu so this version was used. Pirohiko teamed up with me and I want to thank him for his work. When I TASed a section of this game, he would often improve it by a few frames and he is also much better at manipulating luck and did basicly all the battles. He wrote a very useful lua script regarding RNG behavior. When we reached the debug menu, things got a bit difficult since we couldn't directly go to the credits with it. More details on this below...
The debug menu glitch worked differently when using different versions of the game on different versions of snes9x. But pirohiko [dead link removed] recorded himself testing the tent glitch on the Japanese version on a real SNES and it behaves like snes9x 1.51 with the Japanese ROM.

Tricks

Optimizing positioning

This game has subpixel carry-over. This means that approaching a door a bit differently can be done in order to optimize the subpixels.

Luck-manipulation

The game uses a flow of 14592 sequent RNG values which it will run through during playing the game. Those values determine the appearance of enemies, item drops, SMAAAASH!! attacks, NPC behavior and other things. Having text being written onscreen will cause the flow of RNG to move with each character written. When the game loads new enemies onto the map, it will shift the flow of RNG too.

Overworld

In order to skip enemies or to have specific enemies appear or to have NPCs not move into one's path, one can pause the game by pressing "B" or "select". The RNG will be called each frame during pausing. The game uses barriers to determine if enemies should appear. Once you walk across such a barrier, enemies may appear and it will shift the RNG a bit. This is very useful in Giant Step since we can shift the RNG very efficiently here by walking across barriers repeatedly. This trick is even more useful when walking on an intersection of barriers. We needed to do this in Giant Step in order to get 6 speed and 24 offense from the Gigantic Ant boss battle so we could knock out every police officer with one SMAAAASH!! only. We needed to shift the RNG for an entire 700 steps which explains the random walking in Giant Steps...

Battle

Changing the selection during a battle will change the RNG. This can be used to manipulate SMAAAASH!! attacks. Since you can change the selection only every other frame it is better to manipulate the first SMAAAAASH!! before the battle, by pausing the game.

Skipping a trigger spot (Stutter walk)

It is possible to skip spots which trigger an event by moving through it every other frame. This was used in order to skip the Starman Jr. battle and the Soundstone from Buzz Buzz.

Walk through cliffs

You can walk through certain types of cliffs with proper subpixel positioning. See this section for more detail. It was used in order to skip Twoson.

Tent glitch (Debug menu)

In the circus tent in Threed, position yourself into the wall on the right, below the door. If you are in the correct spot, try to check the area and the dialoge should be delayed. You might end up warping to some place, freezing your game, causing graphical glitches, seeing garbage dialogue or triggering the debug menu. The latter is interesting from a speedrunning point of view since you can use the debug menu in order to complete the game very quickly with it. The debug menu occurs more likely on the Japanese version of the game (Mother 2). I wasn't able to trigger it even once on the US version, however, people made comments stating in English language that they triggered the debug menu so I'm assuming that it may work on the US version.
When you check the glitch area in the tent, there are two primary glitch messages that are very likely to appear eventually. One message would prevent you from proceeding and eventually freezes your game, with the graphics glitched up and the Arcade BGM. The other will change the music to the game-over BGM often and it will produce many invisible text boxes. Depending on the timing and on how long and how often you press "L", "A" or "R" the 'next' invisible text box may or may not appear. If it doesn't appear you basicly failed the glitch. During the first two invisible text boxes, there is a tiny chance of glitching up the game (in that it gives you a bicycle and plays the bicycle BGM or warping you somewhere while freezing the game and similar things). Once you reach the third invisible text box, the debug menu will eventually come after ~10.000 frames of auto-firing "L" and "A" alternatedly. I tested this glitch thoroughly and it would either get me to the debug menu on frame ~77000, ~72000 or ~68000. I was able to change a 77000 outcome to 68000 by random input, but I wasn't able to get an even better outcome. The assumption was that the text would be read from some point of memory until it reaches the debug menu, but the text pointer (0x7e9979) didn't seem to affect anything. We went on as we couldn't reduce more time. The next problem was to get to the staff credits fast! We could go to different events throughout the games so we chose to go to event 70 (69 goes to Ness' house after the Staff credits, but playing the Staff credits instead of skipping them was prefered). It sends us to Saturn Valley with the game beaten, with Paula in the party, and all left to do was to talk to Ness' mother. But the game still seems to be glitched after using the debug menu. It may randomly crash, freeze but most likely it would warp us to Fourside's café with a lot of invisible dialogue to click away before we could proceed. After a lot of trying different strategies we used this strategy:
  1. Add Paula as a character
  2. Make Ness' HP run out
  3. Give him the 'diamondized' status ailment
    This makes the game behave like Ness has no HP but is still alive.
    This is needed to make a game-over sequence work later on.
  4. Make Paula's HP run out
  5. Give Paula the 'diamondized' status ailment
    The same for Paula...
  6. Give each party member as much Skip Sandwich DX as they can carry
    This is a special feature of the debug menu. After going to event 70, Ness loses his inventory items but we can still use a Skip Sandwich DX from Paula's inventory.
  7. Go to event '70'
  8. Game-Over (very rare and we tried to reduce lag as much as we could, but it always forced us to go back to the center of Saturn Valley...)
    We used death as a shortcut here, otherwise we would have had to walk home from Saturn Valley or Fourside.
  9. Walk home and finish the game
This page explains the features of the debug menu.

Possible improvements?

We wouldn't know of a confident way to improve this movie. However, it may be possible to set up a better randomness in the long run for Giant Step so we wouldn't need to spend much time towards manipulating the RNG there. But it is very hard since you can't predict how things are going to turn out. Seeing how random the tent glitch can act, it may be possible to abuse it further. Maybe someday we will be able to access the Staff credits a whole lot faster without the need of the debug menu at all? Maybe the waiting time for the debug menu can be shortened, but we tried our best to reduce it as much as we could already.

Closing words

Thanks to Nitrodon, Halamantariel, Scepheo, and others! Maybe more information will be added later.
Please feel free to ask questions since my complicated explanations may not be clear sometimes.

Flygon: Added YouTube module.

FractalFusion: Judging.
FractalFusion: This run uses a glitch which passes through a debug menu which cannot otherwise (as to our knowledge) be accessed by means apart from external codes. If the debug menu was easily accessed by an internal code, that would be a different story. As it stands, it can only be assumed as part of the glitch process, and it will be allowed.
In the apparently non-existent event that such an internal code is found later, the published run will be placed in the impure category and any further runs going through the debug menu will likely be rejected.
This run will be accepted for publication alongside the existing publication.


Skilled player (1744)
Joined: 9/17/2009
Posts: 4986
Location: ̶C̶a̶n̶a̶d̶a̶ "Kanatah"
Warp wrote:
jlun2 wrote:
If it was classified as a "Debug Menu" Run, then that would make it sound like its cheating.
Maybe that's indicative of something... ;)
I was simply suggesting that casual viewers who might not know what a TAS is start thinking that the "tools" used in a TAS were cheating devices, you know, instead of frame-advance/ram watch/etc.
Joined: 8/23/2008
Posts: 417
I don't know of any simple way to name this type of run. Again, I prefer the phrase "memory corruption" and the description could include a description of how read/write access is abused, but that's just me.
I will not use self-reference in my signature.
Joined: 7/28/2005
Posts: 339
I think this run falls into the same vein as the Chrono Trigger or Pokemon runs - exploits a glitch to allow memory corruption in order to advance. Anyway, voting yes.
Player (36)
Joined: 9/11/2004
Posts: 2631
"Executes data as code"
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.
Editor, Expert player (2373)
Joined: 5/15/2007
Posts: 3940
Location: Germany
I don't think memory is corrupted here but read and executed where it shouldn't be. My suggestion is to call the category "tent glitch".
Joined: 6/2/2008
Posts: 25
Or it could have no classification, as it is like a shorter version of the idea behind bottle adventure in the Zelda speed run. Of course, everyone will disagree because a real menu is accessed, but it is still the same basic idea: Using something unstable in the game to adjust memory. In this case, the memory was adjusted to give someone access to a menu normally outside of user bounds. But hey, I only check here every couple of says or so, so yeah.
(???)
Editor, Skilled player (1442)
Joined: 3/31/2010
Posts: 2113
You could always call the 70-minute run the glitched run and this run the "even more glitched run". And bring back the 3 hour run as the "not really glitched run"
Joined: 7/22/2010
Posts: 53
scrimpeh wrote:
You could always call the 70-minute run the glitched run and this run the "even more glitched run". And bring back the 3 hour run as the "not really glitched run"
I... I actually rather agree with this suggestion...
billybobfred
Other
Joined: 12/2/2005
Posts: 76
Warp wrote:
Do runs get special exceptions of the rules if they look good enough or something?
Browse the archives sometime. You'll be surprised how many times you see words to the effect of "we don't normally allow this but this run is a special case". Well, maybe you won't. It surprised me, anyway. (i realize the argument is pretty much over but i really wanted to say that)
I'm just a spectator. There was a time when I tried to participate, but I'm really lazy, so. she/her/hers
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15643
Location: 127.0.0.1
This movie has been published. The posts before this message apply to the submission, and posts after this message apply to the published movie. ---- [1627] SNES EarthBound "check glitch" by pirohiko & MUGG in 30:42.12
Skilled player (1328)
Joined: 9/7/2007
Posts: 1354
Location: U.S.
There seems to be an error. This run obsoletes the other Earthbound run.
GabCM
He/Him
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
Sonikkustar wrote:
There seems to be an error. This run obsoletes the other Earthbound run.
Damn! I just saw that it had to be published alongside the current run! I don't see how I can remove the obsoletion. Is this mistake fixable?
Joined: 2/1/2008
Posts: 347
Umm... the description is very wrong... First, the debug menu isn't invisible. It's just inaccessible through normal means; you need to do the tent glitch or use a cheat code to get to it. The only thing that is invisible is a bunch of text that is scrolling by that leads up to the debug menu [you can hear the 'talking' sound effect]. Also, "Since it can only be accessed by using external codes, this movie is classified as impure." implies that a cheat code was used, contradicting the previous sentence saying that the tent glitch was used. If taken as true (which it is not), this says that the TAS is illegitimate. I think you misunderstood what the judging statement said. It said that if a means to access the debug menu was found using an internal code that a normal player could access (i.e. a key combination in the game, but not a cheating device), then this run would become "impure" as the debug menu could be accessed through normal means. That would make this run an interesting concept, but not as impressive since it is just using a roundabout way of getting to the same place. And I think it's MUGG, not mugg.
<ccfreak2k> There is no 'ctrl' button on DeHackEd's computer. DeHackEd is always in control.
Joined: 11/4/2007
Posts: 1772
Location: Australia, Victoria
blahmoomoo wrote:
And I think it's MUGG, not mugg.
This, I can fix. And have fixed.
zem
Joined: 10/3/2009
Posts: 32
don't know if either of you are going to read this again, but i forgot i posted here
Flygon wrote:
zem, do you have any problems trying to play back encodes I make?
i haven't had any problems that i can recall
Mister Epic wrote:
I don't own a Mac, but maybe if you try using MPlayer?
i found a couple of versions of mplayer for mac that seem pretty abandoned and unsupported. neither of them would even open the movie, though i didn't check any other movies with them, so maybe they're just broken entirely. i think they were this one (updated in 2005!) and this one (updated in 2010 apparently, but oddly only mentioning OS X 10.5 (10.6 was released in 2009). anyway, i just tried opening it again and it died right away). if there's a working mplayer for mac, i haven't found it
sgrunt
He/Him
Emulator Coder, Former player
Joined: 10/28/2007
Posts: 1360
Location: The dark horror in the back of your mind
I've reset the obsolescence of the other run.
Joined: 3/10/2010
Posts: 22
This is a glitched TAS, not a TAS. TAS's go through the whole game. Huge luck manipulation, using the exact right item at the exact right time, cutting a corner within a fraction of a second... that's a TAS. Using glitches to skip over several parts of a game, that's a glitched TAS. I would consider http://tasvideos.org/567M.html to be the current best TAS of this marvelous game.
Skilled player (1744)
Joined: 9/17/2009
Posts: 4986
Location: ̶C̶a̶n̶a̶d̶a̶ "Kanatah"
reflect wrote:
I would consider http://tasvideos.org/567M.html to be the current best TAS of this marvelous game.
You know, I believe that run is severly outdated. Not exactly the "Best" run of an RPG. But of course, since you want to keep a warpless run, why not give it a go?
GabCM
He/Him
Joined: 5/5/2009
Posts: 901
Location: QC, Canada
blahmoomoo wrote:
Umm... the description is very wrong... [...] And I think it's MUGG, not mugg.
These mistakes can be corrected easily by any editor here. Thanks for pointing that out! Apparently I suck at describing movies. :P
zem wrote:
i found a couple of versions of mplayer for mac that seem pretty abandoned and unsupported. neither of them would even open the movie, though i didn't check any other movies with them, so maybe they're just broken entirely. i think they were this one (updated in 2005!) and this one (updated in 2010 apparently, but oddly only mentioning OS X 10.5 (10.6 was released in 2009). anyway, i just tried opening it again and it died right away). if there's a working mplayer for mac, i haven't found it
You can use VLC, since I've changed my way to encode. My encodes work now.
sgrunt wrote:
I've reset the obsolescence of the other run.
Thanks! Can any publisher remove obsoletions, or you could do it because you're the senior publisher? ---- I'm sorry for all the mistakes I've done in this publication. Next time, I should pay a lot more attention to the submission text.
Joined: 2/1/2008
Posts: 347
Only users with a role that has the can_set_obsoletion privilege can fix obsoletion errors. At this time, only an admin assistant, admin, and judge or publisher with the senior modifier have this permission. Right now, the following users have one of those roles: adelikat, Nach, Darkpsy, and sgrunt.
<ccfreak2k> There is no 'ctrl' button on DeHackEd's computer. DeHackEd is always in control.
zem
Joined: 10/3/2009
Posts: 32
Mister Epic wrote:
You can use VLC, since I've changed my way to encode. My encodes work now.
I'm very grateful.
billybobfred
Other
Joined: 12/2/2005
Posts: 76
reflect wrote:
TAS's go through the whole game.
They do?
I'm just a spectator. There was a time when I tried to participate, but I'm really lazy, so. she/her/hers
Joined: 3/10/2010
Posts: 22
billybobfred wrote:
reflect wrote:
TAS's go through the whole game.
They do?
RPG TAS's do/should. Half of those on that page are under a warp/glitch category anyway. TAS's like this Earthbound run should be under a warp/glitch category as well.
Joined: 2/1/2008
Posts: 347
<ccfreak2k> There is no 'ctrl' button on DeHackEd's computer. DeHackEd is always in control.
Joined: 3/10/2010
Posts: 22
That run is still glitched. Like I've posted before, this is the most recent true TAS of this game http://tasvideos.org/567M.html