Flag issue

So there is still a issue with flags and right now im using the HOI4 flag converter for now.

Flag converter (https://www.reddit.com/r/paradoxplaza/comments/iy1ifw/modding_hoi4_flag_converter_tool/)

Left : exported mod                                                                                                                          Right : Flag converter


Just posted this if it helps you resolve the issue in any way

What is the issue with the flags exported from the site, if you'd be able to elaborate? 

The site will export PNG versions of the flag alongside, if that's what you mean? However, this won't affect the mod in any way.


What is the issue with the flags exported from the site, if you'd be able to elaborate? 

The site will export PNG versions of the flag alongside, if that's what you mean? However, this won't affect the mod in any way.


-jordsta95

 The issue is that the flag is blank ingame

 Like this

And heres the error log if you need it

[14:46:02][persistent.cpp:52]: Error: "Unexpected token: focus, near line: 71" in file: "common/national_focus/swedish-focus-tree.txt" near line: 105

[14:46:02][nationalfocus.cpp:1751]: SWE_nonaligned: Couldn't find dependency SWE_facism 

[14:46:02][nationalfocus.cpp:1751]: SWE_nonaligned: Couldn't find dependency SWE_ideology 

[14:46:02][nationalfocus.cpp:1751]: SWE_nonaligned: Couldn't find dependency SWE_communism 

[14:46:03][effect.cpp:292]: Error: "Malformed token: fascism, near line: 55

" in file: "history/countries/SWE - Sweden.txt" near line: 56

[14:46:03][effect.cpp:292]: Error: "Malformed token: communism, near line: 64

" in file: "history/countries/SWE - Sweden.txt" near line: 65

[14:46:03][effect.cpp:292]: Error: "Malformed token: neutrality, near line: 73

" in file: "history/countries/SWE - Sweden.txt" near line: 74

[14:46:03][effect.cpp:292]: Error: "Malformed token: democratic, near line: 82

" in file: "history/countries/SWE - Sweden.txt" near line: 83

[14:46:07][flagtextureatlas.cpp:249]: Error loading country flag overlay: gfx/flags/SWE_democratic.tga : Unexpected texture dimensions

[14:46:07][flagtextureatlas.cpp:493]: Error loading flag for country SWE : Ideology democratic : Path gfx/flags/ : File not found

[14:46:08][flagtextureatlas.cpp:493]: Error loading flag for country SKA : Ideology democratic : Path gfx/flags/ : File not found

[14:46:09][flagtextureatlas.cpp:493]: Error loading flag for country SKA : Ideology democratic : Path gfx/flags/medium/ : File not found

[14:46:09][flagtextureatlas.cpp:249]: Error loading country flag overlay: gfx/flags/small/SWE_democratic.tga : Unexpected texture dimensions

[14:46:10][flagtextureatlas.cpp:493]: Error loading flag for country SKA : Ideology democratic : Path gfx/flags/small/ : File not found

[14:46:10][flagtextureatlas.cpp:249]: Error loading country flag overlay: gfx/flags/small/SWE_democratic.tga : Unexpected texture dimensions

[14:46:10][flagtextureatlas.cpp:493]: Error loading flag for country SKA : Ideology democratic : Path gfx/flags/small/ : File not found

[14:46:11][effect.cpp:292]: Error: "Malformed token: fascism, near line: 55

" in file: "history/countries/SWE - Sweden.txt" near line: 56

[14:46:11][effect.cpp:292]: Error: "Malformed token: communism, near line: 64

" in file: "history/countries/SWE - Sweden.txt" near line: 65

[14:46:11][effect.cpp:292]: Error: "Malformed token: neutrality, near line: 73

" in file: "history/countries/SWE - Sweden.txt" near line: 74

[14:46:11][effect.cpp:292]: Error: "Malformed token: democratic, near line: 82

" in file: "history/countries/SWE - Sweden.txt" near line: 83

[14:46:16][flagtextureatlas.cpp:249]: Error loading country flag overlay: gfx/flags/SWE_democratic.tga : Unexpected texture dimensions

[14:46:16][flagtextureatlas.cpp:493]: Error loading flag for country SWE : Ideology democratic : Path gfx/flags/ : File not found

[14:46:17][flagtextureatlas.cpp:493]: Error loading flag for country SKA : Ideology democratic : Path gfx/flags/ : File not found

[14:46:17][flagtextureatlas.cpp:493]: Error loading flag for country SKA : Ideology democratic : Path gfx/flags/medium/ : File not found

[14:46:17][flagtextureatlas.cpp:249]: Error loading country flag overlay: gfx/flags/small/SWE_democratic.tga : Unexpected texture dimensions

[14:46:18][flagtextureatlas.cpp:493]: Error loading flag for country SKA : Ideology democratic : Path gfx/flags/small/ : File not found

[14:46:18][flagtextureatlas.cpp:249]: Error loading country flag overlay: gfx/flags/small/SWE_democratic.tga : Unexpected texture dimensions

[14:46:18][flagtextureatlas.cpp:493]: Error loading flag for country SKA : Ideology democratic : Path gfx/flags/small/ : File not found

[14:49:14][persistent.cpp:52]: Error: "Error reading division template (Example Division) for country ---.

The division_names_group refers to the unknown tag: SWE_DIV_0_0, near line: 4" in file: "history/units/SWE_1936.txt" near line: 4


Looks like two issues.

1) The leaders for the 1939 start date hadn't had their sub-ideology updated to a valid one, which was causing the history file to fail to load correctly. I've updated this one for Sweden (Skåne didn't need updating)

2) The flag's dimensions are invalid. If you uploaded the flag images before the start of last week, the site wouldn't have cropped the image to fit the correct dimensions; if so, if you re-upload the images, this should resolve the issue.