Wesnoth User Made Content IDE [2.0.3]

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

What's your usage of the UMC IDE?

I don't use it, but I plan to.
24
42%
I don't use it and I don't plan to.
15
26%
I use it seldom
10
18%
I use it regularly.
8
14%
 
Total votes: 57

archdukeiago
Posts: 4
Joined: March 25th, 2011, 7:26 pm

Re: Wesnoth Eclipse User Made Content Plugin

Post by archdukeiago »

Thanks for your reply!
So, the wesnoth_umc folder is in my downloads folder, and I copied over the jre folder from my program x86 files, which has bin and lib subfiles.
If it makes any difference, I'm running windows 7 64 bit.
timotei
Inactive Developer
Posts: 76
Joined: March 20th, 2010, 10:00 am

Re: Wesnoth Eclipse User Made Content Plugin

Post by timotei »

If you use the 64 bit eclipse, that is wesnoth_umc.win32.x86_64.zip , then you need to install the 64 bit java. If you already have the 32 bit java (which you have, since there is the java folder inside program x86), just download the umc plugin for 32bits : wesnoth_umc.win32.x86.zip
Wesnoth User Made Content IDE/Plugin - an easier way of developing new content for Wesnoth.
archdukeiago
Posts: 4
Joined: March 25th, 2011, 7:26 pm

Re: Wesnoth Eclipse User Made Content Plugin

Post by archdukeiago »

I got the right version, and got the program to launch, but can't seem to do anything due to the lack of "wmlparser2.py," which doesn't appear even after a clean reinstall of Wesnoth 1.8.5
timotei
Inactive Developer
Posts: 76
Joined: March 20th, 2010, 10:00 am

Re: Wesnoth Eclipse User Made Content Plugin

Post by timotei »

Umm... I'm sorry, but the plugin is for wesnoth 1.9.x :)
Wesnoth User Made Content IDE/Plugin - an easier way of developing new content for Wesnoth.
archdukeiago
Posts: 4
Joined: March 25th, 2011, 7:26 pm

Re: Wesnoth Eclipse User Made Content Plugin

Post by archdukeiago »

:doh:
Thanks for all your help, I got it working now. :)
timotei
Inactive Developer
Posts: 76
Joined: March 20th, 2010, 10:00 am

Re: Wesnoth Eclipse User Made Content Plugin

Post by timotei »

Hi everyone!

I'd love that any UMC creator out there who would want to see a certain feature added to the plugin, to post it here. I'm waiting for your ideas/suggestions, since another Summer of Code comes and I'd like to code extra features you might find useful for the plugin.

Thanks.
Wesnoth User Made Content IDE/Plugin - an easier way of developing new content for Wesnoth.
User avatar
Crendgrim
Moderator Emeritus
Posts: 1328
Joined: October 15th, 2010, 10:39 am
Location: Germany

Re: Wesnoth Eclipse User Made Content Plugin

Post by Crendgrim »

In Java View, you are able to right click in the Package Explorer and select "New -> Java Project". In Wesnoth view, you have to go through the "New -> Project" dialogue and find the fitting Wesnoth project. It would be nice to have it as "New -> Wesnoth Project".


Crend
UMC Story Images — Story images for your campaign!
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: Wesnoth Eclipse User Made Content Plugin

Post by Anonymissimus »

Running as developer, using latest trunk.
The readme link in the opening post is outdated. The readme link on the wiki page apparently too. Used the text readme from trunk.
The folders apparently needed to import are "org.wesnoth", "org.wesnoth.wml" and "org.wesnoth.wml.ui" from the utils/java directory. (first folder is wrong in the readme). What eclipse workspace are you using when developing the plugin, isn't it also in trunk ? (There must be two, the java one to develop the plugin and the one when you're running it.)
experienced http://gna.org/bugs/?17875
Generated a campaign. double-click onto its _main.cfg opens the file in my default editor emacs instead of eclipse. (possibly related to the above bug)
Makes little sense to continue due to this.
---------
Trying with the version from the update site (version 1.0.1 it says).
Above 1-2 bugs not present this time.
Generating a scenario in the generated campaign from above and coding a bit.

