Jump to content

[Mods] ONI ignores the mods name casing


krop
  • Branch: Preview Branch Version: Linux Pending

Today I helped a mate testing his mod. Once uncompressed in ~/.config/unity3d/Klei/Oxygen Not Included/mods/Local, a folder "Always3Interests" was created (with this casing).

However, in mods.json, the modloader added this:

    {
      "label": {
        "distribution_platform": 0,
        "id": "always3interests",
        "version": 215896837,
        "title": "always3interests"
      },
      "status": 1,
      "enabled": true,
      "crash_count": 0
    }

As the "id" value doesn't match the folder casing, ONI complains every time it starts that a mod was modified and it requires a restart.

The workaround is to rename the mod folder name to match the id value but the real fix would be to respect the folder name casing when updating mods.json.


Steps to Reproduce
On linux, install a local mod with uppercase letters in its folder name.



User Feedback


There are no comments to display.



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