few fixes found when building Lexys

This commit is contained in:
Timothy Baldridge 2019-08-23 22:47:52 -06:00
parent fddc677cb2
commit dd63fb8402
3 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,7 @@ namespace Compression.BSA.Test
{ {
class Program class Program
{ {
const string TestDir = "d:\\MO2 Instances\\Mod Organizer 2 - LE"; const string TestDir = "d:\\MO2 Instances\\";
const string TempDir = "c:\\tmp\\out"; const string TempDir = "c:\\tmp\\out";
static void Main(string[] args) static void Main(string[] args)
{ {

View File

@ -382,7 +382,7 @@ namespace Compression.BSA
if (Compressed) if (Compressed)
{ {
var r = LZ4Stream.Decode(rdr.BaseStream); var r = LZ4Stream.Decode(rdr.BaseStream);
r.CopyToLimit(output, (int)_onDiskSize); r.CopyToLimit(output, (int)_originalSize);
} }
else else

View File

@ -487,6 +487,8 @@ namespace Wabbajack
IgnoreStartsWith("webcache\\"), IgnoreStartsWith("webcache\\"),
IgnoreStartsWith("overwrite\\"), IgnoreStartsWith("overwrite\\"),
IgnorePathContains("temporary_logs"), IgnorePathContains("temporary_logs"),
IgnorePathContains("GPUCache"),
IgnorePathContains("SSEEdit Cache"),
IgnoreEndsWith(".pyc"), IgnoreEndsWith(".pyc"),
IgnoreEndsWith(".log"), IgnoreEndsWith(".log"),
IgnoreOtherProfiles(), IgnoreOtherProfiles(),