Aurora 4x

C# Aurora => C# Suggestions => Topic started by: Nori on April 14, 2020, 10:47:34 AM

Title: Save DB
Post by: Nori on April 14, 2020, 10:47:34 AM
So after the release I started thinking about the scenario depot that was talked about and then how patches can remove save games and it got me thinking... Is it possible for the game to save to a separate DB so that the "static" data of the game is separate from the save game data? I don't know of the feasibility of this from a programming perspective, but I can think of several positives.

I wouldn't be surprised if this was thought of and discarded for some reason, so forgive me if I missed a discussion on it. I just haven't seen it brought up and figured I'd mention it in case it hasn't been thought of.

Thanks for your hard work Steve!
Title: Re: Save DB
Post by: Zhatelier on April 14, 2020, 11:02:27 AM
Some sort of separate DB or Export Save (and Import Save) would be handy indeed for the scenario depot idea. Considering the amazing world creation tools that arrived with C#, the only way to sharing a map is shuffling around the entire DB, which often has data that probably wouldn't need to be shared. But this probably isn't a high priority feature.
Title: Re: Save DB
Post by: Erik L on April 14, 2020, 02:02:07 PM
The problem there is if the game save data tables need to be updated. I've not looked at the DB but I surmise most of it is game save related.
Title: Re: Save DB
Post by: TMaekler on April 15, 2020, 10:39:14 AM
The biggest issue would be the pantheon of unique IDs for the different game data that would need to be generated into your DB when you import a save from another player. If they would be plainly imported into your DB they would mix with the games you run and nothing would work anymore because of duplicate IDs or overwritten IDs.