Skip to content

Commit

Permalink
Added comments with examples for mod types
Browse files Browse the repository at this point in the history
  • Loading branch information
Al12rs committed Sep 24, 2024
1 parent efcf6a8 commit d5104fd
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/Games/NexusMods.Games.Larian/BaldursGate3/BaldursGate3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,27 +68,37 @@ public override List<IModInstallDestination> GetInstallDestinations(IReadOnlyDic
{
InstallFolderTargets =
[
// Pak mods
// Examples:
// - <see href="https://www.nexusmods.com/baldursgate3/mods/366?tab=description">ImpUI (ImprovedUI) Patch7Ready</see>
// - <see href="https://www.nexusmods.com/baldursgate3/mods/11373?tab=description">NPC Visual Overhaul (WIP) - NPC VO</see>
new InstallFolderTarget
{
// Pak mods
DestinationGamePath = new GamePath(LocationId.From("Mods"), ""),
KnownValidFileExtensions = [new Extension(".pak")],
FileExtensionsToDiscard =
[
KnownExtensions.Txt, KnownExtensions.Md, KnownExtensions.Pdf, KnownExtensions.Png,
KnownExtensions.Txt, KnownExtensions.Md, KnownExtensions.Pdf, KnownExtensions.Png,
KnownExtensions.Json, new Extension(".lnk"),
],
},

// bin and NativeMods mods
// Examples:
// - <see href="https://www.nexusmods.com/baldursgate3/mods/944">Native Mod Loader</see>
// - <see href="https://www.nexusmods.com/baldursgate3/mods/668?tab=files">Achievement Enabler</see>
new InstallFolderTarget
{
// bin and NativeMods mods
DestinationGamePath = new GamePath(LocationId.Game, "bin"),
KnownSourceFolderNames = ["bin"],
Names = ["NativeMods"],
},

// loose files Data mods
// Examples:
// - <see href="https://www.nexusmods.com/baldursgate3/mods/555?tab=description">Fast XP</see>
new InstallFolderTarget
{
// loose files Data mods
DestinationGamePath = new GamePath(LocationId.Game, "Data"),
KnownSourceFolderNames = ["Data"],
Names = ["Generated", "Public"],
Expand Down

0 comments on commit d5104fd

Please sign in to comment.