Merge pull request #2246 from wabbajack-tools/nexus_modding_tools_site_meta_support

Nexus modding tools site meta support
This commit is contained in:
Luca 2022-12-22 12:10:11 +01:00 committed by GitHub
commit 1921eab52d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 6 deletions

View File

@ -1,7 +1,7 @@
### Changelog
#### Version - 3.0.x.x - TBD
#### Version - 3.0.?.? - TBD
* Add support for https://www.nexusmods.com/site hosted mods.
* Fix Website Links
* Game support:
* Added support for Valheim

View File

@ -258,9 +258,6 @@ public class MO2Compiler : ACompiler
new IgnorePathContains(this, "SSEEdit Cache"),
new IgnoreOtherProfiles(this),
new IgnoreDisabledMods(this),
// TODO
//new IgnoreTaggedFiles(this, Consts.WABBAJACK_IGNORE_FILES),
//new IgnoreTaggedFolders(this,Consts.WABBAJACK_IGNORE),
new IncludeThisProfile(this),
// Ignore the ModOrganizer.ini file it contains info created by MO2 on startup
new IncludeStubbedConfigFiles(this),

View File

@ -48,5 +48,7 @@ public enum Game
[Description("Dragons Dogma Dark Arisen")] DragonsDogma,
[Description("Karryn's Prison")]
KarrynsPrison,[Description("Valheim")]Valheim,
KarrynsPrison,
[Description("Valheim")]Valheim,
[Description("Modding Tools")] ModdingTools,
}

View File

@ -509,7 +509,19 @@ public static class GameRegistry
},
MainExecutable = "valheim.exe".ToRelativePath()
}
},
{
Game.ModdingTools, new GameMetaData
{
Game = Game.ModdingTools,
MO2Name = "Modding Tools",
MO2ArchiveName = "site",
NexusName = "site",
NexusGameId = 2295,
IsGenericMO2Plugin = false,
}
}
};
public static ILookup<string, GameMetaData> ByNexusName = Games.Values.ToLookup(g => g.NexusName ?? "");