Page 2 of 53

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 9:52 am
by SunBeam
So.. the game is using Lua:

Code: Select all

GoW.exe+935990 - 48 89 5C 24 10        - mov [rsp+10],rbx
GoW.exe+935995 - 48 89 74 24 18        - mov [rsp+18],rsi
..
GoW.exe+935B91 - 48 8D 3D 306B4E00     - lea rdi,[GoW.exe+E1C6C8] { ("Lua:AddResource") }
..
GoW.exe+935C5D - 48 8D 15 2C6A4E00     - lea rdx,[GoW.exe+E1C690] { ("Value %d needs to be positive when adding resource") }
GoW.exe+935C64 - 48 8B CB              - mov rcx,rbx
GoW.exe+935C67 - E8 74510A00           - call GoW.exe+9DADE0
I am debugging what happens when you gain resources, to come up with a Give Resource or Give Item script.

Well, well:

Image

Guess it's Lua 5.2.3 being used for SOMETHING in the game. I'll find out if useful or not.

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 12:08 pm
by veggeta
Is there anyway to add character stats thanks for the upload too

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 12:35 pm
by jumperownz20
good stuff, works on cracked too?

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 1:07 pm
by StabbyMcRunFast
I'm not sure if these are known or not.. but here are a few of my findings:

Rage is a float, +60 from current health. (eg. if Health = offset +388, then Rage = offset +3E8)


Stats (ie. Strength/Defense/etc)

Code: Select all

GoW.exe+9805D9 - F3 41 0F11 84 92 E04C0000  - movss [r10+rdx*4+00004CE0],xmm0
I haven't made a script for Stats yet... so no idea if it needs extra work.



Arrow Charges/Recharge meter (Filtering required, as it also controls other things)
This is a float, max is currently 30.0, but I don't have any upgrades yet.

Code: Select all

GoW.exe+8E791D: F3 0F 10 73 20        - movss xmm6,[rbx+20]
FWIW, I'm currently using "cmp [rbx+0],873F9BA8" and it seems to be working so far. (but I havent restarted the game yet to be 100% sure)

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 1:12 pm
by Mister Modification
Infinite Rage and Bow Ammo and Fast Enemy Execution

Code: Select all

{ Game   : GoW.exe
  Version: 
  Date   : 2022-01-15
  Author : Handsome Tom

  This script does blah blah blah
}

define(address,"GoW.exe"+7CD158)
define(bytes,8B 40 20 41 89 03)

[ENABLE]

assert(address,bytes)
alloc(newmem,$1000,"GoW.exe"+7CD158)

label(code)
label(return)

newmem:

code:
  mov [rax+20],42c80000
  mov eax,[rax+20]
  mov [r11],eax
  jmp return

address:
  jmp newmem
  nop
return:

[DISABLE]

address:
  db bytes
  // mov eax,[rax+20]
  // mov [r11],eax

dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: GoW.exe+7CD158

