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 » 05 Feb 2015, 00:54

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: 3581
Joined: 25 Oct 2008, 00:23

Re: How do I save a game ?

Post by Silentwings » 05 Feb 2015, 00:55

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 » 05 Feb 2015, 18:55

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: 10207
Joined: 24 Jan 2006, 21:12

Re: How do I save a game ?

Post by PicassoCT » 05 Feb 2015, 19:08

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 » 08 Feb 2015, 04:28

Silentwings wrote:Currently not possible, sorry!
A great idea for a bounty feature though.
0 x

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

Re: How do I save a game ?

Post by Silentwings » 08 Feb 2015, 08:43

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: 3022
Joined: 05 Aug 2009, 20:42

Re: How do I save a game ?

Post by gajop » 08 Feb 2015, 09:25

It's also game specific.
0 x

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

Re: How do I save a game ?

Post by Silentwings » 08 Feb 2015, 10:15

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: 3022
Joined: 05 Aug 2009, 20:42

Re: How do I save a game ?

Post by gajop » 08 Feb 2015, 10:25

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 » 08 Feb 2015, 17:49

What about single player games though?
0 x

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

Re: How do I save a game ?

Post by Silentwings » 08 Feb 2015, 18:06

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: 578
Joined: 02 Jun 2014, 00:46

Re: How do I save a game ?

Post by hokomoko » 08 Feb 2015, 22:40

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: 3581
Joined: 25 Oct 2008, 00:23

Re: How do I save a game ?

Post by Silentwings » 08 Feb 2015, 23:29

I don't understand how what you're suggesting is different to the catching up?
0 x

hokomoko
Spring Developer
Posts: 578
Joined: 02 Jun 2014, 00:46

Re: How do I save a game ?

Post by hokomoko » 09 Feb 2015, 02:08

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