wesnoth-1.16-tools question
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:
wesnoth-1.16-tools question
(Don't know if this is the right place to ask this, feel free to move)
I'm trying to convert my old scenarios and campaigns from 1.12 to 1.16 using wmllint. (Wesnoth 1.16 on Ubuntu.)
Is it normal wmllint tries to edit files in my core game installation (files like "/usr/share/games/wesnoth/1.16/data/core/terrain.cfg")?
Obviously it doesn't succeed (permission denied), but I assume something is not going according to plan here: The description says "a utility for sanity-checking WML syntax and porting your old WML to the current version of WML.", so what is it doing trying to edit core files?
I'm trying to convert my old scenarios and campaigns from 1.12 to 1.16 using wmllint. (Wesnoth 1.16 on Ubuntu.)
Is it normal wmllint tries to edit files in my core game installation (files like "/usr/share/games/wesnoth/1.16/data/core/terrain.cfg")?
Obviously it doesn't succeed (permission denied), but I assume something is not going according to plan here: The description says "a utility for sanity-checking WML syntax and porting your old WML to the current version of WML.", so what is it doing trying to edit core files?
- Lord-Knightmare
- Discord Moderator
- Posts: 2539
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: wesnoth-1.16-tools question
I believe there is setting that auto checks "check core files". You have to disable that setting while running it for your add-on.
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Re: wesnoth-1.16-tools question
wmllint runs on whatever files you tell it to. If you don't specify any path it will work on the current directory.
"If gameplay requires it, they can be made to live on Venus." -- scott
Re: wesnoth-1.16-tools question
Oh well, that explains it. Thanks!
Note that wmllint does miss a lot of things (well, I have to admit some things are not strictly speaking WML). I think I'll have a busy weekend to fix my 6 scenarios and 3 campaigns...