How to publish?!

Discussion and development of scenarios and campaigns for the game.

Moderators: Forum Moderators, Developers

Post Reply
J-bros
Posts: 16
Joined: June 24th, 2011, 2:46 pm

How to publish?!

Post by J-bros »

The "distributing content" page on the wesnoth site tells me this:

Once you are ready to publish, here is how you access the add-on server:
Open Wesnoth
Select "Add-ons" from the main menu
Connect to the default add-ons.wesnoth.org add-on server
Select "Publish add-on: Your Add-on Name" (the last entry in the list of add-ons)

I can do the first three steps but I don't see the last entry that they're talking about. :oops:

Someone please help I'm a noob.

J-bros

User avatar
BlackJack25
Posts: 78
Joined: July 26th, 2011, 10:50 am
Location: Italy

Re: How to publish?!

Post by BlackJack25 »

You have to put a .pbl file in the campaign folder. Open a simple txt file and fill these fields:
"title="My Campaign"
type="campaign"
icon="misc/ball.png"
version="0.1.2"
author="Me, artwork by myself"
passphrase="This is like a password"
description="You get to kill a lot of bad guys. But only the first map is done."
email="name@example.com" "
Then, save the txt as a .pbl file. When you will go on the add-ons server, the option "Publish your add-on" will appear if you search the name of your add-on ;)
Sorry for some english errors, but I'm Italian ;-)

User avatar
Iris
Site Administrator
Posts: 6646
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Re: How to publish?!

Post by Iris »

Complete article, including the possible locations and names for the .pbl file.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.

uncleshelby
Posts: 427
Joined: May 10th, 2011, 7:20 pm

Re: How to publish?!

Post by uncleshelby »

This is off-topic, but is there a way to upload an add-on without using the game?
Timshel

vcap
Posts: 80
Joined: August 1st, 2010, 3:34 pm

Re: How to publish?!

Post by vcap »

uncleshelby wrote:This is off-topic, but is there a way to upload an add-on without using the game?
There is a command-line tool called wesnoth_addon_manager in $datadir/tools/.

That's a python script, so it may not be very usable depending on your platform (seems to work well on linux, at least for downloading).

Anonymissimus
Inactive Developer
Posts: 2460
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: How to publish?!

Post by Anonymissimus »

vcap wrote:That's a python script, so it may not be very usable depending on your platform (seems to work well on linux, at least for downloading).
I used the version in 1.9 successfully on windows rather recently, so this one is ok provided you are familiar with the command line...
(for upload)
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign

User avatar
fmac81
Posts: 75
Joined: February 24th, 2011, 9:55 pm

Re: How to publish?!

Post by fmac81 »

I had the same problem as J-bros and was going to post a new topic about it until I came across this one. I already had a _server.pbl file that I created using the PblWML link in the Wiki but I am unable to find it in the add-ons list or anything at all. I tried having it within my campaign folder, out of it, and now back in it...and nothing has seemed to work. Anything I am missing?
It has everything in the _server.pbl file as well, I double checked it to the example one BlackJack25 gave.

Thanks,
fmac81

EDIT: Nevermind, I finally got it to work! :)

Ghite
Posts: 23
Joined: July 7th, 2013, 11:28 pm

Re: How to publish?!

Post by Ghite »

By campaign folder do you mean the folder in the gamedata place? I can't get this to work either.

User avatar
Heindal
Posts: 1058
Joined: August 11th, 2011, 9:25 pm
Location: Germany, Karlsruhe
Contact:

Re: How to publish?!

Post by Heindal »

It might be a redundant Information, but there are two possible locations for addons (in Windows):


C:\Games\Battle for Wesnoth 1.10.0\userdata\data\add-ons\youraddonfolder

or

C:\Users\Username\Documents\My Games\Wesnoth1.10\data\add-ons\youraddonfolder

In the addon folder you should have the files:

_main.cfg
_server.pbl
also your folders such as maps and scenarios.


If you than open add-ons your own scenarios should be displayed in green at the very bottom of the addon list and it should say: Publish add-on: Youraddonname .
I hope this post is helpful.
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses

Post Reply