use a program like grepwin to find out easier how the folder structure works
Here's what I got from putting in the name of a minister
1. Where I search
2. Guys name
3. He shows up in a Spanish event
4. He is A general, air marshal or admiral for both Germany and Spain (He's in the Lufewaffe and involved in the Spanish civil war)
5. He is a minister in Germany
6. He is a research team in Germany
7. The final one is Imperial world war I Germany.
We learn here that obviously some dudes get around, but it's clear that ministers_ger.csv is where the germans have their ministers. However, the game also needs to be told in what file (the aforementioned ministers_ger,csv) it can find ministers.
You speak of trying to add a minister to minister_personalities.txt. This sounds strange to me because the file clearly doesn't list ministers, and is in the same folder as a list of every countries ministers?
Anyway. So you open up your country of choices file.
Our example guy looks like this
170;Chief of Air Force;Hugo Sperrle;1939;1964;1999;NS;Carpet Bombing Doctrine;High;L470;X
and the first line of the file is this:
GER;Ruling Cabinet - Start;Name;Start Year;End Year;Retirement Year;Ideology;Personality;Loyalty;Picturename;X
So
170: His unique ID.
Chief of Air Force: The post he can have
Hugo Sperrle: His name
1939: The year he becomes avaliable as minister for Germany
1964;1999: He'll be around for the rest of the game clearly
NS: He is a National-Socialist, which means Germany can hire him. They can also fascists and paternal autocrats, but no communist or capitalist ministers can fit in hitlers cabinet.
Carpet Bombing Doctrine: What his minister trait is. This is when you should've looked in
minister_personalities.txt.
Personality;Loyalty: I believe this isnt used, or that the most loyal die slightly easier from a random death event if they are also "leaders" that is to say command troops.
L470: That's the name of the file that exists that has his picture.
Great, lets search for that then. However, you will want to use another computer program, because Grepwin searches inside text files, not the names of files. Search Everything does that really well though.
We find it, but avoid a crucial error. See this mans minister picture is not in the DH full mod folder but in [game install folder]\gfx\interface\pics\L470.bmp
Mods will use resources from there if told to. Obviously, in your mod you would have a new folder in [game install folder]/mods like so Darkest Hour\Mods\yourmod
Make sure not to fuck with files in the base game folder.
Finally, there is one more thing, there's a file which is simply a list going "Here are all the minister files for all the countries" and it's called ministers.txt and is located right above the place that has the folder "ministers" and it's literally just a list like this:
ministers_afg.csv
ministers_alb.csv
ministers_alg.csv
ministers_ang.csv
ministers_ara.csv
If this sounds complicated, it isn't. I'm simply going over the steps and showing some tools of how to deal with this.
All it is in essence is copy paste another minister to the bottom of the minister file, edit the ideology and trait etc so it fits your minister. The ID must be unique among all ministers of all countries, and you need some picture of the guy in the exact correct size and format.
In the future, not that we mind questions here, but you absolutely need to sit and look at the folder, open files, close them, open another folder, check some files in it. Be familiar with the structure. There's only 3 important normal folders, 1 folder for localization (That's just so that events and units and stuff speak english and not computer when you're in game) and 1 folder for all things grapical.
The .csv files can be easier to edit if you use vs code with rainbow csv extention:
Grepwin searches inside text files really quickly. I've put numbers to correlate with my explainations.
and Search Everything searches like windows itself should be able to, just instant, anywhere, always.