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

Discussion in 'Mods in Progress' started by nclok1405, Nov 10, 2019.

Tags:
  1. SuperUI for SRIV v0.7
    Created by nclok1405 ◆VScYHamhfU
    Download: sriv_superui_v0.7.zip

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

    NOTICE: Only tested for the Steam 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.
    * You can now use cursor keys to select a weapon in weapon stores.
    * 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).
    * 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.

    ==== 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.
    * 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.
    * 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.
    * 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 and *.asm_pc 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.
    https://www.saintsrowmods.com/forum/threads/3188/

    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 (https://www.saintsrowmods.com/forum/threads/10018/) and Hotspot reset commands

    === Changelog ===
    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
     

    Attached Files:

    Last edited: Dec 6, 2019
  2. Admixon

    Admixon Administrator Staff Member

    That's amazing!
     
  3. Thank you for all of this
     
    Last edited: Nov 10, 2019
  4. That's cool thank you.:)

    The vint_lib.lua is really cool stuff.Tanks for this amazing work. :)
     
    Last edited: Nov 10, 2019
  5. 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: Nov 12, 2019
    daspex likes this.
  6. Good Luck!
     
  7. 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: Nov 13, 2019
  8. SuperUI for SRIV v0.4 released. Classic HUD Layout now available.
    sriv_superui_classic.png
     
    Last edited: Nov 27, 2019
  9. SuperUI for SRIV v0.5 released. I removed Vehicle Radio option because, as far as I know, it is unused.
    sriv_radiogone.png
     
    daspex, Vlad Viper and Fan of Saints like this.
  10. 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
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice