Page 6 of 28

Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 1:57 am
by Send
zolambarkudak wrote:
Mon Mar 25, 2024 1:39 am
...
I haven't found anything for pawn damage and during my last minute search for hp, I couldn't find any cmps to make a godmode.
TheMarkusBoy wrote:
Mon Mar 25, 2024 1:52 am
Is it possible to change the time of day? I dislike how this game looks at night
Can't you change time at shelters?

Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 2:13 am
by bluemoon27112
Send wrote:
Sun Mar 24, 2024 9:06 pm
joyboy79 wrote:
Sun Mar 24, 2024 8:02 pm
Love the CE, but would definitely benefit from auto-win on Machine Strike, Hunting Ground Trial and Fighting Pits... all three of these are a pain in the rear.
This will increase your pawn's health in Machine Strike, but affects enemies. Activate, let enemy attack you a few rounds, deactivate, play normally.

Increase Machine Strike pawn HP on hit.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>256824</ID>
      <Description>"Machine Strike +Add HP On Damage"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>
     
 //Author : Send
 
 [ENABLE]
alloc(newmem,2048,"HorizonForbiddenWest.exe"+E3D08E) 
label(returnhere)
label(originalcode)
label(exit)

newmem: 

originalcode:
add eax,r8d
mov esi,r8d

exit:
jmp returnhere

"HorizonForbiddenWest.exe"+E3D08E:
jmp newmem
nop
returnhere:

[DISABLE]
dealloc(newmem)
"HorizonForbiddenWest.exe"+E3D08E:
db 44 29 C0 41 8B F0
//sub eax,r8d
//mov esi,r8d
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
tried your code , but the game crash. will try again later

Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 3:19 am
by SunBeam
SunBeam wrote:
Mon Mar 25, 2024 12:39 am
...
Solved it, we now have perfect tension :D Also ability to add items:





EDIT: Oh, lol. And auto-firing as well :D

Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 4:16 am
by anon9
Nixye wrote:
Sun Mar 24, 2024 11:40 pm
Anyway to edit the quantity of itens on inventory? Because i think i broke my game with a resource multiplier cheat
I was suposed to have only 3 itens for a quest, now i have 30, and the game dont recognize that i have that iten on inventory
Did my script not work?

While I'm here:

For anyone who uses auto medicine, this should stop the loss of medicine. (I know an invincible code already exists, this is for those that don't want straight up invincibility)

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>256849</ID>
      <Description>"No Medicine Loss 1"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : HorizonForbiddenWest.exe
  Author : Anon-9

  This script says NOP to medicine loss.
}

[ENABLE]

aobscanmodule(funNoMedicineLoss,HorizonForbiddenWest.exe,FF C8 C5 F8 2F F2) // should be unique

funNoMedicineLoss:
  nop 2
registersymbol(funNoMedicineLoss)

[DISABLE]

funNoMedicineLoss:
  db FF C8 C5 F8 2F F2

unregistersymbol(funNoMedicineLoss)

{
// ORIGINAL CODE - INJECTION POINT: HorizonForbiddenWest.exe+10944C3

HorizonForbiddenWest.exe+10944BA: 76 17                    - jna HorizonForbiddenWest.exe+10944D3
HorizonForbiddenWest.exe+10944BC: C5 EA 58 53 6C           - vaddss xmm2,xmm2,[rbx+6C]
HorizonForbiddenWest.exe+10944C1: FF C7                    - inc edi
// ---------- INJECTING HERE ----------
HorizonForbiddenWest.exe+10944C3: FF C8                    - dec eax
// ---------- DONE INJECTING  ----------
HorizonForbiddenWest.exe+10944C5: C5 F8 2F F2              - vcomiss xmm6,xmm2
HorizonForbiddenWest.exe+10944C9: C5 FA 11 53 60           - vmovss [rbx+60],xmm2
HorizonForbiddenWest.exe+10944CE: 89 43 64                 - mov [rbx+64],eax
HorizonForbiddenWest.exe+10944D1: 77 D4                    - ja HorizonForbiddenWest.exe+10944A7
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>

Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 4:46 am
by bluemoon27112
bluemoon27112 wrote:
Mon Mar 25, 2024 2:13 am
Send wrote:
Sun Mar 24, 2024 9:06 pm
joyboy79 wrote:
Sun Mar 24, 2024 8:02 pm
Love the CE, but would definitely benefit from auto-win on Machine Strike, Hunting Ground Trial and Fighting Pits... all three of these are a pain in the rear.
This will increase your pawn's health in Machine Strike, but affects enemies. Activate, let enemy attack you a few rounds, deactivate, play normally.

Increase Machine Strike pawn HP on hit.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>256824</ID>
      <Description>"Machine Strike +Add HP On Damage"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>
     
 //Author : Send
 
 [ENABLE]
alloc(newmem,2048,"HorizonForbiddenWest.exe"+E3D08E) 
label(returnhere)
label(originalcode)
label(exit)

newmem: 

originalcode:
add eax,r8d
mov esi,r8d

exit:
jmp returnhere

"HorizonForbiddenWest.exe"+E3D08E:
jmp newmem
nop
returnhere:

[DISABLE]
dealloc(newmem)
"HorizonForbiddenWest.exe"+E3D08E:
db 44 29 C0 41 8B F0
//sub eax,r8d
//mov esi,r8d
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
i tried to activate , but game crash the moment enemy hit me

Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 6:55 am
by Send
bluemoon27112 wrote:
Mon Mar 25, 2024 4:46 am
...

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>256825</ID>
      <Description>"Machine Strike: Add Pawn HP On Damage Taken"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : HorizonForbiddenWest.exe
  Version: 
  Date   : 2024-03-25
  Author : Send

}

