Compare commits

...
1 Commits
Author SHA1 Message Date
poli0981andClaude Opus 5.5 a9ce17d5ea fix: reasons read as what they are - End task is not a crash, a refusal no anti-cheat names is not "detected", every end reason has its words
Owner request 2026-09-25 (beta.8, item 5: clearer reasons - 32-bit game, exe missing,
process killed...).

- Exit classification: a crash is an exception's exit code (NTSTATUS 0xC0000000-0xC0FFFFFF
  but 0xC000013A, 0xE06D7363 C++, 0xE0434352 .NET, 0x80000003) or the event log's witness;
  End task's 1, a program's -1, Ctrl+C are ordinary ends with the code in the notes.
  CrashAutoDisablePolicy takes the exit code too and still counts every non-zero exit in
  its window (the safety did not loosen); its row reason says "ended abnormally".
- capture_notes: the guard slot has three positions, guard=Reason|Family|Signal, none
  dropped and no ';' inside one (an empty family used to be dropped and the signal read as
  the family; a ';' in a signal cut it). Old rows are read by the rule that separates them:
  findings and the gate's own refusals carry a family, every other reason's second part
  was its signal. exit_code, crash_event and the new launch_error are read back.
- A launch that cannot start keeps Windows' reason (IProcessLauncher.Start(..., out
  win32Error), a default interface overload; CaptureOutcome.LaunchError).
- App: every SessionEndReason has its sentence (Formats.EndReasonText, enum-walk test);
  every familyless guard refusal says what happened (Formats.GuardSentence) in the
  summary, the safety notice and the enable-time refusal instead of "<signal> was
  detected in this game"; the summary says how it ended ("crashed (0xC0000005 access
  violation)", "ended with exit code 1 - what End task and taskkill leave"); the missing
  executable bar and notice say whether the drive or the file is missing.
- Docs: 04_CAPTURE (classification corrected, notes format, launch error), 19_SAFETY (crash
  safety counts abnormal ends), 08_UI, HANDOFF traps, CHANGELOG.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 22:50:08 +07:00
32 changed files with 1577 additions and 62 deletions

No files matched your search

