Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

RE: Modding Tool

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Design and Modding >> RE: Modding Tool Page: <<   < prev  7 8 [9] 10 11   next >   >>
Login
Message << Older Topic   Newer Topic >>
RE: Modding Tool - 1/8/2017 10:56:55 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Hi LuciferBaphomet, I did have one other user have this issue and it turned out to be something unexpected. In theory, waiting should eventually run the program (it's silently regenerating the Native Image Cache if you're interested), but if you've not got past it already then you might try this link. Under the workaround section is the solution that worked for him. No guarantees it's the same issue of course but if you're seeing no setup.exe in your task manager and it just seems to be sitting there forever it's the same symptoms he experienced.

(in reply to LuciferBaphomet)
Post #: 241
RE: Modding Tool - 1/9/2017 4:43:45 PM   
LuciferBaphomet

 

Posts: 4
Joined: 1/8/2017
Status: offline
Thanks Sabranan. I managed to get it installing. I noticed in one of your posts it was a "click once" app. So I googled it, realised I had to open the manifest in internet explorer, and hey presto, installation began.

I just came to post this, and saw you'd replied.

< Message edited by LuciferBaphomet -- 1/9/2017 4:44:08 PM >

(in reply to Sabranan)
Post #: 242
RE: Modding Tool - 1/9/2017 5:35:50 PM   
LuciferBaphomet

 

Posts: 4
Joined: 1/8/2017
Status: offline
All that did was set up a folder with a 1kb "application reference" and a desktop shortcut. I see the install downloading 5.56 MB of files, but this is all I get.

I'm seriously confused by all this.

Re the linked workaround, that seems to be regarding difficulties installing the latest net framework, which I already have installed.

< Message edited by LuciferBaphomet -- 1/9/2017 5:57:45 PM >

(in reply to LuciferBaphomet)
Post #: 243
RE: Modding Tool - 1/10/2017 8:53:35 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
quote:

ORIGINAL: LuciferBaphomet
All that did was set up a folder with a 1kb "application reference" and a desktop shortcut. I see the install downloading 5.56 MB of files, but this is all I get.


Hmm, if the installer has downloaded the latest version (which is about the size you mentioned) it should still run said latest version after it's downloaded.

quote:

ORIGINAL: LuciferBaphomet
I'm seriously confused by all this.

Re the linked workaround, that seems to be regarding difficulties installing the latest net framework, which I already have installed.


You definitely should not need to open the manifest in IE or anything else. It should just run after being installed.

You can check to see if it's installed under the Windows "Programs and Features" list, the actual name of the application is "Distant Worlds Mod Editor" and the latest version is 0.2.3.13. Might be a plan to try uninstalling/reinstalling just to see if it was some sort of one off event.

It is possible that your firewall or antivirus is interfering with the program. I know when I go to run a new update for the first time Windows Smartscreen always kicks off and I have to tell it to run the application anyway.

I've attached a setup.zip of revision 13 to this message for you to test with, that'll negate the need for the program to immediately try to update itself.

Let me know how you get on!

[edit: Attachment Removed as obsolete]

< Message edited by Sabranan -- 3/6/2017 11:01:34 PM >


_____________________________


(in reply to LuciferBaphomet)
Post #: 244
RE: Modding Tool - 1/19/2017 6:17:55 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Ok, revision 14 is up and not gonna lie, this one was a huge pain the ass.

Thanks to looking in Rosbjerg’s Grouping Colonization Techs thread, I realised that you can actually have more than two abilities per project, either all on one line or on separate lines, or indeed a combination of the two.

Not only that, but there doesn’t appear to be a hardcoded limit on how many abilities each individual project can have. So a project that has ten thousand abilities is apparently perfectly fine as far as the DW engine is concerned.

Writing code to make sense of all the different possibilities was, challenging, to say the least. I think I’ve managed it though.

I’ve elected to set a limit of 7 abilities per project. I’ve never seen a mod use that many and if you use more than that it becomes difficult or impossible for the player to see each individual ability on a project anyway. It will let you know in the input log if you’ve got more than that and warn you that you’ll lose the extra projects.

(in reply to Sabranan)
Post #: 245
RE: Modding Tool - 1/20/2017 12:57:13 AM   
Shogouki


Posts: 177
Joined: 8/11/2013
Status: offline
Very nice!

(in reply to Sabranan)
Post #: 246
RE: Modding Tool - 1/20/2017 7:54:29 AM   
Rosbjerg

 

Posts: 88
Joined: 3/11/2015
Status: offline
Well, happy I could help! :)

_____________________________


(in reply to Shogouki)
Post #: 247
RE: Modding Tool - 1/20/2017 6:25:11 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Revision 15 corrects a long standing bug in the resources form that broke clearing a resource location when I introduced data validation. I've also gone ahead and set the resources form to use the same theme as the rest of the graphically updated forms.

A note about the resources form, due to the number of controls it has to destroy/generate each time the resource is changed I've made it so it makes the form invisible briefly rather than show each individual control being removed and recreated. It's still not as instant as I'd like it to be, but it's much quicker than it was.

