diff --git a/Compression.BSA.Test/Program.cs b/Compression.BSA.Test/Program.cs index 2a66e658..8e441fb6 100644 --- a/Compression.BSA.Test/Program.cs +++ b/Compression.BSA.Test/Program.cs @@ -10,7 +10,7 @@ namespace Compression.BSA.Test { class Program { - const string TestDir = "d:\\MO2 Instances\\Mod Organizer 2 - LE"; + const string TestDir = "d:\\MO2 Instances\\"; const string TempDir = "c:\\tmp\\out"; static void Main(string[] args) { diff --git a/Compression.BSA/BSAReader.cs b/Compression.BSA/BSAReader.cs index 06415f28..b3e044a4 100644 --- a/Compression.BSA/BSAReader.cs +++ b/Compression.BSA/BSAReader.cs @@ -382,7 +382,7 @@ namespace Compression.BSA if (Compressed) { var r = LZ4Stream.Decode(rdr.BaseStream); - r.CopyToLimit(output, (int)_onDiskSize); + r.CopyToLimit(output, (int)_originalSize); } else diff --git a/Wabbajack/Compiler.cs b/Wabbajack/Compiler.cs index 16e93144..b6ad4f40 100644 --- a/Wabbajack/Compiler.cs +++ b/Wabbajack/Compiler.cs @@ -487,6 +487,8 @@ namespace Wabbajack IgnoreStartsWith("webcache\\"), IgnoreStartsWith("overwrite\\"), IgnorePathContains("temporary_logs"), + IgnorePathContains("GPUCache"), + IgnorePathContains("SSEEdit Cache"), IgnoreEndsWith(".pyc"), IgnoreEndsWith(".log"), IgnoreOtherProfiles(),