This is an improvement of 0:20 on the in-game timer over wwmarx's rejected submission. An impressive two-fifths of this is from a single level. It is slower in real time due to signpost spinning and large numbers of extra bonus points.

Game objectives

  • Emulator used: Dega 1.16 MAME core
  • Aims for in-game time instead of real-time
  • Uses death as a shortcut
  • Takes damage to save time
  • Ignores delays caused by bonus effects
  • Abuses programming errors in the game
  • Moves character too fast for screen to keep up

Comments

Sonic 1 (and Sonic 2) for the Game Gear are amongst the first console games I can ever remember playing, so this run is rather dear to me.
As with all(?) of the other Sonic runs on the site, this run is intended to minimise in-game time. Because I hit the signpost as soon as possible, Sonic is usually at full speed and the sign usually wastes quite a few frames spinning up in the air, which I am not counting for the purpose of timing. This is not the only bonus effect that is ignored - the game, especially the GG version, has excessively large bonus point awards on the end-of-level screen for the times achieved.
This run is made on the Game Gear version. My main motivation for doing this was to have a direct basis for comparision in the form of wwmarx's run. Other reasons for doing so include some altered level designs and easier boss fights; I make no comment as to which version is preferable.
The following table sets out times for The Sonic Center (caveat: the times there are from the SMS version), mike89's unassisted run, wwmarx's submission, and my submission.
StageSonic Centermike89wwmarxThis runTime Gained (total)
Green Hill 10:180:190:190:181 (1)
Green Hill 20:220:240:220:202 (3)
Bridge 10:190:270:250:178 (11)
Bridge 2-1:531:531:530 (11)
Jungle 10:25*0:340:280:280 (11)
Jungle 20:330:360:270:261 (12)
Labyrinth 10:27*0:380:340:340 (12)
Labyrinth 20:561:090:560:533 (15)
Scrap Brain 10:270:290:270:270 (15)
Scrap Brain 2*1:141:000:570:534 (19)
Sky Base 10:220:300:220:220 (19)
Sky Base 20:080:120:090:081 (20)
  • See stage comment below.
