Movie Features

  • Emulator used: Gens version 11a
  • Aims for fastest in-game time, then fastest real time
  • Abuses programming errors
  • Takes damage to save time
  • Manipulates luck

About The Movie

This movie implements the new routes found in Emerald Hill 1, Chemical Plant 1, and Casino Night 2, along with some minor improvements in a few of the other levels.

Table of Times (minutes:seconds::frames)

ActNew TimeOld TimeFrames SavedTotal Frames
Emerald Hill 10:14::180:15::347676
Emerald Hill 20:33::310:33::31076
Chemical Plant 10:13::310:16::33182258
Chemical Plant 20:31::580:31::591259
Aquatic Ruin 10:12::500:12::500259
Aquatic Ruin 20:27::160:27::160259
Casino Night 10:19::320:19::320259
Casino Night 20:36::520:44::54482741
Hill Top 10:23::450:24::2540781
Hill Top 20:38::320:38::320781
Mystic Cave 10:22::120:22::120781
Mystic Cave 20:32::110:32::110781
Oil Ocean 10:16::420:16::420781
Oil Ocean 20:28::580:29::2022803
Metropolis 10:31::160:31::160803
Metropolis 20:12::220:12::231804
Metropolis 30:32::380:32::380804
Sky Chase2:05::572:05::570804
Wing Fortress1:30::031:30::085809
Death Egg0:40::290:40::301810
Total11:24::5311:38::23810

General Information Relevant To The Submission

The following information is not new to speedruns of this game, rather, it is here for convenience.
  • The game has a hidden in-game timer that counts the frames. It does not increment during lag frames or while the game is paused.
  • When performing a jump, Sonic does not move for one frame so jumping is limited to when it is faster overall and this restriction does make a difference throughout the run.
  • On horizontal ground, Sonic will lose speed when rolling. While holding forward when running, Sonic will maintain speed. When traveling down slopes, Sonic accelerates faster while rolling than running. Transitioning from rolling to running is done by jumping or falling off the ground.
  • Bounce height can be controlled by holding either A, B, or C which will keep a higher vertical speed until it falls below 4 pixels per frame. Releasing any of those buttons will immediately set the vertical speed to 4 pixels per frame if it was above that value.
  • Sonic will lose horizontal speed if the vertical speed is upward and less than 4 pixels per frame. This is avoided when possible by jumping from slopes that give Sonic a downward vertical speed or by bumping a ceiling.
  • Spindash release speed is controlled by how many times the buttons A, B, or C are pressed and how long the spindash is held before being released. The first button press sets the held spindash speed at 8 pixels per frame. Subsequent button presses raise the speed by 1.5 pixels per frame and each frame the spindash is held lowers the speed by 1/32 of the held speed value. The range for spindash speed is bounded to a minimum 8 pixels per frame and a maximum of 12 pixels per frame and the release speed only occurs in increments of 1/2 pixel per frame. Thus, it takes 6 button presses to release a maximum speed spindash.
  • Sprite ejection occurs when Sonic is inside a sprite and is colliding with one of its four sides. This pushes Sonic out in the direction of the side that is being collided with. This is generally used to get inside terrain.
  • Zips occur when Sonic is inside solid terrain. The game ejects Sonic at speeds up to 32 pixels per frame in the opposite direction that Sonic is traveling. This is useful for performing a level wrap but is also good for just going fast.
  • Level wraps are an effective way to get to the end of a level quickly. The left edge of every level has an invisible wall that is 16 pixels wide. Sonic can pass through this boundary by having sufficient speed to avoid collision with this wall. This underflows the value for horizontal position and the game then caps the now large value to a position at the end of the level.
  • Camera speed is capped at 16 pixels per frame. Traveling faster than this will cause Sonic to get ahead of the camera. The horizontal position of the camera is important as it determines when sprites (such as the sign post) load and can be manipulated, such as spindashing before performing a level wrap, which moves the camera to the right and delays it from following Sonic to the left. Sonic generally does not interact with sprites that are out of view of the camera.

Resources

Game Resources has useful RAM addresses and additional information.

Important Information Regarding Real Time

