Re: Europa Universalis IV v1.26.1.0 STEAM (GM and More) 2018-Sep-17
Posted: Mon Oct 01, 2018 1:19 pm
Just a heads up, 1.27.0 Poland update is up, checksum edf9
Community Cheat Tables of Cheat Engine
https://fearlessrevolution.com/
Russian government pointers refuse to work in a Muscovy start. Everything else works great.CompactDisc wrote: ↑Wed Oct 03, 2018 8:55 amI haven't noticed anything breaking in the Extension. So if anyone noticed something, please do notify me.
The one for 1.26.1 still works in 1.27.2.
Code: Select all
{ Game : eu4.exe
Version:
Date : 2018-10-07
Author : instant.sc
This script disables the invalid checksum validation
}
[ENABLE]
aobscanmodule(INJECT,eu4.exe,8B 81 DC 6C 00 00 88 91 E2 6C 00 00 85 C0) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
mov eax,1
jmp return
INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db 8B 81 DC 6C 00 00
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "eu4.exe"+AB84DB
"eu4.exe"+AB84B9: 6A FF - push -01
"eu4.exe"+AB84BB: 68 81 E4 36 02 - push eu4.exe+128E481
"eu4.exe"+AB84C0: 50 - push eax
"eu4.exe"+AB84C1: 64 89 25 00 00 00 00 - mov fs:[00000000],esp
"eu4.exe"+AB84C8: 81 EC 98 00 00 00 - sub esp,00000098
"eu4.exe"+AB84CE: 8B 55 08 - mov edx,[ebp+08]
"eu4.exe"+AB84D1: 56 - push esi
"eu4.exe"+AB84D2: 57 - push edi
"eu4.exe"+AB84D3: 8B F9 - mov edi,ecx
"eu4.exe"+AB84D5: 8B 0D E0 D4 94 02 - mov ecx,[eu4.exe+186D4E0]
// ---------- INJECTING HERE ----------
"eu4.exe"+AB84DB: 8B 81 DC 6C 00 00 - mov eax,[ecx+00006CDC]
// ---------- DONE INJECTING ----------
"eu4.exe"+AB84E1: 88 91 E2 6C 00 00 - mov [ecx+00006CE2],dl
"eu4.exe"+AB84E7: 85 C0 - test eax,eax
"eu4.exe"+AB84E9: 0F 85 C6 00 00 00 - jne eu4.exe+AB85B5
"eu4.exe"+AB84EF: 8A 81 F0 1D 00 00 - mov al,[ecx+00001DF0]
"eu4.exe"+AB84F5: 8B CF - mov ecx,edi
"eu4.exe"+AB84F7: 84 C0 - test al,al
"eu4.exe"+AB84F9: 74 0D - je eu4.exe+AB8508
"eu4.exe"+AB84FB: 52 - push edx
"eu4.exe"+AB84FC: 6A 01 - push 01
"eu4.exe"+AB84FE: E8 CD F7 FF FF - call eu4.exe+AB7CD0
}
Those darned pointers are impossible! It'll be much easier to write a function for it. But then the console command does the exact same thing.Nafigator wrote: ↑Thu Oct 04, 2018 4:07 amRussian government pointers refuse to work in a Muscovy start. Everything else works great.CompactDisc wrote: ↑Wed Oct 03, 2018 8:55 amI haven't noticed anything breaking in the Extension. So if anyone noticed something, please do notify me.
And I'd love to implement that achievement code you wrote there into the extension.instant.sc wrote: ↑Sun Oct 07, 2018 8:20 amHello everyone! In frustration at the fast update and being unable to continue my latest save I found and disabled the checksum check for achievements (it works for the "DLCs were disabled or enabled" message, not sure about other situations like mods). If anyone finds use for it, you're welcome to use it. It would be great if this could be included into the main table.