Small/medium flags for a country not working
If you run your game in debug mode, do you get any errors?
If you run your game in debug mode, do you get any errors?
-jordsta95
I do get one, but only for the small flag, saying invalid size, but theres nothing for medium size even though it doesnt display?
For the upside-down flag, well I just flipped my flag upside down and its normal now, but I didn't see any errors for that one
Would you be able to share the entire error log, just in case there's something else in there which may be affecting the flags, but isn't obvious?
Would you be able to share the entire error log, just in case there's something else in there which may be affecting the flags, but isn't obvious?
-jordsta95
I couldnt screenshot the whole thing but I was able to fit all the flags in. Hopefully this is good enough
You should be able to upload the whole error log by using the upload button:
If you're unsure of the error log's location, by default it will be in "My Documents/Paradox Interactive/Hearts of Iron IV/logs" and then upload error.log
Just want to be able to rule out any errors outside of ones which relate to flags (e.g. an ideology not loading correctly, or something weird)
You should be able to upload the whole error log by using the upload button:
If you're unsure of the error log's location, by default it will be in "My Documents/Paradox Interactive/Hearts of Iron IV/logs" and then upload error.log
Just want to be able to rule out any errors outside of ones which relate to flags (e.g. an ideology not loading correctly, or something weird)
-jordsta95
Huh, trying to import it doesnt show the logs, only folders. Is there a chance I've uploaded the flags in the wrong size? I uploaded them in 82x52.
Looks like there was an error with the export code setting the leaders' expire date to "1965.1." instead of "1965.1.1" and this was causing issues with the countries.
After fixing this error in the export code, I gave your mod a quick test and all the flags appeared as expected (with Delmarva not having a flag).
Let me know if you're still having issues :)
Looks like there was an error with the export code setting the leaders' expire date to "1965.1." instead of "1965.1.1" and this was causing issues with the countries.
After fixing this error in the export code, I gave your mod a quick test and all the flags appeared as expected (with Delmarva not having a flag).
Let me know if you're still having issues :)
-jordsta95
I've put in the proper expire dates, still having issues. The expire date doesnt have errors anymore, though the flags are saying incorrect dimensions/file not found. have I done something wrong?
Shouldn't have done. The site will automatically crop images to the correct 3 sizes:
'small' => ['width' => 10, 'height' => 7],
'medium' => ['width' => 41, 'height' => 26],
'normal' => ['width' => 82, 'height' => 52]
However, if you uploaded the flags more than a couple of weeks ago (e.g. April) then the tool didn't crop to fit, which may be the issue.
So before the fix for cropping, if you uploaded a flag the size 820x480 the flag size would be 82x48 / 41x24 / 10x6 - which would be invalid.
Zegery
The small/medium flags, for divisions, aren't working properly? The large is working though. It doesn't show my flag, just random country's flag. I checked the files, and the size is correct. What may be the problem?
Bonus problem: My flag displays upside down