Discovered by HotShotWire
Table of Contents:
The Routine is an amalgamation of menu glitches that has some complex, but very useful effects. It allows us to Quick Save while in the main menu, which effectively deletes nearly all of our save data.
While the Routine is meant to delete our save data, we need to delete it in such a way that we retain the important parts of our save file. After a Routine is successfully completed, all data from your save is deleted with the exception of:
The module is the key aspect here; every other module is deleted. Thus when you reenter a module after the Routine, it acts as if you have never visited that module before. Effectively, this “resets” the module to its default state.
Thus, there are two key decisions to make before a Routine:
Once you’ve made these choices, make sure you have the proper in-game setup. You need:
Once you are in the correct module and have the correct party members in your party, use the following steps to perform the Routine:
Additional Notes:
We have to load an Auto Save because our save data is emptied when the Main Menu is opened. Other saves need data that has been deleted to successfully load. Auto Saves, on the other hand, load by instructing the game to generate the module from scratch at a waypoint near an entrance. Thus the only save that can be successfully loaded at this point in the Routine is an Auto Save. Once the Auto Save loads, we can then Quick Load, because the data the Quick Save needs to load successfully has been reinitialized.
The step where you Quick Load can technically be skipped. This will perform the Routine on the Auto Save instead of your Quick Save, so any game progress between those two saves will be lost. However, if the Auto Save has a cutscene occur immediately after loading, this will cause the Routine to fail. Generally speaking, this is too restrictive to be useful.
The reason pressing Options once sometimes fails is the game seems to remember the last menu you were in. So if you were in a different menu (such as the Map), pressing Options the first time will switch to the options menu, and a second Options press will close that menu. Pressing Escape to exit the menu does not work in this position.
For convenience, here is an abridged set of instructions:
QS/AMG, Options, Exit Game Pop-up, Load Game+OK/Enter, Down, Load Game/Enter, OK, QL, Escape x2, Close Menu, QS, Options, Up, Options + Enter, Escape, OK, Load QS
Currently the main use of the Routine in speedruns is to “duplicate” Star Maps. In reality this is a bit of a misnomer, as rather than duplicating the Star Map item, the Routine lets us increment the Star Map variable that tracks our game progress multiple times with a single Star Map object.
The general steps to re-obtain a Star Map are:
The Dantooine Star Map can be obtained multiple times, but because it is the first Star Map it actually sets the Star Map variable to its initial value instead of incrementing it. Thus, no Star Maps can be skipped in this way.
The Routine is not used in All Quests, since there are quests attached to every Star Map that must be completed anyway. All Star Maps is required to get each individual Star Map by the category rules, and thus also does not use the Routine.
The Any% speedrun uses the Routine three times to obtain the Kashyyyk Star Map four times. The Kashyyyk Map is chosen because there is a convenient Coordinate Warp from the Czerka Landing Pad that gets us very close to the Star Map in the Lower Shadowlands. Recruiting Jolee on Kashyyyk also allows us to skip Juhani on Dantooine, saving time there.
The general steps for the Kashyyyk Star Map duplication:
This is all done with Bastila and Jolee in our party, so that we can finish the game successfully. Carth and Canderous are deleted, while all other party members are completely skipped.
Aside from duplicating Star Maps, the other main use of the Routine in speedruns is performing a Default Spawn Warp in Upper City South. This saves a few seconds over running to Zelka’s shop normally.
There are not currently any other uses for the Routine, but the full implications of this glitch have not been fully explored.