A small script that allow to edit the game's FOV and force its value to stay put (when you sprint for example).
Copy the code below and paste it inside a table. Tell me if you have any issue with it.
@Akira : you can add the script in your table if you want to.
Gamepass version :
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>334345</ID>
<Description>"Edit FOV (Gamepass)"</Description>
<Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
<LastState/>
<Color>FFFF00</Color>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{ Game : Oregon-WinGDK-Shipping.exe
Version:
Date : 2022-12-20
Author : acecel
This script does blah blah blah
}
[ENABLE]
aobscanmodule(aob_fov,Oregon-WinGDK-Shipping.exe,F3 0F 10 8B 3C 02 00 00 4C 8D 85) // should be unique
alloc(newmem,$1000,aob_fov)
alloc(fov,$8)
registersymbol(fov)
label(code)
label(return)
newmem:
code:
mov [fov],rbx
movss xmm1,[rbx+0000023C]
jmp return
aob_fov:
jmp newmem
nop 3
return:
registersymbol(aob_fov)
aobscanmodule(aob_fov2,Oregon-WinGDK-Shipping.exe,CC F3 0F 11 89 3C 02 00 00 C3 CC CC) // should be unique
alloc(newmem2,$1000,aob_fov2)
label(code2)
label(return2)
newmem2:
code2:
// movss [rcx+0000023C],xmm1
jmp return2
aob_fov2+01:
jmp newmem2
nop 3
return2:
registersymbol(aob_fov2)
[DISABLE]
aob_fov:
db F3 0F 10 8B 3C 02 00 00
unregistersymbol(fov)
unregistersymbol(aob_fov)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: Oregon-WinGDK-Shipping.exe+1481E05
Oregon-WinGDK-Shipping.exe+1481DE5: 48 8B C8 - mov rcx,rax
Oregon-WinGDK-Shipping.exe+1481DE8: 48 8B 46 30 - mov rax,[rsi+30]
Oregon-WinGDK-Shipping.exe+1481DEC: 48 39 14 C8 - cmp [rax+rcx*8],rdx
Oregon-WinGDK-Shipping.exe+1481DF0: 74 03 - je Oregon-WinGDK-Shipping.exe+1481DF5
Oregon-WinGDK-Shipping.exe+1481DF2: 48 8B F7 - mov rsi,rdi
Oregon-WinGDK-Shipping.exe+1481DF5: 48 8B D6 - mov rdx,rsi
Oregon-WinGDK-Shipping.exe+1481DF8: 49 8B CE - mov rcx,r14
Oregon-WinGDK-Shipping.exe+1481DFB: E8 00 37 E2 01 - call Oregon-WinGDK-Shipping.exe+32A5500
Oregon-WinGDK-Shipping.exe+1481E00: 48 85 C0 - test rax,rax
Oregon-WinGDK-Shipping.exe+1481E03: 74 1A - je Oregon-WinGDK-Shipping.exe+1481E1F
// ---------- INJECTING HERE ----------
Oregon-WinGDK-Shipping.exe+1481E05: F3 0F 10 8B 3C 02 00 00 - movss xmm1,[rbx+0000023C]
// ---------- DONE INJECTING ----------
Oregon-WinGDK-Shipping.exe+1481E0D: 4C 8D 85 C0 07 00 00 - lea r8,[rbp+000007C0]
Oregon-WinGDK-Shipping.exe+1481E14: 4C 8B CB - mov r9,rbx
Oregon-WinGDK-Shipping.exe+1481E17: 48 8B C8 - mov rcx,rax
Oregon-WinGDK-Shipping.exe+1481E1A: E8 E1 2B 03 00 - call Oregon-WinGDK-Shipping.exe+14B4A00
Oregon-WinGDK-Shipping.exe+1481E1F: 48 8B 03 - mov rax,[rbx]
Oregon-WinGDK-Shipping.exe+1481E22: 48 8B CB - mov rcx,rbx
Oregon-WinGDK-Shipping.exe+1481E25: FF 90 60 01 00 00 - call qword ptr [rax+00000160]
Oregon-WinGDK-Shipping.exe+1481E2B: 4C 8D B0 60 07 00 00 - lea r14,[rax+00000760]
Oregon-WinGDK-Shipping.exe+1481E32: E8 09 B3 0E 00 - call Oregon-WinGDK-Shipping.exe+156D140
Oregon-WinGDK-Shipping.exe+1481E37: 48 8B F0 - mov rsi,rax
}
aob_fov2+01:
db F3 0F 11 89 3C 02 00 00
unregistersymbol(aob_fov2)
dealloc(newmem2)
{
// ORIGINAL CODE - INJECTION POINT: Oregon-WinGDK-Shipping.exe+314E230
Oregon-WinGDK-Shipping.exe+314E226: C3 - ret
Oregon-WinGDK-Shipping.exe+314E227: CC - int 3
Oregon-WinGDK-Shipping.exe+314E228: CC - int 3
Oregon-WinGDK-Shipping.exe+314E229: CC - int 3
Oregon-WinGDK-Shipping.exe+314E22A: CC - int 3
Oregon-WinGDK-Shipping.exe+314E22B: CC - int 3
Oregon-WinGDK-Shipping.exe+314E22C: CC - int 3
Oregon-WinGDK-Shipping.exe+314E22D: CC - int 3
Oregon-WinGDK-Shipping.exe+314E22E: CC - int 3
Oregon-WinGDK-Shipping.exe+314E22F: CC - int 3
// ---------- INJECTING HERE ----------
Oregon-WinGDK-Shipping.exe+314E230: F3 0F 11 89 3C 02 00 00 - movss [rcx+0000023C],xmm1
// ---------- DONE INJECTING ----------
Oregon-WinGDK-Shipping.exe+314E238: C3 - ret
Oregon-WinGDK-Shipping.exe+314E239: CC - int 3
Oregon-WinGDK-Shipping.exe+314E23A: CC - int 3
Oregon-WinGDK-Shipping.exe+314E23B: CC - int 3
Oregon-WinGDK-Shipping.exe+314E23C: CC - int 3
Oregon-WinGDK-Shipping.exe+314E23D: CC - int 3
Oregon-WinGDK-Shipping.exe+314E23E: CC - int 3
Oregon-WinGDK-Shipping.exe+314E23F: CC - int 3
Oregon-WinGDK-Shipping.exe+314E240: 48 89 5C 24 08 - mov [rsp+08],rbx
Oregon-WinGDK-Shipping.exe+314E245: 48 89 6C 24 10 - mov [rsp+10],rbp
}
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>334346</ID>
<Description>"fov"</Description>
<LastState Value="110" RealAddress="1FC69A8024C"/>
<ShowAsSigned>0</ShowAsSigned>
<Color>FF80FF</Color>
<VariableType>Float</VariableType>
<Address>fov</Address>
<Offsets>
<Offset>23C</Offset>
</Offsets>
<Hotkeys>
<Hotkey>
<Action>Set Value</Action>
<Keys>
<Key>17</Key>
<Key>110</Key>
</Keys>
<Value>110</Value>
<ID>0</ID>
<ActivateSound>Activate</ActivateSound>
</Hotkey>
<Hotkey>
<Action>Increase Value</Action>
<Keys>
<Key>17</Key>
<Key>107</Key>
</Keys>
<Value>2</Value>
<ID>3</ID>
<ActivateSound>Activate</ActivateSound>
</Hotkey>
<Hotkey>
<Action>Decrease Value</Action>
<Keys>
<Key>17</Key>
<Key>109</Key>
</Keys>
<Value>2</Value>
<ID>4</ID>
<ActivateSound>Deactivate</ActivateSound>
</Hotkey>
</Hotkeys>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>
Steam version :
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>334398</ID>
<Description>"Edit FOV (Steam)"</Description>
<Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
<LastState/>
<Color>FFFF00</Color>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{ Game : Oregon-Win64-Shipping.exe
Version:
Date : 2022-12-20
Author : acecel
This script does blah blah blah
}
[ENABLE]
aobscanmodule(aob_fov,Oregon-Win64-Shipping.exe,F3 0F 10 B1 3C 02 00 00 33) // should be unique
alloc(newmem,$1000,aob_fov)
alloc(fov,$8)
registersymbol(fov)
label(code)
label(return)
newmem:
code:
mov [fov],rcx
movss xmm6,[rcx+0000023C]
jmp return
aob_fov:
jmp newmem
nop 3
return:
registersymbol(aob_fov)
aobscanmodule(aob_fov2,Oregon-Win64-Shipping.exe,CC F3 0F 11 89 3C 02 00 00 C3) // should be unique
alloc(newmem2,$1000,aob_fov2)
label(code2)
label(return2)
newmem2:
code2:
// movss [rcx+0000023C],xmm1
jmp return2
aob_fov2+01:
jmp newmem2
nop 3
return2:
registersymbol(aob_fov2)
[DISABLE]
aob_fov:
db F3 0F 10 B1 3C 02 00 00
unregistersymbol(fov)
unregistersymbol(aob_fov)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: Oregon-Win64-Shipping.exe+3455981
Oregon-Win64-Shipping.exe+3455958: 48 83 C4 68 - add rsp,68
Oregon-Win64-Shipping.exe+345595C: C3 - ret
Oregon-Win64-Shipping.exe+345595D: CC - int 3
Oregon-Win64-Shipping.exe+345595E: CC - int 3
Oregon-Win64-Shipping.exe+345595F: CC - int 3
Oregon-Win64-Shipping.exe+3455960: 48 81 EC E8 08 00 00 - sub rsp,000008E8
Oregon-Win64-Shipping.exe+3455967: 0F 29 B4 24 D0 08 00 00 - movaps [rsp+000008D0],xmm6
Oregon-Win64-Shipping.exe+345596F: 48 8B 05 E2 E7 4A 02 - mov rax,[Oregon-Win64-Shipping.exe+5904158]
Oregon-Win64-Shipping.exe+3455976: 48 33 C4 - xor rax,rsp
Oregon-Win64-Shipping.exe+3455979: 48 89 84 24 C0 08 00 00 - mov [rsp+000008C0],rax
// ---------- INJECTING HERE ----------
Oregon-Win64-Shipping.exe+3455981: F3 0F 10 B1 3C 02 00 00 - movss xmm6,[rcx+0000023C]
// ---------- DONE INJECTING ----------
Oregon-Win64-Shipping.exe+3455989: 33 C0 - xor eax,eax
Oregon-Win64-Shipping.exe+345598B: 0F 57 C9 - xorps xmm1,xmm1
Oregon-Win64-Shipping.exe+345598E: 89 44 24 20 - mov [rsp+20],eax
Oregon-Win64-Shipping.exe+3455992: 0F 2F F1 - comiss xmm6,xmm1
Oregon-Win64-Shipping.exe+3455995: 77 2D - ja Oregon-Win64-Shipping.exe+34559C4
Oregon-Win64-Shipping.exe+3455997: 48 8B 01 - mov rax,[rcx]
Oregon-Win64-Shipping.exe+345599A: 48 8D 54 24 30 - lea rdx,[rsp+30]
Oregon-Win64-Shipping.exe+345599F: FF 90 78 06 00 00 - call qword ptr [rax+00000678]
Oregon-Win64-Shipping.exe+34559A5: 48 8B 8C 24 60 08 00 00 - mov rcx,[rsp+00000860]
Oregon-Win64-Shipping.exe+34559AD: F3 0F 10 70 18 - movss xmm6,[rax+18]
}
aob_fov2+01:
db F3 0F 11 89 3C 02 00 00
unregistersymbol(aob_fov2)
dealloc(newmem2)
{
// ORIGINAL CODE - INJECTION POINT: Oregon-Win64-Shipping.exe+3466200
Oregon-Win64-Shipping.exe+34661F6: C3 - ret
Oregon-Win64-Shipping.exe+34661F7: CC - int 3
Oregon-Win64-Shipping.exe+34661F8: CC - int 3
Oregon-Win64-Shipping.exe+34661F9: CC - int 3
Oregon-Win64-Shipping.exe+34661FA: CC - int 3
Oregon-Win64-Shipping.exe+34661FB: CC - int 3
Oregon-Win64-Shipping.exe+34661FC: CC - int 3
Oregon-Win64-Shipping.exe+34661FD: CC - int 3
Oregon-Win64-Shipping.exe+34661FE: CC - int 3
Oregon-Win64-Shipping.exe+34661FF: CC - int 3
// ---------- INJECTING HERE ----------
Oregon-Win64-Shipping.exe+3466200: F3 0F 11 89 3C 02 00 00 - movss [rcx+0000023C],xmm1
// ---------- DONE INJECTING ----------
Oregon-Win64-Shipping.exe+3466208: C3 - ret
Oregon-Win64-Shipping.exe+3466209: CC - int 3
Oregon-Win64-Shipping.exe+346620A: CC - int 3
Oregon-Win64-Shipping.exe+346620B: CC - int 3
Oregon-Win64-Shipping.exe+346620C: CC - int 3
Oregon-Win64-Shipping.exe+346620D: CC - int 3
Oregon-Win64-Shipping.exe+346620E: CC - int 3
Oregon-Win64-Shipping.exe+346620F: CC - int 3
Oregon-Win64-Shipping.exe+3466210: 48 89 5C 24 08 - mov [rsp+08],rbx
Oregon-Win64-Shipping.exe+3466215: 48 89 6C 24 10 - mov [rsp+10],rbp
}
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>334399</ID>
<Description>"fov"</Description>
<ShowAsSigned>0</ShowAsSigned>
<Color>FF80FF</Color>
<VariableType>Float</VariableType>
<Address>fov</Address>
<Offsets>
<Offset>23C</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>