define(address,"HorizonForbiddenWest.exe"+E3D08E)
define(bytes,44 29 C0 41 8B F0)

[ENABLE]

assert(address,bytes)
alloc(newmem,$1000,"HorizonForbiddenWest.exe"+E3D08E)

label(code)
label(return)

newmem:

code:
  add eax,r8d
  mov esi,r8d
  jmp return

address:
  jmp newmem
  nop
return:

[DISABLE]

address:
  db bytes
  // sub eax,r8d
  // mov esi,r8d

dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: HorizonForbiddenWest.exe+E3D08E

HorizonForbiddenWest.exe+E3D06E: CC                    - int 3 
HorizonForbiddenWest.exe+E3D06F: CC                    - int 3 
HorizonForbiddenWest.exe+E3D070: 4C 8B DC              - mov r11,rsp
HorizonForbiddenWest.exe+E3D073: 49 89 5B 10           - mov [r11+10],rbx
HorizonForbiddenWest.exe+E3D077: 49 89 6B 18           - mov [r11+18],rbp
HorizonForbiddenWest.exe+E3D07B: 49 89 73 20           - mov [r11+20],rsi
HorizonForbiddenWest.exe+E3D07F: 57                    - push rdi
HorizonForbiddenWest.exe+E3D080: 48 81 EC 80 00 00 00  - sub rsp,00000080
HorizonForbiddenWest.exe+E3D087: 0F B6 41 3A           - movzx eax,byte ptr [rcx+3A]
HorizonForbiddenWest.exe+E3D08B: 0F B6 EA              - movzx ebp,dl
// ---------- INJECTING HERE ----------
HorizonForbiddenWest.exe+E3D08E: 44 29 C0              - sub eax,r8d
// ---------- DONE INJECTING  ----------
HorizonForbiddenWest.exe+E3D091: 41 8B F0              - mov esi,r8d
HorizonForbiddenWest.exe+E3D094: 44 0F B6 C8           - movzx r9d,al
HorizonForbiddenWest.exe+E3D098: 4D 8D 43 08           - lea r8,[r11+08]
HorizonForbiddenWest.exe+E3D09C: B8 00 00 00 00        - mov eax,00000000
HorizonForbiddenWest.exe+E3D0A1: 44 0F 48 C8           - cmovs r9d,eax
HorizonForbiddenWest.exe+E3D0A5: 44 88 49 3A           - mov [rcx+3A],r9b
HorizonForbiddenWest.exe+E3D0A9: 44 0F BE 49 38        - movsx r9d,byte ptr [rcx+38]
HorizonForbiddenWest.exe+E3D0AE: 48 8B 79 10           - mov rdi,[rcx+10]
HorizonForbiddenWest.exe+E3D0B2: 41 0F B6 C1           - movzx eax,r9b
HorizonForbiddenWest.exe+E3D0B6: C0 E0 04              - shl al,04
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>


Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 7:32 am
by bluemoon27112
Send wrote:
Mon Mar 25, 2024 6:55 am
bluemoon27112 wrote:
Mon Mar 25, 2024 4:46 am
...

Code: Select all

{ Game   : HorizonForbiddenWest.exe
  Version: 
  Date   : 2024-03-25
  Author : Send

}

define(address,"HorizonForbiddenWest.exe"+E3D08E)
define(bytes,44 29 C0 41 8B F0)

[ENABLE]
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>256825</ID>
      <Description>"Machine Strike: Add Pawn HP On Damage Taken"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : HorizonForbiddenWest.exe
  Version: 
  Date   : 2024-03-25
  Author : Send

}

define(address,"HorizonForbiddenWest.exe"+E3D08E)
define(bytes,44 29 C0 41 8B F0)

[ENABLE]

assert(address,bytes)
alloc(newmem,$1000,"HorizonForbiddenWest.exe"+E3D08E)

label(code)
label(return)

newmem:

code:
  add eax,r8d
  mov esi,r8d
  jmp return

address:
  jmp newmem
  nop
return:

[DISABLE]

address:
  db bytes
  // sub eax,r8d
  // mov esi,r8d

dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: HorizonForbiddenWest.exe+E3D08E

HorizonForbiddenWest.exe+E3D06E: CC                    - int 3 
HorizonForbiddenWest.exe+E3D06F: CC                    - int 3 
HorizonForbiddenWest.exe+E3D070: 4C 8B DC              - mov r11,rsp
HorizonForbiddenWest.exe+E3D073: 49 89 5B 10           - mov [r11+10],rbx
HorizonForbiddenWest.exe+E3D077: 49 89 6B 18           - mov [r11+18],rbp
HorizonForbiddenWest.exe+E3D07B: 49 89 73 20           - mov [r11+20],rsi
HorizonForbiddenWest.exe+E3D07F: 57                    - push rdi
HorizonForbiddenWest.exe+E3D080: 48 81 EC 80 00 00 00  - sub rsp,00000080
HorizonForbiddenWest.exe+E3D087: 0F B6 41 3A           - movzx eax,byte ptr [rcx+3A]
HorizonForbiddenWest.exe+E3D08B: 0F B6 EA              - movzx ebp,dl
// ---------- INJECTING HERE ----------
HorizonForbiddenWest.exe+E3D08E: 44 29 C0              - sub eax,r8d
// ---------- DONE INJECTING  ----------
HorizonForbiddenWest.exe+E3D091: 41 8B F0              - mov esi,r8d
HorizonForbiddenWest.exe+E3D094: 44 0F B6 C8           - movzx r9d,al
HorizonForbiddenWest.exe+E3D098: 4D 8D 43 08           - lea r8,[r11+08]
HorizonForbiddenWest.exe+E3D09C: B8 00 00 00 00        - mov eax,00000000
HorizonForbiddenWest.exe+E3D0A1: 44 0F 48 C8           - cmovs r9d,eax
HorizonForbiddenWest.exe+E3D0A5: 44 88 49 3A           - mov [rcx+3A],r9b
HorizonForbiddenWest.exe+E3D0A9: 44 0F BE 49 38        - movsx r9d,byte ptr [rcx+38]
HorizonForbiddenWest.exe+E3D0AE: 48 8B 79 10           - mov rdi,[rcx+10]
HorizonForbiddenWest.exe+E3D0B2: 41 0F B6 C1           - movzx eax,r9b
HorizonForbiddenWest.exe+E3D0B6: C0 E0 04              - shl al,04
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
it's weird, i can't paste this into CE (Ctrl V or right click to press paste)

Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 7:34 am
by Send
bluemoon27112 wrote:
Mon Mar 25, 2024 7:32 am
...

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>256825</ID>
      <Description>"Machine Strike: Add Pawn HP On Damage Taken"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : HorizonForbiddenWest.exe
  Version: 
  Date   : 2024-03-25
  Author : Send

}

define(address,"HorizonForbiddenWest.exe"+E3D08E)
define(bytes,44 29 C0 41 8B F0)

[ENABLE]

assert(address,bytes)
alloc(newmem,$1000,"HorizonForbiddenWest.exe"+E3D08E)

label(code)
label(return)

newmem:

code:
  add eax,r8d
  mov esi,r8d
  jmp return

address:
  jmp newmem
  nop
return:

[DISABLE]

address:
  db bytes
  // sub eax,r8d
  // mov esi,r8d

dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: HorizonForbiddenWest.exe+E3D08E