(in reply to Rosbjerg)
Post #: 248
RE: Modding Tool - 1/20/2017 9:24:06 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Better solution for the resources form inbound for revision 16. It now uses the DoubleBuffered property, which helps a huge amount in destroying/creating controls and negates the need to make the form invisible, however briefly.

Also includes some tidy up of the Research Ability Subform, the clear ability button wasn't quite doing what it was supposed to. Now it is.

(in reply to Sabranan)
Post #: 249
RE: Modding Tool - 1/22/2017 1:43:03 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Revision 17 and all the forms have the new graphical theme. It's looking damn good now!

(in reply to Sabranan)
Post #: 250
RE: Modding Tool - 1/25/2017 2:46:06 AM   
Shogouki


Posts: 177
Joined: 8/11/2013
Status: offline
Man I can't wait for this to be finished!

(in reply to Sabranan)
Post #: 251
RE: Modding Tool - 1/26/2017 12:34:49 AM   
StarLab


Posts: 844
Joined: 8/27/2012
From: Ontario, Canada
Status: offline
I just skimmed through the many pages of this thread... a crap-ton of work in this tool. Nice commitment to a great game! I'm not a modder so I likely won't use it... but appreciate the work nonetheless. Thanks!

_____________________________

-Larry Monte

Latest YouTube Series
DW2 Mortalen Preview
DW2 Ackdarian Preview

(in reply to Shogouki)
Post #: 252
RE: Modding Tool - 1/26/2017 11:22:58 AM   
Kingah


Posts: 98
Joined: 8/17/2013
From: Teeka
Status: offline

quote:

ORIGINAL: StarLab

I just skimmed through the many pages of this thread... a crap-ton of work in this tool. Nice commitment to a great game! I'm not a modder so I likely won't use it... but appreciate the work nonetheless. Thanks!


Have been reading this thread since it was first started and I have to second Starlab on this. I've tried modding the game before but being the lazy ass that I am I always gave up because of the sheer amount required to make a decent mod in the environment that vanilla offers. This tool is going to make it so much easier for all the serious modders out there to make progress and not be stuck scanning the text for a misplaced comma.

_____________________________


(in reply to StarLab)
Post #: 253
RE: Modding Tool - 1/27/2017 4:53:19 AM   
Capshades

 

Posts: 138
Joined: 8/2/2014
Status: offline
Also going to help solve bugs in current mods lol...

(in reply to Kingah)
Post #: 254
RE: Modding Tool - 1/29/2017 4:13:08 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Thank you guys, much appreciated!

For revision 18 I've implemented a checkbox to disable backup file creation if you want. Naturally it's a good idea to always make your own, but the tool is stable enough and consistent enough now that I generally feel pretty confident about outputting without having to worry it's going to screw something up.

I've also changed the input/output log colours a bit, introducing a light blue for lines that are just informing you about something and leaving the orange as the warning colour, letting you know that a value will be dropped or changed.

_____________________________


(in reply to Capshades)
Post #: 255
RE: Modding Tool - 1/29/2017 10:15:38 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
A brand new feature for revision 19, a tech tree viewer!

I've spent the past several hours on this and while complicated, the most difficult part was getting visual studio to actually draw the arrows and keep them there. It does work quite nicely though. A couple notes:

a) The way the arrows work is they're saved as a bitmap in memory and that bitmap is set to be the background image of the panel with the techs in it. But bitmaps are limited to 2GB in Visual Studio, so it's possible to overload it if your tech level or row number is too high. To help with this I've done the same thing that Distant Worlds itself does, which is that if your tech level is 100 or more for a project then it doesn't display in the tree. There 'should' be no need to go anywhere near that number, especially since modders have the Base Cost Multiplier.

b) Right now projects list their names and ID's, their cost, any components they enable and their parents. I figured this is the most critical info to provide. I'll program in the other stuff too at some point, though due to space limitations I might have a drop-down box or something to select the values you want to examine.



_____________________________


(in reply to Sabranan)
Post #: 256
RE: Modding Tool - 2/1/2017 10:43:52 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
For revision 20, a few things...

I noticed that missing policy files didn't quite get created as they should, so I've fixed that. I've also made a small change to the policy form, it now has a check-box to switch to the pirate races rather than listing them separately.

More excitingly, the tech tree viewer has had a bit of an upgrade:

a) I've switched to using textboxes rather than labels to display the projects, so now you can copy info out of them if you want.

b) Double clicking a project will bring up another sub form, which will give you the details of the project. Over the next couple revisions I’m planning to have that display a great deal of info!

c) All the project boxes are considerably smaller; they’re now more or less the same size that they appear in DW itself.

d) I’ve adjusted the way it calculates the project cost so it’s more accurate.

_____________________________


(in reply to Sabranan)
Post #: 257
RE: Modding Tool - 2/2/2017 5:31:50 AM   
Capshades

 

Posts: 138
Joined: 8/2/2014
Status: offline
Not sure if it's just my computer or not, but when I accidentally selected the wrong path for the mod folder on start-up, after giving the warning message it froze and the only thing I could do was X out of the program....

