chore: bundle evbunpack tool and add EVB control/launch fixes
- Add Enigma Virtual Box (EVB) engine support: detection, badge, unpack/restore UI - Bundle evbunpack.exe under Engines/Evb/Tools/evbunpack (Apache-2.0, with LICENSE/README) - Copy Engines\\**\\Tools\\** to build output via csproj (publish already covered by publish.ps1) - Throttle evbunpack progress reporting and shorten timeout to stop UI freeze - Rename original packed exe to .glbak and write a completion marker; make Restore reverse it - Launch the unpacked exe from _evb_extracted so script mods apply - Replace EVB MessageBox dialogs with readable log summaries - Remove obsolete boxed/7zip extraction code (NwjsPackageUnpacker, TkoolPackagedExtractionService)
This commit is contained in:
1 parent
8cea2a147d
commit
05e7bdb3c0
23 files changed
+1542
-1288
No files matched your search
@@ -29,6 +29,9 @@ namespace GameLauncher.Engines.Common
|
||||
/// <summary>Canonical engine name for generic NW.js packaged games.</summary>
|
||||
public const string EngineNwjs = "Nwjs";
|
||||
|
||||
/// <summary>Canonical engine name for Enigma Virtual Box packed applications.</summary>
|
||||
public const string EngineEvb = "Evb";
|
||||
|
||||
/// <summary>Canonical engine name used when detection fails.</summary>
|
||||
public const string EngineUnknown = "Unknown";
|
||||
|
||||
@@ -77,6 +80,11 @@ namespace GameLauncher.Engines.Common
|
||||
return EngineNwjs;
|
||||
}
|
||||
|
||||
if (Matches(value, "Evb", "Enigma", "EnigmaVB", "EnigmaVirtualBox"))
|
||||
{
|
||||
return EngineEvb;
|
||||
}
|
||||
|
||||
return EngineUnknown;
|
||||
}
|
||||
|
||||
@@ -113,6 +121,14 @@ namespace GameLauncher.Engines.Common
|
||||
/// </summary>
|
||||
private static string DetectFromDirectory(string gameDirectory)
|
||||
{
|
||||
// Enigma Virtual Box (EVB): a packed executable hides the real engine, so it
|
||||
// must be detected before any other layout-based check. Detection uses the
|
||||
// PE section signature only (see EvbDetectionHelper.IsEvbPacked).
|
||||
if (Engines.Evb.EvbDetectionHelper.FindEvbPackedExecutable(gameDirectory) != null)
|
||||
{
|
||||
return EngineEvb;
|
||||
}
|
||||
|
||||
// RPG Maker MV/MZ: www/ folder or a Game.exe next to nw.js package files.
|
||||
var wwwDir = Path.Combine(gameDirectory, "www");
|
||||
if (Directory.Exists(wwwDir))
|
||||
|
||||
Reference in new issue
Block a user