unknown scenario "scenario_id"
Moderator: Forum Moderators
unknown scenario "scenario_id"
Windows xp:
okay. Cloned Two_Brothers->Dorf
moved it to /My Documents/My Games/Wesnoth1.8/data/campaigns
it doesn't show up
okay. Cloned Two_Brothers->Dorf
moved it to /My Documents/My Games/Wesnoth1.8/data/campaigns
it doesn't show up
Last edited by monokli on November 29th, 2011, 7:02 pm, edited 1 time in total.
Re: unknown scenario "scenario_id"
As far as I know, in 1.8.4 you have to copy your campaign to the addon folder:
Example: \Battle for Wesnoth 1.8.4\userdata\data\add-ons
Than it should work. Its the same in 1.8.6 - I just tested that.
You should check wether your campaing has a main.cfg and a starting scenario.
The other option is to upload it to the main campaign folder - but that is not recommended - you better use the addon folder as you can later upload your campaign and share it with other people.
Example: \Battle for Wesnoth 1.8.4\userdata\data\add-ons
Than it should work. Its the same in 1.8.6 - I just tested that.
You should check wether your campaing has a main.cfg and a starting scenario.
The other option is to upload it to the main campaign folder - but that is not recommended - you better use the addon folder as you can later upload your campaign and share it with other people.
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical, UR Epic Era
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses, Dwarf Dwarfson Dwarvenminer
Developer of: Trapped, Five Fates, Strange Legacy, Epical, UR Epic Era
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses, Dwarf Dwarfson Dwarvenminer
Re: unknown scenario "scenario_id"
So far so good. Add-ons folder works
still the topic title: unknown scenario: "1_Halthan" happens
<s>Rewriting scenario file from scratch.(delicious copypasta)</s> Rewrote it, nothing changed.
still the topic title: unknown scenario: "1_Halthan" happens
<s>Rewriting scenario file from scratch.(delicious copypasta)</s> Rewrote it, nothing changed.
- Attachments
-
_main.cfg
- campaign _main.cfg
- (1.4 KiB) Downloaded 435 times
-
1_Halthan.cfg
- The scenario file
- (2.29 KiB) Downloaded 147 times
Re: unknown scenario "scenario_id"
Your includes in both files point to add-ons/Dorf/ (which obviously doesn’t exist) instead of ~add-ons/Dorf/. PreprocessorRef in the wiki explains why the tilde matters under {~filename}.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
Re: unknown scenario "scenario_id"
Many many thanks. It works flawlessly
interestingly this wasn't an issue under ubuntu...
interestingly this wasn't an issue under ubuntu...
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: unknown scenario "scenario_id"
Probably not.raypinmau wrote:Only on Windows?monokli wrote: interestingly this wasn't an issue under ubuntu...
I think it's save to assume monokli was confused (sorry). This isn't something where OSes differ.
As far as coding a wesnoth addon goes, the most important and rather the only differences are listed in my ASC:
So there's some stuff to watch out for if one is on a windows system but not if one uses a Linux system.# windows users:
# Be careful to spell referenced filenames correctly inside of your wml code (capitalization), since windows is case insensitive in that aspect, while other operating systems are case sensitive.
# Always use only forward slashes (/) as separators in paths to files. Only windows is using backslashes (\).
# Both things would cause errors on other operating systems.
# Don't use paths containing the userdata/ folder to reference maps or other files from within your .cfg files. That folder only exists on windows (sometimes, depending on how you installed Battle for Wesnoth).
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