Hearts of Iron IV

Hearts of Iron IV

701 个评价
[OBSOLETE, INCLUDED IN THE GAME ITSELF]Vanilla Performance Improvements
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
199.767 KB
2019 年 4 月 3 日 下午 1:43
2019 年 4 月 16 日 上午 10:53
7 项改动说明 ( 查看 )

订阅以下载
[OBSOLETE, INCLUDED IN THE GAME ITSELF]Vanilla Performance Improvements

描述
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 条留言
Koro 2023 年 9 月 1 日 下午 6:37 
Legend.
Yard1  [作者] 2020 年 12 月 27 日 上午 6:17 
@KaiserKarl It's the built in performance profiler, you should be able to find a guide on paradox's hoi4 forums
KSchwertner 2020 年 12 月 26 日 下午 10:11 
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 2020 年 10 月 18 日 上午 3:34 
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  [作者] 2020 年 10 月 18 日 上午 2:49 
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 2020 年 10 月 18 日 上午 2:00 
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 2020 年 5 月 30 日 上午 7:21 
Jak zrobiłeś ten wykres?
colonelfatherbigtrash 2020 年 5 月 12 日 下午 3:23 
yes
Holy Doggo 2020 年 3 月 11 日 下午 7:15 
you made improvments to the game fucking twice and both times it was implemented, absolutly stunning work from pdx just... wow
Paxcorpus 2020 年 2 月 17 日 上午 11:53 
no