+10
View File
@@ -100,6 +100,16 @@ under a `## [x.y.z] - date` heading in the same commit that bumps `VERSION`, the
### Fixed
- **Ending a game with End task is no longer a "crash".** Every non-zero exit code was one, and Task Manager leaves 1.
A crash is now an exception's exit code or Windows' own crash record, and the session summary says how each session
ended: "crashed (0xC0000005 access violation)", "ended with exit code 1 — what End task and taskkill leave". The
crash safety still counts an early abnormal exit of either kind, so hooking still turns itself off after two in a row.
- **Reasons read as what they are.** Every way a session can end has its own sentence, a refusal that names no
anti-cheat says what happened ("the game is 32-bit…", "the game's process could not be opened") instead of calling
its detail "detected in this game", a launch that could not start says why (for example "the game requires
administrator rights"), and a missing executable says whether its drive is disconnected or the file is gone. A
refusal's details were stored so that a detail could be read as an anti-cheat's name; they are stored in three fixed
places now, and older sessions are read correctly.
- **The NVIDIA bridge's native test could not fail on a machine with an NVIDIA GPU.** It was registered to pass on
its "which branch" line alone, which makes ctest ignore the exit code; its reference-counting check had been failing
on every GPU machine unseen. The check is corrected and a failed assertion now fails the test.
+17 -2
View File
@@ -403,8 +403,8 @@ because a layer cannot leave a running game's loader chain.
## Crash & exit classification
- Normal: presenting PID exit code 0.
- `crashed`: nonzero exit code, **or** an Application Error (1000) / WER (1001) event log record naming the exe within `[start, end + 30 s]`.
- Normal: presenting PID exit code 0 — **and since beta.8 any exit code that is not an exception's** (End task and taskkill leave 1; a program's own error exit; Ctrl+C's `0xC000013A`), kept in `capture_notes` and said as what it is.
- `crashed`: ~~nonzero exit code~~ **an exception's exit code** (`ExitStatusMapper.IsExceptionCode`: NTSTATUS `0xC0000000–0xC0FFFFFF` but `0xC000013A`, `0xE06D7363` C++, `0xE0434352` .NET, `0x80000003` breakpoint), **or** an Application Error (1000) / WER (1001) event log record naming the exe within `[start, end + 30 s]`.
- `unhooked_safety`: the guard fired mid-session.
- `degraded`: Overlay self-disabled after faults, or ring layout mismatch mid-session.
- `interrupted`: Agent died mid-session; recovered from `.partial` on next start.
@@ -422,6 +422,21 @@ Crash-within-60s-of-injection happening twice for the same game ⇒ **hooking au
> exit code and the witness (`end=TargetExited; exit_code=-1073741819; crash_event=application_log`).
> `CrashAutoDisablePolicy` counts only crashes inside the 60 s window after the attach — `hook_crash_count`
> is that count and nothing else — and disables on the second; it never re-enables.
>
> **Corrected 2026-09-25 (beta.8, owner item 5): End task is not a crash.** The owner's sessions ended by Task Manager
> read *Crashed* — every non-zero code was one, and `TerminateProcess` leaves 1. A crash is now an exception's code or
> the event log's witness; any other code is `normal` with the code in the notes, and the session summary says it
> ("ended with exit code 1 — what End task and taskkill leave…", "crashed (0xC0000005 access violation)", "0xC0000006
> in-page I/O error: a disk or drive failed…"). **The safety policy did not get looser:** it takes the exit code beside
> the status and still counts every non-zero exit inside its window — a game the hook hung that the user then ended is
> the shape it exists for — and its row reason says "ended abnormally", not "crashed" (`19_SAFETY` §Crash & stability).
>
> **The notes' guard slot has three positions since the same day:** `guard=Reason|Family|Signal`, every slot present
> and `;` never inside one (`CaptureNotes.GuardSlot`). It was `Reason/Family/Signal` with an empty family dropped, so
> a refusal no family names put its signal where the family goes — and the notice read "Access is denied was detected
> in this game" — and a signal with a `;` was cut there. Old rows are read by the one rule that separates them: findings
> and the gate's own refusals carry a family, every other reason's second part was its signal. A launch that cannot
> start keeps Windows' reason (`launch_error=740`; `IProcessLauncher.Start(…, out win32Error)`).
## Live progress
+11
View File
@@ -299,6 +299,17 @@ Stat cards (Avg uses `FpsReadout`, Median, 1% Low, 0.1% Low, Min/Max, σ, stutte
> reported applying in the game's process from its override bits (*"NVIDIA driver, for this game's process: DLSS DLL
> chosen by the driver · preset K · Quality"*). Smooth Motion is labelled a setting community tools document, not
> NVIDIA. Neither line is a measurement (`03_METRICS` §Upscaling); a machine without an NVIDIA driver shows neither.
>
> **How it ended, and why (2026-09-25, beta.8, owner item 5).** Under the header line, *"How it ended: …"*
> (`Formats.ExitText`): a crash names its exception ("crashed (0xC0000005 access violation)", "0xC0000006 in-page I/O
> error: a disk or drive failed while the game read its files"), End task's exit code is an ordinary end said as
> what it is, and the event log's witness is named as such. The Tier-2 sentence has words for **every**
> `SessionEndReason` (`Formats.EndReasonText`, an enum-walk test keeps it so) and for every refusal no anti-cheat
> family names (`Formats.GuardSentence`: "The anti-cheat guard did not hook this game: the game is 32-bit…") — the
> safety notice and the enable-time refusal use the same words instead of "<signal> was detected in this game"; a
> launch that could not start says Windows' reason. The game page's missing-executable bar says whether the **drive**
> is not connected (FrameLedger finds the game again when it is) or the file is gone from its path, and so does the
> notice when enabling hooking meets an unreadable executable. Tests: `ReasonTextTests`, `Tier2ReasonTests`.
### Compare
Session picker (2–5, cross-game allowed) → overlaid percentile curves + stat table with best-value highlighting; FG columns always show Native and Displayed separately. Export PNG.
+1 -1
View File
@@ -937,7 +937,7 @@ rules feed can switch injection on for a game without anyone looking.
## Crash & stability safety
- Two crashes of the same game within 60 s of injection ⇒ hooking auto-disabled for that game, UI explains, Tier-2 takes over. Recorded in `games.hook_autodisabled_reason`.
- Two crashes of the same game within 60 s of injection ⇒ hooking auto-disabled for that game, UI explains, Tier-2 takes over. Recorded in `games.hook_autodisabled_reason`. *"Crash" here is any abnormal end: since beta.8 a session whose exit code is not an exception's (End task's 1) is `normal` on its row, and this policy still counts it inside the window — a hang our hook caused, ended by the user, is the case it exists for. The row's reason says "ended abnormally twice within 60 s of injection" (`04_CAPTURE` §Crash & exit classification).*
- The Overlay DLL self-disables after 3 faults in hook bodies (`17_HOOK_ENGINE` §Fault policy) and reports it.
- Every hooked session writes a breadcrumb file before injection; if the game process dies before the first frame record arrives, the next run is recorded as suspect.
+7
View File
@@ -1613,6 +1613,13 @@ only be refused, never the finding (FR-2.2).
struct): C puts typedefs and functions in one namespace, and MSVC's error names neither clearly.
- **The driver profile is a configuration.** `sessions.driver_profile` says what the NVIDIA App set; it never feeds
the upscaler ladder or the factor. The bridge has no DRS writer, and a PR that adds one is a different product.
- **A status is not a policy input.** Splitting End task (exit 1) out of `crashed` would have loosened the crash
auto-disable had the policy kept reading the status alone; it takes the exit code too. Check every reader of a value
whose meaning you narrow.
- **The gate's own refusals carry a label in the family slot** (`not enabled`, `no consent`, `kill switch`, `previously
blocked`, `HookedCaptureGate`), so "has a family" does not mean "is a finding" — `IsFindingAboutTheGame` is the test.
- **`add_strings.py` replaced an existing key in place** (`Exit_Normal`, the Sessions grid's word) — it now refuses
without `--replace`; diff the resx for `-.*<value>` before committing new strings.
- **A 32-bit refusal is not a block.** `ExecutableNotX64` writes nothing — no `hook_blocked_reason`, no stamp — so a
64-bit build of the same game under *Change executable* can be hooked; the sweep's turn-off uses
`hook_autodisabled_reason`, which the page does not offer to undo while the file is still 32-bit.
@@ -32,7 +32,7 @@
<ui:TextBlock Appearance="Tertiary" TextTrimming="CharacterEllipsis" Text="{Binding ViewModel.ExecutableText}" ToolTip="{Binding ViewModel.ExecutableText}" />
<ui:InfoBar Margin="0,6,0,0" IsClosable="False" Severity="Warning"
IsOpen="{Binding ViewModel.ExecutableMissing, Mode=OneWay}"
Message="{x:Static vm:GameDetailViewModel.ExecutableMissingText}" />
Message="{Binding ViewModel.ExecutableMissingMessage}" />
<ui:TextBlock Appearance="Secondary" Text="{Binding ViewModel.LastSessionText}" />
<StackPanel Orientation="Horizontal" Margin="0,10,0,0">
<ui:TextBlock Appearance="Secondary" VerticalAlignment="Center" Margin="0,0,12,0" Text="{x:Static vm:GameDetailViewModel.LifetimeLabel}" />
+142 -1
View File
@@ -1,5 +1,8 @@
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using FrameLedger.Application.Capture;
using FrameLedger.Application.Recording;
using FrameLedger.Domain.Detection;
using FrameLedger.Domain.Metrics;
using FrameLedger.Domain.Sessions;
@@ -274,13 +277,151 @@ public static class Formats
return Strings.Summary_Tier2_Why_HookOff;
case "RefusedByGuard" or "SafetyUnhook" when n.GuardFamily is { Length: > 0 } family:
return string.Format(CultureInfo.CurrentCulture, Strings.Summary_Tier2_Why_Guard_Format, family, n.GuardSignal ?? Strings.Common_NotAvailable);
case "RefusedByGuard" when n.GuardReason is { Length: > 0 } reason:
// A refusal no family names (beta.8): the guard could not look, the game is 32-bit… — said as what it is,
// never "… was detected in this game", which read as a finding.
return GuardSentence(reason);
case "TargetUnreadable":
return Strings.Summary_Tier2_Why_Unreadable;
case "RefusedConsentMissing":
// Common after a store update (2026-09-23): the consent is about the executable that was enabled, and this is a newer one.
return Strings.Summary_Tier2_Why_ConsentChanged;
case "LaunchCannotStart" when n.LaunchError is { } error:
return string.Format(CultureInfo.CurrentCulture, Strings.Launch_Failed_Format, Strings.End_LaunchCannotStart, LaunchErrorText(error));
default:
return string.Format(CultureInfo.CurrentCulture, Strings.Summary_Tier2_Why_Other_Format, n.End);
return EndReasonText(n.End) ?? string.Format(CultureInfo.CurrentCulture, Strings.Summary_Tier2_Why_Other_Format, n.End);
}
}
/// <summary>
/// Why a session ended, in words, for every <see cref="SessionEndReason"/> (beta.8); null for a name this build does not
/// know. <c>Formats_EveryEndReasonHasItsOwnSentence</c> walks the enum so none falls through.
/// </summary>
public static string? EndReasonText(string? end) => end switch
{
nameof(SessionEndReason.Running) => Strings.End_Running,
nameof(SessionEndReason.TargetExited) => Strings.End_TargetExited,
nameof(SessionEndReason.SafetyUnhook) => Strings.End_SafetyUnhook,
nameof(SessionEndReason.SupervisionLost) => Strings.End_SupervisionLost,
nameof(SessionEndReason.WriterSelfDisabled) => Strings.End_WriterSelfDisabled,
nameof(SessionEndReason.WriterStoppedBlocklisted) => Strings.End_WriterStoppedBlocklisted,
nameof(SessionEndReason.WriterNeverInstalledHooks) => Strings.End_WriterNeverInstalledHooks,
nameof(SessionEndReason.RefusedHookNotEnabled) => Strings.End_RefusedHookNotEnabled,
nameof(SessionEndReason.RefusedConsentMissing) => Strings.End_RefusedConsentMissing,
nameof(SessionEndReason.RefusedPreviouslyBlocked) => Strings.End_RefusedPreviouslyBlocked,
nameof(SessionEndReason.RefusedByGuard) => Strings.End_RefusedByGuard,
nameof(SessionEndReason.PreScanCouldNotVerify) => Strings.End_PreScanCouldNotVerify,
nameof(SessionEndReason.TargetNotRunning) => Strings.End_TargetNotRunning,
nameof(SessionEndReason.TargetCannotBePinned) => Strings.End_TargetCannotBePinned,
nameof(SessionEndReason.ExecutableUnreadable) => Strings.End_ExecutableUnreadable,
nameof(SessionEndReason.SupervisionFaulted) => Strings.End_SupervisionFaulted,
nameof(SessionEndReason.TargetAmbiguous) => Strings.End_TargetAmbiguous,
nameof(SessionEndReason.AttachRefused) => Strings.End_AttachRefused,
nameof(SessionEndReason.LaunchCannotStart) => Strings.End_LaunchCannotStart,
nameof(SessionEndReason.LaunchTargetExited) => Strings.End_LaunchTargetExited,
nameof(SessionEndReason.LaunchNoPresentationRuntime) => Strings.End_LaunchNoPresentationRuntime,
nameof(SessionEndReason.RefusedKillSwitch) => Strings.End_RefusedKillSwitch,
nameof(SessionEndReason.KillSwitchEngaged) => Strings.End_KillSwitchEngaged,
nameof(SessionEndReason.StoppedByUser) => Strings.End_StoppedByUser,
nameof(SessionEndReason.TargetUnreadable) => Strings.End_TargetUnreadable,
_ => null,
};
/// <summary>
/// A guard refusal no anti-cheat family names, as a sentence (beta.8): "The anti-cheat guard did not hook this game: the
/// game is 32-bit…". Every refusal reason the native guard can give has its words; a name this build does not know is
/// named as it is.
/// </summary>
public static string GuardSentence(string reason) =>
string.Format(CultureInfo.CurrentCulture, Strings.Guard_Refused_Format, GuardReasonText(reason));
/// <summary>What a familyless guard reason means, as a clause.</summary>
public static string GuardReasonText(string reason) => reason switch
{
"ModuleScanFailed" => Strings.Guard_ModuleScanFailed,
"ProcessUnreadable" => Strings.Guard_ProcessUnreadable,
"ProcessTreeUnavailable" => Strings.Guard_ProcessTreeUnavailable,
"DriverScanFailed" => Strings.Guard_DriverScanFailed,
"ServiceQueryFailed" => Strings.Guard_ServiceQueryFailed,
"RulesUnreadable" => Strings.Guard_RulesUnreadable,
"RulesMalformed" => Strings.Guard_RulesMalformed,
"RulesIncomplete" => Strings.Guard_RulesIncomplete,
"PreScanFailed" => Strings.Guard_PreScanFailed,
"InjectionFailed" => Strings.Guard_InjectionFailed,
"TargetIsWow64" => Strings.Guard_TargetIsWow64,
"PayloadNotOurs" => Strings.Guard_PayloadNotOurs,
"HookNotEnabled" => Strings.Guard_HookNotEnabled,
"ConsentMissing" => Strings.Guard_ConsentMissing,
"PreviouslyBlocked" => Strings.Guard_PreviouslyBlocked,
"LaunchTargetExited" => Strings.Guard_LaunchTargetExited,
"LaunchNoPresentationRuntime" => Strings.Guard_LaunchNoPresentationRuntime,
"TargetIsVulkanLayered" => Strings.Guard_TargetIsVulkanLayered,
"SuspiciousUnsigned" => Strings.Guard_SuspiciousUnsigned,
_ => string.Format(CultureInfo.CurrentCulture, Strings.Guard_Other_Format, reason),
};
/// <summary>
/// How a session ended, in words (beta.8): a crash names its exception ("crashed (0xC0000005 access violation)"), an
/// exit code that is not one is an ordinary end with its code — End task's 1 said as what it is — and the other
/// statuses keep their words.
/// </summary>
public static string ExitText(ExitStatus status, CaptureNotes notes) => status switch
{
ExitStatus.Crashed => notes.ExitCode is { } code && ExitStatusMapper.IsExceptionCode(code)
? string.Format(CultureInfo.CurrentCulture, Strings.Exit_Crashed_Format, ExceptionName(code))
: Strings.Exit_CrashEvent,
ExitStatus.Normal => notes.ExitCode switch
{
null or 0 => Strings.Exit_EndedNormally,
1 => Strings.Exit_Code1,
{ } other => string.Format(CultureInfo.CurrentCulture, Strings.Exit_Code_Format, CodeText(other)),
},
_ => ExitStatusText(status),
};
/// <summary>The exception an exit code names, or the code in hex.</summary>
public static string ExceptionName(int code) => unchecked((uint)code) switch
{
0xC0000005 => Strings.Exit_Ex_AccessViolation,
0xC0000006 => Strings.Exit_Ex_InPageError,
0xC00000FD => Strings.Exit_Ex_StackOverflow,
0xC0000374 => Strings.Exit_Ex_HeapCorruption,
0xC0000409 => Strings.Exit_Ex_FailFast,
0xC0000142 => Strings.Exit_Ex_DllInit,
0xC0000135 => Strings.Exit_Ex_DllNotFound,
0xC000007B => Strings.Exit_Ex_BadImage,
0xE06D7363 => Strings.Exit_Ex_Cpp,
0xE0434352 => Strings.Exit_Ex_Clr,
0x80000003 => Strings.Exit_Ex_Breakpoint,
_ => CodeText(code),
};
/// <summary>An exit code as a person reads it: small ones in decimal, NTSTATUS-shaped ones in hex.</summary>
private static string CodeText(int code) =>
code is >= -255 and <= 65535 ? code.ToString(CultureInfo.CurrentCulture) : "0x" + unchecked((uint)code).ToString("X8", CultureInfo.InvariantCulture);
/// <summary>A launch's Win32 error in words (beta.8): the few a game launch meets, and the number otherwise.</summary>
public static string LaunchErrorText(int error) => error switch
{
2 => Strings.Launch_Error_2,
3 => Strings.Launch_Error_3,
5 => Strings.Launch_Error_5,
193 => Strings.Launch_Error_193,
740 => Strings.Launch_Error_740,
_ => string.Format(CultureInfo.CurrentCulture, Strings.Launch_Error_Format, error),
};
/// <summary>
/// Why an executable is not where the row says (beta.8): a drive that is not connected — the owner's external drive
/// changes letter, 2026-09-22 — is said as that, and FrameLedger finds the game again when it is back; otherwise the
/// file itself is gone from its path.
/// </summary>
public static string ExecutableMissingText(string exePath)
{
ArgumentException.ThrowIfNullOrWhiteSpace(exePath);
string? root = Path.GetPathRoot(exePath);
return !string.IsNullOrEmpty(root) && !Directory.Exists(root)
? string.Format(CultureInfo.CurrentCulture, Strings.Exe_DriveMissing_Format, root)
: string.Format(CultureInfo.CurrentCulture, Strings.Exe_FileMissing_Format, exePath);
}
}
@@ -27,9 +27,12 @@ public sealed record HookingConsentResult(HookingConsentOutcome Outcome, string?
return string.Format(System.Globalization.CultureInfo.CurrentCulture, Strings.Hooking_NotX64_Format, Formats.Architecture(Refusal.Signal));
}
string? family = Refusal.Family ?? Refusal.Signal;
return family is null
? Shared.Strings.Safety_Refused_Unnamed
: string.Format(System.Globalization.CultureInfo.CurrentCulture, Shared.Strings.Safety_Refused_Named_Format, family, Refusal.Signal ?? Refusal.Reason);
// A refusal no family names is said as what it is (beta.8), never as its signal "detected in this game".
if (Refusal.Family is null)
{
return string.IsNullOrEmpty(Refusal.Reason) ? Shared.Strings.Safety_Refused_Unnamed : Formats.GuardSentence(Refusal.Reason);
}
return string.Format(System.Globalization.CultureInfo.CurrentCulture, Shared.Strings.Safety_Refused_Named_Format, Refusal.Family, Refusal.Signal ?? Refusal.Reason);
}
}
@@ -80,10 +80,14 @@ public sealed class SafetyNotices : IDisposable
return Shared.Strings.Safety_Refused_TargetUnreadable;
}
string? named = family ?? signal;
return named is null
? Shared.Strings.Safety_Refused_Unnamed
: string.Format(CultureInfo.CurrentCulture, Shared.Strings.Safety_Refused_Named_Format, named, signal ?? reason);
// A refusal no anti-cheat family names (beta.8) — the guard could not look, the game is 32-bit — is said as what it
// is. It used to name its SIGNAL as the family, and the notice read "Access is denied was detected in this game".
if (family is null)
{
return string.IsNullOrEmpty(reason) ? Shared.Strings.Safety_Refused_Unnamed : Formats.GuardSentence(reason);
}
return string.Format(CultureInfo.CurrentCulture, Shared.Strings.Safety_Refused_Named_Format, family, signal ?? reason);
}
private void OnEvent(object? sender, AgentEventArgs e)
+216
View File
@@ -180,9 +180,53 @@ public static class Strings
nameof(EditGame_Saved),
nameof(EditGame_Title),
nameof(EditGame_Version),
nameof(End_AttachRefused),
nameof(End_ExecutableUnreadable),
nameof(End_KillSwitchEngaged),
nameof(End_LaunchCannotStart),
nameof(End_LaunchNoPresentationRuntime),
nameof(End_LaunchTargetExited),
nameof(End_PreScanCouldNotVerify),
nameof(End_RefusedByGuard),
nameof(End_RefusedConsentMissing),
nameof(End_RefusedHookNotEnabled),
nameof(End_RefusedKillSwitch),
nameof(End_RefusedPreviouslyBlocked),
nameof(End_Running),
nameof(End_SafetyUnhook),
nameof(End_StoppedByUser),
nameof(End_SupervisionFaulted),
nameof(End_SupervisionLost),
nameof(End_TargetAmbiguous),
nameof(End_TargetCannotBePinned),
nameof(End_TargetExited),
nameof(End_TargetNotRunning),
nameof(End_TargetUnreadable),
nameof(End_WriterNeverInstalledHooks),
nameof(End_WriterSelfDisabled),
nameof(End_WriterStoppedBlocklisted),
nameof(Exe_DriveMissing_Format),
nameof(Exe_FileMissing_Format),
nameof(Exit_Code_Format),
nameof(Exit_Code1),
nameof(Exit_Crashed),
nameof(Exit_Crashed_Format),
nameof(Exit_CrashEvent),
nameof(Exit_Degraded),
nameof(Exit_EndedNormally),
nameof(Exit_Ex_AccessViolation),
nameof(Exit_Ex_BadImage),
nameof(Exit_Ex_Breakpoint),
nameof(Exit_Ex_Clr),
nameof(Exit_Ex_Cpp),
nameof(Exit_Ex_DllInit),
nameof(Exit_Ex_DllNotFound),
nameof(Exit_Ex_FailFast),
nameof(Exit_Ex_HeapCorruption),
nameof(Exit_Ex_InPageError),
nameof(Exit_Ex_StackOverflow),
nameof(Exit_Interrupted),
nameof(Exit_Line_Format),
nameof(Exit_Normal),
nameof(Exit_UnhookedSafety),
nameof(Export_NoSelection_Body),
@@ -325,6 +369,27 @@ public static class Strings
nameof(Games_Sort_LastPlayed),
nameof(Games_Sort_Name),
nameof(Games_Sort_Playtime),
nameof(Guard_ConsentMissing),
nameof(Guard_DriverScanFailed),
nameof(Guard_HookNotEnabled),
nameof(Guard_InjectionFailed),
nameof(Guard_LaunchNoPresentationRuntime),
nameof(Guard_LaunchTargetExited),
nameof(Guard_ModuleScanFailed),
nameof(Guard_Other_Format),
nameof(Guard_PayloadNotOurs),
nameof(Guard_PreScanFailed),
nameof(Guard_PreviouslyBlocked),
nameof(Guard_ProcessTreeUnavailable),
nameof(Guard_ProcessUnreadable),
nameof(Guard_Refused_Format),
nameof(Guard_RulesIncomplete),
nameof(Guard_RulesMalformed),
nameof(Guard_RulesUnreadable),
nameof(Guard_ServiceQueryFailed),
nameof(Guard_SuspiciousUnsigned),
nameof(Guard_TargetIsVulkanLayered),
nameof(Guard_TargetIsWow64),
nameof(Hooking_NotX64_Format),
nameof(Import_Add),
nameof(Import_Column_Exe),
@@ -349,6 +414,13 @@ public static class Strings
nameof(Latency_P95),
nameof(Latency_Series),
nameof(Latency_Stats_Format),
nameof(Launch_Error_193),
nameof(Launch_Error_2),
nameof(Launch_Error_3),
nameof(Launch_Error_5),
nameof(Launch_Error_740),
nameof(Launch_Error_Format),
nameof(Launch_Failed_Format),
nameof(Logs_Bundle_Exported_Format),
nameof(Logs_Bundle_Failed_Format),
nameof(Logs_Empty),
@@ -1018,12 +1090,100 @@ public static class Strings
public static string EditGame_Version => ResourceManager.GetString(nameof(EditGame_Version), Culture) ?? nameof(EditGame_Version);
public static string End_AttachRefused => ResourceManager.GetString(nameof(End_AttachRefused), Culture) ?? nameof(End_AttachRefused);
public static string End_ExecutableUnreadable => ResourceManager.GetString(nameof(End_ExecutableUnreadable), Culture) ?? nameof(End_ExecutableUnreadable);
public static string End_KillSwitchEngaged => ResourceManager.GetString(nameof(End_KillSwitchEngaged), Culture) ?? nameof(End_KillSwitchEngaged);
public static string End_LaunchCannotStart => ResourceManager.GetString(nameof(End_LaunchCannotStart), Culture) ?? nameof(End_LaunchCannotStart);
public static string End_LaunchNoPresentationRuntime => ResourceManager.GetString(nameof(End_LaunchNoPresentationRuntime), Culture) ?? nameof(End_LaunchNoPresentationRuntime);
public static string End_LaunchTargetExited => ResourceManager.GetString(nameof(End_LaunchTargetExited), Culture) ?? nameof(End_LaunchTargetExited);
public static string End_PreScanCouldNotVerify => ResourceManager.GetString(nameof(End_PreScanCouldNotVerify), Culture) ?? nameof(End_PreScanCouldNotVerify);
public static string End_RefusedByGuard => ResourceManager.GetString(nameof(End_RefusedByGuard), Culture) ?? nameof(End_RefusedByGuard);
public static string End_RefusedConsentMissing => ResourceManager.GetString(nameof(End_RefusedConsentMissing), Culture) ?? nameof(End_RefusedConsentMissing);
public static string End_RefusedHookNotEnabled => ResourceManager.GetString(nameof(End_RefusedHookNotEnabled), Culture) ?? nameof(End_RefusedHookNotEnabled);
public static string End_RefusedKillSwitch => ResourceManager.GetString(nameof(End_RefusedKillSwitch), Culture) ?? nameof(End_RefusedKillSwitch);
public static string End_RefusedPreviouslyBlocked => ResourceManager.GetString(nameof(End_RefusedPreviouslyBlocked), Culture) ?? nameof(End_RefusedPreviouslyBlocked);
public static string End_Running => ResourceManager.GetString(nameof(End_Running), Culture) ?? nameof(End_Running);
public static string End_SafetyUnhook => ResourceManager.GetString(nameof(End_SafetyUnhook), Culture) ?? nameof(End_SafetyUnhook);
public static string End_StoppedByUser => ResourceManager.GetString(nameof(End_StoppedByUser), Culture) ?? nameof(End_StoppedByUser);
public static string End_SupervisionFaulted => ResourceManager.GetString(nameof(End_SupervisionFaulted), Culture) ?? nameof(End_SupervisionFaulted);
public static string End_SupervisionLost => ResourceManager.GetString(nameof(End_SupervisionLost), Culture) ?? nameof(End_SupervisionLost);
public static string End_TargetAmbiguous => ResourceManager.GetString(nameof(End_TargetAmbiguous), Culture) ?? nameof(End_TargetAmbiguous);
public static string End_TargetCannotBePinned => ResourceManager.GetString(nameof(End_TargetCannotBePinned), Culture) ?? nameof(End_TargetCannotBePinned);
public static string End_TargetExited => ResourceManager.GetString(nameof(End_TargetExited), Culture) ?? nameof(End_TargetExited);
public static string End_TargetNotRunning => ResourceManager.GetString(nameof(End_TargetNotRunning), Culture) ?? nameof(End_TargetNotRunning);
public static string End_TargetUnreadable => ResourceManager.GetString(nameof(End_TargetUnreadable), Culture) ?? nameof(End_TargetUnreadable);
public static string End_WriterNeverInstalledHooks => ResourceManager.GetString(nameof(End_WriterNeverInstalledHooks), Culture) ?? nameof(End_WriterNeverInstalledHooks);
public static string End_WriterSelfDisabled => ResourceManager.GetString(nameof(End_WriterSelfDisabled), Culture) ?? nameof(End_WriterSelfDisabled);
public static string End_WriterStoppedBlocklisted => ResourceManager.GetString(nameof(End_WriterStoppedBlocklisted), Culture) ?? nameof(End_WriterStoppedBlocklisted);
public static string Exe_DriveMissing_Format => ResourceManager.GetString(nameof(Exe_DriveMissing_Format), Culture) ?? nameof(Exe_DriveMissing_Format);
public static string Exe_FileMissing_Format => ResourceManager.GetString(nameof(Exe_FileMissing_Format), Culture) ?? nameof(Exe_FileMissing_Format);
public static string Exit_Code_Format => ResourceManager.GetString(nameof(Exit_Code_Format), Culture) ?? nameof(Exit_Code_Format);
public static string Exit_Code1 => ResourceManager.GetString(nameof(Exit_Code1), Culture) ?? nameof(Exit_Code1);
public static string Exit_Crashed => ResourceManager.GetString(nameof(Exit_Crashed), Culture) ?? nameof(Exit_Crashed);
public static string Exit_Crashed_Format => ResourceManager.GetString(nameof(Exit_Crashed_Format), Culture) ?? nameof(Exit_Crashed_Format);
public static string Exit_CrashEvent => ResourceManager.GetString(nameof(Exit_CrashEvent), Culture) ?? nameof(Exit_CrashEvent);
public static string Exit_Degraded => ResourceManager.GetString(nameof(Exit_Degraded), Culture) ?? nameof(Exit_Degraded);
public static string Exit_EndedNormally => ResourceManager.GetString(nameof(Exit_EndedNormally), Culture) ?? nameof(Exit_EndedNormally);
public static string Exit_Ex_AccessViolation => ResourceManager.GetString(nameof(Exit_Ex_AccessViolation), Culture) ?? nameof(Exit_Ex_AccessViolation);
public static string Exit_Ex_BadImage => ResourceManager.GetString(nameof(Exit_Ex_BadImage), Culture) ?? nameof(Exit_Ex_BadImage);
public static string Exit_Ex_Breakpoint => ResourceManager.GetString(nameof(Exit_Ex_Breakpoint), Culture) ?? nameof(Exit_Ex_Breakpoint);
public static string Exit_Ex_Clr => ResourceManager.GetString(nameof(Exit_Ex_Clr), Culture) ?? nameof(Exit_Ex_Clr);
public static string Exit_Ex_Cpp => ResourceManager.GetString(nameof(Exit_Ex_Cpp), Culture) ?? nameof(Exit_Ex_Cpp);
public static string Exit_Ex_DllInit => ResourceManager.GetString(nameof(Exit_Ex_DllInit), Culture) ?? nameof(Exit_Ex_DllInit);
public static string Exit_Ex_DllNotFound => ResourceManager.GetString(nameof(Exit_Ex_DllNotFound), Culture) ?? nameof(Exit_Ex_DllNotFound);
public static string Exit_Ex_FailFast => ResourceManager.GetString(nameof(Exit_Ex_FailFast), Culture) ?? nameof(Exit_Ex_FailFast);
public static string Exit_Ex_HeapCorruption => ResourceManager.GetString(nameof(Exit_Ex_HeapCorruption), Culture) ?? nameof(Exit_Ex_HeapCorruption);
public static string Exit_Ex_InPageError => ResourceManager.GetString(nameof(Exit_Ex_InPageError), Culture) ?? nameof(Exit_Ex_InPageError);
public static string Exit_Ex_StackOverflow => ResourceManager.GetString(nameof(Exit_Ex_StackOverflow), Culture) ?? nameof(Exit_Ex_StackOverflow);
public static string Exit_Interrupted => ResourceManager.GetString(nameof(Exit_Interrupted), Culture) ?? nameof(Exit_Interrupted);
public static string Exit_Line_Format => ResourceManager.GetString(nameof(Exit_Line_Format), Culture) ?? nameof(Exit_Line_Format);
public static string Exit_Normal => ResourceManager.GetString(nameof(Exit_Normal), Culture) ?? nameof(Exit_Normal);
public static string Exit_UnhookedSafety => ResourceManager.GetString(nameof(Exit_UnhookedSafety), Culture) ?? nameof(Exit_UnhookedSafety);
@@ -1308,6 +1468,48 @@ public static class Strings
public static string Games_Sort_Playtime => ResourceManager.GetString(nameof(Games_Sort_Playtime), Culture) ?? nameof(Games_Sort_Playtime);
public static string Guard_ConsentMissing => ResourceManager.GetString(nameof(Guard_ConsentMissing), Culture) ?? nameof(Guard_ConsentMissing);
public static string Guard_DriverScanFailed => ResourceManager.GetString(nameof(Guard_DriverScanFailed), Culture) ?? nameof(Guard_DriverScanFailed);
public static string Guard_HookNotEnabled => ResourceManager.GetString(nameof(Guard_HookNotEnabled), Culture) ?? nameof(Guard_HookNotEnabled);
public static string Guard_InjectionFailed => ResourceManager.GetString(nameof(Guard_InjectionFailed), Culture) ?? nameof(Guard_InjectionFailed);
public static string Guard_LaunchNoPresentationRuntime => ResourceManager.GetString(nameof(Guard_LaunchNoPresentationRuntime), Culture) ?? nameof(Guard_LaunchNoPresentationRuntime);
public static string Guard_LaunchTargetExited => ResourceManager.GetString(nameof(Guard_LaunchTargetExited), Culture) ?? nameof(Guard_LaunchTargetExited);
public static string Guard_ModuleScanFailed => ResourceManager.GetString(nameof(Guard_ModuleScanFailed), Culture) ?? nameof(Guard_ModuleScanFailed);
public static string Guard_Other_Format => ResourceManager.GetString(nameof(Guard_Other_Format), Culture) ?? nameof(Guard_Other_Format);
public static string Guard_PayloadNotOurs => ResourceManager.GetString(nameof(Guard_PayloadNotOurs), Culture) ?? nameof(Guard_PayloadNotOurs);
public static string Guard_PreScanFailed => ResourceManager.GetString(nameof(Guard_PreScanFailed), Culture) ?? nameof(Guard_PreScanFailed);
public static string Guard_PreviouslyBlocked => ResourceManager.GetString(nameof(Guard_PreviouslyBlocked), Culture) ?? nameof(Guard_PreviouslyBlocked);
public static string Guard_ProcessTreeUnavailable => ResourceManager.GetString(nameof(Guard_ProcessTreeUnavailable), Culture) ?? nameof(Guard_ProcessTreeUnavailable);
public static string Guard_ProcessUnreadable => ResourceManager.GetString(nameof(Guard_ProcessUnreadable), Culture) ?? nameof(Guard_ProcessUnreadable);
public static string Guard_Refused_Format => ResourceManager.GetString(nameof(Guard_Refused_Format), Culture) ?? nameof(Guard_Refused_Format);
public static string Guard_RulesIncomplete => ResourceManager.GetString(nameof(Guard_RulesIncomplete), Culture) ?? nameof(Guard_RulesIncomplete);
public static string Guard_RulesMalformed => ResourceManager.GetString(nameof(Guard_RulesMalformed), Culture) ?? nameof(Guard_RulesMalformed);
public static string Guard_RulesUnreadable => ResourceManager.GetString(nameof(Guard_RulesUnreadable), Culture) ?? nameof(Guard_RulesUnreadable);
public static string Guard_ServiceQueryFailed => ResourceManager.GetString(nameof(Guard_ServiceQueryFailed), Culture) ?? nameof(Guard_ServiceQueryFailed);
public static string Guard_SuspiciousUnsigned => ResourceManager.GetString(nameof(Guard_SuspiciousUnsigned), Culture) ?? nameof(Guard_SuspiciousUnsigned);
public static string Guard_TargetIsVulkanLayered => ResourceManager.GetString(nameof(Guard_TargetIsVulkanLayered), Culture) ?? nameof(Guard_TargetIsVulkanLayered);
public static string Guard_TargetIsWow64 => ResourceManager.GetString(nameof(Guard_TargetIsWow64), Culture) ?? nameof(Guard_TargetIsWow64);
public static string Hooking_NotX64_Format => ResourceManager.GetString(nameof(Hooking_NotX64_Format), Culture) ?? nameof(Hooking_NotX64_Format);
public static string Import_Add => ResourceManager.GetString(nameof(Import_Add), Culture) ?? nameof(Import_Add);
@@ -1356,6 +1558,20 @@ public static class Strings
public static string Latency_Stats_Format => ResourceManager.GetString(nameof(Latency_Stats_Format), Culture) ?? nameof(Latency_Stats_Format);
public static string Launch_Error_193 => ResourceManager.GetString(nameof(Launch_Error_193), Culture) ?? nameof(Launch_Error_193);
public static string Launch_Error_2 => ResourceManager.GetString(nameof(Launch_Error_2), Culture) ?? nameof(Launch_Error_2);
public static string Launch_Error_3 => ResourceManager.GetString(nameof(Launch_Error_3), Culture) ?? nameof(Launch_Error_3);
public static string Launch_Error_5 => ResourceManager.GetString(nameof(Launch_Error_5), Culture) ?? nameof(Launch_Error_5);
public static string Launch_Error_740 => ResourceManager.GetString(nameof(Launch_Error_740), Culture) ?? nameof(Launch_Error_740);
public static string Launch_Error_Format => ResourceManager.GetString(nameof(Launch_Error_Format), Culture) ?? nameof(Launch_Error_Format);
public static string Launch_Failed_Format => ResourceManager.GetString(nameof(Launch_Failed_Format), Culture) ?? nameof(Launch_Failed_Format);
public static string Logs_Bundle_Exported_Format => ResourceManager.GetString(nameof(Logs_Bundle_Exported_Format), Culture) ?? nameof(Logs_Bundle_Exported_Format);
public static string Logs_Bundle_Failed_Format => ResourceManager.GetString(nameof(Logs_Bundle_Failed_Format), Culture) ?? nameof(Logs_Bundle_Failed_Format);
+288
View File
@@ -2761,4 +2761,292 @@
<value>NVIDIA App の上書き</value>
<comment>review</comment>
</data>
<data name="End_Running" xml:space="preserve">
<value>キャプチャは時間指定で、ゲームの実行中に終了しました。</value>
<comment>review</comment>
</data>
<data name="End_TargetExited" xml:space="preserve">
<value>ゲームが終了しました。</value>
<comment>review</comment>
</data>
<data name="End_SafetyUnhook" xml:space="preserve">
<value>セッション中にアンチチートが現れたため、計測を停止しました。</value>
<comment>review</comment>
</data>
<data name="End_SupervisionLost" xml:space="preserve">
<value>ゲームのプロセスを見失ったため、計測を停止しました。</value>
<comment>review</comment>
</data>
<data name="End_WriterSelfDisabled" xml:space="preserve">
<value>計測フックがエラーの繰り返しにより自ら停止したため、計測を停止しました。</value>
<comment>review</comment>
</data>
<data name="End_WriterStoppedBlocklisted" xml:space="preserve">
<value>ブロックリストにあるモジュールがゲームに読み込まれたため、計測フックが停止しました。</value>
<comment>review</comment>
</data>
<data name="End_WriterNeverInstalledHooks" xml:space="preserve">
<value>計測フックは読み込まれましたが、計測できるグラフィックス API が見つかりませんでした。</value>
<comment>review</comment>
</data>
<data name="End_RefusedHookNotEnabled" xml:space="preserve">
<value>このゲームのフックはオフのため、何も計測されていません。</value>
<comment>review</comment>
</data>
<data name="End_RefusedConsentMissing" xml:space="preserve">
<value>フックへの同意はこの実行ファイルの別のビルドに対するものだったため、フックしませんでした。</value>
<comment>review</comment>
</data>
<data name="End_RefusedPreviouslyBlocked" xml:space="preserve">
<value>このゲームでは以前にアンチチートが検出されたため、フックすることはありません。</value>
<comment>review</comment>
</data>
<data name="End_RefusedByGuard" xml:space="preserve">
<value>アンチチート ガードがこのゲームのフックを拒否しました。</value>
<comment>review</comment>
</data>
<data name="End_PreScanCouldNotVerify" xml:space="preserve">
<value>ゲームのファイルにアンチチートがないか確認できなかったため、フックしませんでした。</value>
<comment>review</comment>
</data>
<data name="End_TargetNotRunning" xml:space="preserve">
<value>セッション開始時にゲームが実行されていませんでした。</value>
<comment>review</comment>
</data>
<data name="End_TargetCannotBePinned" xml:space="preserve">
<value>ゲームのプロセスを保持できなかったため、計測しませんでした。</value>
<comment>review</comment>
</data>
<data name="End_ExecutableUnreadable" xml:space="preserve">
<value>ゲームの実行ファイルを読み取れませんでした。移動または削除されたか、ドライブが接続されていません。</value>
<comment>review</comment>
</data>
<data name="End_SupervisionFaulted" xml:space="preserve">
<value>セッションの監視に失敗したため、計測を停止しました。</value>
<comment>review</comment>
</data>
<data name="End_TargetAmbiguous" xml:space="preserve">
<value>このゲームに一致するプロセスが複数あったため、どれもフックしませんでした。</value>
<comment>review</comment>
</data>
<data name="End_AttachRefused" xml:space="preserve">
<value>計測フックのデータがこのビルドの FrameLedger と一致しなかったため、何も読み取っていません。</value>
<comment>review</comment>
</data>
<data name="End_LaunchCannotStart" xml:space="preserve">
<value>ゲームを起動できませんでした。</value>
<comment>review</comment>
</data>
<data name="End_LaunchTargetExited" xml:space="preserve">
<value>計測を始める前にゲームが終了しました。</value>
<comment>review</comment>
</data>
<data name="End_LaunchNoPresentationRuntime" xml:space="preserve">
<value>ゲームは FrameLedger が計測するグラフィックス API を読み込みませんでした(DirectX 9 以前は計測しません)。</value>
<comment>review</comment>
</data>
<data name="End_RefusedKillSwitch" xml:space="preserve">
<value>設定ですべてのフックがオフになっているため、何も計測されていません。</value>
<comment>review</comment>
</data>
<data name="End_KillSwitchEngaged" xml:space="preserve">
<value>セッション中に設定ですべてのフックがオフにされたため、計測を停止しました。</value>
<comment>review</comment>
</data>
<data name="End_StoppedByUser" xml:space="preserve">
<value>キャプチャを手動で停止しました。</value>
<comment>review</comment>
</data>
<data name="End_TargetUnreadable" xml:space="preserve">
<value>ゲームのプロセスを開けませんでした。アンチチートのドライバーに保護されているか、管理者として実行されています。</value>
<comment>review</comment>
</data>
<data name="Guard_Refused_Format" xml:space="preserve">
<value>アンチチート ガードはこのゲームをフックしませんでした: {0}。</value>
<comment>review</comment>
</data>
<data name="Guard_ModuleScanFailed" xml:space="preserve">
<value>ゲームが読み込んだモジュールをすべて列挙できませんでした</value>
<comment>review</comment>
</data>
<data name="Guard_ProcessUnreadable" xml:space="preserve">
<value>ゲームのプロセスを開けませんでした</value>
<comment>review</comment>
</data>
<data name="Guard_ProcessTreeUnavailable" xml:space="preserve">
<value>ゲームのプロセス ツリーを確定できませんでした</value>
<comment>review</comment>
</data>
<data name="Guard_DriverScanFailed" xml:space="preserve">
<value>読み込まれているドライバーを列挙できませんでした</value>
<comment>review</comment>
</data>
<data name="Guard_ServiceQueryFailed" xml:space="preserve">
<value>アンチチートのサービスを照会できませんでした</value>
<comment>review</comment>
</data>
<data name="Guard_RulesUnreadable" xml:space="preserve">
<value>アンチチートのルールを読み取れませんでした</value>
<comment>review</comment>
</data>
<data name="Guard_RulesMalformed" xml:space="preserve">
<value>アンチチートのルール ファイルが破損しています</value>
<comment>review</comment>
</data>
<data name="Guard_RulesIncomplete" xml:space="preserve">
<value>アンチチートのルール ファイルに必要な項目がありません</value>
<comment>review</comment>
</data>
<data name="Guard_PreScanFailed" xml:space="preserve">
<value>ゲームのフォルダーをスキャンできませんでした</value>
<comment>review</comment>
</data>
<data name="Guard_InjectionFailed" xml:space="preserve">
<value>すべてのチェックに合格しましたが、フックを読み込めませんでした</value>
<comment>review</comment>
</data>
<data name="Guard_TargetIsWow64" xml:space="preserve">
<value>ゲームは 32 ビットで、フックは 64 ビットのゲームでのみ動作します</value>
<comment>review</comment>
</data>
<data name="Guard_PayloadNotOurs" xml:space="preserve">
<value>フックのファイルが FrameLedger 自身のビルドではありません</value>
<comment>review</comment>
</data>
<data name="Guard_HookNotEnabled" xml:space="preserve">
<value>このゲームのフックはオフです</value>
<comment>review</comment>
</data>
<data name="Guard_ConsentMissing" xml:space="preserve">
<value>この実行ファイルへのフックに同意していません</value>
<comment>review</comment>
</data>
<data name="Guard_PreviouslyBlocked" xml:space="preserve">
<value>このゲームでは以前にアンチチートが検出されています</value>
<comment>review</comment>
</data>
<data name="Guard_LaunchTargetExited" xml:space="preserve">
<value>チェックの前にゲームが終了しました</value>
<comment>review</comment>
</data>
<data name="Guard_LaunchNoPresentationRuntime" xml:space="preserve">
<value>ゲームは FrameLedger が計測するグラフィックス API を読み込みませんでした</value>
<comment>review</comment>
</data>
<data name="Guard_TargetIsVulkanLayered" xml:space="preserve">
<value>ゲームは Vulkan で描画しており、代わりに Vulkan レイヤーが計測します</value>
<comment>review</comment>
</data>
<data name="Guard_SuspiciousUnsigned" xml:space="preserve">
<value>アンチチートに似た名前の署名のないモジュールが読み込まれていました</value>
<comment>review</comment>
</data>
<data name="Guard_Other_Format" xml:space="preserve">
<value>理由 {0}</value>
<comment>review</comment>
</data>
<data name="Exit_Line_Format" xml:space="preserve">
<value>終了: {0}</value>
<comment>review</comment>
</data>
<data name="Exit_Code_Format" xml:space="preserve">
<value>終了コード {0} で終了</value>
<comment>review</comment>
</data>
<data name="Exit_Code1" xml:space="preserve">
<value>終了コード 1 で終了 — タスクの終了や taskkill が残すコードで、多くのプログラムのエラー終了でもあります</value>
<comment>review</comment>
</data>
<data name="Exit_Crashed_Format" xml:space="preserve">
<value>クラッシュ({0})</value>
<comment>review</comment>
</data>
<data name="Exit_CrashEvent" xml:space="preserve">
<value>クラッシュ(Windows がアプリケーション エラーを記録)</value>
<comment>review</comment>
</data>
<data name="Exit_Ex_AccessViolation" xml:space="preserve">
<value>0xC0000005 アクセス違反</value>
<comment>review</comment>
</data>
<data name="Exit_Ex_InPageError" xml:space="preserve">
<value>0xC0000006 ページ内 I/O エラー: ゲームがファイルを読む間にディスクまたはドライブが失敗しました</value>
<comment>review</comment>
</data>
<data name="Exit_Ex_StackOverflow" xml:space="preserve">
<value>0xC00000FD スタック オーバーフロー</value>
<comment>review</comment>
</data>
<data name="Exit_Ex_HeapCorruption" xml:space="preserve">
<value>0xC0000374 ヒープ破損</value>
<comment>review</comment>
</data>
<data name="Exit_Ex_FailFast" xml:space="preserve">
<value>0xC0000409 フェイル ファスト: ゲームが検出した障害で自ら停止しました</value>
<comment>review</comment>
</data>
<data name="Exit_Ex_DllInit" xml:space="preserve">
<value>0xC0000142 DLL の初期化に失敗しました</value>
<comment>review</comment>
</data>
<data name="Exit_Ex_DllNotFound" xml:space="preserve">
<value>0xC0000135 必要な DLL が見つかりませんでした</value>
<comment>review</comment>
</data>
<data name="Exit_Ex_BadImage" xml:space="preserve">
<value>0xC000007B 無効なイメージ(多くは 32/64 ビットの混在)</value>
<comment>review</comment>
</data>
<data name="Exit_Ex_Cpp" xml:space="preserve">
<value>0xE06D7363 処理されない C++ 例外</value>
<comment>review</comment>
</data>
<data name="Exit_Ex_Clr" xml:space="preserve">
<value>0xE0434352 処理されない .NET 例外</value>
<comment>review</comment>
</data>
<data name="Exit_Ex_Breakpoint" xml:space="preserve">
<value>0x80000003 ブレークポイント</value>
<comment>review</comment>
</data>
<data name="Launch_Error_Format" xml:space="preserve">
<value>Windows エラー {0}</value>
<comment>review</comment>
</data>
<data name="Launch_Error_2" xml:space="preserve">
<value>ファイルが見つかりません</value>
<comment>review</comment>
</data>
<data name="Launch_Error_3" xml:space="preserve">
<value>パスが見つかりません</value>
<comment>review</comment>
</data>
<data name="Launch_Error_5" xml:space="preserve">
<value>アクセスが拒否されました</value>
<comment>review</comment>
</data>
<data name="Launch_Error_193" xml:space="preserve">
<value>有効な Windows プログラムではありません</value>
<comment>review</comment>
</data>
<data name="Launch_Error_740" xml:space="preserve">
<value>ゲームには管理者権限が必要です</value>
<comment>review</comment>
</data>
<data name="Launch_Failed_Format" xml:space="preserve">
<value>{0}({1})</value>
<comment>review</comment>
</data>
<data name="Exe_DriveMissing_Format" xml:space="preserve">
<value>ドライブ {0} が接続されていません。接続されると FrameLedger はゲームを再び見つけます。</value>
<comment>review</comment>
</data>
<data name="Exe_FileMissing_Format" xml:space="preserve">
<value>ゲームの実行ファイルは {0} にありません。</value>
<comment>review</comment>
</data>
<data name="Exit_EndedNormally" xml:space="preserve">
<value>正常に終了</value>
<comment>review</comment>
</data>
</root>
+216
View File
@@ -2081,4 +2081,220 @@ The documents below are the full terms; this summary does not replace them.</val
<data name="GameDetail_Details_NvidiaOverride" xml:space="preserve">
<value>NVIDIA App override</value>
</data>
<data name="End_Running" xml:space="preserve">
<value>The capture was bounded and ended while the game still ran.</value>
</data>
<data name="End_TargetExited" xml:space="preserve">
<value>The game exited.</value>
</data>
<data name="End_SafetyUnhook" xml:space="preserve">
<value>Anti-cheat appeared during the session, so measuring stopped.</value>
</data>
<data name="End_SupervisionLost" xml:space="preserve">
<value>FrameLedger lost track of the game's process, so measuring stopped.</value>
</data>
<data name="End_WriterSelfDisabled" xml:space="preserve">
<value>The measuring hook turned itself off after repeated faults, so measuring stopped.</value>
</data>
<data name="End_WriterStoppedBlocklisted" xml:space="preserve">
<value>The measuring hook stopped because a blocklisted module loaded into the game.</value>
</data>
<data name="End_WriterNeverInstalledHooks" xml:space="preserve">
<value>The measuring hook loaded but found no graphics API it could measure.</value>
</data>
<data name="End_RefusedHookNotEnabled" xml:space="preserve">
<value>Hooking is off for this game, so nothing was measured.</value>
</data>
<data name="End_RefusedConsentMissing" xml:space="preserve">
<value>Hooking was consented to for another build of this executable, so it was not hooked.</value>
</data>
<data name="End_RefusedPreviouslyBlocked" xml:space="preserve">
<value>Anti-cheat was found in this game before, so it is never hooked.</value>
</data>
<data name="End_RefusedByGuard" xml:space="preserve">
<value>The anti-cheat guard refused to hook this game.</value>
</data>
<data name="End_PreScanCouldNotVerify" xml:space="preserve">
<value>FrameLedger could not check this game's files for anti-cheat, so it did not hook it.</value>
</data>
<data name="End_TargetNotRunning" xml:space="preserve">
<value>The game was not running when the session was to start.</value>
</data>
<data name="End_TargetCannotBePinned" xml:space="preserve">
<value>The game's process could not be held open, so it was not measured.</value>
</data>
<data name="End_ExecutableUnreadable" xml:space="preserve">
<value>The game's executable could not be read: it moved, was deleted, or its drive is not connected.</value>
</data>
<data name="End_SupervisionFaulted" xml:space="preserve">
<value>Supervising the session failed, so measuring stopped.</value>
</data>
<data name="End_TargetAmbiguous" xml:space="preserve">
<value>More than one process matched this game, so none was hooked.</value>
</data>
<data name="End_AttachRefused" xml:space="preserve">
<value>The measuring hook's data did not match this build of FrameLedger, so nothing was read.</value>
</data>
<data name="End_LaunchCannotStart" xml:space="preserve">
<value>FrameLedger could not start the game.</value>
</data>
<data name="End_LaunchTargetExited" xml:space="preserve">
<value>The game exited before it could be measured.</value>
</data>
<data name="End_LaunchNoPresentationRuntime" xml:space="preserve">
<value>The game never loaded a graphics API FrameLedger measures (DirectX 9 and older are not measured).</value>
</data>
<data name="End_RefusedKillSwitch" xml:space="preserve">
<value>All hooking is switched off in Settings, so nothing was measured.</value>
</data>
<data name="End_KillSwitchEngaged" xml:space="preserve">
<value>All hooking was switched off in Settings during the session, so measuring stopped.</value>
</data>
<data name="End_StoppedByUser" xml:space="preserve">
<value>You stopped the capture.</value>
</data>
<data name="End_TargetUnreadable" xml:space="preserve">
<value>The game's process could not be opened: an anti-cheat driver protects it, or it runs as administrator.</value>
</data>
<data name="Guard_Refused_Format" xml:space="preserve">
<value>The anti-cheat guard did not hook this game: {0}.</value>
</data>
<data name="Guard_ModuleScanFailed" xml:space="preserve">
<value>the game's loaded modules could not be listed completely</value>
</data>
<data name="Guard_ProcessUnreadable" xml:space="preserve">
<value>the game's process could not be opened</value>
</data>
<data name="Guard_ProcessTreeUnavailable" xml:space="preserve">
<value>the game's process tree could not be established</value>
</data>
<data name="Guard_DriverScanFailed" xml:space="preserve">
<value>the loaded drivers could not be listed</value>
</data>
<data name="Guard_ServiceQueryFailed" xml:space="preserve">
<value>the anti-cheat services could not be queried</value>
</data>
<data name="Guard_RulesUnreadable" xml:space="preserve">
<value>the anti-cheat rules could not be read</value>
</data>
<data name="Guard_RulesMalformed" xml:space="preserve">
<value>the anti-cheat rules file is damaged</value>
</data>
<data name="Guard_RulesIncomplete" xml:space="preserve">
<value>the anti-cheat rules file lacks required entries</value>
</data>
<data name="Guard_PreScanFailed" xml:space="preserve">
<value>the game's folder could not be scanned</value>
</data>
<data name="Guard_InjectionFailed" xml:space="preserve">
<value>every check passed, but the hook could not be loaded</value>
</data>
<data name="Guard_TargetIsWow64" xml:space="preserve">
<value>the game is 32-bit, and the hook runs in 64-bit games only</value>
</data>
<data name="Guard_PayloadNotOurs" xml:space="preserve">
<value>the hook file is not FrameLedger's own build</value>
</data>
<data name="Guard_HookNotEnabled" xml:space="preserve">
<value>hooking is off for this game</value>
</data>
<data name="Guard_ConsentMissing" xml:space="preserve">
<value>hooking was never consented to for this executable</value>
</data>
<data name="Guard_PreviouslyBlocked" xml:space="preserve">
<value>anti-cheat was found in this game before</value>
</data>
<data name="Guard_LaunchTargetExited" xml:space="preserve">
<value>the game exited before it could be checked</value>
</data>
<data name="Guard_LaunchNoPresentationRuntime" xml:space="preserve">
<value>the game loaded no graphics API FrameLedger measures</value>
</data>
<data name="Guard_TargetIsVulkanLayered" xml:space="preserve">
<value>the game renders with Vulkan, which the Vulkan layer measures instead</value>
</data>
<data name="Guard_SuspiciousUnsigned" xml:space="preserve">
<value>an unsigned module with an anti-cheat-like name was loaded</value>
</data>
<data name="Guard_Other_Format" xml:space="preserve">
<value>reason {0}</value>
</data>
<data name="Exit_Line_Format" xml:space="preserve">
<value>How it ended: {0}</value>
</data>
<data name="Exit_Code_Format" xml:space="preserve">
<value>ended with exit code {0}</value>
</data>
<data name="Exit_Code1" xml:space="preserve">
<value>ended with exit code 1 — what End task and taskkill leave, and many programs' own error exit</value>
</data>
<data name="Exit_Crashed_Format" xml:space="preserve">
<value>crashed ({0})</value>
</data>
<data name="Exit_CrashEvent" xml:space="preserve">
<value>crashed (Windows logged an application error)</value>
</data>
<data name="Exit_Ex_AccessViolation" xml:space="preserve">
<value>0xC0000005 access violation</value>
</data>
<data name="Exit_Ex_InPageError" xml:space="preserve">
<value>0xC0000006 in-page I/O error: a disk or drive failed while the game read its files</value>
</data>
<data name="Exit_Ex_StackOverflow" xml:space="preserve">
<value>0xC00000FD stack overflow</value>
</data>
<data name="Exit_Ex_HeapCorruption" xml:space="preserve">
<value>0xC0000374 heap corruption</value>
</data>
<data name="Exit_Ex_FailFast" xml:space="preserve">
<value>0xC0000409 fail-fast: the game stopped itself on a fault it detected</value>
</data>
<data name="Exit_Ex_DllInit" xml:space="preserve">
<value>0xC0000142 a DLL failed to initialise</value>
</data>
<data name="Exit_Ex_DllNotFound" xml:space="preserve">
<value>0xC0000135 a required DLL was not found</value>
</data>
<data name="Exit_Ex_BadImage" xml:space="preserve">
<value>0xC000007B an invalid image, often a 32/64-bit mix</value>
</data>
<data name="Exit_Ex_Cpp" xml:space="preserve">
<value>0xE06D7363 unhandled C++ exception</value>
</data>
<data name="Exit_Ex_Clr" xml:space="preserve">
<value>0xE0434352 unhandled .NET exception</value>
</data>
<data name="Exit_Ex_Breakpoint" xml:space="preserve">
<value>0x80000003 breakpoint</value>
</data>
<data name="Launch_Error_Format" xml:space="preserve">
<value>Windows error {0}</value>
</data>
<data name="Launch_Error_2" xml:space="preserve">
<value>the file was not found</value>
</data>
<data name="Launch_Error_3" xml:space="preserve">
<value>the path was not found</value>
</data>
<data name="Launch_Error_5" xml:space="preserve">
<value>access was denied</value>
</data>
<data name="Launch_Error_193" xml:space="preserve">
<value>it is not a valid Windows program</value>
</data>
<data name="Launch_Error_740" xml:space="preserve">
<value>the game requires administrator rights</value>
</data>
<data name="Launch_Failed_Format" xml:space="preserve">
<value>{0} ({1})</value>
</data>
<data name="Exe_DriveMissing_Format" xml:space="preserve">
<value>The drive {0} is not connected. FrameLedger finds the game again when it is.</value>
</data>
<data name="Exe_FileMissing_Format" xml:space="preserve">
<value>The game's executable is no longer at {0}.</value>
</data>
<data name="Exit_EndedNormally" xml:space="preserve">
<value>ended normally</value>
</data>
</root>
+216
View File
@@ -2076,4 +2076,220 @@ Các tài liệu bên dưới là điều khoản đầy đủ; phần tóm tắ
<data name="GameDetail_Details_NvidiaOverride" xml:space="preserve">
<value>Ghi đè của NVIDIA App</value>
</data>
<data name="End_Running" xml:space="preserve">
<value>Phiên ghi có giới hạn thời gian và đã kết thúc khi game vẫn đang chạy.</value>
</data>
<data name="End_TargetExited" xml:space="preserve">
<value>Game đã thoát.</value>
</data>
<data name="End_SafetyUnhook" xml:space="preserve">
<value>Anti-cheat xuất hiện giữa phiên, nên việc đo đã dừng.</value>
</data>
<data name="End_SupervisionLost" xml:space="preserve">
<value>FrameLedger mất dấu tiến trình của game, nên việc đo đã dừng.</value>
</data>
<data name="End_WriterSelfDisabled" xml:space="preserve">
<value>Hook đo tự tắt sau nhiều lỗi liên tiếp, nên việc đo đã dừng.</value>
</data>
<data name="End_WriterStoppedBlocklisted" xml:space="preserve">
<value>Hook đo đã dừng vì một mô-đun trong danh sách chặn được nạp vào game.</value>
</data>
<data name="End_WriterNeverInstalledHooks" xml:space="preserve">
<value>Hook đo đã được nạp nhưng không tìm thấy API đồ hoạ nào để đo.</value>
</data>
<data name="End_RefusedHookNotEnabled" xml:space="preserve">
<value>Hooking đang tắt cho game này, nên không có gì được đo.</value>
</data>
<data name="End_RefusedConsentMissing" xml:space="preserve">
<value>Sự đồng ý hooking là cho một bản khác của file thực thi này, nên game không được hook.</value>
</data>
<data name="End_RefusedPreviouslyBlocked" xml:space="preserve">
<value>Anti-cheat đã được phát hiện trong game này trước đây, nên game không bao giờ được hook.</value>
</data>
<data name="End_RefusedByGuard" xml:space="preserve">
<value>Guard anti-cheat đã từ chối hook game này.</value>
</data>
<data name="End_PreScanCouldNotVerify" xml:space="preserve">
<value>FrameLedger không kiểm tra được các file của game để tìm anti-cheat, nên đã không hook.</value>
</data>
<data name="End_TargetNotRunning" xml:space="preserve">
<value>Game không chạy vào lúc phiên đáng lẽ bắt đầu.</value>
</data>
<data name="End_TargetCannotBePinned" xml:space="preserve">
<value>Không giữ được tiến trình của game, nên game không được đo.</value>
</data>
<data name="End_ExecutableUnreadable" xml:space="preserve">
<value>Không đọc được file thực thi của game: nó đã bị chuyển, bị xoá, hoặc ổ đĩa chứa nó chưa được kết nối.</value>
</data>
<data name="End_SupervisionFaulted" xml:space="preserve">
<value>Việc giám sát phiên bị lỗi, nên việc đo đã dừng.</value>
</data>
<data name="End_TargetAmbiguous" xml:space="preserve">
<value>Có nhiều hơn một tiến trình khớp với game này, nên không tiến trình nào được hook.</value>
</data>
<data name="End_AttachRefused" xml:space="preserve">
<value>Dữ liệu của hook đo không khớp với bản FrameLedger này, nên không có gì được đọc.</value>
</data>
<data name="End_LaunchCannotStart" xml:space="preserve">
<value>FrameLedger không khởi động được game.</value>
</data>
<data name="End_LaunchTargetExited" xml:space="preserve">
<value>Game đã thoát trước khi có thể đo.</value>
</data>
<data name="End_LaunchNoPresentationRuntime" xml:space="preserve">
<value>Game không nạp API đồ hoạ nào mà FrameLedger đo được (DirectX 9 trở về trước không được đo).</value>
</data>
<data name="End_RefusedKillSwitch" xml:space="preserve">
<value>Mọi hooking đang bị tắt trong Cài đặt, nên không có gì được đo.</value>
</data>
<data name="End_KillSwitchEngaged" xml:space="preserve">
<value>Mọi hooking đã bị tắt trong Cài đặt giữa phiên, nên việc đo đã dừng.</value>
</data>
<data name="End_StoppedByUser" xml:space="preserve">
<value>Bạn đã dừng phiên ghi.</value>
</data>
<data name="End_TargetUnreadable" xml:space="preserve">
<value>Không mở được tiến trình của game: một driver anti-cheat bảo vệ nó, hoặc nó chạy với quyền quản trị.</value>
</data>
<data name="Guard_Refused_Format" xml:space="preserve">
<value>Guard anti-cheat đã không hook game này: {0}.</value>
</data>
<data name="Guard_ModuleScanFailed" xml:space="preserve">
<value>không liệt kê đầy đủ được các mô-đun game đã nạp</value>
</data>
<data name="Guard_ProcessUnreadable" xml:space="preserve">
<value>không mở được tiến trình của game</value>
</data>
<data name="Guard_ProcessTreeUnavailable" xml:space="preserve">
<value>không xác định được cây tiến trình của game</value>
</data>
<data name="Guard_DriverScanFailed" xml:space="preserve">
<value>không liệt kê được các driver đã nạp</value>
</data>
<data name="Guard_ServiceQueryFailed" xml:space="preserve">
<value>không truy vấn được các dịch vụ anti-cheat</value>
</data>
<data name="Guard_RulesUnreadable" xml:space="preserve">
<value>không đọc được bộ luật anti-cheat</value>
</data>
<data name="Guard_RulesMalformed" xml:space="preserve">
<value>file luật anti-cheat bị hỏng</value>
</data>
<data name="Guard_RulesIncomplete" xml:space="preserve">
<value>file luật anti-cheat thiếu các mục bắt buộc</value>
</data>
<data name="Guard_PreScanFailed" xml:space="preserve">
<value>không quét được thư mục của game</value>
</data>
<data name="Guard_InjectionFailed" xml:space="preserve">
<value>mọi kiểm tra đều qua, nhưng không nạp được hook</value>
</data>
<data name="Guard_TargetIsWow64" xml:space="preserve">
<value>game là 32-bit, còn hook chỉ chạy trong game 64-bit</value>
</data>
<data name="Guard_PayloadNotOurs" xml:space="preserve">
<value>file hook không phải bản build của chính FrameLedger</value>
</data>
<data name="Guard_HookNotEnabled" xml:space="preserve">
<value>hooking đang tắt cho game này</value>
</data>
<data name="Guard_ConsentMissing" xml:space="preserve">
<value>chưa từng đồng ý hooking cho file thực thi này</value>
</data>
<data name="Guard_PreviouslyBlocked" xml:space="preserve">
<value>anti-cheat đã được phát hiện trong game này trước đây</value>
</data>
<data name="Guard_LaunchTargetExited" xml:space="preserve">
<value>game đã thoát trước khi kịp kiểm tra</value>
</data>
<data name="Guard_LaunchNoPresentationRuntime" xml:space="preserve">
<value>game không nạp API đồ hoạ nào mà FrameLedger đo được</value>
</data>
<data name="Guard_TargetIsVulkanLayered" xml:space="preserve">
<value>game kết xuất bằng Vulkan, thứ mà Vulkan layer đo thay</value>
</data>
<data name="Guard_SuspiciousUnsigned" xml:space="preserve">
<value>một mô-đun không ký số có tên giống anti-cheat đã được nạp</value>
</data>
<data name="Guard_Other_Format" xml:space="preserve">
<value>lý do {0}</value>
</data>
<data name="Exit_Line_Format" xml:space="preserve">
<value>Kết thúc: {0}</value>
</data>
<data name="Exit_Code_Format" xml:space="preserve">
<value>kết thúc với mã thoát {0}</value>
</data>
<data name="Exit_Code1" xml:space="preserve">
<value>kết thúc với mã thoát 1 — mã mà End task và taskkill để lại, cũng là mã lỗi thường gặp của nhiều chương trình</value>
</data>
<data name="Exit_Crashed_Format" xml:space="preserve">
<value>bị crash ({0})</value>
</data>
<data name="Exit_CrashEvent" xml:space="preserve">
<value>bị crash (Windows ghi nhận một lỗi ứng dụng)</value>
</data>
<data name="Exit_Ex_AccessViolation" xml:space="preserve">
<value>0xC0000005 truy cập bộ nhớ không hợp lệ</value>
</data>
<data name="Exit_Ex_InPageError" xml:space="preserve">
<value>0xC0000006 lỗi I/O khi nạp trang: một ổ đĩa bị lỗi khi game đọc file</value>
</data>
<data name="Exit_Ex_StackOverflow" xml:space="preserve">
<value>0xC00000FD tràn stack</value>
</data>
<data name="Exit_Ex_HeapCorruption" xml:space="preserve">
<value>0xC0000374 hỏng heap</value>
</data>
<data name="Exit_Ex_FailFast" xml:space="preserve">
<value>0xC0000409 fail-fast: game tự dừng khi phát hiện lỗi</value>
</data>
<data name="Exit_Ex_DllInit" xml:space="preserve">
<value>0xC0000142 một DLL khởi tạo thất bại</value>
</data>
<data name="Exit_Ex_DllNotFound" xml:space="preserve">
<value>0xC0000135 không tìm thấy một DLL cần thiết</value>
</data>
<data name="Exit_Ex_BadImage" xml:space="preserve">
<value>0xC000007B image không hợp lệ, thường do lẫn 32/64-bit</value>
</data>
<data name="Exit_Ex_Cpp" xml:space="preserve">
<value>0xE06D7363 ngoại lệ C++ không được xử lý</value>
</data>
<data name="Exit_Ex_Clr" xml:space="preserve">
<value>0xE0434352 ngoại lệ .NET không được xử lý</value>
</data>
<data name="Exit_Ex_Breakpoint" xml:space="preserve">
<value>0x80000003 breakpoint</value>
</data>
<data name="Launch_Error_Format" xml:space="preserve">
<value>lỗi Windows {0}</value>
</data>
<data name="Launch_Error_2" xml:space="preserve">
<value>không tìm thấy file</value>
</data>
<data name="Launch_Error_3" xml:space="preserve">
<value>không tìm thấy đường dẫn</value>
</data>
<data name="Launch_Error_5" xml:space="preserve">
<value>bị từ chối truy cập</value>
</data>
<data name="Launch_Error_193" xml:space="preserve">
<value>đây không phải chương trình Windows hợp lệ</value>
</data>
<data name="Launch_Error_740" xml:space="preserve">
<value>game yêu cầu quyền quản trị</value>
</data>
<data name="Launch_Failed_Format" xml:space="preserve">
<value>{0} ({1})</value>
</data>
<data name="Exe_DriveMissing_Format" xml:space="preserve">
<value>Ổ {0} chưa được kết nối. FrameLedger sẽ tìm lại game khi ổ được kết nối.</value>
</data>
<data name="Exe_FileMissing_Format" xml:space="preserve">
<value>File thực thi của game không còn ở {0}.</value>
</data>
<data name="Exit_EndedNormally" xml:space="preserve">
<value>kết thúc bình thường</value>
</data>
</root>
@@ -190,6 +190,14 @@ public sealed partial class GameDetailViewModel : ObservableObject
public static string ExecutableMissingText => Strings.GameDetail_ExeMissing;
/// <summary>
/// The missing executable's bar (beta.8): the page's sentence, then whether the DRIVE is not connected or the file is gone
/// from its path — the two need different things of the user.
/// </summary>
public string ExecutableMissingMessage => Game is null
? ExecutableMissingText
: ExecutableMissingText + " " + Formats.ExecutableMissingText(Game.Fingerprint.ExePath);
public static string LifetimeLabel => Strings.GameDetail_LifetimeAvg;
public static string SupportsHeader => Strings.GameDetail_Supports_Header;
@@ -573,6 +581,9 @@ public sealed partial class GameDetailViewModel : ObservableObject
HookingConsentOutcome.Refused => (result.RefusalText(), InfoBarSeverity.Error),
HookingConsentOutcome.VersionMismatch => (Shared.Strings.Safety_Consent_VersionMismatch, InfoBarSeverity.Warning),
HookingConsentOutcome.AgentUnavailable => (Shared.Strings.Safety_Consent_AgentUnavailable, InfoBarSeverity.Warning),
// The Agent could not read the executable (beta.8): say whether its drive or the file is missing, not the IPC code.
HookingConsentOutcome.Failed when string.Equals(result.Detail, Shared.Ipc.IpcErrorCode.ExecutableUnreadable, StringComparison.Ordinal) && Game is not null
=> (Formats.ExecutableMissingText(Game.Fingerprint.ExePath), InfoBarSeverity.Warning),
HookingConsentOutcome.Failed => (result.Detail ?? Strings.Common_NotAvailable, InfoBarSeverity.Warning),
_ => (null, InfoBarSeverity.Informational),
};
@@ -591,6 +602,7 @@ public sealed partial class GameDetailViewModel : ObservableObject
Subtitle = string.Join(" · ", subtitle.Where(static s => !string.IsNullOrWhiteSpace(s)));
ExecutableText = row.Fingerprint.ExePath;
ExecutableMissing = !GameLibrary.ExecutableExists(row.Fingerprint.ExePath);
OnPropertyChanged(nameof(ExecutableMissingMessage));
SessionRow? last = detail.Sessions.Count > 0 ? detail.Sessions[0] : null;
SessionRow? lastHooked = detail.Sessions.FirstOrDefault(static s => s.Tier == CaptureTier.Hooked && s.FrameCount > 0);
@@ -74,6 +74,10 @@ public sealed partial class SessionSummaryViewModel : ObservableObject
[ObservableProperty]
private bool _isUnhooked;
/// <summary>How the session ended (beta.8): a crash with its exception, End task's exit code said as what it is.</summary>
[ObservableProperty]
private string _exitLine = string.Empty;
/// <summary>Tier 2's payload (2026-09-22): why this session measured nothing, from the row's notes; empty for a hooked row.</summary>
[ObservableProperty]
private string _tier2Reason = string.Empty;
@@ -301,6 +305,8 @@ public sealed partial class SessionSummaryViewModel : ObservableObject
IsCrashed = row.ExitStatus == ExitStatus.Crashed;
IsUnhooked = row.ExitStatus == ExitStatus.UnhookedSafety;
Tier2Reason = IsHooked ? string.Empty : Formats.Tier2Reason(row.CaptureNotes);
ExitLine = string.Format(CultureInfo.CurrentCulture, Strings.Exit_Line_Format,
Formats.ExitText(row.ExitStatus, Application.Recording.CaptureNotes.Parse(row.CaptureNotes)));
Readout = FpsPresentation.FromRow(row);
Line = string.Format(CultureInfo.CurrentCulture, Strings.Summary_Line_Format,
IsHooked ? Formats.Api(row.Api) : Strings.Tier_NotHooked, row.PresentMode ?? Strings.Common_NotAvailable,
@@ -37,6 +37,7 @@
<!-- header line + chips -->
<ui:TextBlock Appearance="Secondary" Text="{Binding ViewModel.Line}" />
<ui:TextBlock Appearance="Secondary" TextWrapping="Wrap" Text="{Binding ViewModel.ExitLine}" />
<ui:TextBlock Appearance="Tertiary" TextWrapping="Wrap" Text="{Binding ViewModel.HardwareLine}" />
<ui:TextBlock Appearance="Tertiary" TextWrapping="Wrap" Text="{Binding ViewModel.LibrariesLine}"
Visibility="{Binding ViewModel.LibrariesLine, Converter={StaticResource NullToCollapsed}}" />
@@ -91,6 +91,9 @@ public sealed record CaptureOutcome
/// <summary>The target's exit code, when it had exited by the time the session let go; null otherwise.</summary>
public int? ExitCode { get; init; }
/// <summary>The Win32 error a launch failed with (<see cref="SessionEndReason.LaunchCannotStart"/>, beta.8); null otherwise or when the launcher cannot tell.</summary>
public int? LaunchError { get; init; }
/// <summary>
/// True when the loop held the session open unhooked until the target left (Tier 2, 2026-09-22): the duration is the
/// game's, so the crash witness applies even where no pid was ever held.
@@ -190,10 +190,10 @@ public sealed class CaptureSession(
}
var started = Stopwatch.StartNew();
(int Pid, ITargetLiveness Alive)? launched = launcher.Start(normalisedExePath, arguments ?? string.Empty);
(int Pid, ITargetLiveness Alive)? launched = launcher.Start(normalisedExePath, arguments ?? string.Empty, out int? launchError);
if (launched is null)
{
return new CaptureOutcome { Reason = SessionEndReason.LaunchCannotStart };
return new CaptureOutcome { Reason = SessionEndReason.LaunchCannotStart, LaunchError = launchError };
}
using ITargetLiveness alive = launched.Value.Alive;
@@ -8,4 +8,14 @@ public interface IProcessLauncher
{
/// <summary>The new pid and its held liveness — the caller owns the liveness — or null when it could not be started or pinned.</summary>
(int Pid, ITargetLiveness Alive)? Start(string exePath, string arguments);
/// <summary>
/// The same, saying why a start failed: the Win32 error (2 file not found, 5 access denied, 740 elevation required…).
/// A launcher that cannot tell answers null, which is what this default does (beta.8).
/// </summary>
(int Pid, ITargetLiveness Alive)? Start(string exePath, string arguments, out int? win32Error)
{
win32Error = null;
return Start(exePath, arguments);
}
}
@@ -1,13 +1,39 @@
using System.Globalization;
namespace FrameLedger.Application.Recording;
/// <summary>
/// The words <c>sessions.capture_notes</c> is made of (<c>ExitStatusMapper.Describe</c>, <c>SessionRecorder.Skeleton</c>):
/// <c>end=&lt;SessionEndReason&gt;; exit_code=…; tier2: attach=…; guard=&lt;reason&gt;/&lt;family&gt;/&lt;signal&gt;; …</c>.
/// Read back so a Tier-2 row can say WHY it measured nothing (<c>04_CAPTURE</c>: "the reason is the payload of Tier 2"),
/// which the schema keeps in this one text column rather than in fields (2026-09-22).
/// <c>end=&lt;SessionEndReason&gt;; exit_code=…; crash_event=…; launch_error=…; tier2: attach=…; guard=&lt;reason&gt;|&lt;family&gt;|&lt;signal&gt;; …</c>.
/// Read back so a row can say why it ended and, for Tier 2, why it measured nothing (<c>04_CAPTURE</c>: "the reason is the
/// payload of Tier 2"), which the schema keeps in this one text column rather than in fields (2026-09-22).
/// </summary>
/// <remarks>
/// <para>
/// <b>The guard slot has three positions since beta.8 (2026-09-25):</b> <c>guard=Reason|Family|Signal</c>, every slot
/// present even when empty, and <c>;</c> in a signal written as <c>,</c> so it cannot end the slot. Rows written before
/// kept <c>/</c> between the parts and dropped an empty family — so <c>guard=ProcessUnreadable/Access is denied</c> put the
/// signal where the family goes, and a signal with a <c>;</c> in it was cut there. Those rows are read with the one rule
/// that tells the two apart (<see cref="NamesAFamily"/>): a finding names its anti-cheat family, and the gate's own refusals
/// put a label in that slot (<c>not enabled</c>, <c>no consent</c>, <c>kill switch</c>, <c>previously blocked</c>); for any
/// other reason — the guard's "could not look" answers — the second part was the signal.
/// </para>
/// <para>
/// The signal is the last slot and may itself carry <c>|</c>: a <c>PreviouslyBlocked</c> signal is the row's stored block,
/// <c>Reason|Family|Signal</c> since beta.8, and <c>Split('|', 3)</c> keeps it whole.
/// </para>
/// </remarks>
public readonly record struct CaptureNotes(string? End, string? GuardReason, string? GuardFamily, string? GuardSignal)
{
/// <summary>The process's exit code, when it had one (<c>exit_code=</c>).</summary>
public int? ExitCode { get; init; }
/// <summary>Whether the Application log named the executable around the end (<c>crash_event=</c>).</summary>
public bool CrashEvent { get; init; }
/// <summary>The Win32 error a launch failed with (<c>launch_error=</c>, beta.8).</summary>
public int? LaunchError { get; init; }
public static CaptureNotes Parse(string? notes)
{
if (string.IsNullOrWhiteSpace(notes))
@@ -16,6 +42,8 @@ public readonly record struct CaptureNotes(string? End, string? GuardReason, str
}
string? end = null, reason = null, family = null, signal = null;
int? exitCode = null, launchError = null;
bool crashEvent = false;
foreach (string raw in notes.Split(';'))
{
string part = raw.Trim();
@@ -23,15 +51,65 @@ public readonly record struct CaptureNotes(string? End, string? GuardReason, str
{
end = part[4..];
}
else if (part.StartsWith("exit_code=", StringComparison.Ordinal))
{
exitCode = Int(part[10..]);
}
else if (part.StartsWith("crash_event=", StringComparison.Ordinal))
{
crashEvent = true;
}
else if (part.StartsWith("launch_error=", StringComparison.Ordinal))
{
launchError = Int(part[13..]);
}
else if (part.StartsWith("guard=", StringComparison.Ordinal))
{
string[] words = part[6..].Split('/', 3);
reason = words.Length > 0 && words[0].Length > 0 ? words[0] : null;
family = words.Length > 1 && words[1].Length > 0 ? words[1] : null;
signal = words.Length > 2 && words[2].Length > 0 ? words[2] : null;
(reason, family, signal) = Guard(part[6..]);
}
}
return new CaptureNotes(end, reason, family, signal);
return new CaptureNotes(end, reason, family, signal) { ExitCode = exitCode, CrashEvent = crashEvent, LaunchError = launchError };
}
/// <summary>The guard slot as the recorder writes it (beta.8): three positions, a <c>;</c> never inside one.</summary>
public static string GuardSlot(string reason, string? family, string? signal)
{
ArgumentException.ThrowIfNullOrWhiteSpace(reason);
return "guard=" + Clean(reason) + "|" + Clean(family) + "|" + Clean(signal);
}
/// <summary>
/// The reasons whose second legacy part was a family: the findings, which name one, and the gate's own refusals, which
/// always carried a label there (<c>HookedCaptureGate</c>). Every other reason's second part was its signal.
/// </summary>
public static bool NamesAFamily(string? reason) => reason is "BlockedModule" or "BlockedDriver" or "BlockedService"
or "BlockedExecutable" or "BlockedStoreId" or "AntiCheatDirectory" or "AntiCheatFile" or "SuspiciousUnsigned"
or "HookNotEnabled" or "ConsentMissing" or "KillSwitchEngaged" or "PreviouslyBlocked";
private static (string? Reason, string? Family, string? Signal) Guard(string value)
{
if (value.Contains('|', StringComparison.Ordinal))
{
string[] slots = value.Split('|', 3);
return (Blank(slots[0]), slots.Length > 1 ? Blank(slots[1]) : null, slots.Length > 2 ? Blank(slots[2]) : null);
}
// A row from before beta.8: '/' between the parts and an empty family dropped.
string[] words = value.Split('/', 3);
string? reason = Blank(words[0]);
return words.Length switch
{
1 => (reason, null, null),
2 when NamesAFamily(reason) => (reason, Blank(words[1]), null),
2 => (reason, null, Blank(words[1])),
_ => (reason, Blank(words[1]), Blank(words[2])),
};
}
private static string Clean(string? s) => string.IsNullOrEmpty(s) ? string.Empty : s.Replace(';', ',');
private static string? Blank(string s) => s.Length > 0 ? s : null;
private static int? Int(string s) => int.TryParse(s, NumberStyles.Integer, CultureInfo.InvariantCulture, out int value) ? value : null;
}
@@ -26,23 +26,31 @@ public sealed class CrashAutoDisablePolicy
public const int CrashesToDisable = 2;
public const string Reason = "crashed twice within 60 s of injection (19_SAFETY §Crash safety)";
/// <summary>
/// The row's reason. Since beta.8 a non-zero exit that is not an exception's is no longer a "crash" on the session, but
/// this policy still counts it inside its window — a game our hook hung that the user then ended is the shape it
/// exists for — so the words say "ended abnormally", not "crashed".
/// </summary>
public const string Reason = "ended abnormally twice within 60 s of injection: a crash, or an exit the game did not choose (19_SAFETY §Crash safety)";
private readonly IGameRepository _games;
public CrashAutoDisablePolicy(IGameRepository games) => _games = games ?? throw new ArgumentNullException(nameof(games));
/// <summary>Whether this session's end is a crash inside the window after <paramref name="injectedAt"/>.</summary>
public static bool IsEarlyCrash(ExitStatus status, DateTimeOffset? injectedAt, DateTimeOffset endedAt) =>
status == ExitStatus.Crashed && injectedAt is { } at && endedAt - at <= Window && endedAt >= at;
/// <summary>
/// Whether this session's end is an abnormal one inside the window after <paramref name="injectedAt"/>: a crash, or any
/// non-zero exit code (End task's 1 included), exactly as before beta.8 split the two on the session's status.
/// </summary>
public static bool IsEarlyCrash(ExitStatus status, int? exitCode, DateTimeOffset? injectedAt, DateTimeOffset endedAt) =>
(status == ExitStatus.Crashed || exitCode is { } code && code != 0) && injectedAt is { } at && endedAt - at <= Window && endedAt >= at;
/// <summary>
/// Records the crash when it is an early one, and disables hooking on the second. Returns what was done.
/// </summary>
public async ValueTask<CrashPolicyOutcome> ApplyAsync(long gameId, ExitStatus status, DateTimeOffset? injectedAt,
public async ValueTask<CrashPolicyOutcome> ApplyAsync(long gameId, ExitStatus status, int? exitCode, DateTimeOffset? injectedAt,
DateTimeOffset endedAt, CancellationToken ct = default)
{
if (!IsEarlyCrash(status, injectedAt, endedAt))
if (!IsEarlyCrash(status, exitCode, injectedAt, endedAt))
{
return CrashPolicyOutcome.NotAnEarlyCrash;
}
@@ -12,9 +12,9 @@ namespace FrameLedger.Application.Recording;
/// The crash-witness window is <c>[start, end + 30 s]</c>; the caller asks the
/// <see cref="ICrashEventSource"/> with exactly that and hands the answer in. The precedence is
/// the document's: our own safety stop is <c>unhooked_safety</c> whatever the process did next; the
/// capture side stopping on its own is <c>degraded</c>; a non-zero exit code or an event is
/// <c>crashed</c>; a target that is still running when the session ends (a bounded capture, a
/// supervision fault) is <c>normal</c> — nothing about the game went wrong.
/// capture side stopping on its own is <c>degraded</c>; an exception's exit code (<see cref="IsExceptionCode"/>) or an
/// event is <c>crashed</c> — since beta.8; any non-zero code was until then, End task's 1 included — and anything else,
/// including a target still running when the session ends, is <c>normal</c> with its code in the notes.
/// </para>
/// <para>
/// <c>interrupted</c> is never produced here: it is the recovery path's, for a session whose Agent
@@ -38,10 +38,31 @@ public static class ExitStatusMapper
case SessionEndReason.WriterNeverInstalledHooks:
return ExitStatus.Degraded;
default:
return exitCode is { } code && code != 0 || crashEventFound ? ExitStatus.Crashed : ExitStatus.Normal;
// A crash is an exception's exit code or the Application log's witness (beta.8). Any other non-zero code is
// the program's own exit — End task and taskkill leave 1 — and was a "crash" until 2026-09-25; the code stays
// in the notes, and the crash policy still counts it inside its window (CrashAutoDisablePolicy).
return crashEventFound || exitCode is { } code && IsExceptionCode(code) ? ExitStatus.Crashed : ExitStatus.Normal;
}
}
/// <summary>
/// Whether an exit code is an unhandled exception's rather than a program's own: an NTSTATUS error in
/// <c>0xC0000000–0xC0FFFFFF</c> (access violation, stack overflow, fail-fast, heap corruption, an in-page I/O error…)
/// other than <c>0xC000013A</c> (closed from the console), an unhandled C++ (<c>0xE06D7363</c>) or .NET
/// (<c>0xE0434352</c>) exception, or a breakpoint (<c>0x80000003</c>). <c>-1</c> is a program's own error exit, not one.
/// </summary>
public static bool IsExceptionCode(int code)
{
uint u = unchecked((uint)code);
return u switch
{
0xC000013A => false,
>= 0xC0000000 and <= 0xC0FFFFFF => true,
0xE06D7363 or 0xE0434352 or 0x80000003 => true,
_ => false,
};
}
/// <summary>
/// What <c>sessions.capture_notes</c> carries about the end: the fine reason the four statuses
/// collapse, the exit code when there was one, the witness when there was one.
@@ -209,7 +209,7 @@ public sealed class SessionRecorder : ISessionRecorder
if (hooked && saved.Status != FinalizeStatus.GameRemoved)
{
await _games.RecordInjectionAsync(ownerId, run.AttachedAt ?? header.StartedAt, ct).ConfigureAwait(false);
crash = await _crashPolicy.ApplyAsync(ownerId, exit, run.AttachedAt, endedAt, ct).ConfigureAwait(false);
crash = await _crashPolicy.ApplyAsync(ownerId, exit, outcome.ExitCode, run.AttachedAt, endedAt, ct).ConfigureAwait(false);
}
return new RecordedSession
@@ -227,13 +227,18 @@ public sealed class SessionRecorder : ISessionRecorder
private static SessionRow Skeleton(PartialHeader h, CaptureOutcome o, DateTimeOffset endedAt, ExitStatus exit, bool crashEvent, bool hooked)
{
string notes = ExitStatusMapper.Describe(o.Reason, o.ExitCode, crashEvent);
if (o.LaunchError is { } launchError)
{
notes += "; launch_error=" + launchError.ToString(System.Globalization.CultureInfo.InvariantCulture);
}
if (!hooked)
{
notes += "; tier2: attach=" + o.AttachRefusal;
if (o.Verdict.Reason != Domain.AntiCheat.AntiCheatRefusalReason.Allow)
{
notes += "; guard=" + o.Verdict.Reason + (string.IsNullOrEmpty(o.Verdict.Family) ? "" : "/" + o.Verdict.Family)
+ (string.IsNullOrEmpty(o.Verdict.Signal) ? "" : "/" + o.Verdict.Signal);
// Three slots, every one present (beta.8): an empty family used to be dropped, and the signal then read as it.
notes += "; " + CaptureNotes.GuardSlot(o.Verdict.Reason.ToString(), o.Verdict.Family, o.Verdict.Signal);
}
}
@@ -52,6 +52,10 @@ public sealed class ProcessLauncher : IProcessLauncher
/// <inheritdoc />
public (int Pid, ITargetLiveness Alive)? Start(string exePath, string arguments) => Start(exePath, arguments, _environment, _enableVulkanLayer);
/// <inheritdoc />
public (int Pid, ITargetLiveness Alive)? Start(string exePath, string arguments, out int? win32Error) =>
StartCore(exePath, arguments, _environment, _enableVulkanLayer, out win32Error);
/// <summary>Start <paramref name="exePath"/> with <paramref name="arguments"/>; null when it could not be started or pinned.</summary>
/// <param name="exePath">The consented executable.</param>
/// <param name="arguments">Its own command line, verbatim.</param>
@@ -61,9 +65,15 @@ public sealed class ProcessLauncher : IProcessLauncher
/// </param>
/// <param name="enableVulkanLayer">False leaves <see cref="VkLayerLaunchEnvironment.EnableVariable"/> unset (the kill switch, decision D7).</param>
public static (int Pid, ITargetLiveness Alive)? Start(string exePath, string arguments,
IReadOnlyDictionary<string, string>? environment = null, bool enableVulkanLayer = true)
IReadOnlyDictionary<string, string>? environment = null, bool enableVulkanLayer = true) =>
StartCore(exePath, arguments, environment, enableVulkanLayer, out _);
/// <summary>The start, keeping the Win32 error of one that failed (beta.8: it was swallowed, and the user read only "could not start").</summary>
private static (int Pid, ITargetLiveness Alive)? StartCore(string exePath, string arguments,
IReadOnlyDictionary<string, string>? environment, bool enableVulkanLayer, out int? error)
{
ArgumentException.ThrowIfNullOrWhiteSpace(exePath);
error = null;
var psi = new ProcessStartInfo(exePath, arguments ?? string.Empty)
{
@@ -87,6 +97,7 @@ public sealed class ProcessLauncher : IProcessLauncher
}
catch (Exception e) when (e is Win32Exception or InvalidOperationException or IOException)
{
error = e is Win32Exception w ? w.NativeErrorCode : null;
return null;
}
@@ -0,0 +1,137 @@
using System.Globalization;
using System.IO;
using FluentAssertions;
using FrameLedger.App.Services;
using FrameLedger.Application.Capture;
using FrameLedger.Application.Recording;
using FrameLedger.Domain.AntiCheat;
using FrameLedger.Domain.Sessions;
using FrameLedger.Shared.Ipc;
namespace FrameLedger.App.Tests;
/// <summary>
/// Clearer reasons (beta.8, owner item 5): every way a session can end and every refusal no anti-cheat family names has
/// its own words — the enums are walked so none falls through to a raw name — a crash names its exception while End
/// task's exit code is an ordinary end, a launch says why it could not start, and a missing executable says whether its
/// drive or the file is gone.
/// </summary>
[Collection(StringsCultureCollection.Name)]
public sealed class ReasonTextTests
{
private static T InEnglish<T>(Func<T> f)
{
CultureInfo? previous = Strings.Culture;
CultureInfo previousCulture = CultureInfo.CurrentCulture;
try
{
Strings.Culture = CultureInfo.GetCultureInfo("en");
CultureInfo.CurrentCulture = CultureInfo.GetCultureInfo("en");
return f();
}
finally
{
Strings.Culture = previous;
CultureInfo.CurrentCulture = previousCulture;
}
}
[Fact]
public void EveryEndReasonHasItsOwnSentence()
{
foreach (SessionEndReason reason in Enum.GetValues<SessionEndReason>())
{
Formats.EndReasonText(reason.ToString()).Should().NotBeNullOrWhiteSpace($"{reason} has no words, so a row would print its name");
}
Formats.EndReasonText("SomethingLater").Should().BeNull();
}
/// <summary>Every reason the guard can give without naming an anti-cheat family has a clause of its own.</summary>
[Fact]
public void EveryFamilylessGuardReasonHasItsOwnWords() => InEnglish(() =>
{
foreach (AntiCheatRefusalReason reason in Enum.GetValues<AntiCheatRefusalReason>())
{
// The findings name their family, and the kill switch always carries its own label and end reason.
if (reason is AntiCheatRefusalReason.Allow or AntiCheatRefusalReason.BlockedModule or AntiCheatRefusalReason.BlockedDriver
or AntiCheatRefusalReason.BlockedService or AntiCheatRefusalReason.BlockedExecutable or AntiCheatRefusalReason.BlockedStoreId
or AntiCheatRefusalReason.AntiCheatDirectory or AntiCheatRefusalReason.AntiCheatFile or AntiCheatRefusalReason.KillSwitchEngaged)
{
continue;
}
Formats.GuardReasonText(reason.ToString()).Should().NotStartWith("reason ", $"{reason} falls through to its raw name");
}
return 0;
});
[Fact]
public void AFamilylessRefusalIsSaidAsWhatItIsNeverAsDetected() => InEnglish(() =>
{
Formats.Tier2Reason("end=RefusedByGuard; tier2: attach=NotEvaluated; guard=TargetIsWow64||target is a WOW64 process")
.Should().Be("The anti-cheat guard did not hook this game: the game is 32-bit, and the hook runs in 64-bit games only.");
Formats.Tier2Reason("end=RefusedByGuard; tier2: attach=NotEvaluated; guard=ProcessUnreadable/Access is denied")
.Should().Be("The anti-cheat guard did not hook this game: the game's process could not be opened.", "a row from before beta.8 reads the same");
var link = new FakeAgentLink();
using var notices = new SafetyNotices(link, new RecordingStrip());
link.Raise(IpcMessageType.CaptureRefused, new CaptureRefusedEvent(7, "Title", "PreScanFailed", null, "the folder could not be listed"));
notices.Items.Should().ContainSingle().Which.Body.Should().StartWith("The anti-cheat guard did not hook this game: the game's folder could not be scanned.")
.And.NotContain("detected");
new HookingConsentResult(HookingConsentOutcome.Refused, Refusal: new RefusedAck(7, "ProcessUnreadable", null, "Access is denied")).RefusalText()
.Should().Be("The anti-cheat guard did not hook this game: the game's process could not be opened.");
return 0;
});
[Fact]
public void ACrashNamesItsExceptionAndEndTasksCodeIsAnOrdinaryEnd() => InEnglish(() =>
{
Formats.ExitText(ExitStatus.Crashed, CaptureNotes.Parse("end=TargetExited; exit_code=-1073741819")).Should().Be("crashed (0xC0000005 access violation)");
Formats.ExitText(ExitStatus.Crashed, CaptureNotes.Parse("end=TargetExited; exit_code=-1073741818"))
.Should().Contain("0xC0000006 in-page I/O error", "the owner's failing USB drive, 2026-09-21");
Formats.ExitText(ExitStatus.Crashed, CaptureNotes.Parse("end=TargetExited; exit_code=0; crash_event=application_log"))
.Should().Be("crashed (Windows logged an application error)");
Formats.ExitText(ExitStatus.Normal, CaptureNotes.Parse("end=TargetExited; exit_code=1")).Should().StartWith("ended with exit code 1 — what End task and taskkill leave");
Formats.ExitText(ExitStatus.Normal, CaptureNotes.Parse("end=TargetExited; exit_code=0")).Should().Be("ended normally");
Formats.ExitText(ExitStatus.Normal, CaptureNotes.Parse("end=TargetExited; exit_code=-1")).Should().Be("ended with exit code -1");
Formats.ExitText(ExitStatus.Normal, CaptureNotes.Parse("end=TargetExited; exit_code=-1073741510")).Should().Be("ended with exit code 0xC000013A");
Formats.ExitText(ExitStatus.UnhookedSafety, default).Should().Be(Formats.ExitStatusText(ExitStatus.UnhookedSafety));
return 0;
});
[Fact]
public void ALaunchThatCouldNotStartSaysWhy() => InEnglish(() =>
{
Formats.Tier2Reason("end=LaunchCannotStart; launch_error=740").Should().Be("FrameLedger could not start the game. (the game requires administrator rights)");
Formats.LaunchErrorText(2).Should().Be("the file was not found");
Formats.LaunchErrorText(1392).Should().Be("Windows error 1392");
Formats.Tier2Reason("end=LaunchCannotStart").Should().Be("FrameLedger could not start the game.", "a row from before says what it can");
return 0;
});
[Fact]
public void AMissingExecutableSaysWhetherItsDriveOrTheFileIsGone() => InEnglish(() =>
{
string missingDrive = FreeDriveLetter() + @"Games\Title\game.exe";
Formats.ExecutableMissingText(missingDrive).Should().StartWith("The drive " + missingDrive[..3] + " is not connected.");
string gone = Path.Combine(Path.GetTempPath(), "fl-gone-" + Guid.NewGuid().ToString("N") + ".exe");
Formats.ExecutableMissingText(gone).Should().Be("The game's executable is no longer at " + gone + ".");
return 0;
});
private static string FreeDriveLetter()
{
for (char c = 'Z'; c >= 'D'; c--)
{
string root = c + @":\";
if (!Directory.Exists(root))
{
return root;
}
}
throw new InvalidOperationException("every drive letter is taken");
}
}
@@ -19,8 +19,9 @@ public sealed class Tier2ReasonTests
Formats.Tier2Reason("end=RefusedByGuard; tier2: attach=NotEvaluated; guard=BlockedDriver/Riot Vanguard/vgk.sys")
.Should().Be(string.Format(CultureInfo.CurrentCulture, Strings.Summary_Tier2_Why_Guard_Format, "Riot Vanguard", "vgk.sys"));
Formats.Tier2Reason("end=TargetUnreadable; tier2: attach=NotEvaluated").Should().Be(Strings.Summary_Tier2_Why_Unreadable);
Formats.Tier2Reason("end=AttachRefused; tier2: attach=BuildIdMismatch")
.Should().Be(string.Format(CultureInfo.CurrentCulture, Strings.Summary_Tier2_Why_Other_Format, "AttachRefused"));
Formats.Tier2Reason("end=AttachRefused; tier2: attach=BuildIdMismatch").Should().Be(Strings.End_AttachRefused, "every end reason has its own words since beta.8");
Formats.Tier2Reason("end=SomethingLater; tier2: attach=NotEvaluated")
.Should().Be(string.Format(CultureInfo.CurrentCulture, Strings.Summary_Tier2_Why_Other_Format, "SomethingLater"), "a name this build does not know is named");
Formats.Tier2Reason(null).Should().BeEmpty();
Formats.Tier2Reason("end=RefusedConsentMissing; tier2: attach=NotEvaluated; guard=ConsentMissing/consent/stale")
.Should().Be(Strings.Summary_Tier2_Why_ConsentChanged, "a store update changes the executable the consent was given for");
@@ -168,8 +168,26 @@ public sealed class CaptureSessionLaunchTests : IAsyncDisposable
TestContext.Current.CancellationToken);
r.Reason.Should().Be(SessionEndReason.LaunchCannotStart);
r.LaunchError.Should().BeNull("a launcher that cannot tell says nothing");
guard.WhenReadyCalls.Should().Be(0);
guard.InjectCalls.Should().Be(0);
// beta.8: a launcher that can tell says why — Windows' own error, which the row keeps and the summary says.
CaptureOutcome elevated = await Loop(await StoreAsync(consented: true), guard, new ErrorLauncher(740)).RunLaunchedAsync(_exe, Fingerprint, "payload.dll",
string.Empty, TestContext.Current.CancellationToken);
(elevated.Reason, elevated.LaunchError).Should().Be((SessionEndReason.LaunchCannotStart, 740));
}
/// <summary>A launcher whose every start fails with <paramref name="error"/>.</summary>
private sealed class ErrorLauncher(int error) : IProcessLauncher
{
public (int Pid, ITargetLiveness Alive)? Start(string exePath, string arguments) => null;
public (int Pid, ITargetLiveness Alive)? Start(string exePath, string arguments, out int? win32Error)
{
win32Error = error;
return null;
}
}
[Fact]
@@ -3,27 +3,49 @@ using FrameLedger.Application.Recording;
namespace FrameLedger.Application.Tests.Recording;
/// <summary>The words of <c>capture_notes</c>, read back so a Tier-2 row can say why (2026-09-22).</summary>
/// <summary>
/// The words of <c>capture_notes</c>, read back so a row can say why it ended and, for Tier 2, why it measured nothing
/// (2026-09-22) — the three-slot guard word since beta.8, and the rows written before it.
/// </summary>
public sealed class CaptureNotesTests
{
[Fact]
public void TheEndAndTheGuardsWordsAreReadBack()
public void TheThreeSlotGuardWordReadsBackWhateverIsEmpty()
{
CaptureNotes n = CaptureNotes.Parse("end=RefusedByGuard; tier2: attach=NotEvaluated; guard=BlockedModule/Easy Anti-Cheat/EasyAntiCheat_EOS.dll");
CaptureNotes n = CaptureNotes.Parse("end=RefusedByGuard; tier2: attach=NotEvaluated; guard=BlockedModule|Easy Anti-Cheat|EasyAntiCheat_EOS.dll");
(n.End, n.GuardReason, n.GuardFamily, n.GuardSignal).Should().Be(("RefusedByGuard", "BlockedModule", "Easy Anti-Cheat", "EasyAntiCheat_EOS.dll"));
n.End.Should().Be("RefusedByGuard");
n.GuardReason.Should().Be("BlockedModule");
n.GuardFamily.Should().Be("Easy Anti-Cheat");
n.GuardSignal.Should().Be("EasyAntiCheat_EOS.dll");
CaptureNotes familyless = CaptureNotes.Parse("end=RefusedByGuard; guard=ProcessUnreadable||Access is denied, twice");
(familyless.GuardReason, familyless.GuardFamily, familyless.GuardSignal).Should().Be(("ProcessUnreadable", (string?)null, "Access is denied, twice"));
CaptureNotes blocked = CaptureNotes.Parse("end=RefusedHookNotEnabled; guard=PreviouslyBlocked||AntiCheatDirectory|Easy Anti-Cheat|EasyAntiCheat");
blocked.GuardSignal.Should().Be("AntiCheatDirectory|Easy Anti-Cheat|EasyAntiCheat", "the signal is the last slot and keeps its own bars");
}
[Fact]
public void AGuardWordWithoutAFamilyOrSignalReadsAsNullsAndASignalMayCarrySlashes()
public void TheRecorderWritesEverySlotAndNoSemicolonInsideOne()
{
CaptureNotes.GuardSlot("PreScanFailed", null, "could not list; access denied").Should().Be("guard=PreScanFailed||could not list, access denied");
CaptureNotes round = CaptureNotes.Parse("end=RefusedByGuard; " + CaptureNotes.GuardSlot("PreScanFailed", "", "could not list; access denied"));
(round.GuardReason, round.GuardFamily, round.GuardSignal).Should().Be(("PreScanFailed", (string?)null, "could not list, access denied"));
}
/// <summary>
/// A row from before beta.8: '/' between the parts and an empty family dropped, so a familyless reason's second part was its
/// signal. A finding names a family and the gate's own refusals carry a label there — that is how the two are told apart.
/// </summary>
[Fact]
public void ARowFromBeforeReadsTheSecondPartAsTheSignalUnlessTheReasonNamesAFamily()
{
CaptureNotes unreadable = CaptureNotes.Parse("end=RefusedByGuard; tier2: attach=NotEvaluated; guard=ProcessUnreadable/Access is denied");
(unreadable.GuardReason, unreadable.GuardFamily, unreadable.GuardSignal).Should().Be(("ProcessUnreadable", (string?)null, "Access is denied"),
"until beta.8 this read as a family called 'Access is denied'");
CaptureNotes bare = CaptureNotes.Parse("end=RefusedHookNotEnabled; tier2: attach=NotEvaluated; guard=HookNotEnabled/not enabled");
bare.GuardReason.Should().Be("HookNotEnabled");
bare.GuardFamily.Should().Be("not enabled");
bare.GuardSignal.Should().BeNull();
(bare.GuardFamily, bare.GuardSignal).Should().Be(("not enabled", (string?)null), "the gate's own label sits in the family slot");
CaptureNotes finding = CaptureNotes.Parse("end=RefusedByGuard; guard=BlockedDriver/Riot Vanguard");
(finding.GuardFamily, finding.GuardSignal).Should().Be(("Riot Vanguard", (string?)null));
CaptureNotes path = CaptureNotes.Parse("end=SafetyUnhook; guard=AntiCheatFile/BattlEye/C:/Games/BEService/BEService.exe");
path.GuardSignal.Should().Be("C:/Games/BEService/BEService.exe", "only the first two slashes split");
@@ -33,4 +55,14 @@ public sealed class CaptureNotesTests
CaptureNotes hooked = CaptureNotes.Parse("end=Running");
(hooked.End, hooked.GuardReason).Should().Be(("Running", null));
}
[Fact]
public void TheExitCodeTheWitnessAndTheLaunchErrorAreReadBack()
{
CaptureNotes n = CaptureNotes.Parse("end=TargetExited; exit_code=-1073741819; crash_event=application_log");
(n.ExitCode, n.CrashEvent).Should().Be((-1073741819, true));
CaptureNotes launch = CaptureNotes.Parse("end=LaunchCannotStart; launch_error=740");
(launch.LaunchError, launch.ExitCode, launch.CrashEvent).Should().Be((740, (int?)null, false));
}
}
@@ -4,7 +4,11 @@ using FrameLedger.Domain.Sessions;
namespace FrameLedger.Application.Tests.Recording;
/// <summary><c>19_SAFETY</c> §Crash &amp; stability safety: two crashes within 60 s of injection, and not one more thing.</summary>
/// <summary>
/// <c>19_SAFETY</c> §Crash &amp; stability safety: two abnormal ends within 60 s of injection, and not one more thing. Since
/// beta.8 an exit code that is not an exception's is no longer a "crash" on the session, and the policy still counts it —
/// a game the hook hung that the user then ended with End task is the shape the policy exists for.
/// </summary>
public sealed class CrashAutoDisablePolicyTests
{
private static readonly DateTimeOffset _injected = new(2026, 9, 9, 12, 0, 0, TimeSpan.Zero);
@@ -12,10 +16,18 @@ public sealed class CrashAutoDisablePolicyTests
[Fact]
public void ACrashSixtyOneSecondsAfterInjectionIsNotAnEarlyCrash()
{
CrashAutoDisablePolicy.IsEarlyCrash(ExitStatus.Crashed, _injected, _injected.AddSeconds(61)).Should().BeFalse();
CrashAutoDisablePolicy.IsEarlyCrash(ExitStatus.Crashed, _injected, _injected.AddSeconds(60)).Should().BeTrue();
CrashAutoDisablePolicy.IsEarlyCrash(ExitStatus.Normal, _injected, _injected.AddSeconds(5)).Should().BeFalse();
CrashAutoDisablePolicy.IsEarlyCrash(ExitStatus.Crashed, null, _injected.AddSeconds(5)).Should().BeFalse("nothing was injected");
CrashAutoDisablePolicy.IsEarlyCrash(ExitStatus.Crashed, null, _injected, _injected.AddSeconds(61)).Should().BeFalse();
CrashAutoDisablePolicy.IsEarlyCrash(ExitStatus.Crashed, null, _injected, _injected.AddSeconds(60)).Should().BeTrue();
CrashAutoDisablePolicy.IsEarlyCrash(ExitStatus.Normal, 0, _injected, _injected.AddSeconds(5)).Should().BeFalse();
CrashAutoDisablePolicy.IsEarlyCrash(ExitStatus.Crashed, null, null, _injected.AddSeconds(5)).Should().BeFalse("nothing was injected");
}
[Fact]
public void ANonZeroExitThatIsNotACrashStillCountsInsideTheWindow()
{
CrashAutoDisablePolicy.IsEarlyCrash(ExitStatus.Normal, 1, _injected, _injected.AddSeconds(20)).Should().BeTrue("End task leaves 1: a hang the user ended");
CrashAutoDisablePolicy.IsEarlyCrash(ExitStatus.Normal, 1, _injected, _injected.AddSeconds(90)).Should().BeFalse("outside the window it is the game's own");
CrashAutoDisablePolicy.IsEarlyCrash(ExitStatus.Normal, null, _injected, _injected.AddSeconds(20)).Should().BeFalse("still running, or no code");
}
[Fact]
@@ -24,14 +36,15 @@ public sealed class CrashAutoDisablePolicyTests
var games = new FakeGameRepository();
var policy = new CrashAutoDisablePolicy(games);
CrashPolicyOutcome first = await policy.ApplyAsync(1, ExitStatus.Crashed, _injected, _injected.AddSeconds(10), TestContext.Current.CancellationToken);
CrashPolicyOutcome late = await policy.ApplyAsync(1, ExitStatus.Crashed, _injected, _injected.AddSeconds(61), TestContext.Current.CancellationToken);
CrashPolicyOutcome second = await policy.ApplyAsync(1, ExitStatus.Crashed, _injected, _injected.AddSeconds(59), TestContext.Current.CancellationToken);
CrashPolicyOutcome first = await policy.ApplyAsync(1, ExitStatus.Crashed, null, _injected, _injected.AddSeconds(10), TestContext.Current.CancellationToken);
CrashPolicyOutcome late = await policy.ApplyAsync(1, ExitStatus.Crashed, null, _injected, _injected.AddSeconds(61), TestContext.Current.CancellationToken);
CrashPolicyOutcome second = await policy.ApplyAsync(1, ExitStatus.Normal, 1, _injected, _injected.AddSeconds(59), TestContext.Current.CancellationToken);
first.Should().Be(CrashPolicyOutcome.Counted);
late.Should().Be(CrashPolicyOutcome.NotAnEarlyCrash, "61 s after injection is the game's own crash");
second.Should().Be(CrashPolicyOutcome.HookingDisabled);
second.Should().Be(CrashPolicyOutcome.HookingDisabled, "an ended hang counts as the second");
games.CrashCount.Should().Be(2, "only the early ones were counted");
games.Disabled.Should().ContainSingle().Which.Reason.Should().Be(CrashAutoDisablePolicy.Reason);
CrashAutoDisablePolicy.Reason.Should().Contain("ended abnormally").And.NotContain("crashed twice");
}
}
@@ -5,13 +5,24 @@ using FrameLedger.Domain.Sessions;
namespace FrameLedger.Application.Tests.Recording;
/// <summary><c>04_CAPTURE</c> §Crash &amp; exit classification, case by case.</summary>
/// <summary>
/// <c>04_CAPTURE</c> §Crash &amp; exit classification, case by case. Since beta.8 an exit code is a crash only when it is an
/// exception's — End task's 1, a program's -1 and Ctrl+C's 0xC000013A are ordinary ends with their code in the notes.
/// </summary>
public sealed class ExitStatusMapperTests
{
[Theory]
[InlineData(SessionEndReason.TargetExited, 0, false, ExitStatus.Normal)]
[InlineData(SessionEndReason.TargetExited, -1073741819, false, ExitStatus.Crashed)]
[InlineData(SessionEndReason.TargetExited, 0, true, ExitStatus.Crashed)]
[InlineData(SessionEndReason.TargetExited, 1, false, ExitStatus.Normal)]
[InlineData(SessionEndReason.TargetExited, -1, false, ExitStatus.Normal)]
[InlineData(SessionEndReason.TargetExited, unchecked((int)0xC000013A), false, ExitStatus.Normal)]
[InlineData(SessionEndReason.TargetExited, unchecked((int)0xC0000409), false, ExitStatus.Crashed)]
[InlineData(SessionEndReason.TargetExited, unchecked((int)0xE06D7363), false, ExitStatus.Crashed)]
[InlineData(SessionEndReason.TargetExited, unchecked((int)0xE0434352), false, ExitStatus.Crashed)]
[InlineData(SessionEndReason.TargetExited, unchecked((int)0x80000003), false, ExitStatus.Crashed)]
[InlineData(SessionEndReason.TargetExited, 1, true, ExitStatus.Crashed)]
[InlineData(SessionEndReason.TargetExited, null, true, ExitStatus.Crashed)]
[InlineData(SessionEndReason.Running, null, false, ExitStatus.Normal)]
[InlineData(SessionEndReason.SupervisionFaulted, null, false, ExitStatus.Normal)]
@@ -368,7 +368,7 @@ public sealed class SessionRecorderTests : IAsyncDisposable
r.Outcome.Reason.Should().Be(SessionEndReason.RefusedByGuard);
r.Row.Tier.Should().Be(CaptureTier.NotHooked);
r.Row.CaptureNotes.Should().Contain("end=RefusedByGuard").And.Contain("tier2").And.Contain("guard=BlockedModule/BattlEye/BEClient_x64.dll");
r.Row.CaptureNotes.Should().Contain("end=RefusedByGuard").And.Contain("tier2").And.Contain("guard=BlockedModule|BattlEye|BEClient_x64.dll");
r.Row.FrameCount.Should().Be(0);
r.Outcome.HeldUnhooked.Should().BeTrue("a refused session is held, unhooked, until the target exits (2026-09-22)");
r.Finalize.Status.Should().Be(FinalizeStatus.Discarded, "the fake clock does not move on the hold's ticks unless told to, so this one is under the minimum");
@@ -396,7 +396,7 @@ public sealed class SessionRecorderTests : IAsyncDisposable
stored.Frames.Should().BeNull("nothing was measured");
stored.Sensors.Should().NotBeEmpty("the poller was drained on the hold's ticks");
stored.Row.AvgGpuTemp.Should().NotBeNull();
stored.Row.CaptureNotes.Should().Contain("end=RefusedByGuard").And.Contain("guard=BlockedDriver/Riot Vanguard/vgk.sys");
stored.Row.CaptureNotes.Should().Contain("end=RefusedByGuard").And.Contain("guard=BlockedDriver|Riot Vanguard|vgk.sys");
h.Games.Injections.Should().BeEmpty();
}
@@ -0,0 +1,21 @@
using FluentAssertions;
using FrameLedger.Application.Capture;
using FrameLedger.Infrastructure.Capture;
namespace FrameLedger.Infrastructure.Tests.Capture;
/// <summary>A start that fails keeps Windows' own reason (beta.8): the launcher swallowed it, and the user read only "could not start".</summary>
public sealed class ProcessLauncherTests
{
[Fact]
public void AStartThatFailsSaysWhy()
{
IProcessLauncher launcher = new ProcessLauncher(enableVulkanLayer: false);
string missing = Path.Combine(Path.GetTempPath(), "fl-no-such-" + Guid.NewGuid().ToString("N"), "game.exe");
(int Pid, ITargetLiveness Alive)? started = launcher.Start(missing, string.Empty, out int? error);
started.Should().BeNull();
error.Should().BeOneOf(2, 3, 267);
}
}