RE: Modding Tool (Full Version)

All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> Design and Modding



Message


Sabranan -> RE: Modding Tool (1/8/2017 10:56:55 PM)

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.




LuciferBaphomet -> RE: Modding Tool (1/9/2017 4:43:45 PM)

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.




LuciferBaphomet -> RE: Modding Tool (1/9/2017 5:35:50 PM)

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.




Sabranan -> RE: Modding Tool (1/10/2017 8:53:35 PM)

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]




Sabranan -> RE: Modding Tool (1/19/2017 6:17:55 PM)

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.




Shogouki -> RE: Modding Tool (1/20/2017 12:57:13 AM)

Very nice!




Rosbjerg -> RE: Modding Tool (1/20/2017 7:54:29 AM)

Well, happy I could help! :)




Sabranan -> RE: Modding Tool (1/20/2017 6:25:11 PM)

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.




Sabranan -> RE: Modding Tool (1/20/2017 9:24:06 PM)

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.




Sabranan -> RE: Modding Tool (1/22/2017 1:43:03 PM)

Revision 17 and all the forms have the new graphical theme. It's looking damn good now!




Shogouki -> RE: Modding Tool (1/25/2017 2:46:06 AM)

Man I can't wait for this to be finished! [sm=bow.gif]




StarLab -> RE: Modding Tool (1/26/2017 12:34:49 AM)

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!




Kingah -> RE: Modding Tool (1/26/2017 11:22:58 AM)


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.




Capshades -> RE: Modding Tool (1/27/2017 4:53:19 AM)

Also going to help solve bugs in current mods lol...




Sabranan -> RE: Modding Tool (1/29/2017 4:13:08 PM)

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.




Sabranan -> RE: Modding Tool (1/29/2017 10:15:38 PM)

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.





Sabranan -> RE: Modding Tool (2/1/2017 10:43:52 PM)

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.




Capshades -> RE: Modding Tool (2/2/2017 5:31:50 AM)

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....




Sabranan -> RE: Modding Tool (2/3/2017 2:33:45 AM)

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.




Sabranan -> RE: Modding Tool (2/4/2017 1:00:44 AM)

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:

[img]https://s26.postimg.org/7dm8w2hqx/Tech_Tree_Example.jpg[/img]




rjord2021 -> RE: Modding Tool (2/4/2017 3:26:19 PM)

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.




Sabranan -> RE: Modding Tool (2/4/2017 5:16:56 PM)

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.




Sabranan -> RE: Modding Tool (2/5/2017 7:10:59 AM)

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!




Ghost73 -> RE: Modding Tool (2/5/2017 7:23:33 PM)

This tool is awesome. It removes a ton of the tedium and headache of modding this game.
Thanks a lot!




Sabranan -> RE: Modding Tool (2/6/2017 2:12:54 AM)

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.




Sabranan -> RE: Modding Tool (2/10/2017 7:46:26 PM)

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!




Shogouki -> RE: Modding Tool (2/10/2017 7:48:39 PM)

Sweet! [sm=00000280.gif]




Capshades -> RE: Modding Tool (2/10/2017 10:46:42 PM)

Wooooooooo




NegativeZ3R0 -> RE: Modding Tool (2/13/2017 9:57:01 PM)

I registered for an account just to tell you how much I love you for making this. Thank you for your hard work.




rjord2021 -> RE: Modding Tool (2/14/2017 7:08:37 PM)

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.





Page: <<   < prev  7 8 [9] 10 11   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
2.017578