Author Topic: [TOOL][0.2.0004] Software Inc Modification Validator  (Read 3425 times)

0 Members and 1 Guest are viewing this topic.

March 23, 2016, 05:02:01 AM
Read 3425 times

jdphenix

  • *
  • Information
  • Member
  • Posts: 19
    • View Profile
New release here: https://github.com/jdphenix/SoftwareincValidator/releases/tag/v0.2.0004

------------

I've released a utility that partially validates Software Inc modifications that you point it to. It is available on Github here: https://github.com/jdphenix/SoftwareincValidator/releases/tag/v0.2.0003

This tool is, as of right now, very rough around the edges, and I consider this first release to be a pre-alpha version. VirusTotal results for the binary archive is linked on the release link above.

Currently, my tool has the following features:

* Validating all XML files that are part of a modification as being valid, properly formed XML.
* Validating that company types, personalities, and scenarios have all required tags, and that data that exists conforms to expected values. For example, a validation failure will occur if you attempt to load a modification that defines a scenario with a negative money amount, you will get a validation error.
* Validating that software types and features have all required tags. Data validation for these modification components is not yet implemented.

If you decide to use this and find that this incorrectly allows a modification through that fails to load in Software Inc, or vice versa, please feel free to create an issue here: https://github.com/jdphenix/SoftwareincValidator/issues/new  or reply to this thread.

My next plans are to implement validations that check for sane values on modification components. Things like unlock dates after every goal ends, features referencing dependencies that don't exist, far out of range values, etc.
« Last Edit: March 27, 2016, 02:12:46 AM by jdphenix »

March 27, 2016, 02:11:51 AM
Reply #1

jdphenix

  • *
  • Information
  • Member
  • Posts: 19
    • View Profile
New release here: https://github.com/jdphenix/SoftwareincValidator/releases/tag/v0.2.0004

It does these new things!   :D

*    Checks software type features for broken dependencies.
*    Checks software type researched features for a valid part and unlock date.
*    Checks software types to ensure they have a company type declared to make them.
*    Checks numeric values of software types for sane values.
*    Checks company types to ensure they declare existing software types.
*    Checks scenarios' goals.

My next goals with this are to implement accounting for the game's base assets, so as to properly detect and account for mods that delete or override built-in parts of the game, and get a basic GUI thrown together that spits out the possible (or actual!) problems and a graph depicting the dependencies of the software features in the select mod.

After that? Who knows. I plan on keeping it up to date as the game gets new shininess.