(in reply to Sabranan)
Post #: 258
RE: Modding Tool - 2/3/2017 2:33:45 AM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Thanks Capshades, I've fixed that issue now so that if you select an invalid folder it should re-enable the "select mod folder" button so you can try again.

More importantly, I realised I forgot to make the button that opens the tech tree viewer I've been talking about for the last two posts actually visible to users...

So revision 21 and now 22 fixes both those problems.

_____________________________


(in reply to Capshades)
Post #: 259
RE: Modding Tool - 2/4/2017 1:00:44 AM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Revision 23 is up and the rest of the basic research info has been added. So now opening up a project in the tech tree viewer will tell you about things like any components it enables/improves, any abilities/fighters/facilities it enables, any race restrictions etc. I've also set it so that the tech tree viewer will be small enough to fit on a 720p screen, but it has the maximise button enabled so if you have a better resolution you can take full advantage of it.

Here's a screenshot to show it off:



< Message edited by Sabranan -- 2/4/2017 1:01:48 AM >


_____________________________


(in reply to Sabranan)
Post #: 260
RE: Modding Tool - 2/4/2017 3:26:19 PM   
rjord2021


Posts: 1992
Joined: 6/14/2013
From: Sydney, Australia
Status: offline
Nice looking tool.

There is a problem with the Race Biases screen which on my screen at least does not have the Main Menu icon top right corner.
This means I cannot get back to the Main Menu and have to cancel the tool through Task Manager.

Otherwise...excellent work there.

_____________________________



(in reply to Sabranan)
Post #: 261
RE: Modding Tool - 2/4/2017 5:16:56 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Thanks for that rjord1, I've just pushed revision 24 to deal with it so give that a go. The button is actually there, but the form was big enough that on smaller resolutions if you had enough races to stretch the form the button could end up being hidden on the right hand side.

I've shrunk the form a fair bit and the controls now get added to a panel (I didn't know panels existed when I made that form), so it should expand nicely.

_____________________________


(in reply to rjord2021)
Post #: 262
RE: Modding Tool - 2/5/2017 7:10:59 AM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Revision 25 fixes a bug reported via the log tool, if you tried to load in a race that has an invalid "additional data" value set in its victory conditions it basically stopped the race form working. Now it should intelligently report the error and set the value to "None".

I don't know the username for the person who reported this but their mod name initials were "SW" (don't want to give away the title if you're not ready to go public), so if you're reading this thanks for reporting it!

_____________________________


(in reply to Sabranan)
Post #: 263
RE: Modding Tool - 2/5/2017 7:23:33 PM   
Ghost73

 

Posts: 3
Joined: 2/5/2017
Status: offline
This tool is awesome. It removes a ton of the tedium and headache of modding this game.
Thanks a lot!

(in reply to Sabranan)
Post #: 264
RE: Modding Tool - 2/6/2017 2:12:54 AM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Thanks Ghost73!

For revision 26 the detail viewer on the tech tree shows component improvement values and how they differ from the original unimproved components.

It also includes an icon for the batch tasks as well as a better icon for the fighters form.

_____________________________


(in reply to Ghost73)
Post #: 265
RE: Modding Tool - 2/10/2017 7:46:26 PM   
Sabranan

 

Posts: 418
Joined: 2/24/2016
Status: offline
Revision 27 is up and has a new batch tasks subform for the resources. This allows you to change the various resource values (including the location info) en-mass, it works much like the one for the components works.

It also has the tech tree viewer completed; now showing details about any abilities or changes to plagues. Along with the previous revisions that means all the possible research lines are now showing in the detail view.

I’ll be spending the next few days just going through everything and making sure it’s doing what it’s supposed to do. I’m no longer finding glaring bugs, the project looks good and it covers everything I set out to do. So unless I find or anyone reports anything that needs fixing urgently revision 27 will likely be the last one before release as 1.0.0!

_____________________________


(in reply to Sabranan)
Post #: 266
RE: Modding Tool - 2/10/2017 7:48:39 PM   
Shogouki


Posts: 177
Joined: 8/11/2013
Status: offline
Sweet!

(in reply to Sabranan)
Post #: 267
RE: Modding Tool - 2/10/2017 10:46:42 PM   
Capshades

 

Posts: 138
Joined: 8/2/2014
Status: offline
Wooooooooo

(in reply to Shogouki)
Post #: 268
RE: Modding Tool - 2/13/2017 9:57:01 PM   
NegativeZ3R0

 

Posts: 2
Joined: 2/13/2017
Status: offline
I registered for an account just to tell you how much I love you for making this. Thank you for your hard work.

(in reply to Capshades)
Post #: 269
RE: Modding Tool - 2/14/2017 7:08:37 PM   
rjord2021


Posts: 1992
Joined: 6/14/2013
From: Sydney, Australia
Status: offline
One suggestion.....

Would you be able to add a minimize and maximize buttons to top right of the main screen as there is no way to minimize the modding tool.



_____________________________



(in reply to NegativeZ3R0)
Post #: 270
Page:   <<   < prev  7 8 [9] 10 11   next >   >>
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Design and Modding >> RE: Modding Tool Page: <<   < prev  7 8 [9] 10 11   next >   >>
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

2.453