Thanks taw it's now working to me, which program do you recommend to open the .xml?
Thanks taw it's now working to me, which program do you recommend to open the .xml?
UNDER THE MOST HONORABLE PATRONAGE OF: Legio!
PATRON OF: Wangrin, ♔Sir Digby Chicken Caesar♔, Geronimo2006 and Narf!
On Windows the best program I've found was Notepad++. Here's installer.
On Mac you should obviously use TextMate ;-)
More seriously - if anyone knows really good XML editor, do tell.
Notepad++ and TextMate are both good text editors, but XML is not 100% text,
there's a lot of structure in it.
I've tried a few "XML editors" but they all sucked hard. Or maybe I just don't know
how to use them. Recommendations welcome.
Medieval 2 mod builder with first ever Random Scenario Generator.
All my code is available in etwng repository.
Yep, just like you Taw, I spent most of yesterday night shouting at The Hedge Knight on Steam because all the Xml editors I found where terrible.
Notepad++ was quite good for a while, but hard to scroll through, and when closing a tree, it often crashed.
In the end I found Xml Notepad.
Its a real cheap and nasty program, but perfect for what I want it to do, and it never crashes, not even with a 150mb file.
You can also copy whole nodes, which hardly any of the others could. And thats one of the big things I needed it to do.
I think I'll just wait for the spliced XMLs if that's OK. It's not that I'm in any rush.
alhoon is not a member of the infamous Hoons: a (fictional) nazi-sympathizer KKK clan. Of course, no Hoon would openly admit affiliation to the uninitiated.
"Angry Uncle Gordon" describes me well.
_______________________________________________________
Beta-tester for Darthmod Empire, the default modification for Empire Total War that does not ask for your money behind patreon.
Developer of Causa Belli submod for Darthmod, headed by Hammeredalways and a ton of other people.
Developer of LtC: Random maps submod for Lands to Conquer (that brings a multitude of random maps and other features).
Big update for esf2xml - now it works with JRuby even with tiny amount of memory.
Even going as low as 100MB on ETW's startpos works just fine, something I wasn't expecting at all.
$ jruby -J-Xmx100m ./esf2xml esf/startpos.esf startpos.xml
So you don't have to bother with -J-Xmx any more.
For me startpos.esf conversion takes 70 seconds with JRuby, and 115 seconds with Ruby 1.8.7.
As far as I understand it was so slow for many people because of high memory use, so this should be fixed now.
Medieval 2 mod builder with first ever Random Scenario Generator.
All my code is available in etwng repository.
By the way, if anyone wants to contact me with questions about software, I'm on google chat and msn as Tomasz.Wegrzanowski@gmail.com . I'm quite friendly when I'm not too busy.
Medieval 2 mod builder with first ever Random Scenario Generator.
All my code is available in etwng repository.
UNDER THE MOST HONORABLE PATRONAGE OF: Legio!
PATRON OF: Wangrin, ♔Sir Digby Chicken Caesar♔, Geronimo2006 and Narf!
Medieval 2 mod builder with first ever Random Scenario Generator.
All my code is available in etwng repository.
UNDER THE MOST HONORABLE PATRONAGE OF: Legio!
PATRON OF: Wangrin, ♔Sir Digby Chicken Caesar♔, Geronimo2006 and Narf!
I mean that the program looks very cheap, as in it was made with a small budget.
I would bet that most casual users wouldn't find it useful, as the tree view is at best complex and hard to find things.
Anyone with expeierice using the old esf editor will find XMLnotepad great because the nodes are in the same order, so if you for example see the diplomacy node, you know whats below it etc.
Strange it doesn't work for me
UNDER THE MOST HONORABLE PATRONAGE OF: Legio!
PATRON OF: Wangrin, ♔Sir Digby Chicken Caesar♔, Geronimo2006 and Narf!
Hi there, xml2esf works on JRuby now. Feel free to test it on Windows regular Ruby.
You might need to do this first with either of them: gem install nokogiri
(or jgem install nokogiri for JRuby iirc).
Also slow as hell (startpos 4 minutes JRuby, 5 minutes Ruby 1.8.7) and lacks progress bar.
It is strongly recommended that you play with some small xml like regions.xml first,
before trying it on startpos.xml
Not like startpos.xml is useful much without XML splitting yet inside anyway.
Coming next, I want to merge these from old version:
- XML splitting
- getting rid of most of redundant version="1" crap etc.
- Performance fixes
- bitmap exports
- more semantic xml
Code for all of these is ready, it just needs. I expect most of these to be ready by tomorrow evening.
I'd ask for someone to write a tutorial, but interface will change with XML splitting anyway, so it's probably better to wait for tomorrow with it.
Medieval 2 mod builder with first ever Random Scenario Generator.
All my code is available in etwng repository.
I'll be happy to write a tutorial. I'll also be happy to help with any testing.
This tool is going to save me god knows how many hours.
It's says released though Where do I download it?
It's in etwng repository.
Medieval 2 mod builder with first ever Random Scenario Generator.
All my code is available in etwng repository.
Last edited by alhoon; November 06, 2010 at 03:39 PM.
alhoon is not a member of the infamous Hoons: a (fictional) nazi-sympathizer KKK clan. Of course, no Hoon would openly admit affiliation to the uninitiated.
"Angry Uncle Gordon" describes me well.
_______________________________________________________
Beta-tester for Darthmod Empire, the default modification for Empire Total War that does not ask for your money behind patreon.
Developer of Causa Belli submod for Darthmod, headed by Hammeredalways and a ton of other people.
Developer of LtC: Random maps submod for Lands to Conquer (that brings a multitude of random maps and other features).
Awesome news Taw, im going to have to nominate you for opifex soon if you keep all this awesome work up XD.
UNDER THE MOST HONORABLE PATRONAGE OF: Legio!
PATRON OF: Wangrin, ♔Sir Digby Chicken Caesar♔, Geronimo2006 and Narf!
Its most definatly not.
As I'v been working with them for some time now.
In Notepad++ dont use the scroll features use the search function. (If you dont know what to search for, you shouldnt be editting the xmls anyway in all honesty)
If you use a Xml editor, then just use the tree's and it take away alot of the hastle.