The platforms in Wing Fortress that retract and extend into and out of play are controlled by a power-on timer and limit when Sonic can pass through without losing time. With a movie file that did not waste time at any of the capsules, Sonic was 2 frames late to getting through with an earlier platform cycle. Rather than pausing there for 245 frames to catch the next cycle, the time delay was distributed to the capsule animals in Casino Night 2 and Oil Ocean 2.

Stage By Stage Comments

Introduction

This is not a stage but 1 real time frame was saved by pausing on the last frame the white text is visible with controller 2. This also causes the Title screen to load incorrectly. This frame saved was ultimately lost to the Chemical Plant 2 capsule animals in this movie as showing up one frame later would not make a difference at that point.

Emerald Hill 1

This level was improved by Aglar. The lower route achieves sufficient speed to stay on the ground when running up the quarter-pipe and then a roll on the first pixel in front of the monitor allows Sonic to go airborne, avoiding the rolling speed cap and maintaining speed. Going through the loops starting with maximum spindash speed (slower speed than the previous movie) made gaining as much speed as in the previous movie nearly impossible but Aglar managed to pull that off.

Emerald Hill 2

An off-screen speed boosting jump and the final jump gives Sonic enough hangtime to avoid the vertical camera limit allowing the capsule animals to be cleared off the bottom of the screen.

Chemical Plant 1

Tee-N-Tee found that it was possible to level wrap by spindashing down the sine wave slope and performing two jumps, 2 frames apart, which give Sonic enough speed to pass through the boundary at the start of the level.

Chemical Plant 2

1 frame was saved by picking out a better slope to jump from after the last booster which gives Sonic more speed. This required rolling 1 frame before jumping from a position that was a few pixels ahead of the position used in the prevoius movie. This particular jump was found in the Knuckles TAS.

Aquatic Ruin 2

1 lag frame was saved by altering the movement in the beginning of the level. Lining up the position to 3 subpixels off in both the horizontal and vertical coordinate at the start of the zip was close enough to proceed through the rest of the level with the same inputs.

Casino Night 2

Sonic clips into the same monitor that Knuckles uses to level wrap, via a different method. The first zip gets Sonic to the position of the monitor before it loads. Then a spindash causes Sonic to fall to a spot where a zip out of the wall is possible. Because Tails will despawn after being off-screen for 5 seconds and then respawns at specific time intervals, careful selection of when to start with the first despawn allowed Tails to be in the wall at the start of the boss fight. This was necessary to give Sonic a break.

Hill Top 1

The time save in this level came from implementing a strategy used in the first Knuckles TAS that maintains speed after the zip. The zip past the lava zone works as it does because a spindash before the zip causes a delay in the camera following Sonic, allowing Sonic to get far enough ahead that the giant wall sprite does not load until Sonic is past it.

Oil Ocean 2

Time was saved by maintaining speed during the vertical warp. Careful positioning allowed Sonic to jump under the pillars around the boss area, rather than jumping too high and being stopped by them. There is not much room to perform this as Sonic is right above the kill plane when making the jumps while also getting just enough horizontal progress to hit the bottom of the pillars, rather than the sides. This was used in the first Knuckles TAS.

Metropolis 2

1 frame was saved by jumping with Tails at a later position and with less jump height. 9 lag frames were saved by using a different maneuver when approaching the lava.

Wing Fortress

This run saved 5 frames by jumping later and with less jump height to trigger the ending. This works because it gets the camera to the required vertical position sooner by spending more time in the air while still ahead of the camera. The camera moves at 6 pixels per frame to catch up to Sonic when on the ground. The camera moves at 16 pixels per frame while catching up to Sonic in the air and then at the same rate when caught up, which is still faster than 6 pixels per frame.

Death Egg

1 frame was saved in the final boss battle. This was made possible by performing the jump for the second hit from a roll. This causes Sonic to land 5 pixels above the ground and this extra height was useful to get a faster falling speed after the third hit to land 1 frame earlier and proceed with the rest of the fight.

Real Time

Real time is minimized without sacrificing in-game time, but, outside of lag reduction, real time savings are limited by platforms in Wing Fortress which only allow Sonic to pass through when they are opened so that Sonic can land on them. While not losing in-game time, these are 10 frame windows that work followed by 246 frame windows where pausing or some other time delay is required.

