Implement mod dependencies #13

Closed
opened 2023-02-21 20:39:07 +01:00 by lucas · 2 comments
Owner
No description provided.
lucas added the
kind
feature
crate/dtmm
labels 2023-02-21 20:39:07 +01:00
lucas added this to the Mod Manager project 2023-02-21 20:39:07 +01:00
lucas added the
status/good first issue
label 2023-02-21 20:39:13 +01:00
lucas added
stage
design
and removed
status/good first issue
labels 2023-02-21 22:49:41 +01:00
lucas added this to the DTMM v1.0 + DTMT milestone 2023-02-28 16:00:16 +01:00
Author
Owner

I should probably only attempt this after Nexus is integrated.

Right now, modders would have to manually type out the mod ID in their config file, but that's not really something they know about other mods. And comparing by name doesn't sound right.

Whereas with Nexus, they get a nice UI to select dependencies on the website, and I still get a unique identifier via the API.

I should probably only attempt this after Nexus is integrated. Right now, modders would have to manually type out the mod ID in their config file, but that's not really something they know about other mods. And comparing by name doesn't sound right. Whereas with Nexus, they get a nice UI to select dependencies on the website, and I still get a unique identifier via the API.
lucas added a new dependency 2023-03-05 22:31:10 +01:00
Author
Owner

It seems like Nexus does not expose dependency information.

It shows the "make sure to download these as well, dialog" on the page, but the API doesn't seem to offer that information.

Plus, relying on Nexus would leave out non-Nexus mods, and Nexus wouldn't have an "after"-style dependency either.

So it does have to go through dtmt.cfg only. I guess I can make things slightly more ergonomic by adding the ID to the mod details view.

Proposed config section:

depends = [
    // Just a string -> equals "before"
    DMF
    {
        id = DMF
        // This dependency must come before us
        order = before
    }
    {
        id = DMF
        // This dependency must come after us
        order = after
    }
]
It seems like Nexus does not expose dependency information. It shows the "make sure to download these as well, dialog" on the page, but the API doesn't seem to offer that information. Plus, relying on Nexus would leave out non-Nexus mods, and Nexus wouldn't have an "after"-style dependency either. So it does have to go through `dtmt.cfg` only. I guess I can make things slightly more ergonomic by adding the ID to the mod details view. Proposed config section: ```sjson depends = [ // Just a string -> equals "before" DMF { id = DMF // This dependency must come before us order = before } { id = DMF // This dependency must come after us order = after } ] ```
lucas removed a dependency 2023-03-08 09:15:47 +01:00
lucas referenced this issue from a commit 2023-03-09 11:55:57 +01:00
lucas referenced this issue from a commit 2023-03-09 11:58:17 +01:00
lucas closed this issue 2023-03-09 14:14:02 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: bitsquid_dt/dtmt#13
No description provided.