GoW.exe+7CD139: 0F 1F 80 00 00 00 00     - nop dword ptr [rax+00000000]
GoW.exe+7CD140: 48 8B 48 18              - mov rcx,[rax+18]
GoW.exe+7CD144: 48 85 C9                 - test rcx,rcx
GoW.exe+7CD147: 74 05                    - je GoW.exe+7CD14E
GoW.exe+7CD149: 4C 39 01                 - cmp [rcx],r8
GoW.exe+7CD14C: 74 0A                    - je GoW.exe+7CD158
GoW.exe+7CD14E: 48 8B 00                 - mov rax,[rax]
GoW.exe+7CD151: 48 3B C2                 - cmp rax,rdx
GoW.exe+7CD154: 74 4C                    - je GoW.exe+7CD1A2
GoW.exe+7CD156: EB E8                    - jmp GoW.exe+7CD140
// ---------- INJECTING HERE ----------
GoW.exe+7CD158: 8B 40 20                 - mov eax,[rax+20]
// ---------- DONE INJECTING  ----------
GoW.exe+7CD15B: 41 89 03                 - mov [r11],eax
GoW.exe+7CD15E: B8 01 00 00 00           - mov eax,00000001
GoW.exe+7CD163: 41 C7 43 08 03 00 00 00  - mov [r11+08],00000003
GoW.exe+7CD16B: 48 83 43 10 10           - add qword ptr [rbx+10],10
GoW.exe+7CD170: 48 8B 5C 24 30           - mov rbx,[rsp+30]
GoW.exe+7CD175: 48 83 C4 20              - add rsp,20
GoW.exe+7CD179: 5F                       - pop rdi
GoW.exe+7CD17A: C3                       - ret 
GoW.exe+7CD17B: 4C 8D 05 3E 89 4B 02     - lea r8,[GoW.exe+2C85AC0]
GoW.exe+7CD182: BA 01 00 00 00           - mov edx,00000001
}

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 4:52 pm
by rynerlutexd
more of a suggestion than anything but if anyone wants to make a permanent stat change script/cheat the way they did it for the ps4 is find the stat values for the runes you attach on the armors and changed the values on that, which made the changes permanent.

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 4:56 pm
by LiamLi
SunBeam wrote:
Fri Jan 14, 2022 5:59 pm
table
Hi and thanks for that table.
I think the God Mode is not perfect yet .
Fighted against Level 6 Creatures and they killed me, then the game stucked and needed alt+f4 to close it :(
Tried again and it happened the same, they killed me and I didn't get the option to reload from last checkpoint.

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 6:51 pm
by m01s33nk0
LiamLi wrote:
Sat Jan 15, 2022 4:56 pm
SunBeam wrote:
Fri Jan 14, 2022 5:59 pm
table
Hi and thanks for that table.
I think the God Mode is not perfect yet .
Fighted against Level 6 Creatures and they killed me, then the game stucked and needed alt+f4 to close it :(
Tried again and it happened the same, they killed me and I didn't get the option to reload from last checkpoint.
and poisoning also is instakill after some threshold

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 7:01 pm
by duyen911007
LiamLi wrote:
Sat Jan 15, 2022 4:56 pm

Hi and thanks for that table.
I think the God Mode is not perfect yet .
Fighted against Level 6 Creatures and they killed me, then the game stucked and needed alt+f4 to close it :(
Tried again and it happened the same, they killed me and I didn't get the option to reload from last checkpoint.
no need alt f4 just open menu and load last checkpoint

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 8:14 pm
by hikarasa
Can anyone give me the type i should search for resources? is it float or what? i'm new to this whole using cheat engine by my own but yesterday i could find the EXP and the Hacksilver value now all i need is the resources but i don't know how should i search for them

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 8:29 pm
by cfemen
hikarasa wrote:
Sat Jan 15, 2022 8:14 pm
Can anyone give me the type i should search for resources? is it float or what? i'm new to this whole using cheat engine by my own but yesterday i could find the EXP and the Hacksilver value now all i need is the resources but i don't know how should i search for them
its integer ( 4 Bytes ) for every resource in the inventory:
Image
//
My currently list "Internal-Name | Display-Name | Hash":

Code: Select all

Names["EconomyXP"] = "XP" --027813962AA4FD9C
Names["Hacksilver"] = "Hacksilver" --016E187833871D3E
Names["HiltReinforcement1"] = "World Serpent Scale Fragment" --0065F9F9E69EAECC
Names["ReinforcementCommon"] = "Soft Svartalfheim Steel" --023036E1D415A119
Names["ReinforcementUncommon"] = "Solid Svartalfheim Steel" --03E89437752A9A4A
Names["TalismanReinforcement"] = "Dust of Realms" --03F6A02F3B31EE0D
Names["BoatLoot"] = "Aegirs Gold" --03F0DDBA03E6CE37
Names["LeiptrAlloy"] = "Leiptr Alloy" --0084A83FB24F4CFD
Names["AxeReinforcement"] = "Frozen Flame" --0301741DB374CDE4
Names["UB_Token"] = "Corrupted Remnant" --019A5962FFE5FAF8

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 8:51 pm
by jumperownz20
cfemen wrote:
Sat Jan 15, 2022 8:29 pm
hikarasa wrote:
Sat Jan 15, 2022 8:14 pm
Can anyone give me the type i should search for resources? is it float or what? i'm new to this whole using cheat engine by my own but yesterday i could find the EXP and the Hacksilver value now all i need is the resources but i don't know how should i search for them
its integer ( 4 Bytes ) for every amount in the inventory:
Image
//
My currently list "Internal-Name | Display-Name | Hash":

Code: Select all

Names["EconomyXP"] = "XP" --027813962AA4FD9C
Names["Hacksilver"] = "Hacksilver" --016E187833871D3E
Names["HiltReinforcement1"] = "World Serpent Scale Fragment" --0065F9F9E69EAECC
Names["ReinforcementCommon"] = "Soft Svartalfheim Steel" --023036E1D415A119
Names["ReinforcementUncommon"] = "Solid Svartalfheim Steel" --03E89437752A9A4A
Names["TalismanReinforcement"] = "Dust of Realms" --03F6A02F3B31EE0D
Names["BoatLoot"] = "Aegirs Gold" --03F0DDBA03E6CE37
Names["LeiptrAlloy"] = "Leiptr Alloy" --0084A83FB24F4CFD
Names["AxeReinforcement"] = "Frozen Flame" --0301741DB374CDE4
Names["UB_Token"] = "Corrupted Remnant" --019A5962FFE5FAF8

Will it work for everyone? your hash IDs i mean

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 8:54 pm
by Drinkie
Unless i've tried adding it wrong which there is a 95% chance of lol then no

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 9:03 pm
by DarkThinkHuman
jumperownz20 wrote:
Sat Jan 15, 2022 8:51 pm

Will it work for everyone? your hash IDs i mean
Well, you can check that yourself, open up SunBeams table and compare it with the <<Name/Name/Hash>> list from cfemen ;)

SunBeams Inventory Reader:

Code: Select all

mov rcx,027813962AA4FD9C // XP
mov rcx,016E187833871D3E  // Hacksilver
cfemen List:

Code: Select all

Names["EconomyXP"] = "XP" --027813962AA4FD9C
Names["Hacksilver"] = "Hacksilver" --016E187833871D3E

Same Hashes -> Yes these Hashes will work if you use them to make a compare.

Re: God of War [Engine:Unknown]

Posted: Sat Jan 15, 2022 9:16 pm
by DivineRIku
Can you make a cheat table for that and the hacksilver and XP still dont work