wesnoth update?

General feedback and discussion of the game.

Moderator: Forum Moderators

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

Re: wesnoth update?

Post by vcap »

new2 wrote:don't works. ctrl+v produces ^V. I made the right command you've written. There stands only >>> and everything I do is wrong. I also can't change any directory.
Looks like you are typing the commands in the python shell itself, you are supposed to type them at a "dos" command prompt instead. Note that ctrl+v won't work there; but there is a set of icons at the top of the window, one of them (the one showing a rectangle if memory serve) is too select text in the window and another one (the scissor one) is to copy the selected text to the clipboard.
User avatar
Gambit
Loose Screw
Posts: 3266
Joined: August 13th, 2008, 3:00 pm
Location: Dynamica
Contact:

Re: wesnoth update?

Post by Gambit »

Don't use keyboard shortcuts on the command prompt. Use the right click menu.
And you are in Start->All Programs->Accessories->Command Prompt right? Or Start->Run->cmd ?
User avatar
new2
Posts: 83
Joined: November 4th, 2006, 9:27 pm
Location: Germany

Re: wesnoth update?

Post by new2 »

I've tried cd C:\Spiele\Battle for Wesnoth 1.8.4\Data\tools\python wmllint C:\Spiele\Wesnoth 1.0\userdata\data\campaigns\Superheroes_MP_era_TOM.cfg but it don't works... I've tried in python shell and in dos.
Ageless!
User avatar
Gambit
Loose Screw
Posts: 3266
Joined: August 13th, 2008, 3:00 pm
Location: Dynamica
Contact:

Re: wesnoth update?

Post by Gambit »

1.0? :lol2:

I just asked someone more experienced at this. They say that wmllint can't take a campaign straight from 1.0 to 1.8 standards. You have to use each in between version of wmllint. Also there will be some manual work for you even once you get all that done.

So like I said earlier. In my experience, it's quicker to just upgrade by hand if you know WML.

edit: He also said that I should tell you to point it at the overall folder, rather than a single file.
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: wesnoth update?

Post by Anonymissimus »

Gambit wrote:You have to use each in between version of wmllint. Also there will be some manual work for you even once you get all that done.
I know for sure that you only need wmllint from 1.4 to update from 1.0 and the one from 1.6 to update to 1.6 since I did it with A Gryphon's Tale; and 1.8 wmllint can most likely directly upgrade from 1.4 too.
It still won't work though, you still have to change the folder paths for every occurance, campaigns->add-ons between 1.6 and 1.8, and possibly other things which I don't think of. For this you need to inspect at least the _main.cfg in a wml editor.
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
new2
Posts: 83
Joined: November 4th, 2006, 9:27 pm
Location: Germany

Re: wesnoth update?

Post by new2 »

Now I've got a tip

I typed
C:\Programme\Python27\python.exe C:\Spiele\
Wesnoth 1.4.7\data\tools\wmllint C:\Spiele\Wesnoth 1.4.7\data\core C:\Dokumente
und Einstellungen\All Users\Dokumente\Superheroes\Superheroes_MP_era_TOM.cfg
C:\Programme\Python27\python.exe: can't open file 'C:\Spiele\Wesnoth': [Errno 2]
No such file or directory

cd C:\Programme\Python27\python.exe C:\Spie
le\Wesnoth 1.4.7\data\tools\wmllint C:\Spiele\Wesnoth 1.4.7\data\core C:\Dokumen
te und Einstellungen\All Users\Dokumente\Superheroes\Superheroes_MP_era_TOM.cfg
Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung
ist falsch.

but it don't works what went wrong?
Ageless!
User avatar
Iris
Site Administrator
Posts: 6800
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Re: wesnoth update?

Post by Iris »

The paths contain whitespace. Wrap them in quotes like this:

C:\Programme\Python27\python.exe "C:\Spiele\Wesnoth 1.4.7\data\tools\wmllint" "C:\Spiele\Wesnoth 1.4.7\data\core" "C:\Dokumente und Einstellungen\All Users\Dokumente\Superheroes\Superheroes_MP_era_TOM.cfg"
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
User avatar
new2
Posts: 83
Joined: November 4th, 2006, 9:27 pm
Location: Germany

Re: wesnoth update?

Post by new2 »

Upgrades for: older -> 1.3.1, 1.3.1 -> 1.3.14, 1.3.14 -> 1.3.2, 1.3.2 -> 1.3.3,
1.3.3 -> 1.3.4, 1.3.4 -> 1.3.6, 1.3.6 -> 1.3.9, 1.3.9 -> trunk.
"C:\Dokumente und Einstellungen\All Users\Dokumente\Superheroes\Superheroes_MP_e
ra_TOM.cfg", line 1: no textdomain string

I hope 1.4.7 supports 1.0
Ageless!
User avatar
Gambit
Loose Screw
Posts: 3266
Joined: August 13th, 2008, 3:00 pm
Location: Dynamica
Contact:

Re: wesnoth update?

Post by Gambit »

new2 wrote:Upgrades for: older -> 1.3.1, 1.3.1 -> 1.3.14, 1.3.14 -> 1.3.2, 1.3.2 -> 1.3.3,
1.3.3 -> 1.3.4, 1.3.4 -> 1.3.6, 1.3.6 -> 1.3.9, 1.3.9 -> trunk.
"C:\Dokumente und Einstellungen\All Users\Dokumente\Superheroes\Superheroes_MP_e
ra_TOM.cfg", line 1: no textdomain string

I hope 1.4.7 supports 1.0
You don't have to go that micro in between.

1.0->1.4->1.6->1.8 should do it
User avatar
new2
Posts: 83
Joined: November 4th, 2006, 9:27 pm
Location: Germany

Re: wesnoth update?

Post by new2 »

no, that was the answer when I tried shadowmasters command. I thought, that 1.8 can convert sometring from 1.4.
Ageless!
Post Reply