How to put an era on the server?
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
How to put an era on the server?
Hi to all!
I have created an new era,(I'll post the description) but I don't know how to put it on the server... Please help me.
Thanks
I have created an new era,(I'll post the description) but I don't know how to put it on the server... Please help me.
Thanks
The easiest thing to do is to download someone else's era, change those files by copying your own data into them, creating a new .pbl file, and uploading it.
The whole publishing process is easy once you understand what's going on, but trying to explain it succinctly is tough. Here is a wiki link for you to read, but if you don't understand just post again with a specific question.
http://www.wesnoth.org/wiki/BuildingFactions
The whole publishing process is easy once you understand what's going on, but trying to explain it succinctly is tough. Here is a wiki link for you to read, but if you don't understand just post again with a specific question.
http://www.wesnoth.org/wiki/BuildingFactions
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.
My era is already creates. But I do not know how to put it on the server, so that everyone can download it.
I do not know where to go on this website to put my era on the server. I have visited the wiki, but I did not find what I'm looking for. They explain how to create an era but not how to put it on the server...
I do not know where to go on this website to put my era on the server. I have visited the wiki, but I did not find what I'm looking for. They explain how to create an era but not how to put it on the server...
Maybe this will be a simple fix.
1. Create a .pbl file. If you don't know what that is, follow the above link. It's just a text file that resides in the same directory as the config file and folder.
2. Start the game. Go to the campaign server by selecting "Campaigns" then "Get more campaigns" from the bottom of the list.
3. You will see a list of available campaigns. If everything is properly set up, then at the bottom of this list there will be a new option: "Publish eraname". If you don't see the new option, then something is not formatted properly.
1. Create a .pbl file. If you don't know what that is, follow the above link. It's just a text file that resides in the same directory as the config file and folder.
2. Start the game. Go to the campaign server by selecting "Campaigns" then "Get more campaigns" from the bottom of the list.
3. You will see a list of available campaigns. If everything is properly set up, then at the bottom of this list there will be a new option: "Publish eraname". If you don't see the new option, then something is not formatted properly.
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.
A .pbl file is the same as a text file, except the extension is .pbl instead of .txt. Start your text editor, add the information you need to put in there, and save it as myera.pbl (where myera is the name of the era you used for the config file and directory).
So, the campaigns directory should have three things:
myera.cfg
myera/ (a subdirectory)
myera.pbl
So, the campaigns directory should have three things:
myera.cfg
myera/ (a subdirectory)
myera.pbl
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.
It's just to tell the campaign data all the imformation.Marcus wrote:Yes, but...
What I want to say is: «What is the role of the .pbl?» (an example of a .pbl will be welcomed)
Read this page.
the pbl file is what tells the campaign server that it's a new campaign (or you are the author of a current campaign, and want to update it) without it you wont get the option to upload it to the server.
example (IoA file, without the passkey, you'll need to include your own, or let the campaign server generate one for you. Don't try changing the passkey, without it you won't be recognised as the author anymore, and so can't update it) you'll need to edit it (and the file name) to suit your era, but this will do.
example (IoA file, without the passkey, you'll need to include your own, or let the campaign server generate one for you. Don't try changing the passkey, without it you won't be recognised as the author anymore, and so can't update it) you'll need to edit it (and the file name) to suit your era, but this will do.
Code: Select all
author="Ranger M"
title="Invasion of Arendia"
icon="neutral-ranger.png"
version="0.0.3 (wesnoth version 1.1)"
description="has 15 complete levels."
passphrase=""
I must be having a format problem because I can't get my campaign on the server. There is no upload option. If it matters, I'm on Windows and BFW 1.1.4.
file names (all in \userdata\data\campaigns):
Era_of_Myths - folder
Era_of_Myths.cfg - the era.cfg
Era_of_Myths.pbl - the .pbl (a .txt file)
Contents of the .pbl:
help?
file names (all in \userdata\data\campaigns):
Era_of_Myths - folder
Era_of_Myths.cfg - the era.cfg
Era_of_Myths.pbl - the .pbl (a .txt file)
Contents of the .pbl:
Code: Select all
author="JW, Jester, EP, Cuyo, and many others I'll list later"
title="The Era of Myths"
icon="units/undead-necromancers/adept-ranged-7.png"
version="Alpha 3"
description="This is a custom era with many contributors."
passphrase="" ---REMOVED
Looks correct... make sure there's no (possibly hidden) .txt extension on the end of any of the filenames. That's all I can think of. 

For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
And I hate stupid people.
The World of Orbivm
I suggest making the version a date in the form 20060607 or similar. (You could still append whatever you want after that.)JW wrote:Code: Select all
version="Alpha 3"
I wonder why not more campaign developers do that since this would make sorting via the version field a viable solution to find recently modified campaigns.
We do have a sorting mechanism in the in-game download dialog just no 'last modified' field after all.
"If gameplay requires it, they can be made to live on Venus." -- scott
Okay, can any Windows users tell me what program they use to create the .pbl file? I think when I save it from notepad it's saving as a .txt and simply adding ".pbl" t the end of the filename. "Era_of_Myths.pbl".txt.
Either that, or a really kind gesture would be uploading a working .pbl (edited to remove the passcode) that I could simply edit.
Either that, or a really kind gesture would be uploading a working .pbl (edited to remove the passcode) that I could simply edit.