Hello! This is a improvement of 1119 frames (18.62 seconds) to the previous run of this game, via new glitches and better optimization. I hope you enjoy the run!

Game objectives

  • Emulator used: lsnes rr2-β23
  • Aims for fastest time
  • Glitch abuse
  • Takes damage to save time
  • Uses hardest difficult

Comments

I've started this run with very little knowledge about this game, and discovered useful glitches in the process. I literally run through the game five times, because it happened 4 times that I found a useful glitch while TASing the last stage (examples are the fast acceleration glitches and the camera manipulation trick). Amaraticando and BrunoValads wrote a lua script with sprites's hitboxes, which was extremely helpful.
It's very weird that lsnes claims the game is lagging all the time, when it actually isn't, so it's hard to notice lag and control it. Some frames of lag were saved in this TAS, especially after bosses (that's why I stay still and action-less after most of them).

New Tricks

First, a introduction of how movement works in this game:
Pressing direction and L = Stanley moves at 1 pixels per frame
Pressing direction = Stanley moves at 2 pixels per frame
Pressing direction and R = Stanley moves at 6 pixels per frame
Pressing direction and LR = Stanley moves at 15 pixels per frame
In all these cases, he always accelerates and decelerates 1 pixels per frame². Pressing the opposite direction of his movement intending to decelerate is the same as not pressing anything.
Fast 16 speed
After running for a while, it is possible to press down to slide and get speed 16. However, there is a faster way to do that. If you run one frame with R, and 5 frames with LR, pressing down will give Stanley 16 speed. That means you speed will, running from a stop, accelerate that way: 1, 2, 3, 4, 5, 6, 16. This is only possible when running on the ground, and saved 3 frames in every situation it was used.
Quick sliding
If you run one frame with R, then one frame with LR, and another frame with R, pressing down makes your speed to go to 8, and gives you sliding state. This is useful to use slide hit in bosses, and to get 8 speed faster in some specific situations in which 16 speed isn't useful.
Keeping sliding status
If Stanley is sliding, and uses some ability, pressing down immediately after the ability's animation finishes returns him to the sliding status. This is specially useful in bosses, and to recover speed after the usage of an ability. Also, it is possible finish the animation sliding to the opposite direction with this trick.
Reaching platforms faster
Normally, when jumping to a platform that can be passed by upwards, Stanley needs to reach at least the same Y position he would have if standing in the platform. However, if he approaches the platform from the side and lands on it in its very edge, he can warp to it even being 7 pixels lower. This saves 2 or 3 frames in every jump to platforms that can be passed by upwards. It doesn't work when jumping to solid floor, neither in moving platforms.
Quick Jump
When you press B, the jump button, it takes 4 frames to Stanley to get his jumping Y speed. However, if he is spinning, he gets the Y speed immediately (3 frames sooner). The problem with that is that the spinning animation (and every other ability animation) makes the game to think you are pressing B all the way, which makes the jump to be too high, and the time save doesn't worth. It was only used once in the run, in an specific situation in which it was possible to cancel that bug.
Camera manipulation
When Stanley enters a tube (or those things that look like vent outlets), if the place he is being warped to is too far away, sometimes he needs to wait for the camera to get there. It is possible to manipulate the initial camera position by turning him to the direction of the second tube, one frame after entering the first tube. This saved many frames in the last stage, and a few in the first 5. Sometimes it is possible to manipulate the camera before entering the first tube, by moving to the desired direction before, and then quickly going back for the tube and entering. This saves one additional frame, and was used twice in the run.
When sliding, it is possible to manipulate the camera position by punching the air while looking back, with no lost of time. This can avoid enemies to spawn, for example.
Hitbox Glitches
When Stanley uses an ability, what actually happens is that his hitbox is extended in a certain way, depending of what the attack is, and his whole hitbox can deal damage. This was abused in the previous run in level 6, by using the horn to extend Stanley hitbox, which touches the ending door. However, there are more ways to abuse of that. In level 5, for example, I could use punches and the hammer to pull some levers.
Sliding glitches
If Stanley is sliding, it is possible to use a punch without losing speed, and then to go back to the sliding state. It you press down in the frame this punch would hit an enemy, it will cause the effect of the punch, but the damage of the sliding attack, which is higher. Also, if you are sliding in the direction of an enemy an uses the guns, touching the enemy will cause the effect of the sliding attack, but the damage of the guns (the principle of triple-damaging).
Canceling Animation
When Stanley tries to use the horn, the hammer or guns next to a wall, the animation of the ability is canceled. However, using the previous glitch, it is possible to deal damage with the guns thanks to the sliding status, and then cancel the guns animation. This saved a good amount of time in the second boss.
Canceling long jump
When you jump pressing up, Stanley decelerate every 4 frames instead of 3. By using the hammer in some situations (sometimes it doesn't work, not sure why), you can cancel this effect and decelerate every 3 frames. I only realized this because TASeditor mentioned that it is faster to use the hammer in a certain jump, and this saved 2 frames in the run, so thanks to him for this.

Stage by stage comments

Stage 1 (53)

The acceleration and camera tricks saved a few frames in some circumstances, and acceleration was improved after braking the glasses. A coupe frames were also saved when braking the floor with the hammer. When getting out of the first tube, I could avoid hitting the floor, saving 8 frames, and the jumps that precedes glass braking were significantly improved. 2 frames were saved with the platforms reaching trick, and both boss fights were optimized (about 20 frames saved in the first, and 1 in the second). Overall, 53 frames were saved.

Stage 2 (479)

Many small improvements occurred in this level, specially with the platform trick. The acceleration and camera tricks was also useful sometimes. (For the next stages, consider 'small optimizations' as the usage of these 3 tricks and generic movement optimization). I figured out that it is possible to triple damage the machines that Stanley has to fight with during the level, thanks to the sliding glitches. This way, I saved about 70 frames in each machine. Also, after the first machine, the only use in the run of the quick jump trick happened. I could use it there because machine's death glitches Stanley jumps, allowing him to go back to his normal in-floor animation, which cancels his Y speed. You can notice it seems he is 'running' in the air, there.
A more efficient use of the M points in the bosses allowed me to not lose time going for M bonus points, which saved 60 frames. In the boss, I initialized which a hammer attack with no cost of time, as Stanley was still falling, and then I used sliding + guns to double damage him while going for the wall, which canceled the guns animation. Another hammer and another double attack was enough to kill him, much faster and spending less M points. About 200 frames were saved in the boss, and 426 in the whole stage

Stage 3 (550)

Besides the small optimizations, I could save some frames when jumping in the platform that propels Stanley upwards by hitting in in a lower Y position, so that I have to wait less to fall down back. In a certain moment I could save many frames by jumping from a platform directly to another that is pretty distant, while the previous run used an intermediary extra jump. Right before the boss, I could save 10 frames by reaching M points using the hammer, instead of jumping to get them.
In the boss fight, I manipulate the frames Stanley is running so that I don't lose any M points. That allowed me to use the guns three times instead of two, which saved a lot of time. Overall, in this level, 71 frames were saved.

Stage 4 (624)

Besides small improvements, in this level I improved the jump to a tree right before a water squirt. It is impossible to reach the hole in the tree with the water, because Stanley decelerates too fast, and with a single jump, because his initial speed is too low. However, if you jump and then touch the water, Stanley will have the speed from the water boost, and the usual deceleration from a jump. This allowed me to reach the hole with 1 jump rather than 2. The boss was also a bit optimized and I could start attacking him sooner. 74 frames saved in this stage.

Stage 5 (724)

A lot of acceleration improvements happened in this level, and many frames were saved with the hitbox glitches. Instead of running to the levers, I used the hammer or a punch to have Stanley hitbox touching theirs. In one specific case I could pull the lever through a lighting, and used this lighting damage as a boost to the opposite direction.
In the room with moving platforms, I don't fall until the ground and jump from the first platform, using the ceiling to reduce the jump weight and fall faster, and some frames were saved optimizing the boss. In this stage, 100 frames were shaved off.

Stage 6 (725)

As in the previous run, this stage is skipped. I saved one frame of lag thanks to a shorter time with the spinning animation.

Stage 7 (1119)

A lot of small optimizations. The camera trick was especially useful in this level, saving a lot of time. The jumps in the blue stars were optimized, and some time was saved by not getting extra M points, as I could get them in the boss anyway, while waiting for his animation.
394 frames were saved in this stage, being 279 of them in the boss fight. A lot of things were improved in the boss, such as:
  • Performing only triple damages (the previous run failed to do this twice)
  • I started sliding before the fight starts, and kept sliding status until the end, thanks to the sliding glitches. I only used sliding attacks, that deal 3 damage, while the previous run used punches that deal 2 damage.
  • I manipulated the guns attacks so that the boss don't try to attack Stanley after them, which would make me to lose time. Also, it is impossible to use a gun attack without losing a M bonus point, but it is possible to use 2 gun attacks losing only 1 bonus point, so I did that every time.
  • I manipulated a lot the boss position, so that I never lost M bonus points: the sliding attack pushes the boss to the opposite direction of Stanley, but the punch doesn't. So, if I wanted the boss to move to some direction, I used the sliding attack, and if I wanted him to stay still, I used a punch, still dealing 3 damage because I kept sliding status and pressed down in the frame of the punch.

Special Thanks

  • TASeditor, for the previous run and for pointing out a 2 frame improvement from a trick that I overlooked.
  • Amaraticando and BrunoValads for writing a lua script with sprite's hitbox, which was really helpful.

Noxxa: Judging.
Noxxa: Replaced movie file with a 2-frames improvement.
Noxxa: Any time when the The Mask run gets an improvement, it never disappoints. While the previous run is already entirely a ludicrously fast platforming spectacle, the new improvements just make it that extra bit better. And so we end up with yet another amazing The Mask run. Accepting to Stars as an improvement to the published movie.
fsvgm777: Processing.


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15594
Location: 127.0.0.1
This topic is for the purpose of discussing #4970: BrunoVisnadi's SNES The Mask in 05:26.55
Amaraticando
It/Its
Editor, Player (159)
Joined: 1/10/2012
Posts: 673
Location: Brazil
Voting yes and for stars. The strat in the last boss was awesome and I know it took a lot of testing. The optimizations are really amazing and actually huge (more than 5% of the previous TAS shaved off).
Editor, Expert player (2099)
Joined: 8/25/2013
Posts: 1200
Here I thought TASeditor's TAS was broken. Yes vote.
effort on the first draft means less effort on any draft thereafter - some loser
Editor, Player (175)
Joined: 4/7/2015
Posts: 331
Location: Porto Alegre, RS, Brazil
This improve and this care with finding and applying new tricks definitely deserve a yes. It was nice to see, live, his efforts with the process, and it was cool to explore and document the RAM. Hoping for a Speed TAS of 2016 ;)
Games are basically math with a visual representation of this math, that's why I make the scripts, to re-see games as math. My things: YouTube, GitHub, Pastebin, Twitter
Editor, Expert player (2479)
Joined: 4/8/2005
Posts: 1573
Location: Gone for a year, just for varietyyyyyyyyy!!
brunovalads wrote:
Hoping for a Speed TAS of 2016 ;)
Challenge accepted.
Player (57)
Joined: 6/14/2015
Posts: 43
Location: Osasco, SP, Brazil
OMG!!!! My vote is yes
Spikestuff
They/Them
Editor, Publisher, Expert player (2649)
Joined: 10/12/2011
Posts: 6442
Location: The land down under.
Star this.
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
Patashu
He/Him
Joined: 10/2/2005
Posts: 4044
Amazing improvement!
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
Skilled player (1458)
Joined: 11/26/2011
Posts: 656
Location: RU
I show you how deep the rabbit hole goes. Current projects: NES: Tetris "fastest 999999" (improvement, with r57shell) Genesis: Adventures of Batman & Robin (with Truncated); Pocahontas; Comix Zone (improvement); Mickey Mania (improvement); RoboCop versus The Terminator (improvement); Gargoyles (with feos)
Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
Great stuff. Wasn't expecting that much to shave off. I knew the last boss would be improveable. And yes the lag in this game for lsnes is weird stuff. In 4:47 in your encode, when you jump up using the hammer saved 1 frame in my TAS. Have you tried that? Yes vote.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
Editor, Skilled player (1344)
Joined: 12/28/2013
Posts: 396
Location: Rio de Janeiro, Brasil
TASeditor wrote:
Great stuff. Wasn't expecting that much to shave off. I knew the last boss would be improveable. And yes the lag in this game for lsnes is weird stuff. In 4:47 in your encode, when you jump up using the hammer saved 1 frame in my TAS. Have you tried that? Yes vote.
That's actually a 'new' trick I overlooked! Using the hammer after a long jump cancels the long jump, making Stanley to decelerate every 3 frames instead of 4. I've edited the movie in that part and I could save 2 frames. I tried applying it in many other jumps in the run, but unfortunately it wasn't useful anywhere else, especially because you can't move while using the hammer, there isn't always a wall to cancel the hammer, and it isn't always useful to decelerate faster. That specific star is the only place where all this 3 conditions met: you don't need to move, you can easily cancel the hammer, and decelerating is useful to get 0 speed sooner. Thanks for pointing this out! Here's the movie file: http://tasvideos.org/userfiles/info/28302606867133060 please, judge, replace it :)
My YouTube channel: https://www.youtube.com/channel/UCVoUfT49xN9TU-gDMHv57sw Projects: SMW 96 exit. SDW any%, with Amaraticando. SMA2 SMW small only Kaizo Mario World 3
WST
She/Her
Active player (489)
Joined: 10/6/2011
Posts: 1697
Location: RU · ID · AM
Wow so yes
S3&A [Amy amy%] improvement (with Evil_3D & kaan55) — currently in SPZ2 my TAS channel · If I ever come into your dream, I’ll be riding an eggship :)
Skilled player (1827)
Joined: 4/20/2005
Posts: 2161
Location: Norrköping, Sweden
Amazing! A very impressive improvement indeed. Yes vote!! :)
Active player (477)
Joined: 2/1/2014
Posts: 928
Spikestuff wrote:
Star this.
god damnit jim carrey.. Now I have to watch the mask again. Seriously this run is insane.
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3574)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
I love the input display in the submission encode :) Obviously I love the run. An improvement to what was already one of my favorite TASes on the site.
It's hard to look this good. My TAS projects
Dimon12321
He/Him
Editor, Reviewer, Experienced player (596)
Joined: 4/5/2014
Posts: 1223
Location: Romania
Patashu wrote:
Amazing improvement!
I guess TASeditor was right! http://tasvideos.org/4448S.html -
This run is bad Please reject.
TASing is like making a film: only the best takes are shown in the final movie.
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15594
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. ---- [3055] SNES The Mask by BrunoVisnadi in 05:26.55
mklip2001
He/Him
Editor
Joined: 6/23/2009
Posts: 2227
Location: Georgia, USA
Great screenshot!
Used to be a frequent submissions commenter. My new computer has had some issues running emulators, so I've been here more sporadically. Still haven't gotten around to actually TASing yet... I was going to improve Kid Dracula for GB. It seems I was beaten to it, though, with a recent awesome run by Hetfield90 and StarvinStruthers. (http://tasvideos.org/2928M.html.) Thanks to goofydylan8 for running Gargoyle's Quest 2 because I mentioned the game! (http://tasvideos.org/2001M.html) Thanks to feos and MESHUGGAH for taking up runs of Duck Tales 2 because of my old signature! Thanks also to Samsara for finishing a Treasure Master run. From the submission comments:
Shoutouts and thanks to mklip2001 for arguably being the nicest and most supportive person on the forums.
Rm
He/Him
Joined: 8/25/2020
Posts: 21
smooth criminal
I’m the 11025th TASVideos User!
Player (153)
Joined: 10/4/2015
Posts: 139
One of the all-time greatest TAS ever published to the site.
Enter the Matrix is a piece of garbage but I'm gonna finish it if it kills me.