Upgrading scenarios to 1.4
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
- Sgt. Groovy
- Art Contributor
- Posts: 1471
- Joined: May 22nd, 2006, 9:15 pm
- Location: Helsinki
Upgrading scenarios to 1.4
I just upgraded my Wesnoth installation and obviously I want to get my in-progress campaigns working on the new setup as well. The first complaint I got was to do with the maps, they need a header now and the terrains are encoded in two-character cells.
Is there an easy way to upgrade existing maps into the new format? What else needs to be changed for the upgrade?
Is there an easy way to upgrade existing maps into the new format? What else needs to be changed for the upgrade?
Tiedäthän kuinka pelataan.
Tiedäthän, vihtahousua vastaan.
Tiedäthän, solmu kravatin, se kantaa niin synnit
kuin syntien tekijätkin.
Tiedäthän, vihtahousua vastaan.
Tiedäthän, solmu kravatin, se kantaa niin synnit
kuin syntien tekijätkin.
Re: Upgrading scenarios to 1.4
wmllint will all do it for you.
if you configured with --enable-python-install, they should be in your $PATH, else, look in data/tools
if you configured with --enable-python-install, they should be in your $PATH, else, look in data/tools
- Sgt. Groovy
- Art Contributor
- Posts: 1471
- Joined: May 22nd, 2006, 9:15 pm
- Location: Helsinki
Re: Upgrading scenarios to 1.4
I don't have wmllint, it doesn't seem to ship with the Debian package. Can it be downloaded separately?
Tiedäthän kuinka pelataan.
Tiedäthän, vihtahousua vastaan.
Tiedäthän, solmu kravatin, se kantaa niin synnit
kuin syntien tekijätkin.
Tiedäthän, vihtahousua vastaan.
Tiedäthän, solmu kravatin, se kantaa niin synnit
kuin syntien tekijätkin.
Re: Upgrading scenarios to 1.4
It's a python script in data/tools and as such should be present in any package. Anyway
http://svn.gna.org/viewcvs/wesnoth/trun ... 6&view=log
http://svn.gna.org/viewcvs/wesnoth/trun ... 6&view=log
Somewhere, between the sacred silence and sleep.
Disorder.
Disorder.
- Rhonda
- Site Administrator
- Posts: 47
- Joined: January 26th, 2008, 9:13 pm
- Location: Vienna, Austria, Europe, Earth, Milky Way
- Contact:
Re: Upgrading scenarios to 1.4
Sgt. Groovy wrote:I don't have wmllint, it doesn't seem to ship with the Debian package. Can it be downloaded separately?
Code: Select all
:~$ cat /usr/share/doc/wesnoth/TODO.Debian
create wesnoth-tools package containing:
- debian/tmp/usr/share/games/wesnoth/data/tools/
- chmod +x on the scripts (wmllint, wmlscope, wmlindent, others?)
- byte-compile .py modules?
Any suggestions or hints in that direction would be truly appreciated, especially since it might make sense to rush that a bit because of ubuntu hard freeze.
Re: Upgrading scenarios to 1.4
I'd say the package wesnoth-tools would be equivalent to the --enable-python-install option, meaning throwing the three main scripts a+x into the same directory as the other wesnoth binaries (wherever that is).
I'm not sure what you should do with the data/tools stuff, but it stands to reason (again having no idea about debian policy on these things) to just throw it in there with this package.
I'm not sure what you should do with the data/tools stuff, but it stands to reason (again having no idea about debian policy on these things) to just throw it in there with this package.