Capsules And The Capsule Animals

Shortly after hitting a capsule top, 8 animals will spawn and a capsule timer starts counting down from 179 at a rate of 1 unit per frame until it reaches a value of 1. The timer does not increment on paused frames. On the next frame, the timer changes to 180 which is when the game checks for the presence of animals. When this check sees zero animals, the value changes to 0 and the game proceeds to bringing in the bonus tallies.
When an animal spawns, it starts counting down a timer which triggers the animal to jump. The 8 initial animals have unique timers that range from 98 to 154 in increments of 8. All future animals start with a timer of 12.
Animals will only spawn when the lowest 3 bits of the power-on timer are 0. If the game is paused on this frame, the animal will not spawn. If an animal spawn occurs the frame before the capsule timer changes to 180, the newly spawned animal will be present for the first frame of the check for animals and will unload the next frame. This event will delay the bonus tally one frame and has a 1 in 8 chance of occurring.
The primary method of saving time here is by deleting animal spawns for those animals that would remain on screen longer than the initial set of animals. The game loads several animals that jump later than the initial animals are usually deleted unless they jumped to the right and left the screen early enough to not delay scrolling the screen to clear the animals that jumped to the left. In levels where the camera could not be scrolled upward, the capsule is generally too far to the left to manipulate animals to jump right, although this is still sometimes faster when manipulating the later animals to jump and is usually combined with deleting animal spawns.
The capsule animals can be manipulated before breaking the capsule by advancing the RNG seed that controls the animals type and horizontal travel speed before breaking the capsule. This occurs by destroying badniks (spawns an animal), deleting or adding boss explosions (explosions spawn on the same frames that animals spawn), and allowing bubbles to spawn in Aquatic Ruin. The boss explosions also use a timer that starts at 179, similar to the capsule timer, and does not increment on paused frames. Because he boss explosion timer does not start on a multiple of 8, two identical runs of a level with different power-on timer values may end with a different RNG seed. The direction they jump can also be manipulated. The direction is determined when they land by bit 4 in the power-on timer which changes every 16 frames.
Objects are dynamically loaded, so the location of useful RAM addresses change between the levels. These objects will load at addresses from $B400 up to $CFC0 and occupy $40 bytes. The object with the capsule timer can be identified by finding the object with the byte offset $00 set to $3E and the byte offset $25 set to $02. The timer can be found at the byte offset $1F. Capsule animal jump timers are located at bytes offset $37. The other addresses used were the long at $F636 (RNG seed) and the byte at $FE0F (Power-on timer, partial)
Due to in-game time being prioritized over real time and the way capsule animals work, comparing time spent during the capsule animal release may not always be a fair comparison of optimization during those parts.

Time Bonus

Finishing a level in less than 30 seconds yields a time bonus of 50000. Finishing a level from 30 to 44 seconds yields a time bonus of 10000. Bonus values increment at a rate of 100 points per frame. This makes finishing a level in 0:29::59 399 frames slower than 0:30::00. The next fastest time would finish the level in 0:23::19 and is the primary reason why speedruns of this game aim for fastest in-game time.
No other instances were relevant in this run but this happens at every transition to a lower time bonus. If the ring bonus is larger than the time bonus, then that becomes the limiting factor for fastest real time.

Lag

Lag is minimized, usually with seemingly random changes in movement.
Suggested screen shot: 8941

