SCENARIO editor for ALL platforms
Moderator: Forum Moderators
-
- Posts: 2
- Joined: August 17th, 2006, 11:16 am
The problem was because Wesnoth files were in my desktop.allefant wrote:You need to fill in the path to the wesnoth-editor.exe in the preferences for now, until I find out how to auto-detect it. [Anyone knows if Wesnoth will write a registry entry or something when installed under Windows?]kanza=?``?`` wrote:To create a map, click on "Edit Map". This will open the built in Wesnoth Map Editorâ„¢
If i try to make new map it wont open!
If you fill in the path there (and also the other pathes), then it should work. The pathes might be something like:
C:\Program Files\Wesnoth\images
C:\Program Files\Wesnoth\data
C:\Program Files\Wesnoth\userdata\data
C:\Program Files\Wesnoth\editor.exe
If it still won't work, please post the file stderr.txt which gets created whenever you run CampGen, it will contain the error message telling why the editor couldn't be run.
You shold uptate ''First unit'' deta in tutorial (online).Because there is v19 deta not v20 deta.
-
- Posts: 39
- Joined: September 2nd, 2006, 7:07 pm
- Location: Mars
any ideas for the mac paths?allefant wrote:You need to fill in the path to the wesnoth-editor.exe in the preferences for now, until I find out how to auto-detect it. [Anyone knows if Wesnoth will write a registry entry or something when installed under Windows?]kanza=?``?`` wrote:To create a map, click on "Edit Map". This will open the built in Wesnoth Map Editorâ„¢
If i try to make new map it wont open!
If you fill in the path there (and also the other pathes), then it should work. The pathes might be something like:
C:\Program Files\Wesnoth\images
C:\Program Files\Wesnoth\data
C:\Program Files\Wesnoth\userdata\data
C:\Program Files\Wesnoth\editor.exe
If it still won't work, please post the file stderr.txt which gets created whenever you run CampGen, it will contain the error message telling why the editor couldn't be run.
Ive got it working however what is the command thingy?
When i click edit map it doesnt work also.
any ideas?
Knight the
Script Master
Script Master
To use the Wesnoth editor, you have to fill in it's location under preferences. Campgen then will simply start it up. Alternatively, you can edit your map in the Wesnoth editor and only import it to Campgen (by selecting the map file you saved).
If you want to use the builtin map events editor (which also allows editing the map itself in a crude way), you can do that from the events dialog, just edit an event which opens the map placer (e.g. "start" or "prestart" or any "move to" event).
Hm, and I'm wondering now what updates this will need for the new terrain system - especially, will I have to make campgen incompatible with 1.2?
If you want to use the builtin map events editor (which also allows editing the map itself in a crude way), you can do that from the events dialog, just edit an event which opens the map placer (e.g. "start" or "prestart" or any "move to" event).
Hm, and I'm wondering now what updates this will need for the new terrain system - especially, will I have to make campgen incompatible with 1.2?
Maybe this will help: http://www.wesnoth.org/wiki/CampGenOnMacOSX
If I had a Mac myself, I would create a "ready to click" .dmg like the windows .exe, but for now, installing wxpython is required.
If I had a Mac myself, I would create a "ready to click" .dmg like the windows .exe, but for now, installing wxpython is required.
Yes, of course, the OSX package is here: http://download.gna.org/campgen/campgen-0.25-OSX.zipmy question is: is there a site that i can download campgen from
And just the python scripts are here: http://download.gna.org/campgen/campgen-0.25.tar.gz
I must admit, I don't know what is really different in the first one, neither of them contains python nor wxpython in any case.
[edit:]
Or get it directly from SVN: svn co svn://svn.gna.org/svn/campgen campgen
- irrevenant
- Moderator Emeritus
- Posts: 3692
- Joined: August 15th, 2005, 7:57 am
- Location: I'm all around you.
I notice that Campgen appears to embed the map in the scenario. This means that:
(a) If I edit the map separately in the map editor, the scenario is updated.
(b) If I launch the map editor from Campgen, the original map isn't updated (I think).
Is it possible for Campgen to save the scenario so it loads the map dynamically?
(a) If I edit the map separately in the map editor, the scenario is updated.
(b) If I launch the map editor from Campgen, the original map isn't updated (I think).
Is it possible for Campgen to save the scenario so it loads the map dynamically?
Want to post a Wesnoth idea? Great! Read these:
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
If you launch the map editor from Campgen, it exports the map data to a temporary file, passes its filename as a program option, and when the map editor exits, it imports the changed map.
So there *should* be no problems, if it doesn't work like that, file a bug report.
Wesnoth itself does not support external maps for scenarios, and as Campgen uses WML as source format, it would be rather tricky changing that. Basically, it's a WML limitation. If there is a scenario .cfg file which has something like
map_data="{filename}"
, then the preprocessor simply cuts and pastes the contents of filename there inside the string. A much better way would of course would be something like:
map_file="filename"
Now, I could in WML (after the preprocessor is done) read the name of the map file, and load from/save to that file. (In fact, I would be for removing the preprocessor completely, have functions instead of #define, and a proper importing mechanisms instead of {}..)
What I can easily add though is a way to export and import maps, I think that even was in an earlier version - would that help?
So there *should* be no problems, if it doesn't work like that, file a bug report.
Wesnoth itself does not support external maps for scenarios, and as Campgen uses WML as source format, it would be rather tricky changing that. Basically, it's a WML limitation. If there is a scenario .cfg file which has something like
map_data="{filename}"
, then the preprocessor simply cuts and pastes the contents of filename there inside the string. A much better way would of course would be something like:
map_file="filename"
Now, I could in WML (after the preprocessor is done) read the name of the map file, and load from/save to that file. (In fact, I would be for removing the preprocessor completely, have functions instead of #define, and a proper importing mechanisms instead of {}..)
What I can easily add though is a way to export and import maps, I think that even was in an earlier version - would that help?
Campgen is generally good, but a few comments:
I get crashes and hangs when I set turns to -1 (meaning no limit).
Is it possible to stop it from expanding {PREPROCESSOR} stuff that it finds in a file?
Is it possible to stop it from stripping # comments?
I can't seem to move objects on the story dialogues, attempting to click and drag just places new ones.
But overall, it's a very good tool. Some stuff is best done in raw WML, but some best in CampGen.
I get crashes and hangs when I set turns to -1 (meaning no limit).
Is it possible to stop it from expanding {PREPROCESSOR} stuff that it finds in a file?
Is it possible to stop it from stripping # comments?
I can't seem to move objects on the story dialogues, attempting to click and drag just places new ones.
But overall, it's a very good tool. Some stuff is best done in raw WML, but some best in CampGen.
My campaign, Town vs Gown, under development:
http://www.wesnoth.org/forum/viewtopic.php?t=15822
http://www.wesnoth.org/forum/viewtopic.php?t=15822
Hello, I tried to use the Campgen, but I don't managed to make it work and I think I'm doing something wrong.
I downloaded and installed Python 2.5 and Wxpython 2.8.3.0
Path C:\Javier\Games\python
I installed Campgen on C:\Javier\Games\python\Campgen and tried to run it (it gave me this error)
Runtime error
C:\Javier\Games\Campgen\Campgen.exe
This application has requested the runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
My system is windows ME (millenium)
Any help will be apreciated. thank you for your time.
I downloaded and installed Python 2.5 and Wxpython 2.8.3.0
Path C:\Javier\Games\python
I installed Campgen on C:\Javier\Games\python\Campgen and tried to run it (it gave me this error)
I suppose because wx\_core_.pyd was missing so I copied the python folder wx inside my campgen folder and tried to run it again and then I got this errorTraceback (most recent call last):
File "campgen.py", line 26, in <module>
File "zipextimporter.pyo", line 78, in load_module
File "gui_main.pyo", line 32, in <module>
File "zipextimporter.pyo", line 78, in load_module
File "wx\__init__.pyo", line 45, in <module>
File "zipextimporter.pyo", line 78, in load_module
File "wx\_core.pyo", line 4, in <module>
File "zipextimporter.pyo", line 91, in load_module
ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd
Runtime error
C:\Javier\Games\Campgen\Campgen.exe
This application has requested the runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
My system is windows ME (millenium)
Any help will be apreciated. thank you for your time.
"Mysteries are revealed in the light of reason."