Page 37 of 49

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Sat Oct 01, 2022 5:51 pm
by Namelessy
Plotac75 wrote:
Sat Oct 01, 2022 5:31 pm
Say, if someone wanted to just tweak the extension to work on the current version, is that something that'd take a lot of doing?
Depends what you want to do. The achievement bit is easy to update, the console needs a bit of work. For the other things, which is use pPlayer, you will need Recifenses table (or roll your own pPlayer selection script)

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Sat Oct 01, 2022 6:09 pm
by Plotac75
Yeah, just the achievements bit since Better Ideology Colors messes with forbidden files.

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Sat Oct 01, 2022 6:37 pm
by Namelessy
Plotac75 wrote:
Sat Oct 01, 2022 6:09 pm
Yeah, just the achievements bit since Better Ideology Colors messes with forbidden files.
Change the MAVC AOB to:

Code: Select all

aobScanModule(MAVC,$process,E8 ?? ?? ?? ?? 40 88 7B 7A 48 8B 5C 24 30)
the enable script:

Code: Select all

from:  mov byte ptr [rbx+6A],01
to: mov byte ptr [rbx+7A],01
and the disable script:

Code: Select all

from: db 40 88 7B 6
to: db 40 88 7B 7A

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Sat Oct 01, 2022 6:57 pm
by Plotac75
Thanks - works like a charm!

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Sun Oct 02, 2022 5:11 pm
by lastbeluga
Namelessy wrote:
Sat Oct 01, 2022 5:51 pm
Plotac75 wrote:
Sat Oct 01, 2022 5:31 pm
Say, if someone wanted to just tweak the extension to work on the current version, is that something that'd take a lot of doing?
Depends what you want to do. The achievement bit is easy to update, the console needs a bit of work. For the other things, which is use pPlayer, you will need Recifenses table (or roll your own pPlayer selection script)
Could you help point me in the right direction for the console? I'd like to fix some borders in ironman.

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Sun Oct 02, 2022 10:48 pm
by dnt400311
can anyone that has updated it or has the updated version just share it?
Thank you in advance

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Mon Oct 03, 2022 7:42 am
by Xx_schumacher_xX
Anyone update this cheat table for heart of Iron IV?

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Mon Oct 03, 2022 10:58 am
by hedop
Could we get an update?

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Mon Oct 03, 2022 11:49 am
by SomaTGW
Listen everyone, I want an update to this table as much as the next guy so I can play around with By Blood Alone DLC. But just have a little patience at least.

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Mon Oct 03, 2022 5:57 pm
by Namelessy
Updated the extension table to 1.12.2.

Most things are updated, air upgrade has been removed due to the new plane designer. I also noticed that the decisions in a day script doesn't take all decisions. It gets the usual ones, but it didn't hit on the "Paramilitary Training in German Poland". Not sure if these are DLC or not, but they are probably handled somewhere else.

Updated the pointers, but I might have missed something under "state" as I didn't have all of them available due to no saves. So if you spot some pointers that are off, leave a note.

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Tue Oct 04, 2022 10:15 am
by Kaedus
Namelessy wrote:
Mon Oct 03, 2022 5:57 pm
Updated the extension table to 1.12.2.
strange, but for the first time, "Enable Modded Achievements" crashes the game after being unpaused at the start.

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Tue Oct 04, 2022 12:08 pm
by Pleb311
Namelessy wrote:
Mon Oct 03, 2022 5:57 pm
Updated the extension table to 1.12.2.

Most things are updated, air upgrade has been removed due to the new plane designer. I also noticed that the decisions in a day script doesn't take all decisions. It gets the usual ones, but it didn't hit on the "Paramilitary Training in German Poland". Not sure if these are DLC or not, but they are probably handled somewhere else.

Updated the pointers, but I might have missed something under "state" as I didn't have all of them available due to no saves. So if you spot some pointers that are off, leave a note.
I'm a bit of a noob, where can I find Recifense's script and how do I add it to your table? Is it the 1.11.10 table they uploaded on the first page?
Thanks

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Tue Oct 04, 2022 12:34 pm
by hedop
Namelessy wrote:
Mon Oct 03, 2022 5:57 pm
Updated the extension table to 1.12.2.

Most things are updated, air upgrade has been removed due to the new plane designer. I also noticed that the decisions in a day script doesn't take all decisions. It gets the usual ones, but it didn't hit on the "Paramilitary Training in German Poland". Not sure if these are DLC or not, but they are probably handled somewhere else.

Updated the pointers, but I might have missed something under "state" as I didn't have all of them available due to no saves. So if you spot some pointers that are off, leave a note.
Thx but it doesn't work since I can't activate Recifense table anymore and thus the merge doesn't work. How do I get that to work?

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Tue Oct 04, 2022 4:15 pm
by Namelessy
lastbeluga wrote:
Sun Oct 02, 2022 5:11 pm
Could you help point me in the right direction for the console? I'd like to fix some borders in ironman.
Sure, considering I sort of re-did it from scratch this time (which probably wasn't needed).
Start a new game that is non-ironman, open the console, search for byte with value 1. Close console, search for value 0, repeat until you have a few left. Have the console open (all values remaining should be 1). Change them one by one to 0. Finally you get the one opening and closing the console (there are a couple, find the one that opens the full console).

Put on a "what writes to this address", and you find what writes to it, note down the location (hoi4.exe+<something> so you can find it later when everything crashes :) )

Put a breakpoint on it, see the code flow, note the function calls/return addresses.

Fire up an ironman game, and put a breakpoint on the same instruction, and you can see that it doesn't hit. Trace back until there is a branch that either calls it or not (you might want to go back to the non-ironman game to find that). Eventually you will find it, nop out this instruction, and you can now open the console in Ironman.

Then you "just" need to find the places that blocks commands from being executed, then you need to figure out how to prevent the game from crashing when commands are executed (there are notes in the table)

Re: Hearts of Iron IV x64 v1.11.10 (GM and More) 2022-Apr-16

Posted: Tue Oct 04, 2022 4:16 pm
by Namelessy
Kaedus wrote:
Tue Oct 04, 2022 10:15 am
strange, but for the first time, "Enable Modded Achievements" crashes the game after being unpaused at the start.
Not happened here, or for some other testers. If you are running with a lot of mods you might want to cut back on those. If you are running total conversion mods, all bets are off :)