Comment 5 for bug 1530124

Revision history for this message
wl-zocker (wl-zocker) wrote :

I don't like it when games restrict me in the number of savegames I can have. Furthermore, having as many savegames as I need comes in very handy when I am searching a bug where I need to create multiple savegames during one game.

Also maps are affected. Users want to share their maps with others (for multiplayer or on our website), and I think that having slots or cryptic filenames (map_created_on_31_12_15_11_08) are a bad idea.

My suggestion is to check before saving if the given name is legal. If not, ask the user for another one. When loading a map/savegame whose filename contains an illegal character, don't show it/show it but make it unable to load. This case can only happen when the user has manually renamed the file, and then he cannot expect everything to work fine.

Illegal characters can surely be found in a list somewhere (see #1), surely also for non-latin based languages. If in doubt, we should simply include some more characters. As hjd already mentioned, this is an edge case, so I don't think it's worth spending too much effort on this task.