Page 15 of 28

Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 12:25 am
by MG3X
Finding the difficulty address for enemies would be great for upcoming Mercenaries mode. It said enemy behavior is different from Pro mode and closer to Standard difficulty. The demo had a switch to keep the game always at Mad Chainsaw mode so maybe there's something like that here...

Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 5:10 am
by Erlkonig
Can confirm that gir's infinite ammo cheat works with the new patch. The old god mode cheat that was thrown up a while ago does NOT work anymore, so I died to a chainsaw in mercs hehehe. Forgot to test unlimited durability, which should also be relevant

EDIT: unlimited durability works, and full health should too I think. Makes island and castle a little safer than village

Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 5:14 am
by gir489
Fixed my table for the Mercenaries update and added Unlock All Challenges.


Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 6:47 am
by ccphuc
gir489 wrote:
Fri Apr 07, 2023 5:14 am
Fixed my table for the Mercenaries update and added Unlock All Challenges.

please table download, thanks !!!

Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 7:01 am
by Cissa90
ccphuc wrote:
Fri Apr 07, 2023 6:47 am
gir489 wrote:
Fri Apr 07, 2023 5:14 am
Fixed my table for the Mercenaries update and added Unlock All Challenges.

please table download, thanks !!!
It's on page 1...
viewtopic.php?p=291617#p291617

Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 7:03 am
by Cissa90
Also made 2 very quick ones regarding mercenaries. Infinite Combo Timer and Gun Mayhem timer wont decrease. It did crash my game after results screen, but could be due to all other things I changed.
In any case, maybe disable it before you exit result screen. Feel free to edit it around to make it more stable.

//EDIT: Fixed them a bit. Seems to not be crashing no more.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>143</ID>
      <Description>"Infinite Combo Timer V2"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscanmodule(TestComboTimer,re4.exe,C6 F2 0F 58 C8 0F 57 C0) // should be unique
alloc(newmem,$1000,TestComboTimer)

label(code)
label(return)

newmem:

code:
//  addsd xmm1,xmm0
  xorps xmm0,xmm0
  jmp return

TestComboTimer+01:
  jmp newmem
  nop 2
return:
registersymbol(TestComboTimer)

[DISABLE]

TestComboTimer+01:
  db F2 0F 58 C8 0F 57 C0

unregistersymbol(TestComboTimer)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: re4.exe+1CB4C02

re4.exe+1CB4BE5: 48 89 4F 24     - mov [rdi+24],rcx
re4.exe+1CB4BE9: 89 4F 30        - mov [rdi+30],ecx
re4.exe+1CB4BEC: 89 4F 20        - mov [rdi+20],ecx
re4.exe+1CB4BEF: EB 66           - jmp re4.exe+1CB4C57
re4.exe+1CB4BF1: 8B 47 30        - mov eax,[rdi+30]
re4.exe+1CB4BF4: 85 C0           - test eax,eax
re4.exe+1CB4BF6: 7F 37           - jg re4.exe+1CB4C2F
re4.exe+1CB4BF8: 0F 5A C8        - cvtps2pd xmm1,xmm0
re4.exe+1CB4BFB: 0F 57 C0        - xorps xmm0,xmm0
re4.exe+1CB4BFE: F3 0F 5A C6     - cvtss2sd xmm0,xmm6
// ---------- INJECTING HERE ----------
re4.exe+1CB4C02: F2 0F 58 C8     - addsd xmm1,xmm0
// ---------- DONE INJECTING  ----------
re4.exe+1CB4C06: 0F 57 C0        - xorps xmm0,xmm0
re4.exe+1CB4C09: F3 0F 5A C3     - cvtss2sd xmm0,xmm3
re4.exe+1CB4C0D: 66 0F 5A C9     - cvtpd2ps xmm1,xmm1
re4.exe+1CB4C11: 0F 5A D1        - cvtps2pd xmm2,xmm1
re4.exe+1CB4C14: F3 0F 11 4F 24  - movss [rdi+24],xmm1
re4.exe+1CB4C19: 66 0F 2F C2     - comisd xmm0,xmm2
re4.exe+1CB4C1D: 77 3B           - ja re4.exe+1CB4C5A
re4.exe+1CB4C1F: 83 7F 28 00     - cmp dword ptr [rdi+28],00
re4.exe+1CB4C23: 7E 35           - jle re4.exe+1CB4C5A
re4.exe+1CB4C25: 41 C6 06 01     - mov byte ptr [r14],01
}
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>138</ID>
      <Description>"Infinite Gun Mayhem Time"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscanmodule(GunMayhem,re4.exe,F2 0F 5C D9 66 0F 5A D3 0F 2F D0 F3 0F 11 53) // should be unique
