wesnoth update?

General feedback and discussion of the game.

Moderator: Forum Moderators

User avatar
new2
Posts: 83
Joined: November 4th, 2006, 9:27 pm
Location: Germany

wesnoth update?

Post by new2 »

Why is there no update for wesnoth? If a new Version comes out I lose savings and settings (or copy it but that's bad). Isn't it possible to get a update for wesnoth?
Ageless!
User avatar
Pentarctagon
Project Manager
Posts: 5526
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: wesnoth update?

Post by Pentarctagon »

you could always just copy over the userdata folder from the old version to the new version (and if you haven't deleted the userdata manually, it should still be there. at least it is for me).
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
new2
Posts: 83
Joined: November 4th, 2006, 9:27 pm
Location: Germany

Re: wesnoth update?

Post by new2 »

yes, but it would be easier to update wesnoth. Why is there no update?
Ageless!
Sangel
Moderator Emeritus
Posts: 2232
Joined: March 26th, 2004, 10:58 pm
Location: New York, New York

Re: wesnoth update?

Post by Sangel »

It is considerably easier to compile a stand-alone application than it is to compile an application designed to update other applications, particularly if said applications have a variety of versions that the update might be applied to.

Wesnoth relies on volunteers to create the binaries you see on the download page. Since most of those volunteer do not have the time and/or capabilities to create updaters, they do not do so.
"Pure logic is the ruin of the spirit." - Antoine de Saint-Exupéry
User avatar
Hulavuta
Posts: 1668
Joined: October 11th, 2008, 8:17 pm
Location: United States

Re: wesnoth update?

Post by Hulavuta »

by the way, are you talking about versions from the same branch?

In other words, do you want an updater for example, 1.6 to 1.8, or one from 1.8 to 1.8.1?
F:tGJ, Saurian Campaign
The Southern Chains, a fanfic
“The difference between winners and champions is that champions are more consistent."
~Sierra
User avatar
Viliam
Translator
Posts: 1341
Joined: January 30th, 2004, 11:07 am
Location: Bratislava, Slovakia
Contact:

Re: wesnoth update?

Post by Viliam »

Sangel wrote:It is considerably easier to compile a stand-alone application than it is to compile an application designed to update other applications, particularly if said applications have a variety of versions that the update might be applied to.
I think the application should not do this... the installer should.

For example in Windows, the installer could see if there is another Wesnoth directory containing the older version from the same branch, and if yes, it could provide an option to copy the "userdata" directory (or perhaps only preferences and saves).

There is a chance that the previous Wesnoth version was installed in some strange directory. That could be solved using registry, or by following a simple algorithm -- if the default directory is "%DEFAULTDIR%\Wesnoth-1.8.1" and user specifies "%OTHERDIR%\Wesnoth-1.8.1", then the program should check both "%DEFAULTDIR%\Wesnoth-1.8.0" and "%OTHERDIR%\Wesnoth-1.8.0" directories, and offer updating from them.


But yes, it is a volunteer work, so unless someone volunteers to do this...
User avatar
thespaceinvader
Retired Art Director
Posts: 8414
Joined: August 25th, 2007, 10:12 am
Location: Oxford, UK
Contact:

Re: wesnoth update?

Post by thespaceinvader »

Userdata is already copied between updates in the same major version, assuming the user picks that option during installation. On windows, at least.
http://thespaceinvader.co.uk | http://thespaceinvader.deviantart.com
Back to work. Current projects: Catching up on commits. Picking Meridia back up. Sprite animations, many and varied.
User avatar
pauxlo
Posts: 1047
Joined: September 19th, 2006, 8:54 pm

Re: wesnoth update?

Post by pauxlo »

The main bonus of an update would be to download only the changes between the versions, not the whole 250 MB. This is not possible by simply changing the installer.
User avatar
Zarel
Posts: 700
Joined: July 15th, 2009, 8:24 am
Location: Minnesota, USA
Contact:

Re: wesnoth update?

Post by Zarel »

thespaceinvader wrote:Userdata is already copied between updates in the same major version, assuming the user picks that option during installation. On windows, at least.
It's not so much "copied" as just "its location doesn't change", afaik.
Proud creator of the :whistle: smiley | I prefer the CC-0 license.
User avatar
thespaceinvader
Retired Art Director
Posts: 8414
Joined: August 25th, 2007, 10:12 am
Location: Oxford, UK
Contact:

Re: wesnoth update?

Post by thespaceinvader »

True. Maintained would be a more appropriate word.
http://thespaceinvader.co.uk | http://thespaceinvader.deviantart.com
Back to work. Current projects: Catching up on commits. Picking Meridia back up. Sprite animations, many and varied.
User avatar
new2
Posts: 83
Joined: November 4th, 2006, 9:27 pm
Location: Germany

Re: wesnoth update?

Post by new2 »

couldn't be there a part of wesnoth to update userdata, add ons (some add ons are not compatible with newer versions), ... This would be better for Players and writers of add ons.
Ageless!
User avatar
Hulavuta
Posts: 1668
Joined: October 11th, 2008, 8:17 pm
Location: United States

Re: wesnoth update?

Post by Hulavuta »

There already is, it's called wmllint, and once a campaign maker updates it with it, they can just upload the new version to the server.
F:tGJ, Saurian Campaign
The Southern Chains, a fanfic
“The difference between winners and champions is that champions are more consistent."
~Sierra
User avatar
new2
Posts: 83
Joined: November 4th, 2006, 9:27 pm
Location: Germany

Re: wesnoth update?

Post by new2 »

where can I get it?
Ageless!
monochromatic
Posts: 1549
Joined: June 18th, 2009, 1:45 am

Re: wesnoth update?

Post by monochromatic »

It's included in the package, namely in the game data: /data/core/tools. Note that it's not an app, but a python script you run on the file. Search for it if you need help, it might be confusing at first.
User avatar
new2
Posts: 83
Joined: November 4th, 2006, 9:27 pm
Location: Germany

Re: wesnoth update?

Post by new2 »

and how can I use it? It is no executable file.
Ageless!
Post Reply