Jump to content

Recommended Posts

  • Developer

Today's hotfix updates the version of Harmony on the public testing branch. The 0Harmonly.dll was updated from 2.2 to 2.4.2. This should provide greater support for targeting mods towards .NET Standard 2.1.


Given the changes to Unity in version 6, we feel the best starting point for mod development is .NET Standard 2.1. We believe this because some uses of .NET Framework are not cross-platform compatible, and we expect future changes will make increased use of types that require .NET Standard 2.1, such as Span. See https://docs.unity3d.com/6000.3/Documentation/Manual/dotnet-profile-support.html.

We will, however, continue to build ONI using Unity’s .NET Framework API Compatibility Target. This will provide some level of backwards compatibility. Note that this is in addition to .NET Standard, not instead of. 

We would appreciate feedback from modders on this course of action. Please let us know if it seems reasonable, and what hurdles you see to updating your mods in this model.

 

Fixes

  • All versions
    • Fixed a bug where irrigated plants using the Hydroponic Farm were growing unbothered by the lack of irrigation when loading a save where those plants had been wilted due to insufficient amounts of liquid in the farm tile.

Modding

  • Upgraded Harmony to 2.4.2
  • Added a Mod Safe Mode. If the game crashes before the main menu it will load into Mod Safe Mode next time the game starts. In safe mode, mods are not loaded. This offers an opportunity to disable mods before restarting.
  • Added TMP_InputField.DeactivateInputField() with no parameters as this was a common failure of a number of mods.
  • Added a helper function Texture2D ModUtil.LoadTexture(string) to allow .NET Framework targeting mods an alternative to Texture2D.LoadImage(byte[]) which has a Span overload causing compilation issues.

View full update

  • Like 4

Small but important bug with mod safe mode. Loading a save game will set the mod_load_in_progress flag to true in mods.json, but successfully finishing the load will not set it back to false. If you then quit straight to desktop without going back to the main menu the flag will remain true and the game will incorrectly enter mod safe mode on the next start.

 

Edit: It would also be nice if mods loaded from /dev could not activate mod safe mode when they crash, but that's a bit less trivial to change.

Edited by Vertel
  • Sad Dupe 1

The feedback is you incorporating more mods into the game so to enhance the game's playability; spare modders from having to rewrite their mods each time you update something drastic and to give you the freedom to update more stuff that you see fit without caring from breaking mods.

You have always been very passive on doing that, in other games with long support we look forward to the new additions on each update, but you rarely include anything. It took years of begging for you to include the pliers tool, and there are still around 20 other mods that need to be included in the base game, it would make your game more enjoyable to play for new players without taking any of the difficulty away, or the core gaming loop.

Something like "Bigger Camera Zoom Out", why not? incredibly simple concept, incredibly useful too. And you basically refactored the whole pathing of the game, you probably can spare some time to add something like this.

Not to mention some of the basic like "Settings Change Tool", "Batch Modify Styles", "Mass Move Tool", "Chain Tool", "No Sensor Limits", "Better Deselect", "Planning Tool", even the "Mod Filter" (a literal mod for modding).

And then the many that add stuff to the game that make it so, so much enjoyable to play like "Forbid Items", "Resource Sensor", "Hysteresis Storage", "No Manual Delivery", "Duplicant Room Sensor" and "Suppress Notifications" (adding something like "Blueprints Expanded" would be going above and beyond, a lot of work for you to do, that mod is exquisitely crafted).

 

I really love this game and i love your passion for it that makes you keep it alive after this long, but you could still make it better, and more accessible to new and old players alike. But is up to you in the end.

  • Like 1
  • Big Ups 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...