Page 1 of 2
Sniper Ghost Warrior Contracts 2
Posted: Sun Jun 06, 2021 2:15 pm
by aSwedishMagyar
Current Table:
Current Options:
- Pointers
- Cash
- Tokens
- Movement Speed
- Medkits
- Stamina
- Battery
- Parameters
- Battery Depletion Rate
- Battery Regen
- Stamina Regen Rate
- Health Lost While Drowning
- Scope Step Size
- Recoil Mult
- Red Dot Enabled?
- Drone Infinite Battery?
- Scripts
- Inf Health
- One Hit Kills
- Inf Stamina
- Inf Battery
- Inf Drone Battery
- Inf Ammo
- Inf Ammo Pouch
- Inf Items
- No Recoil
- No Sway
- Disable AI
- Inf Cash/Tokens
- Modify Jump Height
- Enable Console
Re: Sniper Ghost Warrior Contracts 2
Posted: Sun Jun 06, 2021 9:34 pm
by DaxxTrias
Thanks for the great work as always
Re: Sniper Ghost Warrior Contracts 2
Posted: Mon Jun 07, 2021 12:10 am
by acecel
Awesome, thanks.
If you are looking for cheats idea :
- Infinite drone ammo
- Infinite drone range (wireless)
- Infinite drone battery
And
- Infinite turret ammo
- Infinite turret range
Theses 5 values can be raised via the perks tree so it may be possible to find the location this way.
In any case thanks for the table

Re: Sniper Ghost Warrior Contracts 2
Posted: Mon Jun 07, 2021 4:14 am
by SunBeam
Interesting, the sequel is out. I barely played the first one. Should be nice to SDK-map out another CryEngine title.
Re: Sniper Ghost Warrior Contracts 2
Posted: Mon Jun 07, 2021 6:41 am
by aSwedishMagyar
SunBeam wrote: ↑Mon Jun 07, 2021 4:14 am
Interesting, the sequel is out. I barely played the first one. Should be nice to SDK-map out another CryEngine title.
All the same referenced strings are there like in the first game, I just got lost on how to follow them and get to the actual sys_DeactivateConsole and bUnrestrictCVars values. I'm sure you'll figure it out in no time.
Re: Sniper Ghost Warrior Contracts 2
Posted: Mon Jun 07, 2021 9:46 pm
by acecel
SunBeam wrote: ↑Mon Jun 07, 2021 4:14 am
Interesting, the sequel is out. I barely played the first one. Should be nice to SDK-map out another CryEngine title.
This game feel like a big improvement over the first one, and they are getting progressively closer to the hitman series which i think is a good idea and fit the game perfectly.
It's worth a try if you like sniping/stealthing/gadgets, and it doesn't look too bad while being okay regarding performance, but it's not a goty either

