

But this is more than a good starting point. If you start the game, you will not receive any achievement. Here is the mapping between pushed values and states. To understand what these are, think of the Ironman mode button as a tri-state checkbox, or a button that has 3 states. As you can see from the comments I wrote, if the user wanted to enable Ironman mode, there is an extra check that determines if achievements should be enabled or not. Here is where the breakpoint is triggered and how the code looks like.

It turns out that there is a UI thread running this code again and again, constantly checking if the Ironman mode should be enabled or not, and then updating the button seen on-screen to reflect that choice. Once I had set that access breakpoint it started being hit about every second. The steps I took thus far were very similar to the methods described in my previous post about hacking the ruler designer. Surely, the logic on whether to enable or disable achievements has to be somewhere in that code. Then I set a memory access breakpoint on it to see which code reads or writes to that variable.īy doing this and then toggling the Ironman mode once again, I find where the relevant code interested in this variable is. It appears that the game has a variable that says if the Ironman mode is selected or not. Nonetheless, the next section explains how to correctly determine the right pointer regardless of the game version.

It will be either 0 or 1, and you need to set it to 1. You will now see an entry in the list of addresses, like in the picture below. For those of you using Cheat Engine, the program allows you to manually add a pointer directly, simplifying steps 3 to 5. Or in other words, if the Ironmode button is not a green check mark, this value is zero and needs to be modified back to 1 to get the green check button. Add 0x42 to that value the memory pointer. You can use any other memory hacker for this. Mobile app source code free downloadįirst, I will show you the quickest steps needed to achieve this in CK2 v2. I sort of successfully tested this hypothesis and went a step further than that. Many have pointed out that there are mods that already do this or that add new traits that can be picked up to just decrease the age. In my earlier post I explained how to alter the ruler designer in Crusader Kings 2 to remove the age restrictions.
