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.

Moderators: Moderators, 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
0 x

User avatar
Silentwings
Moderator
Posts: 3631
Joined: 25 Oct 2008, 00:23

Re: How do I save a game ?

Post by Silentwings »

Currently not possible, sorry!
0 x

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.
0 x

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10306
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.
0 x

Super Mario
Posts: 814
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.
0 x

User avatar
Silentwings
Moderator
Posts: 3631
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.
0 x

gajop
Moderator
Posts: 3027
Joined: 05 Aug 2009, 20:42

Re: How do I save a game ?

Post by gajop »

It's also game specific.
0 x

User avatar
Silentwings
Moderator
Posts: 3631
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.
0 x

gajop
Moderator
Posts: 3027
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)
0 x

Super Mario
Posts: 814
Joined: 21 Oct 2008, 02:54

Re: How do I save a game ?

Post by Super Mario »

What about single player games though?
0 x

User avatar
Silentwings
Moderator
Posts: 3631
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.
0 x

hokomoko
Spring Developer
Posts: 591
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)
0 x

User avatar
Silentwings
Moderator
Posts: 3631
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?
0 x

hokomoko
Spring Developer
Posts: 591
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.
0 x

Post Reply

Return to “Help & Bugs”

cron