How do I save a game ?

How do I save a game ?

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
Lorenzaccio
Posts: 1
Joined: 04 Feb 2015, 01:00

How do I save a game ?

Post 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
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: How do I save a game ?

Post by Silentwings »

Currently not possible, sorry!
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: How do I save a game ?

Post 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.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: How do I save a game ?

Post 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.
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: How do I save a game ?

Post by Super Mario »

Silentwings wrote:Currently not possible, sorry!
A great idea for a bounty feature though.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: How do I save a game ?

Post 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.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: How do I save a game ?

Post by gajop »

It's also game specific.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: How do I save a game ?

Post 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.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: How do I save a game ?

Post by gajop »

Lua state can be really big...
It can also have things that can't be persisted (connections)
Super Mario
Posts: 823
Joined: 21 Oct 2008, 02:54

Re: How do I save a game ?

Post by Super Mario »

What about single player games though?
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: How do I save a game ?

Post by Silentwings »

I don't think there is any chance (or point) for saving/reloading multiplayer games - I was only thinking of singleplayer games.
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: How do I save a game ?

Post 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)
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: How do I save a game ?

Post by Silentwings »

I don't understand how what you're suggesting is different to the catching up?
hokomoko
Spring Developer
Posts: 593
Joined: 02 Jun 2014, 00:46

Re: How do I save a game ?

Post 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.
Post Reply

Return to “Help & Bugs”