Undertale is an RPG created by Toby Fox in 2015. There are 3 main endings: True Pacifist, Neutral, and Genocide. This TAS will complete the True Pacifist Ending, as it is the most interesting route to play and speedrun. The game is known for its bullet-hell like battle system, and amazing story.
Note: For the TAS to sync, you need to disable "Prevent writing to disk" and enable Runtime > Time tracking > clock_gettime().

Game objectives

  • Emulator used: libTAS v1.3.4
  • Plays on version 1.001
  • Reaches the True Pacifist Ending
  • Avoids taking damage, unless it saves time.

Comments

This TAS Was a lot of fun to make, because of the very large amount of glitches and tricks that can be used to speed things up. the basic route is very simple, since it is for the most part just moving straight forward through the game. However, the individual tricks were quite difficult to figure out and get optimized. In order to get the Pacifist ending, you have to beat the game without killing anyone, complete all of the dates, and complete true lab. You also have to complete the Neutral ending before getting the Pacifist ending.

Tricks Used

Wall Humping

If you hold up and down while against an above wall, you will perform a glitchy walk, during which you will oscillate between moving up and down every frame. This is mostly just a visual glitch, however if you attempt to wall hump in an area where you are unable to move vertically, you will be able to walk at double speed.
If you open the menu and trigger a cutscene at the same time, the cutscene will be delayed until after you close the menu. This is only really useful if combined with the punch card exploit.

Punch Card Exploit

