Hearts of Iron IV

Hearts of Iron IV

Community Portrait Pack
MouToN  [developer] 12 Jan, 2022 @ 11:51am
Compatibility with other mods
In theory, this mod can be made compatible with any mods, including large overhaul mods like KR.
It is built to be universal and compatible with mods that adopt a soft reference portrait system, like Vanilla did last week (in open beta 1.11.5). But it represent a lot of work on these mods.

I had suggested to adpopt this standard to a main HOI4 developper more than 4 years ago, to which he answered positively if I could do the database translation for them. Which I did: I ran a code on the database to replace every hard references by soft ones, then tested the result alone for 8 hours. I sent him the modified files when I was confident there was absolutely no bug, but he backed down when he realized how much time it would take in the Q&A phase. You can note that I have been ready the whole time and released this mod about 3 days after the standard I was waiiting for.

To be fair, my ideas having already been rejected once kind of took a bit of my will to fight away (and I understand that the team paying the Q&A testers has to make choices about how their time is better used).

I was waiting for my mod to gain some visibility before campaining for that new standard, but if I am approached by a mod dev team in the mean time, I will work with them to help them during the transition.
< >
Showing 1-9 of 9 comments
MouToN  [developer] 12 Jan, 2022 @ 12:05pm 
The beauty of this standard is that it works for a mod like this one which adds more than 250 portraits, but it also works for a mod that adds only a single portrait. And both these mods would be inter-compatible (unless they awkwardly pick the same name for their interface file).
Sniper2525 14 Jan, 2022 @ 5:23pm 
it works with satisfying states
MouToN  [developer] 14 Jan, 2022 @ 5:52pm 
Actually, while it might seems that it works, it doesn't really.
That's because Satisfying States only overrides a few character definitions, so the vast majority of the charcters are still the Vanilla ones.
For example, they have not updated their German decisions file, so if you use Satisfying States with Community Portrait Pack, changing the mod loading order won't change anything: you will keep the default Satisfying States portraits for Reicskommissars.
Last edited by MouToN; 14 Jan, 2022 @ 5:59pm
Sniper2525 14 Jan, 2022 @ 6:35pm 
oh
Robopants 10 Feb, 2022 @ 8:55am 
First of all, great mod. I wanted to bring up someting in terms of compatibility with the mod Subideologies for Vanilla. At first it seemed that your mod was entirely incompatible with Subideologies for Vanilla. On closer inspection I found that some portraits actually work, though in most cases not for starting leaders. The ones I've noticed so far are Horthy, The leaders for democratic Egypt, Palestine and Botswana. I"m not a modder by any means so I don't know what causes it, nor am I asking for compatibilty but I figured it might be interesting to let you know.
MouToN  [developer] 10 Feb, 2022 @ 10:24am 
It's because they still use the old portrait referencing system.
Basically, there is two ways to code portraits in a database (Vanilla or modded), the first is to give a specific file path of the desired image, the other is to point to a unique gfx object which then assigns an image path in a different interface file.
Paradox missed an oportunity by relying almost exclusively on the first way, until quite recently. They fixed it in 1.11.5, but modders haven't.
The (new) soft way of referencing an abstract object rather than a specific file path makes that portrait modders do not have to overwrite any characters definition in the database.
Robopants 10 Feb, 2022 @ 12:12pm 
Ah okay, that's good to know. Thanks for the explanation!
Xherdos 28 Dec, 2022 @ 5:57am 
does it work with this mod ( https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2874297191 ) Just asking since that adds Generic Portraits too and i really like to have Generic's.
Last edited by Xherdos; 28 Dec, 2022 @ 5:57am
How do I make this work with RT56?
< >
Showing 1-9 of 9 comments
Per page: 1530 50