alloc(newmem,$1000,GunMayhem)

label(code)
label(return)

newmem:

code:
  //subsd xmm3,xmm1
  cvtpd2ps xmm2,xmm3
  jmp return

GunMayhem:
  jmp newmem
  nop 3
return:
registersymbol(GunMayhem)

[DISABLE]

GunMayhem:
  db F2 0F 5C D9 66 0F 5A D3

unregistersymbol(GunMayhem)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: re4.exe+192D4F0

re4.exe+192D4CD: F3 0F 2A C0           - cvtsi2ss xmm0,eax
re4.exe+192D4D1: 0F 5A DB              - cvtps2pd xmm3,xmm3
re4.exe+192D4D4: 0F 5A C8              - cvtps2pd xmm1,xmm0
re4.exe+192D4D7: 0F 57 C0              - xorps xmm0,xmm0
re4.exe+192D4DA: F2 0F 59 D1           - mulsd xmm2,xmm1
re4.exe+192D4DE: F3 0F 5A C6           - cvtss2sd xmm0,xmm6
re4.exe+192D4E2: F2 0F 58 D0           - addsd xmm2,xmm0
re4.exe+192D4E6: 66 0F 5A C2           - cvtpd2ps xmm0,xmm2
re4.exe+192D4EA: 0F 5A C8              - cvtps2pd xmm1,xmm0
re4.exe+192D4ED: 0F 57 C0              - xorps xmm0,xmm0
// ---------- INJECTING HERE ----------
re4.exe+192D4F0: F2 0F 5C D9           - subsd xmm3,xmm1
// ---------- DONE INJECTING  ----------
re4.exe+192D4F4: 66 0F 5A D3           - cvtpd2ps xmm2,xmm3
re4.exe+192D4F8: 0F 2F D0              - comiss xmm2,xmm0
re4.exe+192D4FB: F3 0F 11 53 20        - movss [rbx+20],xmm2
re4.exe+192D500: 0F 87 98 00 00 00     - ja re4.exe+192D59E
re4.exe+192D506: 40 38 6B 60           - cmp [rbx+60],bpl
re4.exe+192D50A: 75 45                 - jne re4.exe+192D551
re4.exe+192D50C: 48 8B 05 85 6E 91 0B  - mov rax,[re4.exe+D244398]
re4.exe+192D513: 48 8B 78 40           - mov rdi,[rax+40]
re4.exe+192D517: 48 85 FF              - test rdi,rdi
re4.exe+192D51A: 74 31                 - je re4.exe+192D54D
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>


Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 7:23 am
by ccphuc
Cissa90 wrote:
Fri Apr 07, 2023 7:01 am
ccphuc wrote:
Fri Apr 07, 2023 6:47 am
gir489 wrote:
Fri Apr 07, 2023 5:14 am
Fixed my table for the Mercenaries update and added Unlock All Challenges.

please table download, thanks !!!
It's on page 1...
viewtopic.php?p=291617#p291617
Why my cheat 7.5 can't check box ?

[Link]

Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 8:14 am
by Exeter
ccphuc wrote:
Fri Apr 07, 2023 7:23 am
Cissa90 wrote:
Fri Apr 07, 2023 7:01 am
ccphuc wrote:
Fri Apr 07, 2023 6:47 am


please table download, thanks !!!
It's on page 1...
viewtopic.php?p=291617#p291617
Why my cheat 7.5 can't check box ?

[Link]
Make sure both your game and the table are up to date.

