Page 1 of 2

[REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 1:44 am
by topboy
Game Name: Warhammer 40,000: Space Marine 2
Game Engine: ???
Game Version: Release version
Options Required: Invincible , Infinite bullet , Damage Multiplier , OHK
Steam Website:

Re: [REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 7:08 am
by Kroco
fov editor as saber was so lame

Re: [REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 7:43 am
by ulki0rr4
+1

Re: [REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 7:46 am
by WankHole

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>59</ID>
      <Description>"Gameplay FOV"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : SM2Game.exe
  Version: 
  Date   : 2024-09-04
  Author : skall

  This script does blah blah blah
}

[ENABLE]
aobscanmodule(fovWriteBreakOne,$process,F3 0F 11 49 6C C3 CC CC CC CC CC CC CC CC CC CC F3) // should be unique

registersymbol(fovWriteBreakOne)
fovWriteBreakOne:
  db 90 90 90 90 90

aobscanmodule(fovPointer,$process,F3 0F 10 71 6C 48) // should be unique
alloc(newmem,$1000,fovPointer)

label(code)
label(return)
label(pfov)
registersymbol(pfov)

newmem:

code:
  movss xmm6,[rcx+6C]
  mov [pfov],rcx
  jmp return

pfov:
dq 0

fovPointer:
  jmp newmem
return:

registersymbol(fovPointer)
aobscanmodule(fovBreakTwo,$process,CC F3 0F 11 49 48 C3) // should be unique
registersymbol(fovBreakTwo)
fovBreakTwo+01:
  db 90 90 90 90 90

[DISABLE]

fovPointer:
  db F3 0F 10 71 6C
fovWriteBreakOne:
  db F3 0F 11 49 6C
fovBreakTwo+01:
  db F3 0F 11 49 48

unregistersymbol(fovBreakTwo)
unregistersymbol(fovWriteBreakOne)

unregistersymbol(pfov)
unregistersymbol(fovPointer)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: SM2Game.exe+13041B2

SM2Game.exe+130419B: CC                    - int 3 
SM2Game.exe+130419C: CC                    - int 3 
SM2Game.exe+130419D: CC                    - int 3 
SM2Game.exe+130419E: CC                    - int 3 
SM2Game.exe+130419F: CC                    - int 3 
SM2Game.exe+13041A0: 48 89 5C 24 08        - mov [rsp+08],rbx
SM2Game.exe+13041A5: 57                    - push rdi
SM2Game.exe+13041A6: 48 83 EC 30           - sub rsp,30
SM2Game.exe+13041AA: 0F 29 74 24 20        - movaps [rsp+20],xmm6
SM2Game.exe+13041AF: 48 8B D9              - mov rbx,rcx
// ---------- INJECTING HERE ----------
SM2Game.exe+13041B2: F3 0F 10 71 6C        - movss xmm6,[rcx+6C]
// ---------- DONE INJECTING  ----------
SM2Game.exe+13041B7: 48 83 C1 50           - add rcx,50
SM2Game.exe+13041BB: E8 70 A3 93 00        - call SM2Game.exe+1C3E530
SM2Game.exe+13041C0: 48 85 C0              - test rax,rax
SM2Game.exe+13041C3: 74 50                 - je SM2Game.exe+1304215
SM2Game.exe+13041C5: F6 40 08 04           - test byte ptr [rax+08],04
SM2Game.exe+13041C9: 75 4A                 - jne SM2Game.exe+1304215
SM2Game.exe+13041CB: 48 8D 4B 50           - lea rcx,[rbx+50]
SM2Game.exe+13041CF: E8 5C A3 93 00        - call SM2Game.exe+1C3E530
SM2Game.exe+13041D4: 48 8B 0D DD 6E 9F 03  - mov rcx,[SM2Game.exe+4CFB0B8]
SM2Game.exe+13041DB: 48 8B D0              - mov rdx,rax
}
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>60</ID>
          <Description>"fov value    Zoom in: Ctrl-Numpad-   Zoom out: Ctrl-Numpad+  "</Description>
          <ShowAsSigned>0</ShowAsSigned>
          <VariableType>Float</VariableType>
          <Address>pfov</Address>
          <Offsets>
            <Offset>6C</Offset>
          </Offsets>
          <Hotkeys>
            <Hotkey>
              <Action>Increase Value</Action>
              <Keys>
                <Key>17</Key>
                <Key>107</Key>
              </Keys>
              <Value>1</Value>
              <ID>0</ID>
            </Hotkey>
            <Hotkey>
              <Action>Decrease Value</Action>
              <Keys>
                <Key>17</Key>
                <Key>109</Key>
              </Keys>
              <Value>1</Value>
              <ID>1</ID>
            </Hotkey>
          </Hotkeys>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
FOV script credit to Otis_Inf and Skall. NOT my work but my god the default FOV is vomit inducing.

Re: [REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 11:38 am
by chrisreddot3
+1

Re: [REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 11:39 am
by VirgilSouth
WankHole wrote:
Fri Sep 06, 2024 7:46 am

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>59</ID>
      <Description>"Gameplay FOV"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : SM2Game.exe
  Version: 
  Date   : 2024-09-04
  Author : skall

  This script does blah blah blah
}

[ENABLE]
aobscanmodule(fovWriteBreakOne,$process,F3 0F 11 49 6C C3 CC CC CC CC CC CC CC CC CC CC F3) // should be unique

registersymbol(fovWriteBreakOne)
fovWriteBreakOne:
  db 90 90 90 90 90

aobscanmodule(fovPointer,$process,F3 0F 10 71 6C 48) // should be unique
alloc(newmem,$1000,fovPointer)

label(code)
label(return)
label(pfov)
registersymbol(pfov)

newmem:

code:
  movss xmm6,[rcx+6C]
  mov [pfov],rcx
  jmp return

pfov:
dq 0

fovPointer:
  jmp newmem
return:

registersymbol(fovPointer)
aobscanmodule(fovBreakTwo,$process,CC F3 0F 11 49 48 C3) // should be unique
registersymbol(fovBreakTwo)
fovBreakTwo+01:
  db 90 90 90 90 90

[DISABLE]

fovPointer:
  db F3 0F 10 71 6C
fovWriteBreakOne:
  db F3 0F 11 49 6C
fovBreakTwo+01:
  db F3 0F 11 49 48

unregistersymbol(fovBreakTwo)
unregistersymbol(fovWriteBreakOne)

unregistersymbol(pfov)
unregistersymbol(fovPointer)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: SM2Game.exe+13041B2

SM2Game.exe+130419B: CC                    - int 3 
SM2Game.exe+130419C: CC                    - int 3 
SM2Game.exe+130419D: CC                    - int 3 
SM2Game.exe+130419E: CC                    - int 3 
SM2Game.exe+130419F: CC                    - int 3 
SM2Game.exe+13041A0: 48 89 5C 24 08        - mov [rsp+08],rbx
SM2Game.exe+13041A5: 57                    - push rdi
SM2Game.exe+13041A6: 48 83 EC 30           - sub rsp,30
SM2Game.exe+13041AA: 0F 29 74 24 20        - movaps [rsp+20],xmm6
SM2Game.exe+13041AF: 48 8B D9              - mov rbx,rcx
// ---------- INJECTING HERE ----------
SM2Game.exe+13041B2: F3 0F 10 71 6C        - movss xmm6,[rcx+6C]
// ---------- DONE INJECTING  ----------
SM2Game.exe+13041B7: 48 83 C1 50           - add rcx,50
SM2Game.exe+13041BB: E8 70 A3 93 00        - call SM2Game.exe+1C3E530
SM2Game.exe+13041C0: 48 85 C0              - test rax,rax
SM2Game.exe+13041C3: 74 50                 - je SM2Game.exe+1304215
SM2Game.exe+13041C5: F6 40 08 04           - test byte ptr [rax+08],04
SM2Game.exe+13041C9: 75 4A                 - jne SM2Game.exe+1304215
SM2Game.exe+13041CB: 48 8D 4B 50           - lea rcx,[rbx+50]
SM2Game.exe+13041CF: E8 5C A3 93 00        - call SM2Game.exe+1C3E530
SM2Game.exe+13041D4: 48 8B 0D DD 6E 9F 03  - mov rcx,[SM2Game.exe+4CFB0B8]
SM2Game.exe+13041DB: 48 8B D0              - mov rdx,rax
}
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>60</ID>
          <Description>"fov value    Zoom in: Ctrl-Numpad-   Zoom out: Ctrl-Numpad+  "</Description>
          <ShowAsSigned>0</ShowAsSigned>
          <VariableType>Float</VariableType>
          <Address>pfov</Address>
          <Offsets>
            <Offset>6C</Offset>
          </Offsets>
          <Hotkeys>
            <Hotkey>
              <Action>Increase Value</Action>
              <Keys>
                <Key>17</Key>
                <Key>107</Key>
              </Keys>
              <Value>1</Value>
              <ID>0</ID>
            </Hotkey>
            <Hotkey>
              <Action>Decrease Value</Action>
              <Keys>
                <Key>17</Key>
                <Key>109</Key>
              </Keys>
              <Value>1</Value>
              <ID>1</ID>
            </Hotkey>
          </Hotkeys>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
FOV script credit to Otis_Inf and Skall. NOT my work but my god the default FOV is vomit inducing.
Thanks. Do i need some sort of EAC bypass or it would work as is?

Re: [REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 12:08 pm
by WankHole
Any table for this game will only work with EAC not running, so in other words story mode only.

Re: [REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 1:24 pm
by VirgilSouth
WankHole wrote:
Fri Sep 06, 2024 12:08 pm
Any table for this game will only work with EAC not running, so in other words story mode only.
I mean game instantly closes by EAC if i open CE even when im in story mode so how can i use this script?

Re: [REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 1:28 pm
by Rhark
VirgilSouth wrote:
Fri Sep 06, 2024 1:24 pm
WankHole wrote:
Fri Sep 06, 2024 12:08 pm
Any table for this game will only work with EAC not running, so in other words story mode only.
I mean game instantly closes by EAC if i open CE even when im in story mode so how can i use this script?
You need to bypass EAC.

Re: [REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 1:29 pm
by VirgilSouth
Rhark wrote:
Fri Sep 06, 2024 1:28 pm
VirgilSouth wrote:
Fri Sep 06, 2024 1:24 pm
WankHole wrote:
Fri Sep 06, 2024 12:08 pm
Any table for this game will only work with EAC not running, so in other words story mode only.
I mean game instantly closes by EAC if i open CE even when im in story mode so how can i use this script?
You need to bypass EAC.
Thats exactly what i asked in the first reply

Re: [REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 1:30 pm
by WankHole
in your install folder (\Warhammer 40000 Space Marine 2\client_pc\root\bin\pc) you can run an exe (Warhammer 40000 Space Marine 2 - Retail.exe) that shouldn't need to run EAC. I dont even have EAC installed.

Re: [REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 3:46 pm
by LillyanaKabal
I turned the FoV code into a table for people who don't know whatthey are doing with raw ketchup

Re: [REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 6:40 pm
by YesIamSeth
Hello, FOV is great but can we have something to edit the currency or having any godmod or instant-kill ?

If we play on the cracked version by RUNE, it's bypassed the EAC and there is progression in offline (It's reset only if you go online but.. as cracked never go online)

Please ! Thank you so much in advance !

Re: [REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 7:12 pm
by udororthkorgoth
Anyone figure out how to edit offline exp and currency?

Re: [REQUEST] Warhammer 40,000: Space Marine 2 (Steam)

Posted: Fri Sep 06, 2024 7:29 pm
by MrViZZion
DarkMango comes to the rescue :D , check out our trainer in cheat evolution (free users can use hotkeys)

viewtopic.php?t=31139