Only for the legacy_stable version of Steam and GOG exes! RE-ELECTED/EPIC GAMES VERSION NOT SUPPORTED!!!
Also co-op unsupported (though in that case getting stomped + edit character_definition.xtbl works).
Now you can be 6'1 ft tall (or 600'1 ft for that matter) without accidentally imploding people when touching them!
Otherarguably less exciting benefits:
Unfortunately, the walking and jogging speed (aka not sprinting) will be out of sync (e.g. slower than it should be if you're bigger).
This is probably fixable, but for now I don't see it as a priority.
Also, if you are big enough, things that change the camera FOV also get affected - killing Command CIDs at very large sizes will cause FOV to turn into a negative value, which might cause dizziness (it's not pleasant).
Things still need to be done (unlikely)
0. If you don't already have it, Download Cheat Engine from cheatengine.org (I have no idea what the heck "Runtime Modifier" is.)
May contain adware, READ each step and make sure to press Decline the ones you don't want.
If you are scared of viruses/AV warnings, ensure the HTTPS is working properly by clicking the lock > more info.
I have used CE for years and still haven't gotten a Nigerian Prince email asking me to open a bank account, so I'm sure it's a fine program.
Also co-op unsupported (though in that case getting stomped + edit character_definition.xtbl works).
Now you can be 6'1 ft tall (or 600'1 ft for that matter) without accidentally imploding people when touching them!
Other
- landing no longer causes a 'thicc' stomp effect
- super sprint works (previously you would just have weird animations)
- you can play Insurance Fraud fine (not sure if this was a problem before, but I certainly had fun)
- allows you to define player height in character_definitions.xtbl (to my knowledge, 1.0 is 6ft)
- sprinting/jumping upgrades scale with your size (if you don't buy any upgrades nothing will happen)
In SR3/SR3R, to change anyone's height including the player (StyleTest_PC / _MP2), you'd just extract misc_tables.vpp_pc, edit character_definitions.xtbl in the <Height> tags and voila!
In this game, if you do that, you get an unceremonious gradual shrink to 1.0.
I have not found a way to fix this with .xtbl / .lua file editing, so I made this table.
In this game, if you do that, you get an unceremonious gradual shrink to 1.0.
I have not found a way to fix this with .xtbl / .lua file editing, so I made this table.
Unfortunately, the walking and jogging speed (aka not sprinting) will be out of sync (e.g. slower than it should be if you're bigger).
This is probably fixable, but for now I don't see it as a priority.
Also, if you are big enough, things that change the camera FOV also get affected - killing Command CIDs at very large sizes will cause FOV to turn into a negative value, which might cause dizziness (it's not pleasant).
Things still need to be done (unlikely)
- Re-enable jump and sprint when in "giant mode"
- Possibly serparate giant effects on gameplay
How To Use the Cheat Table?
0. If you don't already have it, Download Cheat Engine from cheatengine.org (I have no idea what the heck "Runtime Modifier" is.)
May contain adware, READ each step and make sure to press Decline the ones you don't want.
If you are scared of viruses/AV warnings, ensure the HTTPS is working properly by clicking the lock > more info.
I have used CE for years and still haven't gotten a Nigerian Prince email asking me to open a bank account, so I'm sure it's a fine program.
- Open Cheat Engine and the game (let it sit at main menu).
- Press the Magnifying glass icon on the top left (the one that glows) and pick the process
- Press the folder icon beside the magnifying glass and find where you extracted the folder (right-click > extract with 7-zip if you haven't already). Open the correct one for your game version (Steam (SaintsRowIV.CT) or GOG (Saints Row IV.ct)).
- Ensure the bottom window has stuff, and click on the box to activate the script (the contents may slightly differ - GOG version has more stuff than just height)
The box should now look like this: - Start/load the game file. If you have already set height in character_definitions.xtbl, it will appear properly like in SR3.
- If you wish to change the height, change the "actual height", not the shrink target (default size) as it sets giant/not giant stuff.
- Enjoy life being slightly taller than the game allows (or being shorter, if you so wish)
This issue is likely caused by the shrink gun implementation.
SRIV has two "height" values in the code; the "current" height and the "default" height (aka height target). The height target can be changed through LUA commands like
Maybe there is some combination of these that prevent the stomp/touch of death effect, but I am unaware of it.
These are the contents of the script change for the two exes in the table:
Steam version:
GOG version:
They are located by checking "what accesses" of "current" height value (which can be discovered by setting in character_definitions.xtbl a size like 10, search for Float Decreased Values multiple times (pause and unpause), when reach 1 do a search for 1.0000000 (have trailing zeroes so Cheat Engine atleast bothers to find that number).
Then do all the stuff to create a single pointer version of this (enable the VEH debugger in settings).
Find what accesses the "actual height". Check each's More Information and see which one looks like this:
Then scroll down a bit and find the jne and turn it into a je*. If the game doesn't crash, copy address + intruction, press Ctrl + A, press Ctrl + Alt + T to template, paste and format as above (add linebreak, a double dot : , "blah blah you get idea"- a certain Teriyaki)
finally file > add to cheat table and save the dang table if ya habent already.
*I have no idea what this function does.
These instructions kinda suck for a casual user, but I assume if you are interested in how find this you should have already completed Step 7 (seven) of the Cheat Engine tutorial anyway and can understand abstract things like how computer programs work. Who needs puzzle games when you have Cheat Engine? /sarcasm
As for the upgrade speeds (GOG version only because I like it more), according to upgrades.xtbl each ubgrade is 0.33, 0.67, 1.00 respectively. Float search for range of 0.000, buy upgrade, then 0.33, buy upgrade, then 0.67, buy upgrade, 1.00.
I'm sure you can figure out the settings stuff
SRIV has two "height" values in the code; the "current" height and the "default" height (aka height target). The height target can be changed through LUA commands like
player_change_default_size(LOCAL_PLAYER, 2.0, false) or character_set_giant(LOCAL_PLAYER, true) .Maybe there is some combination of these that prevent the stomp/touch of death effect, but I am unaware of it.
These are the contents of the script change for the two exes in the table:
Steam version:
XML:
<CheatEntry>
<ID>4</ID>
<Description>"stop height change (can enable in main menu)"</Description>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
SaintsRowIV.exe+2C4510:
je SaintsRowIV.exe+2C464F
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
SaintsRowIV.exe+2C4510:
jne SaintsRowIV.exe+2C464F
</AssemblerScript>
</CheatEntry>
GOG version:
XML:
<CheatEntry>
<ID>1</ID>
<Description>"script - stop height be gone (freeze before changing size to prevent giant effect)"</Description>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
Saints Row IV.exe+2C3CD0:
je "Saints Row IV.exe"+2C3E0F
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
Saints Row IV.exe+2C3CD0:
jne "Saints Row IV.exe"+2C3E0F
</AssemblerScript>
</CheatEntry>
They are located by checking "what accesses" of "current" height value (which can be discovered by setting in character_definitions.xtbl a size like 10, search for Float Decreased Values multiple times (pause and unpause), when reach 1 do a search for 1.0000000 (have trailing zeroes so Cheat Engine atleast bothers to find that number).
Then do all the stuff to create a single pointer version of this (enable the VEH debugger in settings).
Find what accesses the "actual height". Check each's More Information and see which one looks like this:
Then scroll down a bit and find the jne and turn it into a je*. If the game doesn't crash, copy address + intruction, press Ctrl + A, press Ctrl + Alt + T to template, paste and format as above (add linebreak, a double dot : , "blah blah you get idea"- a certain Teriyaki)
finally file > add to cheat table and save the dang table if ya habent already.
*I have no idea what this function does.
These instructions kinda suck for a casual user, but I assume if you are interested in how find this you should have already completed Step 7 (seven) of the Cheat Engine tutorial anyway and can understand abstract things like how computer programs work. Who needs puzzle games when you have Cheat Engine? /sarcasm
As for the upgrade speeds (GOG version only because I like it more), according to upgrades.xtbl each ubgrade is 0.33, 0.67, 1.00 respectively. Float search for range of 0.000, buy upgrade, then 0.33, buy upgrade, then 0.67, buy upgrade, 1.00.
I'm sure you can figure out the settings stuff
Attachments
Last edited:
I'll see about somehow exposing this to lua or something. In the mean time, you can prevent the processing by flagging the character as a giant, which can be done with the lua function character_set_giant.