插件下载地址已更改为
http://www.wesnoth.org/addons。
另外,从
http://www.wesnoth.org/wiki/UserScenarios摘录两段与插件的安装和更新有关的内容如下:
The Campaign Server
Most user-maintained campaigns can be obtained through the Wesnoth campaign server. The campaign server is accessed from within the game itself. To use it, select the Add-Ons entry on the main menu screen. Accept the default server campaigns.wesnoth.org to connect and download a new campaign from the official server.
Some files are large and the download might time out and get interrupted if your network is slow. Remember also that the files are usually zipped (see below) so you might need to unzipped them before being able to play them.
Command Line Campaign Client
Included with Wesnoth source package is a Python command line program utils/campaigns_client.py which can access the campaign server to install and update add-on campaigns. For updating 1.3.x or 1.4.x add-ons, use one of the following commands:
campaigns_client.py -p 1.3.x -f ~/.wesnoth/data/campaigns
campaigns_client.py -p 1.4.x -f ~/.wesnoth/data/campaigns
(Use your actual Wesnoth user data directory if not ~/.wesnoth)
After modifying the command(s) for your needs you may have them run automatically by cron or Task Scheduler to periodically update add-ons.
Use campaigns_client.py --help to check its detailed usage. Note that campaigns_client.py uses Python modules that are included in the source package, but may not be installed on your system. If you run the program from the root of the source package, it will be able to use the modules without needing them to be installed.
我在1.4.7上试了一下第二种方法,发现没campaigns_client.py这个文件,类似的文件倒是有一个,不过也不行。操作过程如下:
[root@fc gsm]# whereis wesnoth
wesnoth: /usr/bin/wesnoth /usr/share/wesnoth /usr/share/man/man6/wesnoth.6.gz
[root@fc gsm]# find /usr/share/wesnoth -name campaigns_client.py
[root@fc gsm]# find /usr/share/wesnoth -name campaigns*.py
/usr/share/wesnoth/data/tools/wesnoth/campaignserver_client.py
[root@fc gsm]# ll /usr/share/wesnoth/data/tools/wesnoth/campaignserver_client.py
-rw-r--r-- 1 root root 14534 12-29 05:05 /usr/share/wesnoth/data/tools/wesnoth/campaignserver_client.py
[root@fc gsm]# chmod 744 /usr/share/wesnoth/data/tools/wesnoth/campaignserver_client.py
[root@fc gsm]# /usr/share/wesnoth/data/tools/wesnoth/campaignserver_client.py -p 1.4.x -f /home/gsm/.wesnoth/data/campaigns
/usr/share/wesnoth/data/tools/wesnoth/campaignserver_client.py: line 1: import: command not found
/usr/share/wesnoth/data/tools/wesnoth/campaignserver_client.py: line 2: import: command not found
/usr/share/wesnoth/data/tools/wesnoth/campaignserver_client.py: line 4: class: command not found
/usr/share/wesnoth/data/tools/wesnoth/campaignserver_client.py: line 6: syntax error near unexpected token `('
/usr/share/wesnoth/data/tools/wesnoth/campaignserver_client.py: line 6: ` portmap = (("15005", "1.4.x"), ("15003", "1.5.x"), ("15004", "1.2.x"))'
[root@fc gsm]# rpm -q python
python-2.5.2-1.fc10.i386
如果有哪位大虾知道问题所在的话,请赐教~
[
本帖最后由 guoshimin 于 2009-1-12 20:17 编辑 ]