• The GiftBot 2.0 Launch Giveaway Extravaganza has come to a close with an astounding 8073 games given away to the community by 696 members, a huge success thanks to you! The gifting now continues with more official prizes in the new Gaming Giveaways |OT|. Leftover Steam codes are also being given away to the PC Gaming Era community.

New GTA: San Andreas speedrun trick cuts world record from 4 hours to 26 minutes

Birdseye

Avenger
Oct 27, 2017
12,625
The discovery of a new GTA: San Andreas speedrun trick that skips you forward to the game's final mission has slashed the world record from nearly four hours to just 26 minutes.

The new record holder is Powdinet, and you can see their run in the video above. The process, which only works in the Windows Store version of the game, lets the player warp to a later mission after performing a series of complex steps, and is based on a similar technique used in GTA: Vice City speedruns. The actual moment of the skip happens around the 16 minute mark in the video.

Powdinet detailed the full technique in this Reddit post: it has more than 40 steps, the first being to start the game and find a police bike. In the final step, starting an in-vehicle vigilante mission during a specific part of the mission Ryder makes the game jump forward, with the landing point linked to the amount of time since the run started. "With the ability to execute any line of script code, we can warp to any mission we want," Powdinet explains.

They've been searching for this type of glitch for three years on and off in San Andreas and found a version of the warp "months ago", but couldn't get it to stick. Now, they've finally managed to make it work, and they expect other speedrunners to shave even more time off the record by using the glitch.

Powdinet completed the game in 25m 52s—the previous record, set by Ielreset, was 3h 52m 07s, according to speedrun.com.
 

Mugsy

Member
Oct 27, 2017
680
For everyone who does not watch many speedruns, glitches like this usually means a new category will be created that will specifically ban the use of this glitch. So there will still be a category for everyone who wants to run the full game and not use a glitch to skip nearly all of the content.
 
OP
OP
Birdseye

Birdseye

Avenger
Oct 27, 2017
12,625
How the hell do people come up with this stuff?
Three years of research:
Four years ago, a glitch that came to be known as Script Stack Underflow was found in GTA Vice City, and with this strat the time quickly went from the 50 minute range to an 8 minute run. At the time, some people wondered if a similar skip could be found in San Andreas.

It has happened. It isn't SSU, but the distinction is not relevant for now.

https://www.youtube.com/watch?v=f9uHxDyosBo

The short story is that starting Vigilante during a certain part of the mission Ryder makes the game jump to an arbitrary line of script (.scm) code, depending on a variable that is linked to the time since the game started. With the ability to execute any line of script code, we can warp to any mission we want. This glitch only works on the Windows Store version

The route I came up with is as follows:

  • Start the game
  • Immediately get a cop bike (reset if no cop bike before 7:46)
  • Activate Vigilante and cancel it within the range of 82070ms - 82093ms - which happens around 7:46)
  • While waiting for the clock, kill a drug dealer if you see any for 2000$
  • While waiting for the clock, park the bike perpendicular to a wall inside the garage, so that when speeding forward it'll flip and CJ falls out
  • Do Big Smoke
  • Avoid Vending Machines. The standard route is shown in the following picture in red, route I take is blue. red squares are approximated locations of vending machines which must be avoided, as they reset the timer that has been set by cancelling vigilante
  • http://puu.sh/Ep9Q4/ca8a77ce4f.png
  • Get the Burgbox (blue square)
  • Enter the Burgbox before going inside the house so it doesn't despawn
  • Save the game once
  • Do Burglary. Due to vending machines, a longer route has to be taken, but otherwise the strats can be seen in the video below
  • https://www.youtube.com/watch?v=bkWHmVBoRho
  • http://puu.sh/Ep9Ur/fee51db159.png
  • If a drug dealer was not killed, do 22 items (9680$)
  • If a drug dealer was killed, do 20 items (8000$)
  • Get om0 Burglary with Jefferson safehouse
  • http://puu.sh/EpaHF/684eca6dbb.png
  • Nearest safehouse can't be used due to being too close to a vending machine
  • om0 setup is frame perfect and can be seen here https://youtu.be/XtybvgDK0Hs?t=7m9s
  • time the phonecall in a way that you buy the safehouse and you get the phonecall right after and hold it
  • as soon as you get in the van, start submission. Spam start/end submission until you hear a blip sound. Reload the autosave.
  • If done correctly, the game will have Burglary om0, otherwise it'll be om1. You don't get control over what you get, just get lucky loool
  • During this, the safehouse cutscene may play. That means you failed.
  • Return to Grove Street using the same route as the standard start of the run
  • Hold the phonecall, cancel Burglary and start Ryder
  • Let go of the phonecall when the fade to mission starts, skip cutscene get in vehicle ASAP to skip the phonecall
  • This is necessary because the next part at the barbers won't work if it's the first time CJ picked up a phonecall
  • Drive to the barbers, but get the grenades.
  • Phonecall will come in here, so press enter vehicle and cancel the path finding before getting the grenades
  • Hold the phonecall before entering barbers
  • If a drug dealer was not killed, buy Afro
  • If a drug dealer was killed, buy Jheri Curl (one input faster)
  • Let go of the phonecall when the fade out starts when CJ leaves the barber
  • The goal now is to start Vigilante during a specific time of the cutscene you're in. This interval is 1000ms after the camera changes when Ryder's line ends, but before a further 1000ms have elapsed to make Ryder talk again.
  • Pausing the game will restart Ryder's line, which can be used to extend the cutscene indefinitely
  • You have control of Carl, but you have no ability to enter vehicles or switch weapons. We need to regain these abilities.
  • First, reenter the barbers to regain camera control
  • Run to Ryder to restart it
  • Go to the garage. Destroy Ryder's car with the grenade.
  • On the bike, accelerate forward when the scene changes. On the minimap, when the player cursor does a 180º, start Vigilante
  • If done correctly and with the right value at the start of the run, EOTL3 will begin. You need CJ to fall off the bike to cancel Vigilante before 500ms have elapsed hence the setup with the bike in the garage
  • Finish the run by completing EOTL3!
