mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-09-22 06:45:03 +00:00
Fix MPQ on x64, notes
This commit is contained in:
@@ -25,7 +25,7 @@ namespace BinaryObjectScanner.FileType
|
||||
/// <inheritdoc/>
|
||||
public bool Extract(Stream? stream, string file, string outDir, bool includeDebug)
|
||||
{
|
||||
#if NET20 || NET35 || !WINX86
|
||||
#if NET20 || NET35 || !(WINX86 || WINX64)
|
||||
// Not supported for old .NET due to feature requirements
|
||||
// Not supported in non-Windows builds due to DLL requirements
|
||||
return false;
|
||||
|
||||
Binary file not shown.
@@ -196,17 +196,17 @@ namespace ExtractionTool
|
||||
if (szsfx.CheckExecutable(file, pex, includeDebug) != null)
|
||||
szsfx.Extract(file, pex, outputDirectory, includeDebug);
|
||||
|
||||
// CExe
|
||||
// CExe -- Implementation moved to Serialization
|
||||
var ce = new CExe();
|
||||
if (ce.CheckExecutable(file, pex, includeDebug) != null)
|
||||
ce.Extract(file, pex, outputDirectory, includeDebug);
|
||||
|
||||
// Embedded archives
|
||||
// Embedded archives -- Implementation moved to Serialization
|
||||
var ea = new EmbeddedArchive();
|
||||
if (ea.CheckExecutable(file, pex, includeDebug) != null)
|
||||
ea.Extract(file, pex, outputDirectory, includeDebug);
|
||||
|
||||
// Embedded executables
|
||||
// Embedded executables -- Implementation moved to Serialization
|
||||
var ee = new EmbeddedExecutable();
|
||||
if (ee.CheckExecutable(file, pex, includeDebug) != null)
|
||||
ee.Extract(file, pex, outputDirectory, includeDebug);
|
||||
|
||||
Reference in New Issue
Block a user