Gir's table has been updated for the Mercenaries update, so if you're still on the old version it will (probably) not work.

Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 8:21 am
by blueroom
krustytoe wrote:
Sun Mar 26, 2023 6:47 pm
misterwashimashi wrote:
Sun Mar 26, 2023 8:11 am
Hi, would it be possible to add a god mode/no hit reaction?
I made it base off Rhark info.

God Mode (No Hit or Grab) Bear trap will still get you.
can you update god mode with mercenaries

Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 12:21 pm
by toro00
gir489 wrote:
Fri Apr 07, 2023 5:14 am
Fixed my table for the Mercenaries update and added Unlock All Challenges.

Good friend, could you look at this one that is not working after the game update.
-Unlock All Extra Content

Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 1:38 pm
by muzzles56
gir489 wrote:
Fri Mar 31, 2023 5:35 pm
muzzles56 wrote:
Fri Mar 31, 2023 10:25 am
Just want to repost this request to see if this possible. I'm seeing more people post about this on other sites and it would be a huge help
I just updated my table with the Item IDs that SenorPlebeian and I found. If you have a 2nd quest item in your inventory, you could change the ID to the key and then try it on the door and see if it works.
I've been really struggling to get this to work. Was hoping today's update would have resolved this Key bug, but it didn't. Can anyone please help walk me through how I can hack this key in my Key Items inventory?

I'm a novice to Cheat Engine and I've been trying to memory scan for Key Item IDs that I can swap for Luis' key. I saw skiller's post on the 5th of April about how to use the item ID values as hex, so I'm confident im scanning for the right ID. I'm scanning for my silver token and gold token to swap one of those, but CE can't seem to find them, so there's probably some abstraction going on.

I'm able to replace a flashbang with Luis' key in my Attaché case, but this crashes the game after 1 second. I don't think this would work anyway because the key would need to be in Key Items, not the Attaché case. Knowing I can swap those makes me confident I understand how to use the Hex IDs for items though.

On page 1 I saw this code snippet referencing a callback:

Code: Select all

re4.exe+333C834 - 4C 8B BC 24 A8000000  - mov r15,[rsp+000000A8] //Add Quest item
Is there perhaps some way to call this function using Luis' Key ID to grant it in my inventory? I feel like this could be more stable than hacking an ID replacement, but I'm not sure if simply passing the ID as a parameter would work as expected.

Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 1:51 pm
by gir489
muzzles56 wrote:
Fri Apr 07, 2023 1:38 pm
gir489 wrote:
Fri Mar 31, 2023 5:35 pm
muzzles56 wrote:
Fri Mar 31, 2023 10:25 am
Just want to repost this request to see if this possible. I'm seeing more people post about this on other sites and it would be a huge help
I just updated my table with the Item IDs that SenorPlebeian and I found. If you have a 2nd quest item in your inventory, you could change the ID to the key and then try it on the door and see if it works.
~word salad~
You can't put quest items into the attaché case, they have to be in your quest item inventory. Use Manipulate Current Selected Item and select a coin or something and then change it to Luis's Key.

Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 2:04 pm
by Diark
Anyway to set the unlock all upgrades flag in merchant at chapter 2?. With the new exclusive upgrade ticket dlc, it seems you can directly upgrade to get the exclusive perk by chapter 2.

Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 2:16 pm
by muzzles56
gir489 wrote:
Fri Apr 07, 2023 1:51 pm
You can't put quest items into the attaché case, they have to be in your quest item inventory. Use Manipulate Current Selected Item and select a coin or something and then change it to Luis's Key.
Selecting a coin does not update the values inside the "Manipulate Current Selected Item" script so I can't modify them that way either. At least, it doesn't work for the silver and gold tokens or gemstones. I should have mentioned that in my previous post.

My game client is updated and I am using the latest version of the cheat table

Re: Resident Evil 4 Remake

Posted: Fri Apr 07, 2023 4:09 pm
by gir489
muzzles56 wrote:
Fri Apr 07, 2023 2:16 pm
Selecting a coin does not update the values inside the "Manipulate Current Selected Item" script so I can't modify them that way either.
That's a bug. I've fixed it. This was due to me not having IDA working last night and the fucking update dropping at 12 without me knowing, and I basically just rushed to fix it so I could go to bed. I've also added Krauser's bow and his explosive bolts.