[engine] Save games backwards compatible or migrate tool

Brainstorm ideas of possible additions to the game. Read this before posting!

Moderators: Forum Moderators, Developers

Forum rules
Before posting a new idea, you must read the following:

[engine] Save games backwards compatible or migrate tool

Postby WurmD » January 16th, 2018, 12:27 pm

Hey all,

Wouldn't it be nice to not lose our saved games (plus the pretty badges of "campaign complete") between versions of the game?

Were there actual format changes that made the saves from 1.12 to 1.13 not compatible?
If so, Is there a simple command, or tool to migrate from 1.12 to 1.13? (and later to 1.14 :D)
WurmD
 
Posts: 10
Joined: July 9th, 2017, 1:12 pm

Re: [engine] Save games backwards compatible or migrate tool

Postby octalot » January 16th, 2018, 1:27 pm

If you just copy your save games from the 1.12 directory to the 1.13 directory, the game will warn but try to load it.

On Linux, the preferences settings seem to automatically be loaded from the same file for 1.12 and 1.13, and so the list of completed campaigns already migrates. Have you tested the latest 1.13 version before suggesting the idea?
octalot
 
Posts: 91
Joined: July 17th, 2010, 7:40 pm

Re: [engine] Save games backwards compatible or migrate tool

Postby WurmD » January 16th, 2018, 6:24 pm

aah.. the preferences settings..
I actually changed operating systems from Ubuntu 14.04 to 16.04 and only backed up the saves folder.. :|

Oh well.
WurmD
 
Posts: 10
Joined: July 9th, 2017, 1:12 pm

Re: [engine] Save games backwards compatible or migrate tool

Postby Pentarctagon » January 17th, 2018, 1:21 am

It would be nice, though Wesnoth does not guarantee compatibility when switching between major stable versions. So while old saves might work after upgrading from 1.12 -> 1.14, I really wouldn't count on it.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
Pentarctagon
Forum Administrator
 
Posts: 3142
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)


Return to Ideas

Who is online

Users browsing this forum: No registered users and 5 guests