Hearts of Iron IV

Hearts of Iron IV

698 ratings
[OBSOLETE, INCLUDED IN THE GAME ITSELF]Vanilla Performance Improvements
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
199.767 KB
Apr 3, 2019 @ 1:43pm
Apr 16, 2019 @ 10:53am
7 Change Notes ( view )

Subscribe to download
[OBSOLETE, INCLUDED IN THE GAME ITSELF]Vanilla Performance Improvements

Description
NEW VERSION FOR 1.9 - Vanilla Performance Improvements Vol. 2 (1.9)

THIS MOD IS INCLUDED IN VANILLA HEARTS OF IRON IV VERSION 1.7 AND ABOVE. DO NOT USE IT WITH 1.7 OR ABOVE.

THIS MOD IS INCLUDED IN VANILLA HEARTS OF IRON IV VERSION 1.7 AND ABOVE. DO NOT USE IT WITH 1.7 OR ABOVE.

THIS MOD IS INCLUDED IN VANILLA HEARTS OF IRON IV VERSION 1.7 AND ABOVE. DO NOT USE IT WITH 1.7 OR ABOVE.

Gain a 5% - 15% performance increase without any loss of functionality or gameplay features.

With the release of 1.6.2 patch, new modding features have been added that allow for large performance increases, especially in targeted decisions (which are a major performance hog). I have rewritten a lot of vanilla code (18 decision files, 11 event files and a few other have been modified) to make use of those features, as well as fixed some strange design choices and poorly written triggers. The result is an increase in performance by 5% - 10% on average, and up to 20% per in-game hour (measured with the Script Profiler tool). This results in noticeably less stutter and much smoother gameplay, on both low-end and high-end PCs.

Nothing has been removed or changed gameplay-wise. The only loss of content are a few tooltips. Quite frankly, there is no reason not to use this mod.

The major issue with targeted decisions is that they need to check every country to see if it can be a target. New features allow to limit which countries are checked, which results in major performance boosts.

Modders: a guide to how to speed up your targeted decisions can be found here: https://hackmd.io/s/HyeTFARv4

This mod is compatible with any other mod, under the condition that it is overwritten by other mods (that is the reason for the hyphen in the mod name) - of course, as my changes are overwritten, that may result in loss of performance gain.

Feel free to use this as a basis for your own mods, just credit me. I tried to add comments to code I have modified, but I wasn't being consistent. Sorry! Best to use a comparison software like Meld or WinMerge to see what I have changed.

Requires 1.6.2 or newer to work.

Is not Ironman compatible, and it is impossible to make it so.

Logo by Indyclone.

Check other stuff I have worked on, especially Equestria at War (which already makes use of the improvements in this mod) :)

If you want to support me, please consider checking out my Patreon[www.patreon.com].

PS: Paradox, feel free to integrate this in Vanilla! Just shoot me a PM on the forums first, please :)
223 Comments
Koro Sep 1, 2023 @ 6:37pm 
Legend.
Yard1  [author] Dec 27, 2020 @ 6:17am 
@KaiserKarl It's the built in performance profiler, you should be able to find a guide on paradox's hoi4 forums
KSchwertner Dec 26, 2020 @ 10:11pm 
May I ask what tool you used to analysis the performance in the screenshot? I am making a mod and need it to improve the performance. Thanks!
Aromisuola Oct 18, 2020 @ 3:34am 
The game has gotten slower and slower over the years as the world war breaks out instead of going at an acceptable semi-slow'ish speed it slows down to a total crawl
Yard1  [author] Oct 18, 2020 @ 2:49am 
The newest update, 1.10, has some engine level changes that improve performance by a good deal, for both the base game and mods.
Aromisuola Oct 18, 2020 @ 2:00am 
Back then
Paradox: "Cool mod! Let's implement it to the base game!"

Now
Paradox: "Let's bloat our game and make it run like a crippled child eks dee"
Bartex31 May 30, 2020 @ 7:21am 
Jak zrobiłeś ten wykres?
ptabianmath May 12, 2020 @ 3:23pm 
yes
Holy Doggo Mar 11, 2020 @ 7:15pm 
you made improvments to the game fucking twice and both times it was implemented, absolutly stunning work from pdx just... wow
Paxcorpus Feb 17, 2020 @ 11:53am 
no