Skip to content

Daggerfall Unity - Mods.json not being correctly written #381

Description

@MouseProducedGames

Please make sure the issue is an issue with the mod manager first. If your issue is an in game issue/error, I'm only interested in helping it if the mod manager is causing it.

Describe the bug
Mods.json is not being written correctly by Amethyst; that is, some mods have incorrect titles, and some mods are added that don't actually exist in the modlist (such as "combat log") (edit: "combat log.dfmod" is a part of Vanilla Combat Event Handler, which I have enabled, so this isn't an error). On clicking Play, Daggerfall Unity finds this broken Mods.json, error-checks it, and then replaces it with a default Mods.json containing the hardlinked mods sorted by name, which may cause this error to be missed, but still results in incorrect sorting. Two examples:

[
    {
        "FileName": "daggerfall.harmony",
        "Title": "daggerfall.harmony",
        "Enabled": true,
        "LoadPriority": 37
    },
    {
        "FileName": "loadingscreen",
        "Title": ",\u0000\u0012 -\u0000&",
        "Enabled": true,
        "LoadPriority": 36
    },

2nd

    {
        "FileName": "combat log",
        "Title": "CT\u0000VLog",
        "Enabled": true,
        "LoadPriority": 26
    },

Manager Version
Stable, v2.1.0, AppImage

Is the issue with a specific game or a general Issue?
I have only tested Daggerfall Unity.

To Reproduce
Install mods for Daggerfall Unity using Amethyst Mod Manager. I suggest at least 10 mods to ensure the error appears; I have 38 currently. Some mods appear to install correctly, for example:

    {
        "FileName": "quest actions extension",
        "Title": "quest actions extension",
        "Enabled": true,
        "LoadPriority": 30
    },

Expected behavior
On clicking the Deploy or Play button, a correct Mods.json file is created in /home/{username}/.config/unity3d/'Daggerfall Workshop'/'Daggerfall Unity'/Mods/GameData/

Screenshots
Image

Desktop (please complete the following information):

  • Fedora Workstation stable 44 (Workstation Edition) with GNOME Shell 50.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions