Fix MPQ on x64, notes

This commit is contained in:
Matt Nadareski
2025-08-25 21:26:33 -04:00
parent 692da62dee
commit 58022ec328
3 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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);