Most of the ludicrous times are obtained through extensive use of several glitches in the game physics:
  1. "Roll-zipping". This is the earliest known glitch, and predates all of the TAS attempts. Basically, if Sonic is in ball form, usually from having ducked down or from hitting something while jumping (a regular jump doesn't count), and enters mid-air (usually from rolling off an edge or down a ramp), he accelerates constantly; this allows very high speeds to be obtained. I'll refer to this as "roll-zipping" in the balance of the run comments.
  2. Speed trick. Pointed out to me by SprintGod. Sonic's velocity in this game is normally limited to 768 (0x300) units per frame while running on the ground, but this is only checked for the frame after Sonic exceeds this velocity. This can be abused: from a stop, Sonic can run up to a velocity of 768 units. One then taps down to rollfor one frame - deceleration while rolling is 4 units per frame per frame - to hit a velocity of 764 (0x2FC) units, taps back to stand back up (this has a side effect of braking Sonic by 48 (0x30) units per frame per frame, to hit a velocity of 716 (0x2CC) units per frame, then runs for four frames - accelerating at a speed of 16 (0x10) units per frame per frame to reach a one-frame velocity of 780 (0x30C) units per frame. If the forward direction is pressed in the following frame, velocity will drop back to 768; instead we release the forward direction, causing Sonic to decelerate 16 (0x10) units per frame per frame for one frame to reach a velocity of 764 (0x2FC); alternating between forward and no direction key causes velocity to toggle between 780 and 764 for an effective speed of 772 units per frame. By using the alternate acceleration/deceleration values of slopes, it's possible to achieve toggling between 766 (0x2FE) and 782 (0x30E) units per frame, for an average velocity of 774 units per frame, but this is rare in practice. Performing the speed trick on the ground causes lag due to the rapid switching between animations; fortunately, given an appropriate starting velocity, it can be done just as well in the air where no such animation switching takes place, so you will see Sonic spending a lot of time in the air wherever the speed trick is in use.
  3. Acceleration trick. Also pointed out to me by SprintGod. When braking from a roll in the manner described above, the one-frame deceleration is always applied towards the left, so if Sonic is moving towards the left he gains 48 (0x30) units of speed braking out of a roll. By rapidly rolling and braking while moving to the left, Sonic accelerates at an average of 22 (0x16) units per frame up to the game's internal maximum limit for velocity.
As a side comment, Sonic is incapable of spin-dashing in this game (as with Genesis Sonic 1), turning TASing the game more into an issue of maintaining speed.
Here are some RAM addresses (thanks to SprintGod for pointing these out):
  • 0xD3FE-0xD400: Horizontal position
  • 0xD401-0xD404: Vertical position
  • 0xD405-0xD407: Horizontal velocity
  • 0xD408-0xD40A: Vertical velocity

Stage by stage comments

Green Hill 1

This level's basically been set up for roll-zipping through the use of the large hill, and it's probably one of the few significant roll-zips that can be done fairly easily in real time. With judicious use of the speed trick up to that point, Sonic achieves a time once thought impossible to achieve on the GG version of this game.
It's possible to stop right before the signpost and lose no perceptible time while waiting for the screen to catch up. I don't do this in favour of hitting the sign at the earliest possible moment - made easier by being at full speed.

Green Hill 2

This winding level layout provides the first demonstrations of the acceleration glitch, and also contains one large roll-zip at the end - I need to slow down considerably before hitting the last ramp to avoid overshooting the signpost.

Green Hill 3

This boss fight is considerably easier in the GG version - over in SMS land, Robotnik normally hovers out of jumping distance for a considerable part of the fight, but there's not enough screen room here for that to be possible and he goes down quickly.
Despite judicious use of the speed trick, no frames are saved; it's possible that Robotnik's appearance is on a timer or something similar.

Bridge 1

This level is probably one of the highlights of the run - completed in the impossibly low time of 0:17! The trick that allows this is abuse of the scales - it is quite possible to roll-zip from them by rolling just before the weight hits the other side - the massive air time resulting from this leads to truly absurd speeds. Combined with bouncing off of monitors and enemies and a handful of additional roll-zips, this level passes by so quickly you can see how Sonic gets his reputation of being the fastest ever video game character.
Although obtaining the shield and rolling over the bridge during this roll-zip cause lag, it's also critical not to do anything to lose speed during that segment to make the impossibly low time feasible.
This level has seen the most improvements over the course of working on this run. In an earlier version of this run, the precise input sequence leading to the massive chain of roll-zips that make such short work of the level was discovered quite by accident - in one of the earliest WIPs I had achieved 0:21 from a less impressive set of roll-zips, then discovered that the input for Green Hill 3 up to the boss fight had somehow been erased in the interim. I reran that segment and spliced the input past that point on, only to find the run would desync when hopping on to the scale; I attempted to tweak the input by hand and quite mistakenly ended up achieving a long sought-after 0:20 time. Although that iteration looked slightly sloppy, I didn't want to touch it for fear of disturbing the roll-zip, but then mike89 pointed out what (correctly) looked to be a slight improvement to GH2; I went and inserted that into the run and sure enough it caused the roll-zip once more to desync, and in a very strange echoing of circumstances ended up improving the roll-zip into a very low and much better-looking 0:20. Then SprintGod came along with his new (to me) set of glitches, and I restarted the run; with those glitches, his information about velocity RAM addresses, and the knowledge of how to work the scales from my WIPs, I was able to shave another impressive three seconds off of the level to what you see now.

Bridge 2

The game's requisite auto-scrolling level, also making it the most boring level in the game, and made even worse coming hot off the heels of one of the fastest levels in the game. My major priority here is lag reduction, considering how atrocious wwmarx's run of this level looks without it. To that end, I take a hit from the first enemy in the level to lose the shield and kill most enemies the moment they appear on the screen.
During the long interregnum, I bounce around idly and collect most of the rings. There are enough in the level that the special stage would normally be triggered at the level end (which happens with at least 50 rings), so I take a hit from the second-last enemy in the level to drop the rings (I didn't use the last enemy because it's placed in such a fashion that using it would cause two bridge tiles to drop instead of one).

Bridge 3

Another short and sweet boss level. Although rolling across the bridge causes lag, it's still the fastest way to get over to the boss, even considering the resulting lag frames.
Robotnik spawns on the left hand side twice, unlike wwmarx's run, where he appears on the right for his second attack. I don't know what controls his spawn pattern. It takes 24 frames more for him to leave the screen than if he's on the right, as found in the WIP; only 11 frames are lost due to time savings from using the speed trick..
If you look carefully, you will realise that Robotnik's contraption doesn't explode and that the capsule has fewer explosions than usual. Apparently Sonic rolling across the bridge is so fast that the boss doesn't have time to finish loading the boss. Funny, no?

Jungle 1

This is probably the level of which I was least certain going into the run; there are fairly substantial differences betweeen the SMS and GG versions of the game and I wasn't sure, given the three-second differential between TSC's time and wwmarx's time, whether wwmarx's route would be the most optimal strategy. I consulted mike89, who's far more familiar with the game than I am, and he stated he could not see any obvious improvements to the route, so I decided to work with it anyway.
The shield is only collected for the purpose of having something to bounce off of for roll-zipping purposes, but it comes in handy during the next level.
It turns out that running on the log in the middle of the level is treated as though Sonic is running on the ground; instead of jumping across as in wwmarx's run, I therefore use the log. This does not appear to make much of a time difference in the end, unfortunately.

Jungle 2

An unusual vertical-scrolling level. The SMS version here locks the screen in place during jumps, and also does not scroll back down such that Sonic dies if he misses a jump; these are cited as two reasons for preferring the GG version, but they are irrelevant in a run of this nature.
The damage boost in the middle of the level seems to have been discovered by wwmarx. It puts the shield from Jungle 1 to good use; otherwise one would need either the shield found a couple of moments before or a ring, both of which are out of the way enough that needing to get one of them would probably cause the loss of an in-game second.

Jungle 3

I guess none of these boss fights are much of a challenge when one has perfect reflexes.

Labyrinth 1

The trick used to obtain TSC's time has been lost, but is believed to be SMS-specific. The level is far from glitch-free, however; in particular, abuse of the first rising platform leads to a vertical zipping trick (completely unrelated to roll-zipping, despite the terminology).
The bounce off the ceiling corner at the beginning needs to be very nearly frame-perfect to work as advertised; surprisingly, it can be done in real time (see mike89's unassisted run for an illustration of this).
The speed trick, unfortunately, doesn't work underwater - acceleration and deceleration are both 4 units per frame per frame. The acceleration trick, however, does work, but only gives an effective acceleration of 4 units per frame per frame, equal to just running on the ground - therefore its only utility is exceeding the underwater speed limit of 256 (0x100) units per frame.
I need to slow down in the water at 0:10-0:11 as the spike at 0:13 doesn't retract until 0:13 - I time the slowdown and jump to just clear the spike.
The most arduous part of this level, oddly, is the sequence of jumps starting at 0:23, particularly the jump out of the water at 0:29 - Sonic's vertical velocity is greatly reduced during this jump for whatever reason, and needs to land very precisely from the previous jump to allow time to gain enough horizontal velocity at the edge of the platform to make it up onto the next ledge.

Labyrinth 2

The second-longest level in the game in a distance sense (time-wise goes to Bridge 2, boring level that it is). An added unnoticed roll-zip near the start and judicious use of the acceleration glitch shave a huge three seconds from this level.

Labyrinth 3

Desperate measures force Robotnik to try attacking underwater in an attempt to be more difficult. In the face of the fastest character in the video game universe with much better reflexes than normal, this plan naturally fails miserably.

Scrap Brain 1

One of the most straightforward levels of the game; sadly, a better time is more or less prevented by the doors, given the need to slow down to avoid hitting them on the way in. Rolling under the doors in the fashion you see here gets through them as quickly as possible, and has been timed to maintain the most possible speed, but that isn't enough to save a unit.

Scrap Brain 2

This is the lengthiest level in the game; it is laid out in three parts. Normally it is even longer than the time would suggest, but much of it can be skipped. In the middle of the level, a switch is hit which moves several doors around. Notably, a door falls to block the spawn point for the level segment from the switch, and opens another door from the spawn point to the path to the exit - so dying after hitting the switch is faster than going through the intended route! The timer resets to 1:30 upon this death; the listed time is the sum of the pre-death time and whatever additional units are on the timer at the moment of hitting the signpost.
mike89 suggested attempting to use the acceleration glitch upon hitting the switch to pass through the door which closes to the left, which by my estimate would save 4-5 units. I tested this possibility very thoroughly, and have concluded that it's still not possible to build up enough speed, even from a running start further boosted by jumping off the right edge and/or using the spring.
wwmarx goes and jumps into a pit to trigger a death, wasting three units instead of going and hitting the nearest enemy. I also save a unit in the final segment thanks to judicious use of the acceleration glitch

Scrap Brain 3

Sensing that another fight is futile, Robotnik instead chooses to run away - Probably a smart plan, given the strange abilities Sonic has demonstrated this round.

Sky Base 1

What would otherwise be a very straightforward level is complicated by the electric grid in this level. It prevents the hill at the beginning from yielding a useful roll-zip and puts timing constraints on the rest of the level; it is exploited for a couple of damage boosts, however.

Sky Base 2

Most of this level can be - and is - skipped, which is good, because the intended route is lengthy and annoying.

Sky Base 3

Unable to run any further, Robotnik hides in a glass tube. Unfortunately, Sonic is so fast he manages to embed himself in the tube. So much for that plan.

Other comments

Suggested screenshot: frame 13600
As a reliable encoder, it would be irresponsible of me to submit a run and not provide you with an encode right off the bat. So, you can find that here, or watch it on Dailymotion: part 1 and part 2.
I offer my thanks to wwmarx (who made a valiant - if ultimately of questionable quality - attempt at this game), alden (whose initial and long-on-hiatus attempts at TASing the game led partly to my interest in making this run in the first place), mike89 (who did an unassisted run of this version of the game, and whose insights and commentary on strategy and game mechanics proved very valuable), and SprintGod (who pointed out the speed trick, acceleration trick, and several RAM addresses and provided me with at least one very tight target time while restarting the run in the wake of this).
Enjoy!

adelikat: Accepting for publication based on positive user feedback (and fast sonic action!).


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15576
Location: 127.0.0.1
This topic is for the purpose of discussing #2493: sgrunt's GG Sonic the Hedgehog in 19:18.70
Sir_VG
He/Him
Player (40)
Joined: 10/9/2004
Posts: 1913
Location: Floating Tower
As much as Sonic games can be interesting to see TASed, this version is sadly far from that, IMO. Bridge 2 is the biggest killer, I think. Even though there is one in Sonic 2, even that one isn't as dull as this one. I just wasn't thrilled with this. It's nothing on your skills. It's the game. Voting NO.
Taking over the world, one game at a time. Currently TASing: Nothing
mklip2001
He/Him
Editor
Joined: 6/23/2009
Posts: 2227
Location: Georgia, USA
I think the game is alright, but not great. If I recall correctly from the previous discussion of wwmarx's run, it was decided an SMS run of the game could obsolete this one. I don't know enough about these games to make any real argument for one or the other, though. About this run, it's quite nice. It definitely has polish and good uses of speed glitching. Bridge 1 was quite awesome. The Labyrinth stages actually felt more boring to me, as if I couldn't believe the game would force you to go that slow underwater. Also, in the Labyrinth boss battle, is it possible to get Robotnik to spawn twice in a row in the bottom pit? It seems like you could deal hits a lot faster there. I'll give this a yes vote in the meantime, as I think the game passes the threshold to warrant publication. I'd be open, though, for a future SMS run of this game to obsolete this if the SMS run is of comparable quality.
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.
Active player (437)
Joined: 4/21/2004
Posts: 3517
Location: Stockholm, Sweden
I liked it :) I give this a yes vote. Good work grunt.
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
Techokami
He/Him
Joined: 6/23/2008
Posts: 160
I don't know what controls [the Bridge Zone boss'] spawn pattern.
I do. It's dependant on Sonic's direction. IIRC, Robotnik tries to attack from behind. As for the run, there were some dull spots, but the glitches abused and the times achieved are rather impressive. You could have done some more playing around during Bridge Zone 2, as well as when waiting for the Green Hill Zone boss to appear. Yes vote.
sgrunt
He/Him
Emulator Coder, Former player
Joined: 10/28/2007
Posts: 1360
Location: The dark horror in the back of your mind
mklip2001 wrote:
Also, in the Labyrinth boss battle, is it possible to get Robotnik to spawn twice in a row in the bottom pit? It seems like you could deal hits a lot faster there.
The spawn pattern there appears to be fixed as bottom, left, right, repeat - every run I have ever seen has that spawn pattern.
Techokami wrote:
I don't know what controls [the Bridge Zone boss'] spawn pattern.
I do. It's dependant on Sonic's direction. IIRC, Robotnik tries to attack from behind.
Disagree - Sonic's facing left for the second spawn and Robotnik still spawns on the left. I did try several tactics along these lines to vary the spawn pattern and didn't see any changes; I suspect it's set at (pseudo-)random. Thanks for the positive feedback, all!
Lex
Joined: 6/25/2007
Posts: 732
Location: Vancouver, British Columbia, Canada
Wow, the score tally at the end of every level is ridiculously long. I realize this wouldn't be entertaining, but would it be technically faster to wait a while before beating the level so the score tally doesn't take FOREVER? I voted yes, btw.
Joined: 2/7/2008
Posts: 185
The levels seem nicely optimised and there are a few that stand out - Bridge 1 and the Jungle levels on first watch... but I think I might enjoy a run with the objective of fastest actual time. It'd be interesting to know what the optimum tradeoff between level speed and scoring time is. The algorithm for scoring is pretty annoying though - I wish it were accelerated when you have more points. Of course, none of that is your fault. I voted yes.
I'm just some random guy. Don't let my words get you riled - I have my opinions but they're only mine.
sgrunt
He/Him
Emulator Coder, Former player
Joined: 10/28/2007
Posts: 1360
Location: The dark horror in the back of your mind
Lex wrote:
I realize this wouldn't be entertaining, but would it be technically faster to wait a while before beating the level so the score tally doesn't take FOREVER?
wwmarx did that in an even older submission, for the record. It looks very bad, and is inconsistent with our goals for other Sonic runs.
Emulator Coder
Joined: 1/12/2007
Posts: 95
Given the game's rather uninspiring sound, and it's shortcomings, it's quite good enough for the site. I thought that, despite my expectations from a sonic game, it was an interesting run to watch. It has the little elements that I can't identify readily that lend to the idea that actual time went into the run. Clipping some platforms and still landing on them was a rather significant indicator. Good run.
Editor, Reviewer, Experienced player (979)
Joined: 4/17/2004
Posts: 3109
Location: Sweden
>it would be irresponsible of me to submit a run and provide you with an encode right off the bat. I agree, that was pretty irresponsible of you. Nice run though, I will vote yes.
Joined: 6/4/2009
Posts: 570
Location: 33°07'41"S, 160°42'04"W
It is sin to vote no here. New glitches are entertaining. Good sgrunt for doing this, thanks sprintgod for tips. This deserves a very yes vote.
Joined: 11/4/2007
Posts: 1772
Location: Australia, Victoria
I vote Yes, despite my very heavy preference for the SMS version (Which I think deserves a publication alongside the GG version, the two are different enough).
Player (121)
Joined: 2/11/2007
Posts: 1522
Sorry I haven't come by yet to say DEAR GOD YES I'm so happy you and Sprint proved how glitchy this game can be.
I make a comic with no image files and you should read it. While there is a lower class, I am in it, and while there is a criminal element I am of it, and while there is a soul in prison, I am not free. -Eugene Debs
Joined: 5/17/2007
Posts: 393
Location: Sweden
Funny how the only thing going against this run is the score tally(Would be nice having an encode with the score tally skipped). Yes vote
"No love for the game gear"
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15576
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. ---- [1423] GG Sonic the Hedgehog by sgrunt in 19:18.70
Player (193)
Joined: 2/13/2009
Posts: 39
Location: Brazil
Nice Work, Sgrunt. this is a great run
Por que praticamente só jogos de futebol têm versões em português?
Player (31)
Joined: 9/23/2006
Posts: 207
Location: Moreno Valley, California
Wow, I didn't know Yuzo Koshiro did the music for this game. Good job.
"The way to move out of judgment is to move into gratitude." — Neale Donald Walsch DannyLilithborne on IRC
Player (178)
Joined: 5/13/2012
Posts: 51
RAM addresses are being mentioned in the comments, but I can't find a RAM Search/Watch option within the emulator used (Dega 1.16 MAME core).