flag0393 is hardcoded as a default flag of the player empire. Deleting it completely breaks creation of new games.
Tested in 1,13 but I encountered it in 1,12
Scenario 1:
1) Use a fresh install
2) Delete flag0393 from Flags folder
3) Open the game
4) Try to create a new game (default settings)
Result: errors from (presumably) race creation window (
https://imgur. com/a/LFtYn9N) and a broken game
Scenario 2:
1) Use a fresh install
2) Delete every flag icon BUT flag0393 from Flags folder
3) Open the game
3,5) Click through a few harmless "No image found for flag" errors because Example Game has some of them in use already. Shouldn't affect the overall result.
4) Try to create a new game (default settings)
Result: game created successfully, no errors
Can circumvent the issue by renaming some other flag to it, but it is still a bug. The game should only use icons that are available.
race327 is also hardcoded as a default race picture of player empire, but deleting it doesn't break the game.
flag0000 seems to be softcoded as a default flag, but removing it doesn't break the game. Only an occasional "No image found for flag".
Accidentally discovered by changing my pool of icons. My goal was to remove all real and Earth-related flags so I wouldn't have to fight Italian or Brazilian aliens again. Got a bunch of "No image found for flag" errors along the way, but they don't seem to do anything and they do not occur after creating new game with a new set of icons.
Also, if you turn Invaders and Precursors off in the settings of the new game, their races are still generated in the database. Kind of makes sense because they are toggleable, but maybe it should be handled on settings change instead of being created by default?
EDT: also forum keeps adding more and more spaces after periods with each edits. One is enough.
SJW: Flag issue fixed for 1.14.0. Invaders and Precursors are working as intended.