Victoria 3

Victoria 3

248 ratings
Profiling-based Optimization (Performance Mod)
8
7
3
2
2
2
2
3
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.359 MB
5 Apr, 2024 @ 9:35am
2 Jul, 2024 @ 10:40pm
10 Change Notes ( view )

Subscribe to download
Profiling-based Optimization (Performance Mod)

Description
For fellow modders: feel free to incorporate any or all parts of this mod into your own mod! I would also be glad to help in case you want to discuss implementing mod-specific optimizations.

As for donation, I currently don't think that this mod deserves it: I may be the first person to point out those problems, but they are relatively easy to fix and not as groundbreaking as what other modders managed to implement. Plus, most of it had been incorporated into the base game, and it would be unfair for supporters of this mod to pay the price. But I really appreciate everyone who offered to donate, and I promise I will work on dlc-content optimization when my finance improves.

-------------------------------------------

(6/29) I have disabled parts of my mods that have already been incorporated into the base game, but preserved the disabling of default dynamic flags due to the performance improvement (I'm not sure how much the recent CoA calculation rework actually achieves compared to disabling it all together.)
A new optimization is implemented that re-ordered all the potential conditions for every character interactions to make short-circuiting more often. Details in the update log.

Again, I must admit that all the low-hanging fruits for opitmization have been pretty much exhausted now, and ultimately modders are quite handicupped as to what game mechanics/engine features we can take advantage to both implement new things and fix old things, but I will continue to try my best with this somewhat autistic endeavor.

Due to financial constraints, I won't have access to the dlcs (including SoI unfortunately), so all the changes so far have been made on the base game. I will have a look at dlc-specific optimizations (presumably there might be some out there) when I have access to them.

-------------------------------------------

(Note: what differentiates my performance/optimization mods from most other mods is that I believe optimization should have as little impact on the gameplay/game mechanics as possible. The only places I optimize are those where unnecessary calculations can be avoided with little or no influence on how the game should otherwise feel: I still love my mosaic of pops and tiny countries in Victoria 3!

Of course, you are always welcome to combine this mod with other optimization mods that have to do with reducing the number of pops. While I cannot guarantee the compatibility with major overhaul mods, minor mods should work with this one without any issue. I welcome fellow modders to contact me if you want to incorporate parts of the optimization I made here into any major mods, since they tend to have even greater performance concerns. )

People all rightfully point out that Victoria 3 tends to have significant performance issue towards the late-game, which is often (partially correctly) attributed to pop fragmentation. Most optimization and performance mods thus focus on reducing the number of pops. However, it seems like none has utilized the in-built script profiler to look at what exactly contributes to the game's performance issue.

This mod is my personal project to optimize the game based on the profiling result. At this moment it contains two specific changes, where the original script used an highly inefficient method that lead to unnecessary calculation throughout the game, even though nothing is gained gameplay-wise.
Popular Discussions View All (2)
2
1
2 Jul, 2024 @ 5:43am
A full list of changes
Brute
1
9 May, 2024 @ 5:42am
Error in the Red Scare optimization part; and a (possibly?) speedier solution
Danarca
137 Comments
Levonty 1 Jul @ 12:06am 
Hello. Your mod have a sadly bug: U can expel dissidents 1 time on 150 years (and other interactions with characters)
Nick Salles 25 Jun @ 6:54pm 
update it pls
MrMarvado 25 Jun @ 12:11pm 
update man, the game need your mod
Schmidt 16 Apr @ 12:22pm 
which version does this mod works?
MrMarvado 6 Apr @ 5:54am 
Update pls Brute
TurtleShroom 10 Mar @ 12:13pm 
Is there any news on the update?
Tim Apple 24 Jan @ 7:42am 
Also what tool do you use to find these optimizations?
Tim Apple 23 Jan @ 10:16am 
Very politely asking for an update <3 this mod made the game playable for me.
Brute  [author] 3 Jan @ 2:37pm 
Sorry for those who find this mod useful and want me to update it! I promise I will get back to it as soon as my passion for Victoria 3 and modding comes back!
MrMarvado 13 Dec, 2024 @ 1:33pm 
Brute your people need you