HorizonForbiddenWest.exe+E3D06E: CC                    - int 3 
HorizonForbiddenWest.exe+E3D06F: CC                    - int 3 
HorizonForbiddenWest.exe+E3D070: 4C 8B DC              - mov r11,rsp
HorizonForbiddenWest.exe+E3D073: 49 89 5B 10           - mov [r11+10],rbx
HorizonForbiddenWest.exe+E3D077: 49 89 6B 18           - mov [r11+18],rbp
HorizonForbiddenWest.exe+E3D07B: 49 89 73 20           - mov [r11+20],rsi
HorizonForbiddenWest.exe+E3D07F: 57                    - push rdi
HorizonForbiddenWest.exe+E3D080: 48 81 EC 80 00 00 00  - sub rsp,00000080
HorizonForbiddenWest.exe+E3D087: 0F B6 41 3A           - movzx eax,byte ptr [rcx+3A]
HorizonForbiddenWest.exe+E3D08B: 0F B6 EA              - movzx ebp,dl
// ---------- INJECTING HERE ----------
HorizonForbiddenWest.exe+E3D08E: 44 29 C0              - sub eax,r8d
// ---------- DONE INJECTING  ----------
HorizonForbiddenWest.exe+E3D091: 41 8B F0              - mov esi,r8d
HorizonForbiddenWest.exe+E3D094: 44 0F B6 C8           - movzx r9d,al
HorizonForbiddenWest.exe+E3D098: 4D 8D 43 08           - lea r8,[r11+08]
HorizonForbiddenWest.exe+E3D09C: B8 00 00 00 00        - mov eax,00000000
HorizonForbiddenWest.exe+E3D0A1: 44 0F 48 C8           - cmovs r9d,eax
HorizonForbiddenWest.exe+E3D0A5: 44 88 49 3A           - mov [rcx+3A],r9b
HorizonForbiddenWest.exe+E3D0A9: 44 0F BE 49 38        - movsx r9d,byte ptr [rcx+38]
HorizonForbiddenWest.exe+E3D0AE: 48 8B 79 10           - mov rdi,[rcx+10]
HorizonForbiddenWest.exe+E3D0B2: 41 0F B6 C1           - movzx eax,r9b
HorizonForbiddenWest.exe+E3D0B6: C0 E0 04              - shl al,04
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>

My fault, just woke up. Try this.

Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 8:20 am
by Galerian
Send wrote:
Mon Mar 25, 2024 7:34 am
Hi Send! Thank you for your contribution. Unfortunately, the script does not activate (I've tried both before the Machine Strike game and during it)

Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 8:50 am
by Send
Disable Damage (Machine Strike)
Disable during your turn.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>256825</ID>
      <Description>"Disable Machine Strike Damage [Disable during your turn.]"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
HorizonForbiddenWest.exe+E3D0A5:
db 90 90 90 90

 [DISABLE]
HorizonForbiddenWest.exe+E3D0A5:
db 44 88 49 3A


</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>


Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 8:50 am
by Kurei
Would it be possible for unli valor surge usage?

Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 9:11 am
by Galerian
Send wrote:
Mon Mar 25, 2024 8:50 am
It causes the same issue bluemoon27112 mentioned before, the game crashes when the opponent attacks your pawn :(

Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 10:19 am
by SunBeam
Send wrote:
Mon Mar 25, 2024 8:50 am
...
I dunno what you're trying to do, but it's been several posts now :D Each Entity (Humanoid) has a Destructibility member at 0xD0 offset. In that member, you will find Health at 0x74 offset. With the table I provided on main page, you can use LocalPlayer as a symbol and read Entity from 0x48 like so:

mov rax,LocalPlayer
mov rax,[rax] // up until here we read LocalPlayer from the symbol
mov rax,[rax+48] // rax becomes LocalPlayer->Entity -- this is us

Then you get to Destructibility by reading 0xD0:

mov r64,[rax+D0] // r64 becomes Entity->Destructibility

So what you want to do at the hook location you're fiddling with is:

- first of all check which pointer is it you're looking at on the hook spot (you can get the RTTI name via [Debug] > GetName in my table; click the script, give it the ptr address and it will print the Name in the Lua Engine console)
- get to and check if Destructibility member belongs to us or the enemy: cmp rcx or cmp [rcx+D0] with r64 from above
- if it belongs to us, then do stuff
- if it doesn't belong to us, then do stuff

I don't just provide scripts in my tables, but also utilities/tools that faster support development. The only caveat is you have to use my table.. or at least form your own logic to get to LocalPlayer, etc.

BR,
Sun

EDIT: Oh, ffs, it's a board game??!?! Come on, guys, not again. Brings back memories of Orlog from AC T_T.. I thought it was some arena fight game, hence the entire explanation above. I'll have a look, just got access to it (had to do the cook mission first).

Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 12:08 pm
by Send
SunBeam wrote:
Mon Mar 25, 2024 10:19 am
...
Yeah ;/ Tried to help out those who wanted it.

Re: Horizon Forbidden West [Engine:Decima]

Posted: Mon Mar 25, 2024 2:03 pm
by mflau
possible to have infinite food buff?