FreeCol / freecol

FreeCol: FreeCol is a turn-based strategy game based on the old game Colonization, and similar to Civilization. The objective of the game is to create an independent nation.
GNU General Public License v2.0
581 stars 170 forks source link

Cannot open map files on MacOs #104

Closed mfasold closed 2 years ago

mfasold commented 2 years ago

Since this is my first issue, I would like to thank you for the great work on this project!

In my setting, it is not possible to open existing map files. In the "Open" dialog of the map editor, the "Files of Type" text box shows "filter.fsm" (it probably should show "*.fsm"). Since it cannot be changed, it is impossible to select one of the map files that exist in this folder (see image). Note that it is also not possible to paste a text in the "File Name" box.

FreeCol Version: git-20220217 (on MacOS with Java 17)

image
mpope042 commented 2 years ago

The "filter.fsm" part has mislead you. That is just a translation key, for which there is no translation (which is a different bug). When fixed it will just contain descriptive text, like "FreeCol Saved Maps (*.fsm)". It should be possible to open existing maps, however I suspect there are none present in your default user maps directory --- the navigation controls at the top should allow you to change directory to somewhere that does have .fsm files, and/or you should be able to create some in the current directory, which should then be loadable.

mfasold commented 2 years ago

I was indeed confused by the "filter.fsm" part and by the "maps" folder name. I somehow expected it to be the "maps" folder in the installation folder, while the dialog opens in the user maps folder. Thank you for the clarification!