ekolis / stars-nova

Clone of the classic 4X game Stars!. Fork of original svn repo on SourceForge.
Other
17 stars 6 forks source link

Sanitize savegame filenames #19

Open ekolis opened 4 years ago

ekolis commented 4 years ago

Describe the feature you'd like to see We currently have five different types of files generated for various pieces of game state and player commands. However they are not named consistently, which will cause problems with services such as PBW. They should be named consistently, similar to FrEee, using the format GameName_TurnNumber_PlayerNumber.foo. Oh wait, each turn gets its own folder already. Still, player numbers rather than names will make things much easier for PBW! But should we cater to that or write our own service?

Benefits Make it easier to configure the games on PBW. Also, if each turn gets its own filename then you can easily roll back to a previous turn; the old files are not overwritten.

Describe alternatives Get Fyron to modify PBW to handle these files that are named after empires? Write a new PBW service? Use Stars! Autohost instead of PBW?

Additional context N/A