Can you please share a dx11 version of this? Many thanks!zachillios wrote: ↑Sat Oct 10, 2020 6:40 pmJust started a playthrough as a warlock and was a little annoyed by this as well. So here's what I made:
Note this will still affect enemies, so be sure to toggle it with the Tilde key.Code: Select all
<?xml version="1.0" encoding="utf-8"?> <CheatTable> <CheatEntries> <CheatEntry> <ID>165</ID> <Description>"Infinite Spells"</Description> <LastState/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>{ Game : bg3.exe Version: Date : 2020-10-08 Author : Zach This script does blah blah blah } [ENABLE] aobscanmodule(INJECT,bg3.exe,F2 0F 11 76 18) // should be unique alloc(newmem,$1000,"bg3.exe"+20C4A4C) label(code) label(return) newmem: code: mov [rsi+18],#3 jmp return INJECT: jmp newmem return: registersymbol(INJECT) [DISABLE] INJECT: db F2 0F 11 76 18 unregistersymbol(INJECT) dealloc(newmem) { // ORIGINAL CODE - INJECTION POINT: "bg3.exe"+20C4A4C "bg3.exe"+20C4A26: 0F 28 F0 - movaps xmm6,xmm0 "bg3.exe"+20C4A29: 66 0F 2E 76 18 - ucomisd xmm6,[rsi+18] "bg3.exe"+20C4A2E: 7A 09 - jp bg3.exe+20C4A39 "bg3.exe"+20C4A30: 75 07 - jne bg3.exe+20C4A39 "bg3.exe"+20C4A32: 32 C0 - xor al,al "bg3.exe"+20C4A34: E9 99 01 00 00 - jmp bg3.exe+20C4BD2 "bg3.exe"+20C4A39: 48 89 9C 24 90 00 00 00 - mov [rsp+00000090],rbx "bg3.exe"+20C4A41: 33 DB - xor ebx,ebx "bg3.exe"+20C4A43: 48 89 6C 24 60 - mov [rsp+60],rbp "bg3.exe"+20C4A48: 48 8B 69 10 - mov rbp,[rcx+10] // ---------- INJECTING HERE ---------- "bg3.exe"+20C4A4C: F2 0F 11 76 18 - movsd [rsi+18],xmm6 // ---------- DONE INJECTING ---------- "bg3.exe"+20C4A51: 39 5D 78 - cmp [rbp+78],ebx "bg3.exe"+20C4A54: 74 3E - je bg3.exe+20C4A94 "bg3.exe"+20C4A56: 48 8B CE - mov rcx,rsi "bg3.exe"+20C4A59: E8 92 8F CB 01 - call bg3.exe+3D7D9F0 "bg3.exe"+20C4A5E: 48 63 4D 78 - movsxd rcx,dword ptr [rbp+78] "bg3.exe"+20C4A62: 33 D2 - xor edx,edx "bg3.exe"+20C4A64: 48 F7 F1 - div rcx "bg3.exe"+20C4A67: 4C 8B C6 - mov r8,rsi "bg3.exe"+20C4A6A: 48 8D 4D 68 - lea rcx,[rbp+68] "bg3.exe"+20C4A6E: E8 4D EC 0F FF - call bg3.exe+11C36C0 } </AssemblerScript> <Hotkeys> <Hotkey> <Action>Toggle Activation</Action> <Keys> <Key>192</Key> </Keys> <ID>0</ID> <ActivateSound TTS="EN">{MRDescription} Activated</ActivateSound> <DeactivateSound TTS="EN">{MRDescription} Deactivated</DeactivateSound> </Hotkey> </Hotkeys> </CheatEntry> </CheatEntries> </CheatTable>
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1