Noxxa: Accepting as an improvement to the published movie.
feos: Pub.


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15577
Location: 127.0.0.1
This topic is for the purpose of discussing #5735: Zurggriff & Aglar's Genesis Sonic the Hedgehog 2 in 17:40.08
Challenger
He/Him
Skilled player (1689)
Joined: 2/23/2016
Posts: 1061
Nice work again! Yes vote.
My homepage --Currently not much motived for TASing as before...-- But I'm still working.
WST
She/Her
Active player (489)
Joined: 10/6/2011
Posts: 1697
Location: RU · ID · AM
This is done in a very boss way by a deadly overskilled player ^^ You all know very well what’s my vote here ^^ Though I would prefer Aglar’s version of Sky Chase zone, especially if it would allow avoiding that nasty extra life sound after defeating the final boss. Seriously, who needs an extra life after killing the final boss? :-D :-D :-D
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 :)
Editor, Experienced player (586)
Joined: 10/22/2016
Posts: 581
Location: Argentina
What can be said about this perfection? nothing, just that the person who voted no deserve the hell :P
You can see more TASes on my youtube channel
Banned User
Joined: 6/7/2017
Posts: 420
Location: Somewhere
Evil_3D wrote:
just that the person who voted no deserve the hell :P
Dang it. Of course I voted yes. You guys turned the game inside to save every frame possible.
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
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.
WST
She/Her
Active player (489)
Joined: 10/6/2011
Posts: 1697
Location: RU · ID · AM
…Meanwhile, somewhere in a parallel universe… Link to video
kaan55 wrote:
to save every frame possible
I beleive (though I may be wrong) that this TAS wastes some time after OOZ2, but I also beleive that it’s all about luck manipulation (I guess, it’s used to manipulate WFZ disappearing platforms).
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 :)
Banned User
Joined: 6/7/2017
Posts: 420
Location: Somewhere
WST wrote:
I beleive (though I may be wrong) that this TAS wastes some time after OOZ2, but I also beleive that it’s all about luck manipulation (I guess, it’s used to manipulate WFZ disappearing platforms).
I meant ingame frames and some RTA wherever possible. I know they waste some time to manipulate the WFZ platforms because those are on a console timer.
Mitjitsu
He/Him
Banned User
Joined: 4/24/2006
Posts: 2997
I got a good chuckle out of Casino Night 2.
WST
She/Her
Active player (489)
Joined: 10/6/2011
Posts: 1697
Location: RU · ID · AM
kaan55 wrote:
I meant ingame frames and some RTA wherever possible. I know they waste some time to manipulate the WFZ platforms because those are on a console timer.
I’m just telling it as an interesting fact for those who are not familiar with Sonic games much, relax, a Sonic TASer :)
Mitjitsu wrote:
I got a good chuckle out of Casino Night 2.
That’s also possible because of a need to waste some real time, loking up there would be faster, and doing this fun scene without a reason would be a speed-entertainment tradeoff (for the real time, not in-game anyway), but since there is an important reason, it is not a tradeoff at all :)
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 :)
Banned User
Joined: 6/7/2017
Posts: 420
Location: Somewhere
WST wrote:
I’m just telling it as an interesting fact for those who are not familiar with Sonic games much, relax, a Sonic TASer :)
I mean you did quote me. I kinda had to respond. I do realize that a lot of people aren't familiar with the game. The way those Wing Fortress platforms work isn't exactly obvious. Yeah Casino Night 2 was pretty much the highlight of the run. I laughed a little when I saw Sonic just idly lying next to the capsule.
Stovent
He/Him
Publisher
Joined: 8/23/2016
Posts: 165
Location: France
Wow, very impressive ! This clearly deserve Stars for me ! Just a question : In Oil Ocean 2, why didn't you wait for all the birds to go out of the screen before walking, like you did in hte others levels ?
[17:37:00]<TheCoreyBurton> It's N64 - it's ALWAYS bad news.
Expert player (3643)
Joined: 11/9/2007
Posts: 375
Location: Varberg, Sweden
Stovent wrote:
Wow, very impressive ! This clearly deserve Stars for me ! Just a question : In Oil Ocean 2, why didn't you wait for all the birds to go out of the screen before walking, like you did in hte others levels ?
Zurggriff wrote:
The platforms in Wing Fortress that retract and extend into and out of play are controlled by a power-on timer and limit when Sonic can pass through without losing time. With a movie file that did not waste time at any of the capsules, Sonic was 2 frames late to getting through with an earlier platform cycle. Rather than pausing there for 245 frames to catch the next cycle, the time delay was distributed to the capsule animals in Casino Night 2 and Oil Ocean 2.
Submission text is your friend :)
feos wrote:
Only Aglar can improve this now.
Stovent
He/Him
Publisher
Joined: 8/23/2016
Posts: 165
Location: France
Algar wrote:
Zurggriff wrote:
The platforms in Wing Fortress that retract and extend into and out of play are controlled by a power-on timer and limit when Sonic can pass through without losing time. With a movie file that did not waste time at any of the capsules, Sonic was 2 frames late to getting through with an earlier platform cycle. Rather than pausing there for 245 frames to catch the next cycle, the time delay was distributed to the capsule animals in Casino Night 2 and Oil Ocean 2.
Submission text is your friend :)
Oh, I only red the stage by stage comment, thanks for this.
[17:37:00]<TheCoreyBurton> It's N64 - it's ALWAYS bad news.
WST
She/Her
Active player (489)
Joined: 10/6/2011
Posts: 1697
Location: RU · ID · AM
Stovent wrote:
Wow, very impressive ! This clearly deserve Stars for me ! Just a question : In Oil Ocean 2, why didn't you wait for all the birds to go out of the screen before walking, like you did in hte others levels ?
I answerred it in my posts above as well.
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 :)
Joined: 7/28/2005
Posts: 339
I'm not sure which frame is 8941, but the suggested screenshot should definitely be Sonic lounging next to the capsule at the end of Casino Night Zone 2.
Banned User
Joined: 6/7/2017
Posts: 420
Location: Somewhere
Kles wrote:
I'm not sure which frame is 8941, but the suggested screenshot should definitely be Sonic lounging next to the capsule at the end of Casino Night Zone 2.
Here's frame 8941. Yeah I think the suggested screenshot should be that too. This is frame 21233.
WST
She/Her
Active player (489)
Joined: 10/6/2011
Posts: 1697
Location: RU · ID · AM
I don’t think that the screenshot should have such a spoiler. Frame 8941 is better.
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 :)
Active player (437)
Joined: 4/21/2004
Posts: 3517
Location: Stockholm, Sweden
To my understanding, Mystic Cave is the only stage where you haven't found a major breakthrough. There got to be something you have missed because I refuse to believe that stage is unbreakable since you totally wrecked all other stages ;) By the way I gave this a solid yes vote. Congrats on the run.
Nitrogenesis wrote:
Guys I come from the DidyKnogRacist communite, and you are all wrong, tihs is the run of the mileniun and everyone who says otherwise dosnt know any bater! I found this run vary ease to masturbate too!!!! Don't fuck with me, I know this game so that mean I'm always right!StupedfackincommunityTASVideoz!!!!!!
Arc wrote:
I enjoyed this movie in which hands firmly gripping a shaft lead to balls deep in multiple holes.
natt wrote:
I don't want to get involved in this discussion, but as a point of fact C# is literally the first goddamn thing on that fucking page you linked did you even fucking read it
Cooljay wrote:
Mayor Haggar and Cody are such nice people for the community. Metro City's hospitals reached an all time new record of incoming patients due to their great efforts :P
Zupapa
He/Him
Player (119)
Joined: 3/4/2016
Posts: 62
Location: Brasil
You two managed to stay the whole game without picking up an Invincibility monitors, voting yes.
Banned User
Joined: 6/7/2017
Posts: 420
Location: Somewhere
AngerFist wrote:
To my understanding, Mystic Cave is the only stage where you haven't found a major breakthrough. There got to be something you have missed because I refuse to believe that stage is unbreakable since you totally wrecked all other stages ;)
Hmm interesting. Let me see if I can find something.
WST
She/Her
Active player (489)
Joined: 10/6/2011
Posts: 1697
Location: RU · ID · AM
Please no, don’t break Mystic Cave, it’s already state of the art =D
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 :)
Editor, Experienced player (586)
Joined: 10/22/2016
Posts: 581
Location: Argentina
Is turn of S3&K any% now? :P
You can see more TASes on my youtube channel
WST
She/Her
Active player (489)
Joined: 10/6/2011
Posts: 1697
Location: RU · ID · AM
Evil_3D wrote:
Is turn of S3&K any% now? :P
Amy@S3&K :P
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 :)
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15577
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. ---- [3584] Genesis Sonic the Hedgehog 2 by Zurggriff & Aglar in 17:40.08