When you read the punch card, during the first frame the punch card is open, you will be able to move or perform an action. This allows for 3 main ways of getting back control during cutscenes:
1. Normal Punch Card Exploit (PCE)
This is done by menu buffering into a cutscene, then reading the Punch Card. The cutscene will start while the punch card is open, and you can then close the card to gain control during the cutscene.
2. PCE Slide
This is done by moving onto the cutscene trigger while opening the punch card, instead of menu buffering onto it. This is used on triggers that can't be buffered onto, most notably loading zones.
3. Storage (also known as overflow, however there is another trick that is also called overflow, so I wont be calling this that to prevent confusion
This is done by opening the punch card, then interacting with something on the next frame. The cutscene or text that is caused by the interaction will play under the punch card, and you can close the punch card to move while it's playing. This is not possible in newer versions of the game due to an input handling bug, which is why we play on v1.001. Text Storage can also be canceled to regain control during other cutscenes, and cutscene storage can do the same if the cutscene happens to end while the other cutscene is playing.

Wrong Warp

Wrong warps are done by somehow gaining control during a room transition. When done properly, you will be placed at the origin point of the next room. The issue is that it is not enough to simply PCE Slide the trigger, because you will still be inside the trigger, and the game will stop you from moving again. There are 2 ways around this. 1: just waiting until the last possible frame to close the punch card, since the game won't have time to stop you. 2: walk into a wall while walking into the trigger. For some reason, that lets you trigger the loading zone one pixel away from it, meaning you are no longer inside of the trigger. Wrong warps can also be done using storage instead of the punch card

Overflow

This trick is very simple, and lets you do a lot of weird things. This trick is done by getting storage on a piece of text that can normally only be seen once, or a yes/no prompt, then talking to it multiple times before the first text is cleared. The game gets really confused and decides to play a completely different piece of text. This can be used to get items early (Not used in this TAS), shorten text (Used on Alphys' text at the end of True Lab), or just crash the game.

Attack Manipulation

For enemies with random attack patterns their attack is controlled by RNG and the frame count (There might be another factor we don't know about, but for the sake of this TAS, this is all we needed.) This means that by changing exactly when the enemy turn starts, you can control what attack they give. This is used VERY heavily during the Toriel fight.

Area by Area comments

The Ruins

Not much to talk about at the beginning of the ruins. In the room with the 2 switches, you can gain control during Toriel's text by hitting the second switch and immediately reading the sign to the left of it. In the room with the 3 rocks, you only have to move the 3rd rock. Normally, the 3rd rock would move back off of the button when you walk to the right and you would have to go move him again, however, by turning around as fast as possible after it starts moving off the plate, you can talk to it before you are supposed to, allowing you to overflow the rock and just walk across the spikes as if they weren't there. I pick up the pie in Toriel's house, it will save a few seconds during the Asgore and Asriel fights. I manipulate Toriel to give the fastest possible attacks, using the monster candy I picked up to heal.

Snowdin

I pick up the tough glove at the start of Snowdin. Equipping the tough glove gives you the stick, which can be used to speed up all of the dog fights. In the room with the Dogamy and Dogaressa fight, I do a skip called dogi skip. This is done by getting a random encounter and triggering the cutscene at the same time, allowing you to flee the encounter and walk past the fight. By hitting the switch on the ice puzzle on a pixel perfect spot, You can slide past the bridge cutscene, saving a few seconds. I save to get my health back before the Greater Dog fight, during which I run into the attack to cancel it. During the Papyrus fight, if you let him capture you 3 times, he will give up on fighting you. This is faster than actually fighting him. The Papyrus date is fairly self explanatory.

Waterfall

Nothing special at the beginning of waterfall. About half way through it, I buy the punch card from the Nice Cream man. This is where the glitches really start. I move the punch card to the first inventory slot using the box, to cut down on menuing. There is an invisible wall in the next rom stopping us from PCEing Papyrus' call. I PCE the Onionsan cutscene. Unfortunately, we still have to read his text, but it still saves a few seconds. I PCE both of the monster kid encounters, and wall hump in the next room to walk at double speed. By getting storage on monster kid in the next room, I get controll while he boosts me up, giving me double speed and noclip. I PCE the beginning of the spears 2 cutscene. Spears 2 and Mad Dummy are both very straight forward. After Mad Dummy, I PCE Napstablook's cutscene and use it to Wrong Warp into the next room. In the room with the "Behind you" flower, I get storage on the flower, then dismiss the text and open the PC at the same time. This gives me control during Undyne's speech. I do this again to the end of her text to get control during the next cutscene, then walk to the left while waiting for the cutscene to end, cutting down on a few frames of walking. This trick is called "FlowerFlow" (short for Flower overflow). I PCE monster kid's text in the next room and do a blind wrong warp into the next room. Then, I do a trick called "Onedyne". This is done by PCEing both of Undyne's cutscenes, then Wrong Warping into the next room. This skips a cutscene and half of the Undyne fight. In the next room, by stopping on a specific tile, Undyne will get stuck after this phase of the fight, skipping one more quarter of the fight. I get hit during the fight for a future skip. In the first room oh Hotlands, I PCE Undyne's cutscene. since Undyne never dried out (Which normally happens during this cutscene), I can still get the True Pacifist ending without having to water her.

Hotlands

I PCE the lab cutscene at the beginning, then do a blind wrong warp into the next room. There are invisible walls stopping you from skipping Alphys' texts. I get out of bounds in the first room with vents by PCEing the vent, then moving down left, to reach the burnt pan room faster. I PCE the vent in the burnt pan room to get through it a bit faster. I PCE all 3 vents in the next room to get up very fast. I also use the last one to wrong warp into the next room. Since I have low health, I can PCE the lasers in the next room, and alphys will disable them afterwards. PCEing the laser allows you to move during Alphys' call. I use the call to wrong warp into the next room. In the room after that, I PCE the vent to fly through the door. Then, I PCE the vents in the next room to get double speed. In the next room I get storage on the refrigerator and then open the PC again, then use it to get control during the cooking show cutscene. This confuses the game into letting me move after clearing Alphys' text, letting me skip the jetpack section as well. This skip disables the menu, so I have to take the elevator back to the beginning of hotlands to enable it again. By getting storage on the elevator, you can just walk out of it and be at the next floor. In the room with the 3 switches, PCEing on the conveyor belt will cancel Alphys' call, letting you hit the 3rd switch early. This glitches out Alphys' next call, and makes a very loud noise. In the next room, I PCE the second vent to skip the puzzle. I PCE the Royal Guards fight which also gives me double speed for a bit because of the cutscene. In the next room, I PCE the news show, and use Mettaton's text to regain control on the vent and get out of bounds and skip the news show. This disables the menu again. In the north-south puzzle room, I PCE the vents to quickly get out of bounds and walk behind the locked door, skipping both puzzles. I PCE the text from the first spider in the Spider Muffet fight room. This skips all of the text, as well as the entire fight. I PCE the musical in the next room to save some time, and crush Mettaton's dreams once again. This skip also disables the menu. After enabling the menu again, I head up to the Core

The Core

I PCE Alphys' call in the left room to skip the Madjick fight. In the next room, I PCE Alphys' last call. The calls in the next room cannot be skipped. In the next room, I PCE the first call, mash it away so that Alphys disables the lasers, then PCE the second call. In the puzzle room, I get storage on the puzzle 3 times, which gives me enough bullets to completely skip the puzzle. Then, I very quickly get back to the start of core using wrong warps, and take the elevator to the Mettaton fight. This strategy of reaching the fight is called "Snowiey Core" (Named after speerunner SnowieY101), and is a few seconds faster than taking the bridge like normal. I PCE the Mettaton fight to skip it, then PCE Alphys' cutscene and take the elevator up to New Home

New Home

I speed up the beginning of new home a lot with some wrong warps. When I reach the hallway in Asgore's house, I get storage on a flower and use it to get control during the first encounter, allowing me to reach the key faster. From there, I walk into the room to the right, then wrong warp back into the hallway to get back very fast. I PCE Slide the second encounter, then walk into Asriel's room to completely skip it. In the room with the fireplace, I get storage on the chair and PCE slide the encounter at the same time. This lets you get painfully close to skipping the encounter, and save a few frames over just walking into it normally. I skip one of the downstairs encounters by wrong warping past it. The rest of new home is normal.

Neutral Ending

I PCE sans's judgement, then wrong warp up to the Asgore fight. I eat the pie during the first turn, which will save a turn of fighting. You can kill Asgore and Flowey and the game will not care. The Flowey fight is also fairly simple. I restart a few times to skip cutscenes, because the game autosaves a lot during the fight. After entering the doorway after the Flowey fight, I restart the game.

The Dates

Both of the dates are fairly simple. During the Alphys date, you can skip the "DATING START" and "DATING STOP" messages if you mash fast enough (You can't skip the first one though).

True Lab

At the beginning of True Lab, I go in to the main room then up left to the memory head fight. Then, I head into the red door and then go over to the dog amalgamate fight. I get storage on the switch, then talk to the sign, and dismiss the sign text when the fight is about to start, letting me walk to the left and skip the fight. The rest of True Lab up to the Reaper Bird fight is straight forward. In the Snowdrake's Mom room, you can wall hump above the refrigerators to walk at double speed. I PCE the Reaper Bird fight, go into the room on the right, And but the turn on the blue switch. Then, I Wrong warp back to the bed room and walk over to the main room, then enter the middle door. In the room with the power switch, I Overflow the switch, which changes all of Alphys' text to "La, La. Time to wake up and SMELL the pain". It also gives me back control during the cutscene. I have to wait for the cutscene to finish before I leave the room, or the power will not turn back on and the game will be softlocked. From there, I enter the elevator, leave True Lab, take the other elevator to judgement hall, then wrong warp up to the Asriel fight.

Asriel Fight and Finale

You cannot progress the fight during the first part of the music. The fight itself is fairly simple. During the SAVE section, I use the Pie while Saving Toriel and Asgore to skip 3 turns. After the fight, I choose to not comfort Asriel, as it is 25 seconds faster. After Toriel is finished talking after the fight, the game will autosave, so I restart to get to the end of the room quickly. I wrong warp into the next room, then enter the doorway, mash everyones text, and beat the game.

Other comments

I have another input file that also completes the special credits (meant for encoding), which can be downloaded here: userfiles/info/56558181669172094
And the file with the libTAS sync notes in annotations: userfiles/info/56571536257473576

ThunderAxe31: Judging.
ThunderAxe31: Un-claiming.
Memory: Judging
Memory: Replacing file with one that has sync notes in annotations.
Memory: Synced just fine for me once I actually figured out how to Linux.
Optimization seems acceptable for the most part. There was an improvement pointed out in the youtube comments that one could get hit sooner by Flowey in the opening fight by being in the upper left corner, but it only saves some frames. I wouldn't be surprised if there would be an even faster method of getting hit by manipulating the flight path of the leftmost pellet to give it more Y-speed but at best that would save a few more frames and then head to the upper left corner but that would only save a few more frames.
As somebody who hasn't actually played Undertale, this TAS was a bit hard to follow, but even I could tell there were tons of exploits and the like. The audience seemed to enjoy it as well.
True Pacifist Ending is the term most people know this ending by and I see no reason to change it. It is essentially the Best Ending. Neutral ending is technically contained within this movie, but there could be some routing differences with a standalone TAS and is potentially also acceptable. Genocide ending is radically different from the other two routes from my understanding and could be acceptable provided audience feedback is good.
Accepting to Moons.
Note to the publisher: I created a different version of the movie with extended input that contains annotations: Userfile
feos: Pub.


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15575
Location: 127.0.0.1
jmosx36
He/Him
Player (127)
Joined: 12/7/2013
Posts: 98
Location: Colombia
Anime is real?
Currently making a route for Super Bomberman 5 200% TASes i'm planning: aero fighters, tg3000 (again), gradius 3, bust a move, bust a move plus, gradius rebirth, smg, smg2, mp9, gh3 (wii)
Fortranm
He/Him
Editor, Experienced player (878)
Joined: 10/19/2013
Posts: 1121
What are the main differences between this run and Jont's run?
Jont
He/Him
Joined: 7/4/2019
Posts: 8
Location: USA
His run had a good few tricks and wrong warps that mine didn't have (for instance, the rock skip in Ruins) and the tricks that I did have were optimized in his.
I try. Succeed or fail, I try.
LucasWills
He/Him
Player (174)
Joined: 7/15/2018
Posts: 5
Fortranm wrote:
What are the main differences between this run and Jont's run?
Yeah, most of the improvements came from tricks that Jont didn't know about, or just small improvements like doing a wrong warp somewhere he didn't to save a few frames. Also, Toriel RNG manipulation saved almost a minute.
Hello
Editor, Skilled player (1439)
Joined: 3/31/2010
Posts: 2108
Oh snap Yeah, this was pretty dope. Was waiting to select FIGHT on Omega Flowey manipulating the next text box to appear faster? Yes vote for sure.
lexikiq
She/Her
Active player (400)
Joined: 8/13/2018
Posts: 109
Location: United States of America
Some comments and questions about the run: 1) This desyncs after the Omega Flowey fight unless "Prevent writing to disk" is disabled which should be noted somewhere (along with the time tracking settings) 2) Were any of Jont's inputs used for this? or was it developed completely separately? 3) You could upload the credits completion movie at http://tasvideos.org/userfiles/ 4) The movie annotations say "Ubuntu 18.08" which I don't think is right
LucasWills
He/Him
Player (174)
Joined: 7/15/2018
Posts: 5
scrimpeh wrote:
Oh snap Yeah, this was pretty dope. Was waiting to select FIGHT on Omega Flowey manipulating the next text box to appear faster? Yes vote for sure.
The FIGHT boxes actually appear at a set time no matter what (Unless you don't clear the previous one, In which case it will wait for you to do so). I waited a bit before selecting them to manipulate them into doing the most damage, because the exact amount of damage is mostly random.
Hello
LucasWills
He/Him
Player (174)
Joined: 7/15/2018
Posts: 5
noellekiq wrote:
Some comments and questions about the run: 1) This desyncs after the Omega Flowey fight unless "Prevent writing to disk" is disabled which should be noted somewhere (along with the time tracking settings) 2) Were any of Jont's inputs used for this? or was it developed completely separately? 3) You could upload the credits completion movie at http://tasvideos.org/userfiles/ 4) The movie annotations say "Ubuntu 18.08" which I don't think is right
Added a note about the requirements for the TAS to sync. Jont's inputs were not used. I'm not sure about the annotations thing, but the correct annotations should be on the submission page. Edit: added the userfile that completes credits, at the bottom of the comments.
Hello
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
libTAS sync notes were missing from the movie rules, but they are very valuable since full config is not stored in movies. Please add libTAS config notes to the annotations and upload that to userfiles as well.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
LucasWills
He/Him
Player (174)
Joined: 7/15/2018
Posts: 5
feos wrote:
libTAS sync notes were missing from the movie rules, but they are very valuable since full config is not stored in movies. Please add libTAS config notes to the annotations and upload that to userfiles as well.
Added. The file is linked in other comments.
Hello
lexikiq
She/Her
Active player (400)
Joined: 8/13/2018
Posts: 109
Location: United States of America
...oh, i forgot my actual comments! this is still a really solid run, and i'm very glad you added some entertainment in all the waiting sections, the previous movie was missing a few of those so it was nice to see it here.
Editor, Reviewer, Skilled player (1358)
Joined: 9/12/2016
Posts: 1646
Location: Italy
You can get Undertale Linux v1.001 either by simply downloading it from the steam Betas tab, or by downloading the current version of the game, typing "download_depot 391540 391544 3991795236625517204" into the steam console, and replacing the downloaded "game.unx" file with the one in the origional download.
Can you please tell me more about how to find this "original download"? I downloaded the game by typing the command in the steam console, however I only got one download, and thus one game.unx.
my personal page - my YouTube channel - my GitHub - my Discord: thunderaxe31 <Masterjun> if you look at the "NES" in a weird angle, it actually clearly says "GBA"
keylie
He/Him
Editor, Emulator Coder, Expert player (2840)
Joined: 3/17/2013
Posts: 392
I think you are meant to download the game normally (latest version), and replace the game.unx file with the one from the download_depot command.
LucasWills
He/Him
Player (174)
Joined: 7/15/2018
Posts: 5
keylie wrote:
I think you are meant to download the game normally (latest version), and replace the game.unx file with the one from the download_depot command.
Yes, this is what I meant.
Hello
Jont
He/Him
Joined: 7/4/2019
Posts: 8
Location: USA
Does anyone know what's up with the judge of this movie? It's been a few weeks since they unclaimed it and nothing's happened since.
I try. Succeed or fail, I try.
lexikiq
She/Her
Active player (400)
Joined: 8/13/2018
Posts: 109
Location: United States of America
i don't believe there's many linux judges so it may take a bit before someone gets around to it
Editor, Reviewer, Skilled player (1358)
Joined: 9/12/2016
Posts: 1646
Location: Italy
Jont wrote:
Does anyone know what's up with the judge of this movie? It's been a few weeks since they unclaimed it and nothing's happened since.
I found myself being unable to work with Linux, mainly due to having an obsoleted computer. You'll have to wait for a differet judge to pick it, sorry.
my personal page - my YouTube channel - my GitHub - my Discord: thunderaxe31 <Masterjun> if you look at the "NES" in a weird angle, it actually clearly says "GBA"
Joined: 1/21/2006
Posts: 117
Does this absolutely require the Steam version? I can't get it to work with the DRM-free one.
lexikiq
She/Her
Active player (400)
Joined: 8/13/2018
Posts: 109
Location: United States of America
make sure you have the right version of the game and all the settings right, latest doesnt work and a couple settings need to be changed
Joined: 1/21/2006
Posts: 117
Managed to get it working (finding an old copy of the game...). Thanks :)
Memory
She/Her
Site Admin, Skilled player (1556)
Joined: 3/20/2014
Posts: 1765
Location: Dumpster
Thanks to noellekiq, I successfully synced the movie on my machine. Extended input movie with sync notes in annotations: User movie #57861332313341599 Should have a judgment done within like a week at most.
[16:36:31] <Mothrayas> I have to say this argument about robot drug usage is a lot more fun than whatever else we have been doing in the past two+ hours
[16:08:10] <BenLubar> a TAS is just the limit of a segmented speedrun as the segment length approaches zero
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
I had to install a few things to make the game launch:
Language: shell

sudo apt-get install libopenal1:i386 libssl1.0.0:i386 libglu1-mesa:i386
And the executable I needed to run was runner, not UNDERTALE.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
lexikiq
She/Her
Active player (400)
Joined: 8/13/2018
Posts: 109
Location: United States of America
the file name of the executable should be "UNDERTALE" unless you used a replacement, or possibly a different build of the game i'm not aware of. (they'd be the same file either way, it's just a renamed version of the generic gamemaker game launching script)
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Does anyone have a screenshot suggestion?
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.