Re: Sniper Ghost Warrior Contracts 2
Posted: Tue Jun 08, 2021 4:31 pm
by SunBeam
aSwedishMagyar wrote: ↑Mon Jun 07, 2021 6:41 am
SunBeam wrote: ↑Mon Jun 07, 2021 4:14 am
Interesting, the sequel is out. I barely played the first one. Should be nice to SDK-map out another CryEngine title.
All the same referenced strings are there like in the first game, I just got lost on how to follow them and get to the actual sys_DeactivateConsole and bUnrestrictCVars values. I'm sure you'll figure it out in no time.
Worked out 1 here:
viewtopic.php?f=4&t=16347. Will tackle 2 once I'm done with it.
Re: Sniper Ghost Warrior Contracts 2
Posted: Wed Jun 09, 2021 3:00 am
by acecel
Wow thanks for the update, nice work !
Re: Sniper Ghost Warrior Contracts 2
Posted: Wed Jun 09, 2021 1:37 pm
by LeFiXER
Thanks for the table! Excellent work. I would just inform you that the infinite battery script causes some strange effect when entering thermal mode via the ctrl key; however, nopping the subss instruction produces the desired effect. Infinite battery without the bizarre effects.
Code: Select all
SGWContracts2.exe+16BCB43: 41 0F 28 C3 - movaps xmm0,xmm11
// ---------- INJECTING HERE ----------
SGWContracts2.exe+16BCB47: F3 0F 59 80 D0 06 00 00 - mulss xmm0,[rax+000006D0]
// ---------- DONE INJECTING ----------
SGWContracts2.exe+16BCB4F: F3 0F 5C C8 - subss xmm1,xmm0 <-- 4 byte nop
SGWContracts2.exe+16BCB53: 41 0F 2F CA - comiss xmm1,xmm10
SGWContracts2.exe+16BCB57: F3 0F 11 8F BC A8 00 00 - movss [rdi+0000A8BC],xmm1
Re: Sniper Ghost Warrior Contracts 2
Posted: Wed Jun 09, 2021 4:35 pm
by aSwedishMagyar
LeFiXER wrote: ↑Wed Jun 09, 2021 1:37 pm
...
Thanks for pointing that out, the reason it was acting up was I didn't match the instruction size with nops. I changed the script to patch a bit further up so I only need to patch 1 byte.
Re: Sniper Ghost Warrior Contracts 2
Posted: Wed Jun 09, 2021 8:27 pm
by acecel
Once again awesome update, thanks a lot.
If you are looking for ideas, i don't know if it's possible but allowing access to all "Special Ammo" bullet type would be awesome, same go for editing weapons stats like making all weapons silenced, turret/drone god mode (or being able to deploy it again if destroyed), faster rate of fire and stuff like that :p
Edit : "Inf Ammo Pouch" make my game crash when i reload
Re: Sniper Ghost Warrior Contracts 2
Posted: Thu Jun 10, 2021 3:21 pm
by aSwedishMagyar
acecel wrote: ↑Wed Jun 09, 2021 8:27 pm
Edit : "Inf Ammo Pouch" make my game crash when i reload
Not able to recreate this, could you post what your disassembly output looks like around infAmmoPouch?
Go to Memory View then hit Ctrl+G and input 'infAmmoPouch' to get to the correct location. Post what it looks like with and without the script enabled.
Re: Sniper Ghost Warrior Contracts 2
Posted: Thu Jun 10, 2021 9:33 pm
by acecel
aSwedishMagyar wrote: ↑Thu Jun 10, 2021 3:21 pm
acecel wrote: ↑Wed Jun 09, 2021 8:27 pm
Edit : "Inf Ammo Pouch" make my game crash when i reload
Not able to recreate this, could you post what your disassembly output looks like around infAmmoPouch?
Go to Memory View then hit Ctrl+G and input 'infAmmoPouch' to get to the correct location. Post what it looks like with and without the script enabled.
Here is the comparaison, click the image to see it in original size.
[Link]
It crash at the end of the reload animation, i was able to reproduce it a few times, with only this script (and 'enable' of course) activated.
All other scripts works well and my game's executable version is 1.0.0.34749
If you need anything else tell me.
But it's not vital either to spend too long on this if i am the only one having issue with it. I use a trainer to compensate the cheat i can't use in the table so no worries, but thanks for trying to help

Re: Sniper Ghost Warrior Contracts 2
Posted: Thu Jun 10, 2021 10:50 pm
by aSwedishMagyar
acecel wrote: ↑Thu Jun 10, 2021 9:33 pm
...
Based off of the two images it can't be that cheat. My patch only affects the jump in both images and works by simulating the same effect as enabling the CVar for infinite ammo. Try only enabling the console and using 'g_infiniteAmmo 1' with nothing else enabled and see what happens. My guess is you will still crash.
Re: Sniper Ghost Warrior Contracts 2
Posted: Fri Jun 11, 2021 12:18 am
by acecel
aSwedishMagyar wrote: ↑Thu Jun 10, 2021 10:50 pm
acecel wrote: ↑Thu Jun 10, 2021 9:33 pm
...
Based off of the two images it can't be that cheat. My patch only affects the jump in both images and works by simulating the same effect as enabling the CVar for infinite ammo. Try only enabling the console and using 'g_infiniteAmmo 1' with nothing else enabled and see what happens. My guess is you will still crash.
About the image i posted, i didn't tried to provoke the crash because i was in a middle of a contract and didn't really want to stop and lose my progression -45 min of gameplay- (because the save system is utter shit).
During my tests to provoke the crash, i think i tried 5 times and it crashed 4 times and there is one occasion where it worked.
So it's possible that the picture doesn't represent a crash scenario as i didn't tried to crash it and can't confirm the result, i just activated the script and sent you the picture.
I am sorry about that, i should have been more precise on my previous and first post, but in any case don't waste your time on this if i am the only one experimenting with that bug.