I don't claim this is the optimal way to do it and I expect improvements to be made at some point.

I've been searching for this kind of glitch for over 3 years on and off now. This particular version of the warp was found months ago, but I was stumped on regaining the ability to get in vehicles. Once I figured out I could regain it by restarting the mission, it was smooth sailing, though I'm not sure why it took me so long to think of it.

As for what this glitch is, this is the code it uses:

{2974507} 008B: [email protected] = $CURRENT_TIME_IN_MS2

The code will begin running at offset 2974510 (5775 local offset in the COPCAR script), skipping the first 3 bytes of code (the opcode and the parameter type).

Thus, it uses [email protected] as an opcode, which is the 0050 opcode (gosub). Then it uses the value of $CURRENT_TIME_IN_MS2 as a jump destination. I'm not sure what this is called, so for now I'm calling it arbitrary gosub (or more generally, arbitrary jump)

Now let's see how many years it takes for someone to do this.
 
OP
OP
Birdseye

Birdseye

Avenger
Oct 27, 2017
12,625
For everyone who does not watch many speedruns, glitches like this usually means a new category will be created that will specifically ban the use of this glitch. So there will still be a category for everyone who wants to run the full game and not use a glitch to skip nearly all of the content.
He's the king of any% by far, though!
 

Derachi

Member
Oct 27, 2017
1,140
I was gonna say this seems super boring.

But you know something? I take it back.
 

JaseC64

Banned
Oct 25, 2017
2,412
Strong Island NY
For everyone who does not watch many speedruns, glitches like this usually means a new category will be created that will specifically ban the use of this glitch. So there will still be a category for everyone who wants to run the full game and not use a glitch to skip nearly all of the content.
That's good? I mean a legit speedrun vs some glitch that let's you best the game in 30 minutes is not the same to me. They should def keep the glitches runs on there for fun but people should compare it to a full run.

I think the glitch runs are just fun to see the crazy steps needed to perform to get that done.
 

Garrod_Ran

Member
Mar 23, 2018
1,130
That's good? I mean a legit speedrun vs some glitch that let's you best the game in 30 minutes is not the same to me. They should def keep the glitches runs on there for fun but people should compare it to a full run.

I think the glitch runs are just fun to see the crazy steps needed to perform to get that done.
chances are it'd be divided into Any% and All Story Missions or however the run used to go
 

DrKelpo

Member
Oct 25, 2017
1,819
Germany
Am I reading this correctly? Not only are there a lot of very specific steps, you also need to cancel a mission within a timeframe of 23ms... Jesus lol
 

chrominance

Member
Oct 25, 2017
2,998
There seem to be at least three separate parts where precision timing is required; the biggest window seems to be 500ms at the final part before the timeskip, and there's another reference to "frame perfect" when trying to get a specific variant of the Burglary mission to proc. That's all in addition to the 23ms window for activating vigilante seven minutes into the run.

Honestly, though I get why people don't like watching or hearing about glitched speedruns because it's not as pure/in the spirit of the game or whatever, the amount of skill and luck involved in pulling something like this off is a wonder to behold. The speedrunner is practically playing a different game trying to make the arbitrary code execution happen.
 

Birdseeding

Member
Mar 13, 2018
229
That's good? I mean a legit speedrun vs some glitch that let's you best the game in 30 minutes is not the same to me. They should def keep the glitches runs on there for fun but people should compare it to a full run.
For me it's the opposite. Watching people play a game well is reasonably enjoyable, I suppose, but I get true exhilirating glee from seeing someone completely break a game in unexpected and novel ways.
 

thediamondage

Member
Oct 25, 2017
4,495
Stealing a cops bike at the start definitely seems like a way to skip ahead to the end

but yeah that was pretty awesome to watch, really makes me wanna replay GTA SA and Vice City. Those were simpler times