unable to find mainline campaigns

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
Charlotte
Posts: 14
Joined: July 11th, 2009, 10:59 am
Location: Arnhem, Netherlands

unable to find mainline campaigns

Post by Charlotte »

Hello,

after having played Wesnoth for around 18 months I decided it was time to put some of my many thoughts into reality and try to make my own campaign, however, as I had found the wesnoth folder on my computer I noted that when I go to .wesnoth1.6/data/campaigns all I can see are the UMCampaigns I have downloaded.
I wanted to use the HttT campaign as an example in WML, is there any way I can see this one or is it supposed to be hidden?

I have an ubuntu 9.04,

thanks beforehand,

ps. I tried to find it in the Wiki and forum, if I per accident overlooked it, I am very sorry for the trouble caused!
Hoping for luck means your strategy could not keep up with reality
Hoping for bad luck means the reality could not keep up with your strategy
User avatar
solsword
Code Contributor
Posts: 291
Joined: January 12th, 2009, 10:21 pm
Location: Santa Cruz, CA
Contact:

Re: unable to find mainline campaigns

Post by solsword »

Well, the data you're looking for should be in `wesnoth --path`/data/campaigns

I'm not sure if it's on the Wiki, but it is in the man page :wink: .

Alright, so it is on the Wiki:

http://www.wesnoth.org/wiki/EditingWesnoth

Still, the wiki is a complicated place, so you're not completely at fault for missing this.

Code: Select all

+ wesnoth --path                                                              +
Battle for Wesnoth v1.7.5+svn (38532)
Started on Sun Sep 13 13:39:40 2009

/usr/local/share/wesnoth

+ ls `wesnoth --path`/data/campaigns                                          +
Battle for Wesnoth v1.7.5+svn (38532)
Started on Sun Sep 13 13:40:30 2009

An_Orcish_Incursion    Liberty                  The_South_Guard
Delfadors_Memoirs      Northern_Rebirth         tutorial
Descent_Into_Darkness  Sceptre_of_Fire          Two_Brothers
Eastern_Invasion       Son_Of_The_Black_Eye     Under_the_Burning_Suns
Heir_To_The_Throne     The_Hammer_of_Thursagan
Legend_of_Wesmere      The_Rise_Of_Wesnoth
The Knights of the Silver Spire campaign.

http://www.cs.hmc.edu/~pmawhorter - my website.

Teamcolors for everyone! PM me for a teamcolored version of your sprite, or you can do it yourself. If you just happen to like magenta, no hard feelings?
User avatar
SkyOne
Posts: 1310
Joined: January 3rd, 2009, 7:23 pm

Re: unable to find mainline campaigns

Post by SkyOne »

Charlotte wrote:I wanted to use the HttT campaign as an example in WML, is there any way I can see this one or is it supposed to be hidden?
Right-click the Wesnoth-icon, then showing package? (I am not sure in English version) Contents/Resources/data/campaigns/HttT. (on Mac, but I think the same as other operating system.)

P.S. the world you are walking in is more addictive than coffee, I think.:wink:
Fate of a Princess/feedback thread: "What is in own heart that is the most important, not who you are."
Drake Campaign: Brave Wings/feedback thread, Naga Campaign: Return of the Monster, Saurian Campaign: Across the Ocean
Northern Forces - now on 1.12 server
User avatar
Luke the Flaming
Posts: 215
Joined: October 18th, 2006, 6:25 pm

Re: unable to find mainline campaigns

Post by Luke the Flaming »

Charlotte wrote: when I go to .wesnoth1.6/data/campaigns all I can see are the UMCampaigns I have downloaded.
That's odd... Wesnoth/data/campaigns/... should contain the folders of the mainline campaigns, while Wesnoth/userdata/data/campaigns should contain the folders with your downloaded (and custom) campaigns.
Are you sure you haven't gone down the "userdata" path?
O, Wind, if Winter comes, can Spring be far behind?
User avatar
solsword
Code Contributor
Posts: 291
Joined: January 12th, 2009, 10:21 pm
Location: Santa Cruz, CA
Contact:

Re: unable to find mainline campaigns

Post by solsword »

Luke the Flaming wrote:
Charlotte wrote: when I go to .wesnoth1.6/data/campaigns all I can see are the UMCampaigns I have downloaded.
That's odd... Wesnoth/data/campaigns/... should contain the folders of the mainline campaigns, while Wesnoth/userdata/data/campaigns should contain the folders with your downloaded (and custom) campaigns.
Are you sure you haven't gone down the "userdata" path?
On Ubuntu, ".wesnoth1.6" *is* the userdata directory. There's no such thing as Wesnoth/data/campaigns or Wesnoth/userdata/data/campaigns, because 'Wesnoth' isn't just one directory. As I stated (clearly, I hope?) the data path is /usr/local/share/wesnoth/data, although this varies depending on how you installed it, so there's the convenient "wesnoth --path" that tells you what the path is.

Userdata is in a whole different place: ~/.wesnoth<version>/data
The Knights of the Silver Spire campaign.

http://www.cs.hmc.edu/~pmawhorter - my website.

Teamcolors for everyone! PM me for a teamcolored version of your sprite, or you can do it yourself. If you just happen to like magenta, no hard feelings?
User avatar
MrEPIC
Posts: 103
Joined: June 9th, 2009, 12:20 am
Location: GMT-6/-5

Re: unable to find mainline campaigns

Post by MrEPIC »

I'm on Debian, and the game directory is /usr/share/games/wesnoth, so that is also a possibility if you can't find it.
3 player co-op campaign: The Haunted Woods (v1.6.19)
1v1 campaign: Tug of War (v0.4.0)
User avatar
Luke the Flaming
Posts: 215
Joined: October 18th, 2006, 6:25 pm

Re: unable to find mainline campaigns

Post by Luke the Flaming »

solsword wrote:
Luke the Flaming wrote: That's odd... Wesnoth/data/campaigns/... should contain the folders of the mainline campaigns, while Wesnoth/userdata/data/campaigns should contain the folders with your downloaded (and custom) campaigns.
Are you sure you haven't gone down the "userdata" path?
On Ubuntu, ".wesnoth1.6" *is* the userdata directory. There's no such thing as Wesnoth/data/campaigns or Wesnoth/userdata/data/campaigns, because 'Wesnoth' isn't just one directory. As I stated (clearly, I hope?) the data path is /usr/local/share/wesnoth/data, although this varies depending on how you installed it, so there's the convenient "wesnoth --path" that tells you what the path is.

Userdata is in a whole different place: ~/.wesnoth<version>/data
I see. Sorry for the confusion.
O, Wind, if Winter comes, can Spring be far behind?
Post Reply