Page 1 of 1

How do I save a game ?

Posted: 05 Feb 2015, 00:54
by Lorenzaccio
Hello,

it might be a dumb question, but I couldn't figure it out, so here it is : how do I save during a singleplayer skirmish ?
I couldn't find a way to do it via the ingame menu. I don't know if there is a hotkey for that.

Thanks

Re: How do I save a game ?

Posted: 05 Feb 2015, 00:55
by Silentwings
Currently not possible, sorry!

Re: How do I save a game ?

Posted: 05 Feb 2015, 18:55
by SinbadEV
Silentwings wrote:Currently not possible, sorry!
That's the useful answer... the slightly less useful answer is that it is technically possible for games to implement Lua based Save/Load mechanisms so it's possible that some versions of some games running on some versions of the SpringRTS engine might have Save/Load functionality.

Re: How do I save a game ?

Posted: 05 Feb 2015, 19:08
by PicassoCT
We had it, we broke it, we had it, we lost it, we found it, we had it.. you get it. ;)

Sorry.. i know when you dont know about the engine, saving sounds super-easy, but it aint. Its for the same reason you cant really save in many multiplayer shooters.
Yes, there are fallback points, but true save and load are - rather complicated.

Re: How do I save a game ?

Posted: 08 Feb 2015, 04:28
by Super Mario
Silentwings wrote:Currently not possible, sorry!
A great idea for a bounty feature though.

Re: How do I save a game ?

Posted: 08 Feb 2015, 08:43
by Silentwings
I agree - but it's by no means an easy project, because it's not always clear within the engine where the split between synced & unsynced data is.

Re: How do I save a game ?

Posted: 08 Feb 2015, 09:25
by gajop
It's also game specific.

Re: How do I save a game ?

Posted: 08 Feb 2015, 10:15
by Silentwings
Is it?! Not counting that games/maps differ in what is part of synced lua; in principle at least one could save/load a whole luastate although I have no idea how to do it.

Re: How do I save a game ?

Posted: 08 Feb 2015, 10:25
by gajop
Lua state can be really big...
It can also have things that can't be persisted (connections)

Re: How do I save a game ?

Posted: 08 Feb 2015, 17:49
by Super Mario
What about single player games though?

Re: How do I save a game ?

Posted: 08 Feb 2015, 18:06
by Silentwings
I don't think there is any chance (or point) for saving/reloading multiplayer games - I was only thinking of singleplayer games.

Re: How do I save a game ?

Posted: 08 Feb 2015, 22:40
by hokomoko
The mention of MP is actually interesting, when you think about it, direct saving is indeed difficult, but it's surely feasible to save partial replays which the player will be able to load in a similar fashion to the catching up mechanism.

(I'm 99% certain this was suggested before, probably doesn't exist because no one wanted to implement it)

Re: How do I save a game ?

Posted: 08 Feb 2015, 23:29
by Silentwings
I don't understand how what you're suggesting is different to the catching up?

Re: How do I save a game ?

Posted: 09 Feb 2015, 02:08
by hokomoko
The only difference is that when you catch up, the host must stay running at all time, while I'm suggesting saving/loading which implicitly mean an intermediate period in which the game isn't running.

Imagine the following scenario:
1) You play a singleplayer game
2) You decide to stop and click save, the game writes the current replay somewhere.
3) You start spring tomorrow and load said replay. when playback ends, instead of exiting, spring gives you control similar to catching up and pauses.
4)You continue playing your game happily.