saints row iv · game states
Saints Row IV Game States
The 10 'screens/modes' the game can be in (menu, loading, in game, pause...).
Game States10 rows
States stack on top of each other (e.g. PAUSE sits on IN_GAME). Requests to push/pop are queued and applied once per frame by gamestate_process_requests (008661c0).
| ID | State | What it is | Enter function |
|---|---|---|---|
| 1 | BOOT | Start-up: memory, packfiles, data tables, loading screen. | 00724d70 |
| 2 | MAIN_MENU | Title/main menu, save selection, menu video and music. | 008ca950 |
| 3 | COOP_JOIN | Finding and joining a co-op game. | 009c9170 |
| 4 | CITY_LOAD | Loading the city (on its own thread) behind a loading screen. | 008c8d20 |
| 5 | IN_GAME | Playing: the world simulates every frame. | 00861f70 |
| 6 | PAUSE | Pause menu. | 00905640 |
| 7 | BINK_MOVIE | Playing a pre-rendered video. | 00dd32a0 |
| 8 | TELEPORT_LOAD | Loading while teleporting across the map. | 008c3610 |
| 9 | MP_WAITING | Waiting for the co-op session to start. | 008cc6c0 |
| 10 | QUIT | Shutting down; the main loop ends when this is on top. | - |
Built from SR4_Game_Explained.xlsx (650 KB), if you'd rather filter it in Excel. SaintsRowIV.exe v1.0.6.1 (Steam). Names are ours unless they're Volition's own Lua or C++ class names.

