Get local metadata for installed mods #5

Closed
opened 2025-04-23 11:02:44 +02:00 by Toast · 3 comments
Owner

Sadly mods don't have their gamebanana IDs on their config.toml file, so I'll have to decide how to work around that

Sadly mods don't have their gamebanana IDs on their `config.toml` file, so I'll have to decide how to work around that
Toast added this to the Backend project 2025-04-23 11:02:44 +02:00
Toast self-assigned this 2025-04-23 11:02:47 +02:00
Author
Owner

Diva mod manager is pretty popular and is open source, it might be worth taking a look at what they do
github.com/TekkaGB/DivaModManager@3c76dc3c14/DivaModManager/Structures/ModStructures.cs (L13)

Diva mod manager is pretty popular and is open source, it might be worth taking a look at what they do https://github.com/TekkaGB/DivaModManager/blob/3c76dc3c149f5e31488025d852c64a22acf17d6b/DivaModManager/Structures/ModStructures.cs#L13
Toast changed title from Get metadata for installed mods to Get local metadata for installed mods 2025-05-07 00:32:24 +02:00
Author
Owner

Commit a549e9a99c is the first step towards this 🎊
Only tries to fetch metadata from config.toml, which is not guaranteed to have good metadata (if at all)

Commit a549e9a99cd92839ee740eb5f35c74710ab56b18 is the first step towards this 🎊 Only tries to fetch metadata from `config.toml`, which is not guaranteed to have good metadata (if at all)
Author
Owner

I did some research

Most mods only have the metadata that's on the config.toml, however some have a meta.json file.
I don't think it's a standard thing, but it's worth getting data from there for now

I did some research Most mods only have the metadata that's on the `config.toml`, however some have a `meta.json` file. I don't think it's a standard thing, but it's worth getting data from there for now
Toast closed this issue 2025-05-30 22:00:07 +02: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.

Reference
Toast/Leek#5
No description provided.