Page 1 of 2

Serious Sam 4 [Engine:Serious]

Posted: Sat Sep 26, 2020 12:00 am
by SunBeam
[ 26 Sep 20 - Hit #1 ]

Kindly DO NOT POST the information in this topic on other forums/communities (e.g.: Nexus) -OR- rephrase/paraphrase it in your YouTube videos/social media. Just as you prefer those places or making followers/an audience, so do I prefer FRF and wrote this specifically for this community! If you want to share the news, do send or link those users to FRF instead. Thank you for respecting my choice!

Game Name: Serious Sam 4
Game Vendor: Steam
Game Version: 555100;557352 [ check main menu, top-right ]
Game Process: Sam4.exe
Game File Version: 3.0.3.0



Hello folks.

Started working on this 1-2 days ago and haven't finished the analysis. Meanwhile, the game has updated on Steam, but the table is working fine with both 555100 and 557352 versions. Whoever needs the executables for the first release, let me know and I'll upload them. Note that table should work fine with either Steam or GOG releases. Those with GOG, please confirm so I can update the "Game Vendor" in the top header.

Table content:

Image

Note that I've revamped the version message a bit. It will tell you if the table is not compatible with your game version, though will enable the main script. With a warning you can read yourselves :)

Ignore Damage (Perfect God Mode)
This acts <like> the cht_bGod=1 + cht_bIgnoreDamageInGodMode=1 combined. At least that's the effect. Note the "like" - it doesn't turn cheating on, so you're safe from not getting achievements. In terms of how it's done, I simply flip a bool flag in the CPlayerEntity structure so the Entity becomes non-damageable (similar to Unreal Engine 4's bCanBeDamaged BoolProperty in Character UObject).

Infinite Clip + Fast Fire
The script hooks a spot where the CFireableWeaponMode is read from the current CWeaponEntity. The script checks if the obtained pointer is valid, then if [CFireableWeaponMode+8] == CWeaponEntity (just in case AI would execute this, so they don't benefit from it). Lastly, I get the CFireableWeaponModeParams and adjust various values to meet my goal :) If you want to tweak it, I've left comments:

Image

See it in action here:



More, if I feel like, soon :)

BR,
Sun

Re: Serious Sam 4 [Engine:Serious]

Posted: Sat Sep 26, 2020 12:11 am
by sebastianyyz
Nice! Thank you so much SunBeam

Re: Serious Sam 4 [Engine:Serious]

Posted: Sat Sep 26, 2020 7:58 pm
by TG1K986
Thanks kindly!

Re: Serious Sam 4 [Engine:Serious]

Posted: Sun Sep 27, 2020 6:04 pm
by Carriva
Thanks you

Re: Serious Sam 4 [Engine:Serious]

Posted: Sun Sep 27, 2020 10:46 pm
by TonyGil
Thanks! Do you have idea what would be the default rate of fire speed?

Re: Serious Sam 4 [Engine:Serious]

Posted: Mon Sep 28, 2020 10:10 pm
by poisonwiifrog
Can we get normal fire rate speed?

Re: Serious Sam 4 [Engine:Serious]

Posted: Tue Sep 29, 2020 6:00 pm
by Deathwing Zero
If you want infinite ammo with normal fire rate it's very simple. Take a look at the second image in SunBeam's post. It's a bunch of assembly code that makes up part of the Infinite Ammo + Rapid Fire script. Have a look at line 18. That's the code representing the fire rate. Change it from saying "mov [rax+AC],(float)0.005" to "//mov [rax+AC],(float)0.005"

In other words add // to the start of that line and it gets ignored by cheat engine, so your fire rate will not be changed. You'll have to do this before you first turn the code on though, it won't return the values to normal.

Re: Serious Sam 4 [Engine:Serious]

Posted: Tue Sep 29, 2020 6:27 pm
by Csimbi
Is it just me or this game sucks?
For the record, Sun's script works on 557352 from GOG.com
I did not check the debug stuff, though.
Thanks, Sun!

Re: Serious Sam 4 [Engine:Serious]

Posted: Tue Sep 29, 2020 6:45 pm
by SunBeam
^ Yup. It always sucked :D

Re: Serious Sam 4 [Engine:Serious]

Posted: Wed Sep 30, 2020 3:26 am
by poisonwiifrog
Deathwing Zero wrote:
Tue Sep 29, 2020 6:00 pm
If you want infinite ammo with normal fire rate it's very simple. Take a look at the second image in SunBeam's post. It's a bunch of assembly code that makes up part of the Infinite Ammo + Rapid Fire script. Have a look at line 18. That's the code representing the fire rate. Change it from saying "mov [rax+AC],(float)0.005" to "//mov [rax+AC],(float)0.005"

In other words add // to the start of that line and it gets ignored by cheat engine, so your fire rate will not be changed. You'll have to do this before you first turn the code on though, it won't return the values to normal.
Thanks, that was it.

Re: Serious Sam 4 [Engine:Serious]

Posted: Fri Apr 02, 2021 7:43 pm
by Humbathumba
Just tested it with the latest version of the game

Still works like a charm, thank you very much SunBeam

Re: Serious Sam 4 [Engine:Serious]

Posted: Thu Apr 29, 2021 7:36 am
by paxton676
Sunbeam, love the table but had to edit script target sam4.exe to Sam4_Unrestricted.exe to get it working with mods.

I am just a gamer not a programmer.

I am looking for a Serious Sam Fusion 2017 Beta cheat table and hopefully one that targets the unrestricted exe.
Will you help with this? I can't find a table anywhere. I am willing to send you some money over paypal if that helps. I am not trying to put you to work for free. Please help.

Seriously(no pun), who is going to cheat but then not install any mods? I guess the people that want achievements to work. For me, I don't care about that, I just don't want the developer cheats enabled on my screen.

Re: Serious Sam 4 [Engine:Serious]

Posted: Thu Apr 29, 2021 9:07 am
by SunBeam
Sorry, would need to get the game, install it, play with it, figure shit out -- time I don't have. Cheers.

Re: Serious Sam 4 [Engine:Serious]

Posted: Thu Apr 29, 2021 9:34 am
by paxton676
Understandable. Thanks for the reply :)

Re: Serious Sam 4 [Engine:Serious]

Posted: Thu Apr 29, 2021 7:08 pm
by Csimbi
paxton676 wrote:
Thu Apr 29, 2021 7:36 am
I am looking for a Serious Sam Fusion 2017 Beta cheat table
That game is a bugfest.
It has not been updated since 2019 May.
What does that tell you?
Game is crashing, not even the devs bother fixing it.
Stay away and don't buy anything from Croteam anymore.
They used to be good, now it's just a plain crap studio.

And yes, I paid for this game, hoping.
Steam says I have 6.5 hours on record - lol.
Gave up after crashing, crashing, crashing, crashing...