Reenabled OMOD extraction

This commit is contained in:
erri120 2019-10-23 18:14:34 +02:00
parent 3d5d2e0da9
commit 13cc4785b0
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135

View File

@ -5,7 +5,7 @@ using System.Reflection;
using Alphaleonis.Win32.Filesystem; using Alphaleonis.Win32.Filesystem;
using Compression.BSA; using Compression.BSA;
using ICSharpCode.SharpZipLib.GZip; using ICSharpCode.SharpZipLib.GZip;
//using OMODFramework; using OMODFramework;
namespace Wabbajack.Common namespace Wabbajack.Common
{ {
@ -53,12 +53,12 @@ namespace Wabbajack.Common
private static void ExtractAllWithOMOD(string source, string dest) private static void ExtractAllWithOMOD(string source, string dest)
{ {
/*Utils.Log($"Extracting {Path.GetFileName(source)}"); Utils.Log($"Extracting {Path.GetFileName(source)}");
Framework f = new Framework(); var f = new Framework();
f.SetTempDirectory(dest); f.SetTempDirectory(dest);
OMOD omod = new OMOD(source, ref f); var omod = new OMOD(source, ref f);
omod.ExtractDataFiles(); omod.ExtractDataFiles();
omod.ExtractPlugins();*/ omod.ExtractPlugins();
} }
private static void ExtractAllWithBSA(string source, string dest) private static void ExtractAllWithBSA(string source, string dest)