Page 1 of 3

[Tool] Races editor (v1.2)

Posted: Mon Apr 12, 2010 5:31 pm
by Bubblewrap
Hi!

Here's something i started working on while waiting for the 1.03 patch....till now i think i spent more time making this then playing DW! :) It's far from finished, yet surprisingly functional. As the title implies, it's a tool to edit the races.txt file.

First screen you see is to load your mod.
If you have no mod installed, or would just like to browse the default options you can check the Theme path option and just leave it empty...now that i think of it that isn't very handy..should make that easier in a later update

Once it's loaded, and you've selected a race from the list, you'll see something like this
In a later update i'll add some explanations from the Customization guide to these fields, for now you just have a list of properties you can edit.

You can't edit everything yet. Race name, picture, colors, flag, design names and design images can't be edited for now. All of these depend on references to external files, that makes it a bit more complex from an editor POV. You can click the * tab to load another mod.

When you're done, click the O button for the options screen. Not many options yet, just two: save your mod, or close it. You can select a different path here, so you can open the default theme, make changes, and then save it to a different directory, effectively creating a new theme. The name of the theme, which is shown in the tab header, will also be updated to reflect the new location.

See attachment for download. It requires the .Net Framework 3.5 SP1 to run, available here

Let's see...what else can i say..it should never ever overwrite anything in your default directory. If it does happen, let me know, because something is very wrong then.

UPDATE 1.2
  • added a Design Names editor
  • minor random changes to the UI

UPDATE 1.1.1:
  • fixed a crash when starting the program if DW wasn't installed at the default location

UPDATE 1.1, new in this version:
  • listbox instead of combobox for theme names on the load screen, double click to load a named theme
  • added default theme to the list
  • race picture index can now be selected
  • alternate race picture can be viewed
  • primary color visible, not editable
  • secondary color visible, not editable
  • flag design can be selected
  • design names visible, not editable
  • design images can be selected
  • races overview added, click on headers to sort*, double click to jump to race editor
*sorting is based on the underlying numerical value for race family, planet type, design focus and special component, not the textual representation



RE: [Tool] Races editor

Posted: Mon Apr 12, 2010 5:46 pm
by nicodede62
Very nice, I'll try that it immediately, good job [&o][&o].

RE: [Tool] Races editor

Posted: Mon Apr 12, 2010 8:19 pm
by madpainter
OMG
Nice one, I'll be using this!

Edit--
Works great, would it be possible to add the the extra information (ship set number etc.) just for information. so we know what numbers we are looking for if we want to change them manually?
I mess around with ship sets a lot and ATM I spend more time searching for the relevent number then I do editing it.[:)]

Edit again---

NVM, ship number is the one after the big numbers in the race file, flags and colours are the last 3 numbers before the homeworld name.
IMO this tool makes modding a doddle for me, I love it as it stands.[&o]

RE: [Tool] Races editor

Posted: Tue Apr 13, 2010 12:06 pm
by Pymous
This sounds awsome :) Good job!

RE: [Tool] Races editor

Posted: Tue Apr 13, 2010 8:05 pm
by Kira
Great Job, ThankĀ“s [&o]

RE: [Tool] Races editor

Posted: Fri Apr 16, 2010 4:11 pm
by Bubblewrap
New version uploaded, see first post for more info.

Updated/new screenshots:
race editor
races overview

RE: [Tool] Races editor

Posted: Fri Apr 16, 2010 5:06 pm
by madpainter
I've yet to test the updated version but it seems like you have covered all the bases.
Awesome work, you really have done great!

RE: [Tool] Races editor

Posted: Fri Apr 16, 2010 5:55 pm
by Sarissofoi
Great man.
You are time savior.

Eh shit. version 1.1 dont work for me dont know why.

RE: [Tool] Races editor

Posted: Fri Apr 16, 2010 10:12 pm
by madpainter
ORIGINAL: Sarissofoi
Eh shit. version 1.1 dont work for me dont know why.
1.1 Works for me. Its a great tool.
I wonder why yours doesn't work.[&:]

RE: [Tool] Races editor

Posted: Fri Apr 16, 2010 10:58 pm
by Kamonrius
same. gives some error when I try to load mytheme........did not do this in the first version :/

RE: [Tool] Races editor

Posted: Sat Apr 17, 2010 3:24 am
by murteas
I can't seem to get it to start.  Just get an error when starting up.  Does this need to be extracted to a particular location to work (Distant worlds install directory or something?)

RE: [Tool] Races editor

Posted: Sat Apr 17, 2010 6:14 am
by Bubblewrap
Hmm..odd. It doesn't need to be extracted anywhere specific.

There seem to be two seperate problems then?
Kamorius can't load his theme, but for murteas and Sarissofoi the program doesn't even start?

@murteas and Sarissofoi, did 1.0 work? (available here)


@Kamonrius: do you get the "program will shut down" message? Or another message?

RE: [Tool] Races editor

Posted: Sat Apr 17, 2010 6:37 am
by nicodede62
Lol, for me it was the opposite. The 1.0 does not work, but the 1.1 works now.

Nice work [;)].

RE: [Tool] Races editor

Posted: Sat Apr 17, 2010 7:25 am
by Ranbir
Tools like this make modding fun!

RE: [Tool] Races editor

Posted: Sat Apr 17, 2010 11:03 am
by Sarissofoi
version 1.0 work
for 1.1 I get something like that


Image

RE: [Tool] Races editor

Posted: Sat Apr 17, 2010 12:41 pm
by Bubblewrap
I believe this version should fix your problem.
It crashed if the game wasn't installed at the default location, murteas probably experienced the same issue.

Either way, this version gives more info if it crashes, so i don't have to guess ;)

RE: [Tool] Races editor

Posted: Sat Apr 17, 2010 5:23 pm
by murteas
Bubblewrap, that fixed it for me. And yes, 1.0 worked, but 1.1 did not. Are you releasing the source for this program?

In any case, thank you for sharing with us and responding quickly to our problem. Thanks and great job!

RE: [Tool] Races editor

Posted: Sat Apr 17, 2010 7:00 pm
by Sarissofoi
Version 1.1.1 worked for me also.
Good job.
BTW Can you make that picture for ground troopers will be also avialable to see in editor?

RE: [Tool] Races editor

Posted: Sat Apr 24, 2010 12:00 pm
by Kamonrius
This still isnt working for me :/ the error I get in the program's page when trying to load my theme or default.

Cannot find DepenedacyProperty or PropertyInfo for property named 'Stringformate'. Property names are case sensitive. Error at Object 'System.windows.Data.Binding' in markup file 'DWEditor;component/raceeditor.xaml'.

RE: [Tool] Races editor

Posted: Sat Apr 24, 2010 8:53 pm
by Bubblewrap
Ah..that's annoying. Looks like .NET Framework 3.5 sp1 is required, not just 3.5.
You can get it here