SuperUI for SRIV v1.2 (No exit prompt in menus, Enhanced Gateway menu & more!)

SuperUI for other games: SR2 | SRTT Classic | SRIV | SRGOOH

SuperUI for SRIV v1.2
Created by nclok1405 ◆VScYHamhfU
Download: sriv_superui_v1.2.7z

=== Description ===
This mod enhances user interface of Saints Row IV in many ways. It also adds bonus features to some of the missions.

NOTICE: This mod is only tested by myself for the Steam version. However @Admixon confirmed that v0.8 works fine for GOG version.

=== Screenshots ===
sriv_superui_gateway.png

Access Clothing Store, Tattoo Parlor, Plastic Surgeon, and Weapon Store from Gateway menu.

sriv_superui_powersmenu.png

The still-locked upgrades are now marked with parenthesis with requirements. If you don't have enough money/clusters the price will be colored red.

sriv_superui_skip.png

You can now skip the first 4 prologue missions. To make this skip prompt appear, cancel the mission when the mission begins and restart it.

sriv_superui_dragons_and_tears.png

Collect all 8 Zinyak's Text Adventures and you'll unlock the legendary "Dragons and Tears" game.

=== Features ===

==== UI ====
* Cancel prompt removed from most menus except Image as Designed.
* In store menus, price will be displayed in red if you don't have enough cash to buy the item.
* In Upgrade menu and Powers menu, the upgrades that are not yet available for purchase will show its unlock level in parentheses.
* Gateway Menu enhanced; it now allows access to Clothing Store, Tattoo Parlor, Plastic Surgeon, and Weapon Store.
* You can customize and delete any vehicle. (original codes by IdolNinja)
* You can change your clothes color in wardrobe. (original codes by IdolNinja)
* You can override menu theme by editing vint_lib.lua.
* Added an option to auto-load the latest save when launching the game. This feature is not enabled by default. To enable it, open "vint_lib.lua" and change "SUI_AUTO_CONTINUE = false" to "SUI_AUTO_CONTINUE = true".
* Replaced the Main Menu tickers that mention the community features.
* New Game and Load Game buttons moved to Main Menu. DLC button is moved to inside of Extras.
* Moved Camera in HUB to Music submenu. Replaced Camera and Extras in the HUB main menu with Cheats and Stats, respectively.
* A variant of Erza Scarlet's Mission Replay mod included with the following changes:
** Quests are now categorized to Main Missions, Loyalty Missions, and each character's Side Quests.
** Challenge progress is shown on each challenge's label.
** Added a mission named "Toolbox", where you can access Gateway Menu, Ship Computer, Vendor Menu (allow you to access Loa Dust which lets you walkthrough walls), Toggle Sprint Tornado upgrade, Reset all Hotspots, or replay prologue missions and endgame missions.
* Added a "Buff Meter". When you use Buff power the power meter will display the remaining buff energy.
* Added an ability to select weapons by cursor keys in Friendly Fire/Weapons Cache menus. Up and Left keys will select the previous slot (counter-clockwise) and Down and Right keys will select the next slot (clockwise).
* Disabled the ability to buy ammo for weapons with infinite ammo.
* You can now use cursor keys in Plastic Surgeon's body triangle screen to finetune your build.
* You can now exit to Main Menu by pushing Escape key during initial character lineup screen.
* Added "SuperUI" settings to the options menu where you can toggle SuperUI-related settings during the game. Changes you make here will not persist between reboots, so please edit vint_lib.lua if you want to make permanent changes.
* Health of homies are now displayed in HUD, shown in percentage. (Can be toggled by "SUI_SHOW_HOMIE_HP" in vint_lib.lua)
* You can now disable HUD autohide (not enabled by default; "SUI_HUD_AUTOHIDE" in vint_lib.lua)
* Added "Classic" HUD option which moves Health Bars to Top-right like in Saints Row 1 and 2. (not enabled by default; edit vint_lib.lua and change "SUI_HUD_CLASSIC" to enable it)
* Added an option to disable tutorial popups (not enabled by default; "SUI_TUTORIAL" in vint_lib.lua)
* Added "Dragons and Tears" text adventure game (unlocks when you collect all 8 Zinyak text adventure games)
* Zin logo is no longer displayed when you fail m00.lua "Zero Saints Thirty" (because you're not fighting against the aliens yet)
* Removed "Vehicle Radio" option. As far as I know, it is unused.
* Added save file count in the Save Game screen.
* Added a flag to disable the newsticker in the main menu ("SUI_NEWSTICKER" in vint_lib.lua)
* Added "Quit to Desktop" to pause menu.
* Added special warning messages if you try to save during "Welcome Back" Part 2 or "All Hands on Deck", because the progress cannot really be saved there.
* Mission Complete screen's XP award sequence is skipped if the player's level is already at 50.
* Added "Bonus Time" HUD (shows duration of time freeze after hitting a checkpoint) during Brazin activity.
* Removed fade-in/fade-out effect in the main menu. The game now boots slightly faster if "SUI_AUTO_CONTINUE" flag is used.
* In Vehicle Mechanic, the cursor position no longer resets to Nitrous when buying a performance upgrade.
* Added HUD display toggle in SuperUI options menu. Note weapons cannot be switched while HUD is disabled.
* You can override Subtitle font size in vint_lib.lua. (SUI_SUBTITLE_SIZE)
* You can change thousands separator (default ',') to a whitespace (' ') by changing "SUI_USE_SPACE_SEPARATOR" to true in vint_lib.lua. This option will also change decimal separator (default '.') to a comma (',') in Stats menu.
* Added "SUI_GOG" flag to vint_lib.lua. Menus unusable for GOG version such as community features are disabled if this flag is true. (This is not the official GOG support, but would still be useful for GOG users)
* Added "SUI_GLITCH" flag to vint_lib.lua. Most UI visual glitch is disabled if this flag is false.
* Pause/Resume animation is slightly faster.
* Added "Help" menu which lets you view most of the tutorial messages. The items in the old Extras menu have been moved to the last page of Help menu.
* Added remaining time display for freeroam Mech Suit.
* HUB enter/leave animation is slightly faster.
* You can now disable HUB screen music by changing "SUI_HUB_MUSIC" flag in vint_lib.lua to false.

==== Missions ====
* You can now skip the first 4 prologue missions. To skip a prologue mission, pause the game, cancel the mission, choose "RETRY FROM MISSION START" in the Mission Failed screen, and then select "YES" in the skip dialog.
* Your weapons, super powers, and clothes are correctly reverted after replaying and exiting prologue missions.
* m00.lua "Zero Saints Thirty": You can now bring Special Force Pierce and Shaundi into freeroam by starting the replay of this mission and exiting it.
* mm_1_1.lua "The Fundamentals": The weapon upgrade tutorial is skipped on replay.
* m03.lua "The Real World": If the player dies at the final door-closing scene, the door close is delayed on retry, and if the player dies again, the doors are completely removed.
* m15_1.lua "Welcome Back" (Saints of Rage):
** Intro is skipped if you cancel the mission and restart during intro.
** Added bonus points for remaining health and extra lives. Your score is added to your cash at the end of the mission.
** Added "Saints of Rage: Challenge Mode" which can be accessed from Toolbox. In this mode Gat is not there and you go through the entire mission alone.
* m16.lua "When A Plan Comes Together": If you die during the Genki car escape, the car will become tougher and notoriety is lowered on retry. Repeated death further lowers the difficulty.
* m22_2.lua "Grand Finale Part Two" and m22_3.lua "Grand Finale Part Three": You can now select any of three teams on replay.
* m23.lua "Grand Finale Part Four":
** Added much bigger health bar of Zinyak to top-left corner of the screen, in addition to the existing red circle one.
** Added green circle health bar to the player(s) that shows up when they are damaged. It is easier to see it during the action than the one in bottom-right of the screen.
** Added "Grand Finale Part Four: Time Attack" which can be accessed from Toolbox. The goal of this minigame is to destroy Zinyak in shortest time possible. This minigame can only be played in HARDCORE difficulty, and checkpoints and most cutscenes are disabled.
* mol_jg_01.lua "Gat Time, Fun Time":
** Minimap is now visible like in SRTT.
** Cash is awarded when an arena is completed, like in SRTT.
** Added "Gat Time, Fun Time: Challenge Mode" to Toolbox. In this mode you play the mission without Gat.
* "Gold Medal" sound effect plays when you unlock a DLC achievement.
* dlc1_m01.lua "Save the Planet": Added 5 minutes achievement timer during Zinyak fight.
* dlc1_m03.lua "At the Races": Added "rival ponycarts killed" HUD.
* dlc1_m04.lua "Pop his Top": Added "green polyps destroyed" HUD.
* dlc2_m03.lua "The Santa Clawz": Added a checkpoint after Kinzie's cutscene.
* Added "SUI_OUTFIT" flag to game_lib.lua. If SUI_OUTFIT is set to false, mission won't forcefully change your clothes.
* Added "SUI_EASY_GENERATOR" flag to game_lib.lua. If SUI_EASY_GENERATOR is set to true, all shield generators will go down quickly.
* Added "SUI_SKIP_M15_1" flag to game_lib.lua. If it is true, m15_1.lua "Welcome Back" (Saints of Rage section) is skipped and the mission starts from m15_3.lua (Mech Suit section).
* Added "SUI_SKIP_M16" flag to game_lib.lua. If it is true, m16.lua "When A Plan Comes Together" will be skipped and the mission starts from m17.lua "All Hands on Deck".
* Added an experimental flag "SUI_OVERRIDE_MM_2_1" in game_lib.lua that allows modders to override mm_2_1 "Hack the Planet"'s script (will be used for my future mods)

=== Installation ===
Copy all *.lua, *.str2_pc, *.asm_pc, and *.le_strings files in the "mod" folder to SRIV's directory. (e.g. C:\Program Files (x86)\Steam\steamapps\common\Saints Row IV)

Then, copy and overwrite patch_compressed.vpp_pc to SRIV's cache directory. (e.g. C:\Program Files (x86)\Steam\steamapps\common\Saints Row IV\packfiles\pc\cache)

This mod modifies the following asm_pc files which makes it incompatible by default with most mods.
* patch_vint_doc_containers.asm_pc
* vint_doc_containers.asm_pc
To make this mod usable with other mods, you need to update the asm_pc files after installing this mod.

Download "Minimaul's Saints Row 2, Saints Row: The Third, Saints Row IV and Gat Out Of Hell tools", launch "ThomasJepp.SaintsRow.Stream2Update.exe", and follow the onscreen instructions.

Please note, this mod does NOT modify "stream_grid.asm_pc". All modified mission scripts are loaded from "patch_compressed.vpp_pc".

=== Credits ===
nclok1405 - Main Mods

IdolNinja - Original creator of the following mods (ported from SRTT):
* Delete Reward Vehicles
* Lowered Cruise Control HUD
* Wardrobe Color Change Mod

Erza Scarlet - Original creator of the Mission Replay mod and Hotspot reset commands

=== Changelog ===
v1.2 (February 3, 2021)
* Disabled the ability to buy ammo for weapons with infinite ammo.
* You can now use cursor keys in Plastic Surgeon's body triangle screen to finetune your build.
* You can now exit to Main Menu by pushing Escape key during initial character lineup screen.
* The Download Character option in initial character lineup screen is no longer displayed if SUI_GOG flag is used.
* Updated Help menu (Activity help text has icons now)

v1.1 (November 25, 2020)
* Added "Gat Time, Fun Time: Challenge Mode" to Toolbox. In this mode you play the mission without Gat.
* Added remaining time display for freeroam Mech Suit.
* HUB enter/leave animation is slightly faster.
* You can now disable HUB screen music by changing "SUI_HUB_MUSIC" flag in vint_lib.lua to false.

v1.0 (November 24, 2020)
* [I forgot this on readme] m09.lua "The Saints Flow": SUI_OUTFIT flag is now ignored because the Joe outfit is absolutely required for the final battle to work.
* [I forgot this on readme too] You can now access the full Quests screen during a mission, allowing you to view Challenges progress. Obviously you cannot start another quest during a mission, so other quests are marked with a padlock icon.
* Added "Saints of Rage: Challenge Mode" which can be accessed from Toolbox. In this mode Gat is not there and you go through the entire mission alone (or only with your Co-op partner).
* mol_jg_01.lua "Gat Time, Fun Time":
** Minimap is now visible like in SRTT.
** Cash is awarded when an arena is completed, like in SRTT.
* Pause/Resume animation is slightly faster.
* Added "Help" menu which lets you view most of the tutorial messages. The items in the old Extras menu have been moved to the last page of Help menu.

Old Changelogs (v0.9 and earlier):
v0.9 (November 18, 2020)
* Removed fade-in/fade-out effect in the main menu. The game now boots slightly faster if "SUI_AUTO_CONTINUE" flag is used.
* In Vehicle Mechanic, the cursor position no longer resets to Nitrous when buying a performance upgrade.
* Added HUD display toggle in SuperUI options menu. Note weapons cannot be switched while HUD is disabled.
* You can override Subtitle font size in vint_lib.lua. (SUI_SUBTITLE_SIZE)
* You can change thousands separator (default ',') to a whitespace (' ') by changing "SUI_USE_SPACE_SEPARATOR" to true in vint_lib.lua. This option will also change decimal separator (default '.') to a comma (',') in Stats menu.
* Added "SUI_GOG" flag to vint_lib.lua. Menus unusable for GOG version such as community features are disabled if this flag is true. (This is not the official GOG support, but would still be useful for GOG users)
* Added "SUI_GLITCH" flag to vint_lib.lua. Most UI visual glitch is disabled if this flag is false.
* mm_1_1.lua "The Fundamentals": The weapon upgrade tutorial is skipped on replay.
* Removed bunch of menu codes used only by Xbox and PlayStation versions of the game.
* Added Lua error handler (shows a message if something in Lua goes wrong)

v0.8 (December 14, 2019)
* Mission Complete screen's XP award sequence is skipped if the player's level is already at 50.
* Added "Bonus Time" HUD (shows duration of time freeze after hitting a checkpoint) during Brazin activity.
* "Gold Medal" sound effect plays when you unlock a DLC achievement.
* m00.lua "Zero Saints Thirty": You can now bring Special Force Pierce and Shaundi into freeroam by starting the replay of this mission and exiting it.
* dlc1_m01.lua "Save the Planet": Added 5 minutes achievement timer during Zinyak fight.
* dlc1_m03.lua "At the Races": Added "rival ponycarts killed" HUD.
* dlc1_m04.lua "Pop his Top": Added "green polyps destroyed" HUD.
* dlc2_m03.lua "The Santa Clawz": Added a checkpoint after Kinzie's cutscene.

v0.7 (December 6, 2019)
* Added Vendor Menu to Toolbox (allow you to access Loa Dust which lets you walkthrough walls)
* Added special warning messages if you try to save during "Welcome Back" Part 2 or "All Hands on Deck", because the progress cannot really be saved there.
* m22_2.lua "Grand Finale Part Two" and m22_3.lua "Grand Finale Part Three": You can now select any of three teams on replay.
* m23.lua "Grand Finale Part Four":
** Added much bigger health bar of Zinyak to top-left corner of the screen, in addition to the existing red circle one.
** Added green circle health bar to the player(s) that shows up when they are damaged. It is easier to see it during the action than the one in bottom-right of the screen.
** Added "Grand Finale Part Four: Time Attack" which can be accessed from Toolbox. The goal of this minigame is to destroy Zinyak in shortest time possible. This minigame can only be played in HARDCORE difficulty, and checkpoints and most cutscenes are disabled.

v0.6 (December 4, 2019)
* Renamed "Gateway" mission to "Toolbox" because it has more functions than bringing up the Gateway menu.
* You can now directly replay the Mech Suit section of "Welcome Back" from the Toolbox.
* Added a flag to disable the newsticker in the main menu ("SUI_NEWSTICKER" in vint_lib.lua)
* Moved the Side Quests that involve the open world gameplay into the Completed Quests menu. You can still start the replay and listen to phonecalls from there.
* Added "Quit to Desktop" to pause menu.

v0.5 (November 27, 2019)
* mm_fb.lua "Power Element Training": Exiting the mission no longer make you lose the Fire Blast on replay.
* Zin logo is no longer displayed when you fail m00.lua "Zero Saints Thirty" (because you're not fighting against the aliens yet)
* Removed "Vehicle Radio" option. As far as I know, it is unused.
* Added save file count in the Save Game screen.
* You can now override Gateway Menu Theme by editing vint_lib.lua.
* Added an experimental flag "SUI_OVERRIDE_MM_2_1" in game_lib.lua that allows modders to override mm_2_1 "Hack the Planet" (will be used for my future mods)

v0.4 (November 16, 2019)
* Added "SuperUI" settings to the options menu where you can toggle SuperUI-related settings during the game. Changes you make here will not persist between reboots, so please edit vint_lib.lua if you want to make permanent changes.
* Health of homies are now displayed in HUD, shown in percentage. (Can be toggled by "SUI_SHOW_HOMIE_HP" in vint_lib.lua)
* You can now disable HUD autohide (not enabled by default; "SUI_HUD_AUTOHIDE" in vint_lib.lua)
* Added "Classic" HUD option which moves Health Bars to Top-right like in Saints Row 1 and 2. (not enabled by default; edit vint_lib.lua and change "SUI_HUD_CLASSIC" to enable it)
* Added an option to disable tutorial popups (not enabled by default; "SUI_TUTORIAL" in vint_lib.lua)
* Added "Dragons and Tears" text adventure game (unlocks when you collect all 8 Zinyak text adventure games)

v0.3 ALPHA (November 13, 2019)
* Third ALPHA Release
* Added "SUI_OUTFIT" flag to game_lib.lua. If SUI_OUTFIT is set to false, mission won't forcefully change your clothes.
* Added "SUI_EASY_GENERATOR" flag to game_lib.lua. If SUI_EASY_GENERATOR is set to true, all shield generators will go down quickly.
* Added "SUI_SKIP_M15_1" flag to game_lib.lua. If it is true, m15_1.lua "Welcome Back" (Saints of Rage section) is skipped and the mission starts from m15_3.lua (Mech Suit section).
* Added "SUI_SKIP_M16" flag to game_lib.lua. If it is true, m16.lua "When A Plan Comes Together" will be skipped and the mission starts from m17.lua "All Hands on Deck".

v0.2 ALPHA (November 13, 2019)
* Second ALPHA Release
* Added a "Buff Meter". When you use Buff power the power meter will display the remaining buff energy.
* m15_1.lua "Welcome Back" (Saints of Rage):
** Intro is skipped if you cancel the mission and restart during intro.
** Added bonus points for remaining health and extra lives. Your score is added to your cash at the end of the mission.
* m16.lua "When A Plan Comes Together": If you die during the final escape, the car will become tougher and notoriety is lowered on retry.

v0.1 ALPHA (November 11, 2019)
* Initial ALPHA Release
 

Attachments

  • sriv_superui_v0.8.zip
    5.4 MB · Views: 1,318
  • sriv_superui_v0.9.7z
    4 MB · Views: 418
  • sriv_superui_v1.0.7z
    4 MB · Views: 478
  • sriv_superui_v1.1.7z
    4 MB · Views: 461
  • sriv_superui_v1.2.7z
    4 MB · Views: 1,987
Last edited:
That's cool thank you.:)

The vint_lib.lua is really cool stuff.Tanks for this amazing work. :)
 
Last edited:
I've encountered a rather unfortunate limitation: the HUD script (hud.lua in hud.str2_pc) has some sort of file size limitation, and if this limit is exceeded the game fails to load the HUD.
Everything, even comments, counts toward this limit. I will try to workaround this by stripping comments, but I might soon hit the ceiling...

EDIT: The absolute limit of hud.lua is 139,012 bytes. Vanilla's hud.lua is 133,282 bytes, 95.88% of the budget is already used and 5,730 bytes are remaining for additional usage. SuperUI for SRIV v0.1 ALPHA's current hud.lua has 138,019 bytes, 99.29% is already used and only 993 bytes are remaining for any usage.
hud.lua has large amount of commented-out codes and developer's comments so I can remove them to free up some space.
 
Last edited:
Good Luck!
 
SuperUI for SRIV v0.2 ALPHA released. You can now see the remaining energy of active Buff power.
sriv_superui_buffmeter.png


EDIT:
SuperUI for SRIV v0.3 ALPHA released. You can now disable forced mission outfits by editing game_lib.lua and setting "SUI_OUTFIT" to false.
sriv_superui_no_forced_outfit.png


I've also added "SUI_EASY_GENERATOR" flag which will make all shield generators in missions go down quickly. (It doesn't affect freeroam generators though)
 
Last edited:
SuperUI for SRIV v0.4 released. Classic HUD Layout now available.
sriv_superui_classic.png
 
Last edited:
SuperUI for SRIV v0.5 released. I removed Vehicle Radio option because, as far as I know, it is unused.
sriv_radiogone.png
 
SuperUI for SRIV v0.6 released. The "Gateway" mission is renamed to more appropriate "Toolbox".
Open World Side Quests are moved to Completed Quests screen. Don't worry, you can still start the "replay" of them so you can still listen to phonecalls.
sriv_superui_toolbox.png
 
Back
Top