wesnoth update?
Moderator: Forum Moderators
Re: wesnoth update?
Read and understand...elvish_sovereign wrote: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.
-
- Posts: 1549
- Joined: June 18th, 2009, 1:45 am
Re: wesnoth update?
Read this again.Unnheulu wrote:Read and understand...elvish_sovereign wrote: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.
Re: wesnoth update?
Oh come on guys. You could at least point him in the right direction. You tell him to search; but not where?
new2: You can search for information using the wiki at
http://wiki.wesnoth.org/
Or on the forums at
http://www.wesnoth.org/forum/search.php
I found these two articles that might be helpful for you.
http://wiki.wesnoth.org/Maintenance_tools#wmllint
http://forums.wesnoth.org/viewtopic.php?f=21&t=30795
Honestly though; if you're an add-on creator, I've found it's easier just to manually update things.
new2: You can search for information using the wiki at
http://wiki.wesnoth.org/
Or on the forums at
http://www.wesnoth.org/forum/search.php
I found these two articles that might be helpful for you.
http://wiki.wesnoth.org/Maintenance_tools#wmllint
http://forums.wesnoth.org/viewtopic.php?f=21&t=30795
Honestly though; if you're an add-on creator, I've found it's easier just to manually update things.
Re: wesnoth update?
and how can I run it on maps? it is no executable file.
I'm no add-on creator but I would like revive nice old add ons. I don't know how to write any add on.
I'm no add-on creator but I would like revive nice old add ons. I don't know how to write any add on.
Ageless!
-
- Posts: 1549
- Joined: June 18th, 2009, 1:45 am
Re: wesnoth update?
Okay. I don't know what OS you are using, but I'll tell you how I do it. I'm on Mac OS 10.6.
Done.
Code: Select all
Open Terminal
cd into the directory where the the targeted file is
Then run "python /Applications/Wesnoth.app/Contents/Resources/data/core/tools/wmllint file.cfg"
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: wesnoth update?
Reviving add-ons requires you to invest lots of time, without wmllint it's much worse, and to become a half-advanced wml author being able to run wmllint.new2 wrote:and how can I run it on maps? it is no executable file.
I'm no add-on creator but I would like revive nice old add ons. I don't know how to write any add on.

projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Re: wesnoth update?
I've installed Python, and now?
wmllint starts like this...
#!/usr/bin/env python
#
# wmllint -- check WML for conformance to the most recent dialect
#
# By Eric S. Raymond April 2007.
#
# All conversion logic for lifting WML and maps from older versions of the
# markup to newer ones should live here. This includes resource path changes
# and renames, also map format conversions.
I have WinXP. The Directory is: C:\Spiele\Battle for Wesnoth 1.8.4\data\tools\wmllint
wmllint starts like this...
#!/usr/bin/env python
#
# wmllint -- check WML for conformance to the most recent dialect
#
# By Eric S. Raymond April 2007.
#
# All conversion logic for lifting WML and maps from older versions of the
# markup to newer ones should live here. This includes resource path changes
# and renames, also map format conversions.
I have WinXP. The Directory is: C:\Spiele\Battle for Wesnoth 1.8.4\data\tools\wmllint
Ageless!
Re: wesnoth update?
Apparently I hit quote instead of edit. Read the post below this.
Last edited by Gambit on August 13th, 2010, 6:13 pm, edited 1 time in total.
Re: wesnoth update?
^Those go in the command lineGambit wrote:cd C:\Spiele\Battle for Wesnoth 1.8.4\Data\tools\
python wmllint url-to-cfg-file-to-be-wmllint'ed
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: wesnoth update?
You please read the "A convenient way of running wmllint" section in the wiki that Gambit has linked to, it is intended to solve the questions you have.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Re: wesnoth update?
You are more likely to get help with this by copy/pasting the exact commands you tried and the exact output you got.new2 wrote:syntax error. Python accepts no command I try.
Re: wesnoth update?
don't works. ctrl+v produces ^V. I made the right command you've written. There stands only >>> and everything I do is wrong. I also can't change any directory.
Ageless!
Re: wesnoth update?
Try CTRL+Shift+V. That's used instead in the gnome/xfce terminal (CTRL keys are often used by some curses applications, ie nano).