-autocompletion could be improved - wml is very wordy
In emacs mode I can e.g. type [fil in [store_unit], then invoke the autocompletion command and it becomes the full [filter][/filter] tag. Or when typing #ifd it could autocomplete to #ifdef #endif then.
-The jump-to-definition feature for macros is great, but custom ones don't seem supported.
-Renaming/refactoring of things - e.g. when renaming a custom macro, all references to it should automatically be updated. (I'm aware that's probably difficult to code, however - a powerful very useful feature.)
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
Max
Posts: 1449
Joined: April 13th, 2008, 12:41 am

Re: Wesnoth Eclipse User Made Content Plugin

Post by Max »

Crendgrim wrote:-The jump-to-definition feature for macros is great, but custom ones don't seem supported.
i also never managed to jump to a macro defined in the same file.

- i'd like to be able to select a tag and open the corresponding wiki page. i guess the community would maintain the "list" and create patches to keep this up to date.

- it would be awsome if i could search not only in open files but e.g. in specific folders or campaigns.

- can you display core stuff like macros in the perspective that currently shows mainline and umc? would be nice to create folders for those categories. maybe using a different perspective that follows the original folder structure?

- if i undo all the cfg file is still marked as modified

- problems reported when running wmllint aren't listed in the problems view. works fine for wmlscope
Velensk
Multiplayer Contributor
Posts: 4002
Joined: January 24th, 2007, 12:56 am

Re: Wesnoth Eclipse User Made Content Plugin

Post by Velensk »

I decided I'd try this plugin but I was having some problems with it. When I open the application it opens just fine but it immediately quits.

I took a look at the README file where I found it telling me to run an .exe file which does not seem to be in the mac version. I cannot procede to the next step of downloading the plugins as this seems to be done from inside the eclipse interface which I don't have access to.

Am I misreading something, skipping a step somewhere, or some other problem that can be fixed?
"There are two kinds of old men in the world. The kind who didn't go to war and who say that they should have lived fast died young and left a handsome corpse and the old men who did go to war and who say that there is no such thing as a handsome corpse."
Max
Posts: 1449
Joined: April 13th, 2008, 12:41 am

Re: Wesnoth Eclipse User Made Content Plugin

Post by Max »

did you make sure java is installed?
Velensk
Multiplayer Contributor
Posts: 4002
Joined: January 24th, 2007, 12:56 am

Re: Wesnoth Eclipse User Made Content Plugin

Post by Velensk »

Running Mac OSX, I should already have Java installed. I did note that it said that I must specifically have Sun Java and so I did go to the site just incase. The site had download options for several operating systems but not OSX which leads me to conclude that they either felt they did not need to include such an option or that it does not exist.
"There are two kinds of old men in the world. The kind who didn't go to war and who say that they should have lived fast died young and left a handsome corpse and the old men who did go to war and who say that there is no such thing as a handsome corpse."
timotei
Inactive Developer
Posts: 76
Joined: March 20th, 2010, 10:00 am

Re: Wesnoth Eclipse User Made Content Plugin

Post by timotei »

Hi Velensk.

Please open a new bug on bugs.wesnoth.org, so we can see together what's the problem. I don't own a MAC so I don't know if I missed something. After you open the bugs, I'd like to have some more info in the bug report:
1) do you use the standalone version?
2) what macos version you use?

Thanks,
Timo
Wesnoth User Made Content IDE/Plugin - an easier way of developing new content for Wesnoth.
Velensk
Multiplayer Contributor
Posts: 4002
Joined: January 24th, 2007, 12:56 am

Re: Wesnoth Eclipse User Made Content Plugin

Post by Velensk »

I am having trouble filing a bug report. As I can hardly file a bug report about not being able to file a bug report I'm going to ask here.

When I attempt to submit my bug report it tells me that I cannot because 'catagory' is a mandatory field. The category field seems to be a pulldown menu with the sole option being 'None' which is apparently not acceptable. It is obviously possible to report bugs on this site so I assume that either this is not something that happens to everyone or there is a workaround and am curious about how to proceed.
"There are two kinds of old men in the world. The kind who didn't go to war and who say that they should have lived fast died young and left a handsome corpse and the old men who did go to war and who say that there is no such thing as a handsome corpse."
User avatar
Zaroth
Inactive Developer
Posts: 75
Joined: January 29th, 2011, 4:33 pm

Re: Wesnoth Eclipse User Made Content Plugin

Post by Zaroth »

Velensk:
maybe try using another browser or enabling scripts, if you have them disabled? On this site under Firefox I see two possible choices in "Category" field: "Bug" and "Feature Request". Another possibility is that you made it in time for gna.org hiccup, so reloading the page could also help.
Post Reply