From 06b0fb7e0c75b174f18491aa1760a751970e182d Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Mon, 18 Jan 2021 14:53:28 +0100 Subject: [PATCH] Added Deduplication button and the ability to point a hdd file to multiple game paths in groups. --- Penumbra/Importer/TexToolsImport.cs | 14 +- Penumbra/Models/Deduplicator.cs | 162 ++++++++++++++++++++++++ Penumbra/Models/GroupInformation.cs | 20 ++- Penumbra/Models/ModMeta.cs | 8 +- Penumbra/Mods/ModCollection.cs | 4 +- Penumbra/Mods/ModManager.cs | 137 ++++++++++---------- Penumbra/UI/SettingsInterface.cs | 61 +++++---- Penumbra/Util/SingleOrArrayConverter.cs | 55 ++++++++ 8 files changed, 358 insertions(+), 103 deletions(-) create mode 100644 Penumbra/Models/Deduplicator.cs create mode 100644 Penumbra/Util/SingleOrArrayConverter.cs diff --git a/Penumbra/Importer/TexToolsImport.cs b/Penumbra/Importer/TexToolsImport.cs index 9ec04a57..066ad305 100644 --- a/Penumbra/Importer/TexToolsImport.cs +++ b/Penumbra/Importer/TexToolsImport.cs @@ -237,18 +237,18 @@ namespace Penumbra.Importer GroupName = group.GroupName, Options = new List