Re: Crusader Kings III v1.7.1.0 Achievement Table - Updated 2022-09-15
Posted: Tue Jun 27, 2023 6:03 pm
Community Cheat Tables of Cheat Engine
https://fearlessrevolution.com/
No, it does not. Other parts of the table work, but not the achievements portion.
Easiest is probably to load the game, and while in the main menu, enable the achievements. If you are in the game (using resume, or turning it on while in a game), go to the pause menu (ESC), and click on Achievement, or possibly rules. I think I hook into both those places, but at least one of them.lunasmeow wrote: ↑Sun Jul 23, 2023 10:44 am
No, it does not. Other parts of the table work, but not the achievements portion.
Edit: To clarify it... sometimes does. It's finicky, indicating that something is broken. It will not work when you first start the game, but at random points it will suddenly start working.
I am not sure that is the correct one. When you have the boolean, right click on the entry in the lower part of CE and select "See what accesses this value", you should get a few hits, one of them being this:Zol wrote: ↑Tue Aug 22, 2023 4:37 pmNew version out.
Was trying to follow the guide on updating but have hit a snag.
16C47BFDA52 seems to be the memory address for Ironman. Toggling it between 0 and 1 makes
the Ironman GUI checkbox enable/disable as per the instructions.
But then, i'm not sure how to use that to update the script.
It mentions finding the static pointer, not sure if this is the right one:
ck3.exe+61BAB2 - 80 3D 5F99AB03 00 - cmp byte ptr [ck3.exe+40D5418],00 { (0),0 }
Anyway, still puzzling my way through the tutorials so maybe i'll have more luck tomorrow. Just thought i'd
post that first bit in case it helps anyone else move this along. Any comments on what to do next to make it
work are most welcome.
Code: Select all
AobScanModule(aob_man_trigger, $process, AF 01 88 98 12 01 00 00) // Fires on ironman-button change
// ?x xx xx xx xx xx xx xx // Allows for manual checksum check man_trigger
Not sure. I think I did, but today it didn't work, and I saw that the version was 1.10.0.1. I believe the version I used when updating was 1.10.0.0, but I might have just overlooked it, and also messed up the AOB. Anyway, I tried to update it, and it worked on a couple of restarts on my machine, so get the 1.10.0.1 table and give it a go.Epicmarkvan wrote: ↑Fri Aug 25, 2023 12:25 am
Still doesn't seem to be working for me. Did it upload the new one properly?
Awesome thank you, works great had a question about the debug option under achievements with debug mode/ruler designer, does it matter if you use the toggle debug mode option or the sub debug option under the achievements tab? Ive found that i still get achievements while using the lower option but thought I would ask. Thank you for your workNamelessy wrote: ↑Wed Aug 23, 2023 3:06 pmI am not sure that is the correct one. When you have the boolean, right click on the entry in the lower part of CE and select "See what accesses this value", you should get a few hits, one of them being this:Zol wrote: ↑Tue Aug 22, 2023 4:37 pmNew version out.
Was trying to follow the guide on updating but have hit a snag.
16C47BFDA52 seems to be the memory address for Ironman. Toggling it between 0 and 1 makes
the Ironman GUI checkbox enable/disable as per the instructions.
But then, i'm not sure how to use that to update the script.
It mentions finding the static pointer, not sure if this is the right one:
ck3.exe+61BAB2 - 80 3D 5F99AB03 00 - cmp byte ptr [ck3.exe+40D5418],00 { (0),0 }
Anyway, still puzzling my way through the tutorials so maybe i'll have more luck tomorrow. Just thought i'd
post that first bit in case it helps anyone else move this along. Any comments on what to do next to make it
work are most welcome.
ck3.exe+6979EE - 88 98 12010000 - mov [rax+00000112],bl
If you put a breakpoint there, you can see the value of rax. This is the base pointer, while 112 is the offset. You need to inject into the compare and add some code to make sure the boolean is 1.
Or, if you want to update the table a tad easier, look at the AOB that doesn't work, in this case it was the aob_man_trigger:The comment bellow (?x xx etc) is the pattern I have used to find it to update it previous (so I did an aob for: ?F 01 88 98 12 01 00 00), but now it didn't work. So I replaced the first byte with ??. When I did an AOB for: ?? 01 88 98 12 01 00 00, I got three hits. I put a breakpoint on those three places (had to scroll a bit down and up again to get proper code since the AOB hits a bit before the code it needs to override), and then I clicked the Ironman and saw where it stopped. And it was the hit with BO 01 88 98 12 01 00 00. So just update the AOB to that, and everything seems to work.Code: Select all
AobScanModule(aob_man_trigger, $process, AF 01 88 98 12 01 00 00) // Fires on ironman-button change // ?x xx xx xx xx xx xx xx // Allows for manual checksum check man_trigger
Updated table here.
This seems to be the only thing needing an update, which I find a bit strange, so if there is anything I missed (I did a quick run through of the table, but I might have missed something), just point it out.
The debug under the achievements is for when I need to debug the achievment bits It only shows the bools, so they have nothing to do with the debug_mode and console for the game.dr909 wrote: ↑Tue Sep 12, 2023 8:11 am
Awesome thank you, works great had a question about the debug option under achievements with debug mode/ruler designer, does it matter if you use the toggle debug mode option or the sub debug option under the achievements tab? Ive found that i still get achievements while using the lower option but thought I would ask. Thank you for your work
Update neededNamelessy wrote: ↑Tue Sep 12, 2023 1:01 pmThe debug under the achievements is for when I need to debug the achievment bits It only shows the bools, so they have nothing to do with the debug_mode and console for the game.dr909 wrote: ↑Tue Sep 12, 2023 8:11 am
Awesome thank you, works great had a question about the debug option under achievements with debug mode/ruler designer, does it matter if you use the toggle debug mode option or the sub debug option under the achievements tab? Ive found that i still get achievements while using the lower option but thought I would ask. Thank you for your work