Putting up add-ons on 1.9
Moderator: Forum Moderators
Putting up add-ons on 1.9
When I attempt to add one of my add-ons to 1.9 the game crashes much as it does if you try to get to the multiplayer server through the direct link. I can see that there are add-ons on the server so it must be possible to do and I was wondering if there was any special requirement to get add-ons onto it.
Incase it helps, I am using a mac and the .pbl was simply copied from the 1.8 version of the add-on.
Incase it helps, I am using a mac and the .pbl was simply copied from the 1.8 version of the add-on.
"There are two kinds of old men in the world. The kind who didn't go to war and who say that they should have lived fast died young and left a handsome corpse and the old men who did go to war and who say that there is no such thing as a handsome corpse."
Re: Putting up add-ons on 1.9
AFAIK what's recommended for now is to use the
Either that, or learn how to use
EDIT: actually, the aforementioned recommendation is in the Wesnoth 1.9.0 release announcement, under Known Bugs.
wesnoth_addon_manager
script instead of the built-in game client, but since it's rather complicated for non-Linux/pure BSD users, you may want to avoid wasting efforts in 1.9 until the next version.Either that, or learn how to use
wesnoth_addon_manager
, which even beats me sometimes. 
EDIT: actually, the aforementioned recommendation is in the Wesnoth 1.9.0 release announcement, under Known Bugs.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
-
- Posts: 462
- Joined: June 8th, 2006, 3:25 am
Re: Putting up add-ons on 1.9
If you decide to try to use the wesnoth_addon_manager script, the necessary command to upload to the 1.9.x add-on server (or at least the one that I got to work under windows) is
Code: Select all
<full path to python.exe> <full path to wesnoth_addon_manager> -p 1.9.x -u <full path to your add-on>
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: Putting up add-ons on 1.9
OK, how many of the authors who have their add-ons on the 1.9 server were doing this from a windows machine ? I've downloaded ATBX and your init-icon.png is a corrupted file, the same happened with my image files. So the uploading of binary files doesn't seem to work. Text-only files like .cfg and .lua work however, so in the case of ATBX it's (almost) sufficient.Exasperation wrote:If you decide to try to use the wesnoth_addon_manager script, the necessary command to upload to the 1.9.x add-on server (or at least the one that I got to work under windows) isCode: Select all
<full path to python.exe> <full path to wesnoth_addon_manager> -p 1.9.x -u <full path to your add-on>
I don't feel like trying to fix it since the addon_manager is usually pretty unimportant.
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
-
- Posts: 462
- Joined: June 8th, 2006, 3:25 am
Re: Putting up add-ons on 1.9
Well, since init-icon.png is both unfinished and unused (I had forgotten about moving it into the ATBX directory for testing purposes before the last time I uploaded), it doesn't matter in this instance, but I think you should probably file a bug report anyway.
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: Putting up add-ons on 1.9
I've uploaded from my ubuntu dual boot and unsurprisingly it worked, although the files are exactly the same. (a separate BfW installation isn't needed). A bug report isn't going to be of much use however since the seemingly only one who's capable of fixing it (esr) is never going to test on windows.
https://gna.org/bugs/?16649
https://gna.org/bugs/?16649
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: Putting up add-ons on 1.9
any chance it's caused by this line (data\tools\wesnoth\campaignserver_client.py):
how do those files differ?
(shouldn't it be set to wb?)z = gzip.GzipFile(mode = "w", fileobj = io)
how do those files differ?
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: Putting up add-ons on 1.9
Thx but silene "fixed" it. Uploading campaigns with the syntax described by Exasperation above should work now. I couldn't figure out how to do it with the "other" syntax however which you get informed about when running with -h option, but it seems relevant only for the old-style campaign syntax with the external .cfg file instead of _main.cfg.
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: Putting up add-ons on 1.9
Not Completely Off-Topic
I'm not really around any more, but you can find me in TvTropes.
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: Putting up add-ons on 1.9
Replacing data/tools/campaignserver_client.py with the version from the source repository
http://svn.gna.org/viewcvs/wesnoth/trun ... y?view=log
should do the trick. Anyone able to handle wmllint should be able to handle the addon manager too.
http://svn.gna.org/viewcvs/wesnoth/trun ... y?view=log
should do the trick. Anyone able to handle wmllint should be able to handle the addon manager too.
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: Putting up add-ons on 1.9
I just used my 1.8 client and uploaded it to addons.wesnoth.org:15002
As a Windows user, that will probably be faster and easier for you than the python options.
As a Windows user, that will probably be faster and easier for you than the python options.
http://www.wesnoth.org/wiki/User:Sapient... "Looks like your skills saved us again. Uh, well at least, they saved Soarin's apple pie."
- Alarantalara
- Art Contributor
- Posts: 789
- Joined: April 23rd, 2010, 8:17 pm
- Location: Canada
Re: Putting up add-ons on 1.9
There still seems to be some problems in 1.9.1
While the addon manager works fine, I am told that my passphrase is incorrect for the addon when using Wesnoth itself.
While the addon manager works fine, I am told that my passphrase is incorrect for the addon when using Wesnoth itself.
Re: Putting up add-ons on 1.9
Never happened to me...Alarantalara wrote:There still seems to be some problems in 1.9.1
While the addon manager works fine, I am told that my passphrase is incorrect for the addon when using Wesnoth itself.
Formerly known as the creator of Era of Chaos and maintainer of The Aragwaithi and the Era of Myths.