機能追加: Bakin・NW.jsエンジンおよびセーブ編集対応、ES3パスワード解決機能とRPGツクールMZ修正サービスの追加

This commit is contained in:
armonica committed 2026-11-20 19:55:34 +09:00
1 parent f50976a6c0
commit 152abae1f8
33 files changed
+11356 -175

No files matched your search

+18 -3
View File
@@ -89,8 +89,10 @@ namespace GameLauncher.Engines.Evb
}
}
// First exe at the top level, then one level deeper.
var top = Directory.GetFiles(outputDirectory, "*.exe", SearchOption.TopDirectoryOnly);
// First exe at the top level, then one level deeper (excluding helper/installer exes).
var top = Directory.GetFiles(outputDirectory, "*.exe", SearchOption.TopDirectoryOnly)
.Where(f => !IsExcludedHelperExe(Path.GetFileName(f)))
.ToArray();
if (top.Length > 0)
{
return top[0];
@@ -98,7 +100,9 @@ namespace GameLauncher.Engines.Evb
foreach (var sub in Directory.GetDirectories(outputDirectory))
{
var nested = Directory.GetFiles(sub, "*.exe", SearchOption.TopDirectoryOnly);
var nested = Directory.GetFiles(sub, "*.exe", SearchOption.TopDirectoryOnly)
.Where(f => !IsExcludedHelperExe(Path.GetFileName(f)))
.ToArray();
if (nested.Length > 0)
{
return nested[0];
@@ -113,6 +117,17 @@ namespace GameLauncher.Engines.Evb
return null;
}
private static bool IsExcludedHelperExe(string? fileName)
{
if (string.IsNullOrWhiteSpace(fileName)) return true;
return fileName.StartsWith("unins", StringComparison.OrdinalIgnoreCase) ||
fileName.StartsWith("UnityCrashHandler", StringComparison.OrdinalIgnoreCase) ||
fileName.Equals("notification_helper.exe", StringComparison.OrdinalIgnoreCase) ||
fileName.Equals("crashpad_handler.exe", StringComparison.OrdinalIgnoreCase) ||
fileName.Equals("elevate.exe", StringComparison.OrdinalIgnoreCase) ||
fileName.Equals("nacl64.exe", StringComparison.OrdinalIgnoreCase);
}
/// <summary>
/// True when the game folder already holds a completed EVB extraction.
/// A non-empty output folder is NOT enough: the run may have been interrupted,