Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f99a420e43 |
No files matched your search
@@ -66,6 +66,10 @@ under a `## [x.y.z] - date` heading in the same commit that bumps `VERSION`, the
|
||||
- **Links into the repository open the documents of the version you run**: a release stamps its tag into the App
|
||||
(`-p:FrameLedgerSourceRef`), so *View on GitHub*, the safety document and every document link go to that tag rather
|
||||
than to `main`, where the text may have changed since.
|
||||
- **A user guide** (owner decision D44, beta.12): eight short pages for players — install and first start, record a
|
||||
game, read your results, anti-cheat and safety, your data, questions and answers, and the terms in plain words — in
|
||||
the app under **Help ▸ User guide** (the first item of the Help menu) and in the repository's `guide/` folder. The
|
||||
README now opens with a pointer to it and keeps a separate section for developers and forks.
|
||||
|
||||
- **`NOTICE`, and the licence header in every source file** (owner decision D45, beta.12). FrameLedger's own material is
|
||||
GPL-3.0-only with three additional terms of the kinds GPLv3 §7 permits: keep the copyright line and the attribution in
|
||||
@@ -83,8 +87,30 @@ under a `## [x.y.z] - date` heading in the same commit that bumps `VERSION`, the
|
||||
Contributor Covenant 2.1, adopted by reference) and `legal/TRADEMARKS.md` (third-party names, no affiliation, and how
|
||||
the name FrameLedger may be used).
|
||||
|
||||
### Changed
|
||||
|
||||
- **The GPL is no longer accepted at the first start** (owner decision D45): it is your licence to FrameLedger and is
|
||||
shown beside the documents for information — GPLv3 §9 needs no acceptance to run the program. **Accept** covers the
|
||||
End User License Agreement, the Disclaimer and the Privacy Policy; a row an earlier version wrote for the GPL stays,
|
||||
unread.
|
||||
- **The documents you accept change, and are shown again once:** **EULA 1.5** (an unmeasured session also records the
|
||||
game's own memory use; the GPL needs no acceptance; where the third-party notices are in an installed copy; your
|
||||
rights as a consumer that no agreement can limit, and severability), **Disclaimer 2.10** (what it reads about a game
|
||||
from outside it: the game's memory use, opened with the least access Windows offers; §2 names everything the thread
|
||||
it runs inside the game does, which it understated; the maintainers' preface moves to
|
||||
`docs/legal-drift-history.md`), **Privacy Policy 2.6** (the game's memory use, replacing a video-memory figure the
|
||||
software never read; a new §3A on what an export or a bug report can carry about you before you share it; the version
|
||||
history notes move to `docs/legal-drift-history.md`).
|
||||
- **Help ▸ Documentation is Help ▸ Online documentation**, and opens the README of the version you run.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **The first start's summary said "there is no way to override that refusal"** although a per-game user-mode exception
|
||||
has existed since beta.9, and **"Nothing is sent anywhere"** although the update check is a request to GitHub; it now
|
||||
names the exception and the one request. The README's safety table still said an exception needed two earlier
|
||||
successful sessions — the rule until beta.11 (D38) made them a trial — and its feature list promised "per-process VRAM
|
||||
and whether the driver was exceeding its budget"; both now say what the software does. The tier tooltip names the
|
||||
game's memory beside the duration and the sensors.
|
||||
- **The Legal Gate showed the documents as raw Markdown** (`**bold**`, `| --- |`) in a text box, and Help ▸ Limitations
|
||||
and the update notes the same; they are rendered now (above). The Legal Gate's *View on GitHub* went around the App's
|
||||
link opener; it goes through it.
|
||||
|
||||
@@ -134,6 +134,8 @@ tools/ # changelog-check, chokepoint-check, coverage-gat
|
||||
# hook-harness -> dummy D3D11 + D3D12 + Vulkan + OpenGL app
|
||||
# (--vulkan since #140, --opengl since #141)
|
||||
rules/detection-rules.json # engine/platform/capability + anticheat blocklist
|
||||
guide/ # the user guide (beta.12, D44): eight short English pages for players, embedded in the
|
||||
# App (Help > User guide); README.md is its contents. docs/ is for developers.
|
||||
docs/ legal/ legal/licenses/
|
||||
```
|
||||
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
|
||||
> No telemetry. No accounts. All data stays on your machine.
|
||||
|
||||
**New here? Start with the [user guide](guide/README.md)** — install, record a game, read your results, stay safe with
|
||||
anti-cheat, and look after your data, a page each. What FrameLedger cannot do is on one page:
|
||||
[Limitations](LIMITATIONS.md). Both are in the app too (Help ▸ User guide, Help ▸ Limitations).
|
||||
|
||||
<!-- accuracy-block:begin -->
|
||||
> ⚠ **What FrameLedger actually measures today — 2026-10-03.** The software is a beta; its latest
|
||||
> **pre-release is `0.1.0-beta.11`** (2026-10-03), an unsigned installer built from that tag with its
|
||||
@@ -104,7 +108,7 @@ Most tools tell you your frame rate. FrameLedger tells you **what produced that
|
||||
- **Which upscaler is running** — DLSS / FSR, read from the API the game calls, not guessed from files on disk. Intel XeSS is not read: its SDK licence forbids it.
|
||||
- **Frame Generation, measured** — native and generated frames counted separately. Shown as `62 → 118 FPS (×1.9 FG)` when both are counted, and as a qualified Presented FPS when they are not — never as one inflated number.
|
||||
- **Ray tracing, actually detected** — including inline ray tracing (DXR 1.1 `RayQuery`), which frame-counting tools miss entirely.
|
||||
- **Per-process VRAM** and whether the driver was exceeding its budget (a real stutter explanation).
|
||||
- **The game's own VRAM and RAM** — Task Manager's figures for the game's process, read from outside the game in every session, with mean, median and peak (since beta.12). ~~and whether the driver was exceeding its budget~~ — the video-memory budget is not measured yet.
|
||||
- **Shader-compilation stutter attribution** — which frame spikes were pipeline compiles.
|
||||
- **PC latency** when the game uses Reflex.
|
||||
|
||||
@@ -121,7 +125,7 @@ FrameLedger is built to keep that risk small and to be honest about it:
|
||||
| Safeguard | |
|
||||
|---|---|
|
||||
| **Off by default** | Injection is disabled for every game until you enable it individually, after a consent prompt |
|
||||
| **Hard refusal** | Known anti-cheat/anti-tamper components are detected before injection and every 30 s during a session. Detected ⇒ FrameLedger refuses, or stops capturing at the next scan — so up to 30 s can pass before it reacts to anti-cheat that loads mid-session. For Direct3D/OpenGL that means hooks are removed; for Vulkan it means the layer goes passthrough, because a layer cannot leave the loader chain of a running game. **There is no override — not in settings, not in a config file, not on the command line**<br><br>**One narrow exception since beta.9 (owner decision D33):** per game, after its own disclosure and only while a Settings option (off by default) is on, a game whose only finding is one anti-cheat that runs entirely in user mode — no driver file in its folder, on no title list — and that FrameLedger has measured successfully at least twice may be hooked under a user-mode exception. The guard still runs every check under it, refuses anything else it finds, and ends it on anything new; a ban remains possible (`legal/DISCLAIMER.md` §2A).<br><br>✅ **Both halves run since 2026-09-10.** The *pre-injection* refusal runs every documented check, and during every capture the Agent re-runs them every 30 s: the component inside the game removes its hooks within one frame of being told to, and within 65 s if it stops hearing from the scanner. *(Until 2026-09-15 this cell said the in-session re-scan did not run at all, which stopped being true when the Agent's capture loop landed.)* For a Vulkan title the stop is the layer's own: it checks the scanner's counter on every present and goes passthrough within one present of the stop flag, or after 65 s without a scan — a title that has stopped presenting is not stopped by that deadline, and presents nothing to be observed either. |
|
||||
| **Hard refusal** | Known anti-cheat/anti-tamper components are detected before injection and every 30 s during a session. Detected ⇒ FrameLedger refuses, or stops capturing at the next scan — so up to 30 s can pass before it reacts to anti-cheat that loads mid-session. For Direct3D/OpenGL that means hooks are removed; for Vulkan it means the layer goes passthrough, because a layer cannot leave the loader chain of a running game. **There is no override — not in settings, not in a config file, not on the command line**<br><br>**One narrow exception since beta.9 (owner decisions D33, D38):** per game, after its own disclosure and only while a Settings option (off by default) is on, a game whose only finding is one anti-cheat that runs entirely in user mode — no driver file in its folder, on no title list — may be hooked under a user-mode exception. ~~and that FrameLedger has measured successfully at least twice~~ *(corrected 2026-10-03: since beta.11, D38, a grant needs no earlier session; its first two hooked sessions are a trial, and one that does not go well ends it for good.)* The guard still runs every check under it, refuses anything else it finds, and ends it on anything new; a ban remains possible (`legal/DISCLAIMER.md` §2A).<br><br>✅ **Both halves run since 2026-09-10.** The *pre-injection* refusal runs every documented check, and during every capture the Agent re-runs them every 30 s: the component inside the game removes its hooks within one frame of being told to, and within 65 s if it stops hearing from the scanner. *(Until 2026-09-15 this cell said the in-session re-scan did not run at all, which stopped being true when the Agent's capture loop landed.)* For a Vulkan title the stop is the layer's own: it checks the scanner's counter on every present and goes passthrough within one present of the stop flag, or after 65 s without a scan — a title that has stopped presenting is not stopped by that deadline, and presents nothing to be observed either. |
|
||||
| **No evasion, ever** | FrameLedger does not hide, rename, obfuscate, or disguise itself. It keeps its real name, real exports, and version info. It is meant to be plainly visible to any security software that looks. This is an architectural rule, not a setting |
|
||||
| **Read-only** | It never reads or writes game memory, never modifies game behavior, never touches saves or input, and never changes GPU clocks, fans, or power limits |
|
||||
| **Always a way out** | FrameLedger refuses rather than pushes through. When the guard finds anti-cheat, or the hook fails, or you have not enabled a game, it **stops** — and records the session anyway: start, end, duration, whatever hardware sensors your machine provides, and the reason there is nothing else. Every measured value reads `N/A`; it never estimates one.<br><br>**The way out is that it does not inject, not that it measures another way.** An earlier version of this row promised a no-injection measurement mode. It was designed around Intel PresentMon, that was dropped on 2026-08-27 after measurement, and no replacement was chosen — so **frame times require hooking**. Said in this row rather than a footnote because the row is in the SAFETY table, and a reader deciding whether to enable a game needs the real alternative, not a comfortable one |
|
||||
@@ -133,29 +137,20 @@ FrameLedger is built to keep that risk small and to be honest about it:
|
||||
| Tier | How | What you get |
|
||||
|---|---|---|
|
||||
| **1** | Injected hooks (opt-in, per game) | Everything above |
|
||||
| **2** | None — nothing is injected | **Session duration, whatever hardware telemetry your machine can provide, and why there is nothing else** (which check refused, or that the hook failed, was not enabled, or the game is 32-bit). On NVIDIA that telemetry is measured to be GPU temperature, load, power, clocks, VRAM in use and fan speed, with no elevation; AMD and Intel are untested. Everything else reads `N/A` |
|
||||
| **2** | None — nothing is injected | **Session duration, whatever hardware telemetry your machine can provide, the game's own memory use (read from Windows, outside the game; since beta.12), and why there is nothing else** (which check refused, or that the hook failed, was not enabled, or the game is 32-bit). On NVIDIA that telemetry is measured to be GPU temperature, load, power, clocks, VRAM in use and fan speed, with no elevation; AMD and Intel are untested. Everything else reads `N/A` |
|
||||
|
||||
The tier is recorded on every session and shown in the UI. Metrics unavailable at a session's tier read `N/A` — FrameLedger never substitutes an estimate for a measurement.
|
||||
|
||||
> **This ladder used to have three rungs and a middle one that measured frame times without injecting.** It was to be built on Intel PresentMon; that was dropped on 2026-08-27 after measurement, and no replacement was chosen. **So frame times, FPS and the lows are now Tier-1-only.** Said plainly because the previous README promised them without injection, and a reader who remembers that would otherwise assume it still holds.
|
||||
|
||||
## Architecture
|
||||
|
||||
| Component | Runs as | Role |
|
||||
|---|---|---|
|
||||
| `FrameLedger.exe` | Standard user | Fluent desktop UI (WPF + [WPF UI](https://github.com/lepoco/wpfui)), charts, library, settings |
|
||||
| `FrameLedger.Agent.exe` | Standard user — as administrator only when you turn that on in Settings, and Windows asks at every start (beta.10) | Injection control, safety guard, data collection, GPU telemetry, storage |
|
||||
| `FrameLedger.Overlay.dll` | Inside the game | C++20 hooks + lock-free shared-memory writer. Records only; never analyzes, allocates, or blocks |
|
||||
| `FrameLedger.VkLayer.dll` | Inside the game | Vulkan implicit layer (Vulkan titles use this instead of injection) |
|
||||
|
||||
Elevation is **optional — for everything.** Hooked capture is the normal path and runs as a standard user, and there is no longer any tier that needs more than that. Elevation unlocks exactly two extras: CPU temperature sensors (~~not read yet~~ read with PawnIO, not yet checked on real hardware — see the block above), and attaching to games that themselves run elevated. ~~and the Tier-2 ETW fallback. If you expect to rely on Tier 2, run the Agent elevated.~~ — there is no ETW fallback to rely on. **Since beta.10 it is a choice in Settings** — *Run the agent as administrator*, off by default: Windows asks every time the agent starts, games you start from FrameLedger still run as you, and `LIMITATIONS.md` says what it does not change.
|
||||
|
||||
## Requirements
|
||||
|
||||
- Windows 10 (22H2) or Windows 11, 64-bit
|
||||
- A 64-bit DirectX 11/12 or OpenGL game, or a Vulkan game FrameLedger starts, for hooked (Tier-1) capture. **32-bit games — including most DirectX 9 titles — cannot be measured at all**: the component FrameLedger loads is x64 and an x64 DLL cannot enter a 32-bit process. Such a title records duration and hardware telemetry and nothing else. *(This line previously said "supported at Tier 2 only", which meant frame times without injection. That tier no longer exists.)*
|
||||
- Optional: [PawnIO](https://pawnio.eu/) for CPU temperature, read only when the Agent runs as administrator (since 0.1.0-beta.3; not yet checked on real hardware). CPU load, memory in use and all GPU telemetry work without it
|
||||
|
||||
Elevation is **optional — for everything.** Hooked capture is the normal path and runs as a standard user, and there is no longer any tier that needs more than that. Elevation unlocks exactly two extras: CPU temperature sensors (~~not read yet~~ read with PawnIO, not yet checked on real hardware — see the block above), and attaching to games that themselves run elevated. ~~and the Tier-2 ETW fallback. If you expect to rely on Tier 2, run the Agent elevated.~~ — there is no ETW fallback to rely on. **Since beta.10 it is a choice in Settings** — *Run the agent as administrator*, off by default: Windows asks every time the agent starts, games you start from FrameLedger still run as you, and `LIMITATIONS.md` says what it does not change.
|
||||
|
||||
## Install
|
||||
|
||||
> **The latest pre-release is `v0.1.0-beta.11` (2026-10-03); before it `v0.1.0-beta.10` (2026-09-28), `v0.1.0-beta.9` (2026-09-26), `v0.1.0-beta.8` (2026-09-25), `v0.1.0-beta.7` (2026-09-23), `v0.1.0-beta.6` (2026-09-23), `v0.1.0-beta.5` (2026-09-22), `v0.1.0-beta.4` (2026-09-21), `v0.1.0-beta.3` (2026-09-21), `v0.1.0-beta.2` (2026-09-17) and `v0.1.0-beta.1` (2026-09-16).** They are pre-releases: read `CHANGELOG.md`'s section for the one you install — what it measures, what it does not yet, and how to update — before installing. A source build is `docs/12_BUILD.md`.
|
||||
@@ -170,13 +165,7 @@ Everything lives locally in `%LOCALAPPDATA%\FrameLedger`. The only network calls
|
||||
|
||||
## License
|
||||
|
||||
GPL-3.0-only. See `LICENSE`. Third-party components: [`legal/THIRD_PARTY_NOTICES.md`](legal/THIRD_PARTY_NOTICES.md).
|
||||
|
||||
GPU telemetry is layered so the project never depends on a proprietary vendor licence: a vendor-neutral DXGI/performance-counter baseline, LibreHardwareMonitor (MPL-2.0) for sensors on all vendors, and NVIDIA's NVAPI SDK (MIT) for NVIDIA-only extras (telemetry and the driver's DLSS record today; Reflex latency is not read yet). No Intel or AMD GPU *telemetry* SDK is bundled — see `docs/18_GPU_VENDOR_APIS.md` for why. The one AMD component in the tree is five MIT headers from the FidelityFX SDK, used for types only so the upscaler hook can read an FSR title's own dispatch descriptor; nothing AMD-built is linked or redistributed.
|
||||
|
||||
## Documentation
|
||||
|
||||
Developer/AI-facing docs in [`docs/`](docs/). Start with `CLAUDE.md`, then `docs/19_SAFETY_AND_ANTICHEAT.md` (which constrains everything else), then `docs/01_ARCHITECTURE.md`.
|
||||
GPL-3.0-only (see `LICENSE`), with the additional terms in [`NOTICE`](NOTICE) that GPLv3 section 7 permits: keep the copyright line and the attribution, mark a changed version as changed and do not call it "FrameLedger" alone, and no trademark rights in the name ([`legal/TRADEMARKS.md`](legal/TRADEMARKS.md)). In the app: Help ▸ About. Third-party components: [`legal/THIRD_PARTY_NOTICES.md`](legal/THIRD_PARTY_NOTICES.md).
|
||||
|
||||
## Reporting a safety gap
|
||||
|
||||
@@ -184,6 +173,31 @@ If you find a game with anti-cheat that FrameLedger fails to detect, please open
|
||||
|
||||
**How fast a fix can reach you, stated accurately.** Blocklist entries are data rather than code, so a fix is a one-line change here. But the software has **no rules-update path yet**: it installs the blocklist that shipped with your build and never fetches another (`docs/20_OPEN_QUESTIONS.md` §S20, feed half). Until that exists, a blocklist fix reaches you **only when you install a new release**. This paragraph previously said the opposite, and the sentence it said it in was a response-time promise attached to a security-priority commitment.
|
||||
|
||||
## For developers and forks
|
||||
|
||||
FrameLedger is GPL-3.0-only free software, and you are welcome to build it, change it and redistribute it.
|
||||
|
||||
- **Build it:** [`docs/12_BUILD.md`](docs/12_BUILD.md) — `./build.ps1 check` is the whole quality gate, the same one CI runs.
|
||||
- **Contribute:** [`CONTRIBUTING.md`](CONTRIBUTING.md) — the definition of done, what will not be merged, and that a
|
||||
contribution is licensed GPL-3.0-only with the [`NOTICE`](NOTICE) terms (no CLA). Conduct:
|
||||
[`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md). Security reports: [`SECURITY.md`](SECURITY.md).
|
||||
- **Fork or redistribute:** [`FORKING.md`](FORKING.md) — what the GPL asks of anyone who distributes builds, and the names
|
||||
a fork must change so it does not share FrameLedger's update feed, install folder, data, pipe or Vulkan layer.
|
||||
- **Read the design:** the developer documentation is in [`docs/`](docs/). Start with [`CLAUDE.md`](CLAUDE.md), then
|
||||
[`docs/19_SAFETY_AND_ANTICHEAT.md`](docs/19_SAFETY_AND_ANTICHEAT.md) — which constrains everything else — then
|
||||
[`docs/01_ARCHITECTURE.md`](docs/01_ARCHITECTURE.md).
|
||||
|
||||
### Architecture
|
||||
|
||||
| Component | Runs as | Role |
|
||||
|---|---|---|
|
||||
| `FrameLedger.exe` | Standard user | Fluent desktop UI (WPF + [WPF UI](https://github.com/lepoco/wpfui)), charts, library, settings |
|
||||
| `FrameLedger.Agent.exe` | Standard user — as administrator only when you turn that on in Settings, and Windows asks at every start (beta.10) | Injection control, safety guard, data collection, GPU telemetry, storage |
|
||||
| `FrameLedger.Overlay.dll` | Inside the game | C++20 hooks + lock-free shared-memory writer. Records only; never analyzes, allocates, or blocks |
|
||||
| `FrameLedger.VkLayer.dll` | Inside the game | Vulkan implicit layer (Vulkan titles use this instead of injection) |
|
||||
|
||||
GPU telemetry is layered so the project never depends on a proprietary vendor licence: a vendor-neutral DXGI/performance-counter baseline, LibreHardwareMonitor (MPL-2.0) for sensors on all vendors, and NVIDIA's NVAPI SDK (MIT) for NVIDIA-only extras (telemetry and the driver's DLSS record today; Reflex latency is not read yet). No Intel or AMD GPU *telemetry* SDK is bundled — see `docs/18_GPU_VENDOR_APIS.md` for why. The one AMD component in the tree is five MIT headers from the FidelityFX SDK, used for types only so the upscaler hook can read an FSR title's own dispatch descriptor; nothing AMD-built is linked or redistributed.
|
||||
|
||||
---
|
||||
|
||||
**Status:** pre-release (beta). Eleven tagged pre-releases so far; see `CHANGELOG.md` for what each one changed and the accuracy block at the top of this file for what is and is not measured. It is not feature-complete, it certainly still has bugs, and `legal/DISCLAIMER.md` §0 says what that means for you.
|
||||
+1
-1
@@ -84,7 +84,7 @@ Requirement IDs (`FR-x`, `NFR-x`) are referenced by other docs, commits, and tes
|
||||
Language (en/vi/ja), theme, start with Windows, minimize to tray, background capture, **global hooking kill switch**, min session length, telemetry interval, retention, Agent elevation (optional — explains what it unlocks), Vulkan layer registration state, update channel, online metadata opt-in, reopen legal documents. **beta.11 (owner request 2026-10-03: no row without a control):** Delete all sessions (FR-1.7, a *Data* section); the elevation state is a line of the admin mode's own row, not a row of its own; the hook-enabled list shows only while a game has hooking on; the language row carries no separate note.
|
||||
|
||||
### FR-11 Legal Gate
|
||||
First run blocks until the user accepts EULA, GPLv3 notice, Disclaimer, Privacy Policy. Re-shown when a document version increments. The injection risk is stated in the Disclaimer *and* repeated at per-game consent (FR-2.1) — once is not enough for something that can cost an account.
|
||||
First run blocks until the user accepts ~~EULA, GPLv3 notice, Disclaimer, Privacy Policy~~ the EULA, the Disclaimer and the Privacy Policy; **the GPLv3 is shown beside them for information and needs no acceptance** (GPLv3 §9 — "You are not required to accept this License in order to receive or run a copy of the Program"; changed beta.12, owner decision D45, `08_UI` §First-run flow). Re-shown when a document version increments. The injection risk is stated in the Disclaimer *and* repeated at per-game consent (FR-2.1) — once is not enough for something that can cost an account.
|
||||
|
||||
### FR-12 Updates
|
||||
Velopack against GitHub Releases; silent startup check, manual check in Help; error dialogs mapped per `11_UPDATER`. **Updates never apply while a game is hooked** — deferred to session end (the DLL on disk must not change under a running game).
|
||||
|
||||
@@ -385,6 +385,10 @@ CREATE TABLE legal_acceptance (doc TEXT PRIMARY KEY, version TEXT NOT NULL, acce
|
||||
> App at build (`GPL-3.0-only` for the licence text) — the App is the only writer, one row per document per
|
||||
> Accept, re-recorded when the embedded version differs from the row's. `20_OPEN_QUESTIONS` §G "Legal doc
|
||||
> versioning" closes on that.
|
||||
>
|
||||
> **Three rows since beta.12 (D45).** The GPL is shown for information and needs no acceptance (GPLv3 §9), so Accept
|
||||
> writes `eula`, `disclaimer` and `privacy` only, and the gate is not held open for `gpl`. A `gpl` row an earlier
|
||||
> version wrote stays, unread (`LegalGate`).
|
||||
|
||||
## Settings registry
|
||||
|
||||
|
||||
+9
-2
@@ -24,12 +24,19 @@ WPF + **WPF UI (Wpf.Ui, Fluent)**. Shell = `ui:FluentWindow` with custom `ui:Tit
|
||||
**Menu bar**
|
||||
- **File:** Add game… · Import library (Steam / GOG / Epic / itch.io) · Export ▸ (Session CSV / Session JSON / Chart PNG) · Exit
|
||||
- **Tools:** Agent status… · Update detection rules · Vulkan layer registration… · Open data folder · Database maintenance…
|
||||
- **Help:** Check for updates · Report a bug… · Documentation · Limitations · About FrameLedger (~~App / Developer / Third-party licenses tabs~~ — built beta.12 as *This app* / *Third-party licences* / *Legal documents*, below)
|
||||
- **Help:** User guide (beta.12) · Check for updates · Report a bug… · ~~Documentation~~ Online documentation · Limitations · About FrameLedger (~~App / Developer / Third-party licenses tabs~~ — built beta.12 as *This app* / *Third-party licences* / *Legal documents*, below)
|
||||
|
||||
> **Help ▸ Limitations, beta.10 (D36):** `LIMITATIONS.md` as the build embeds it (`Services.LimitationsDocument`), in a
|
||||
> read-only, scrolling WPF UI `MessageBox` with *Open on GitHub*. It is information, not one of FR-11's documents:
|
||||
> nothing is accepted or recorded, and the Disclaimer points at it.
|
||||
>
|
||||
> **Help ▸ User guide, beta.12 (D44).** `guide/` — eight short English pages for players (install, record a game, read
|
||||
> your results, anti-cheat and safety, your data, questions and answers, the terms in plain words) — embedded in the
|
||||
> App (`Services.EmbeddedDocuments.Guide`, titles from each page's first heading) and shown in a `Windows/DocumentWindow`
|
||||
> with a page list, Limitations last; a link between guide pages opens the page in the window. Help ▸ Documentation is
|
||||
> *Online documentation*: the README at this build's source. `GuideDocumentsTests` holds every page listed and titled and
|
||||
> every link leading somewhere.
|
||||
>
|
||||
> **Documents are rendered, beta.12 (owner request 4, D45).** Every Markdown document the App shows — the Legal Gate's
|
||||
> three texts, Help ▸ Limitations, the update notes, About's documents — is drawn by `Markdown/MarkdownRenderer`
|
||||
> (Markdig 1.4.0, BSD-2-Clause) into a WPF `FlowDocument` inside `Controls/MarkdownView` (a read-only
|
||||
@@ -610,7 +617,7 @@ Agent section: elevation state with a plain explanation of what elevation *optio
|
||||
> is gone. **Refresh** shows only while a row is *Checking…*, the one time it can change anything.
|
||||
|
||||
### First-run flow
|
||||
1. Legal Gate (FR-11): four documents, scrollable, links to GitHub-hosted versions, single Accept. **Rendered since beta.12** (§Menu, *Documents are rendered*): the Markdown texts drawn, the GPL as written; a link from one document to another the gate shows opens it in the gate; *View on GitHub* opens the document at this build's source, through `IUrlOpener`.
|
||||
1. Legal Gate (FR-11): four documents, scrollable, links to GitHub-hosted versions, single Accept. **Since beta.12 (D45) Accept covers three** — the EULA, the Disclaimer, the Privacy Policy; the GPL is listed as *your licence*, with a line saying it needs no acceptance (GPLv3 §9), and gets no `legal_acceptance` row (`06_DATA_MODEL`). **Rendered since beta.12** (§Menu, *Documents are rendered*): the Markdown texts drawn, the GPL as written; a link from one document to another the gate shows opens it in the gate; *View on GitHub* opens the document at this build's source, through `IUrlOpener`.
|
||||
2. Agent setup: runs **unelevated by default** — a short, honest paragraph explains that elevation is optional and unlocks CPU temperature and elevated-game attach. ~~and the Tier-2 ETW fallback. It must be explicit that **without elevation there is no Tier 2**~~ — **struck 2026-08-28: no tier needs elevation, so there is nothing to warn about here.** Capability check results shown afterwards. ~~with Tier-2 availability listed as its own badge~~ — there is no availability to report.
|
||||
3. Hooking explainer: what Tier 1 vs Tier 2 means — **and it must be explicit that Tier 2 measures nothing**, because the honest version of this screen is the one where a user who declines knows what they are declining — and that hooking stays off until enabled per game.
|
||||
4. Optional library import.
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
Languages: **en** (neutral/default) · **vi** · **ja**. Same `.resx` pattern as the rest of the poli0981 portfolio.
|
||||
|
||||
> **The user guide is English (beta.12, owner decision D44)**, like the legal documents: `guide/` is Markdown the App
|
||||
> embeds and renders, not `.resx` text. The UI around it — the menu item, the window's title — is translated.
|
||||
|
||||
> **Both string families are given the UI culture explicitly (2026-09-21).** `App.ApplyCulture` sets `Strings.Culture`
|
||||
> AND `FrameLedger.Shared.Strings.Culture`. The second was missing: the safety family fell back to the thread's
|
||||
> `CurrentUICulture`, and a culture set inside the App's async start flows with that async context, not to the
|
||||
|
||||
@@ -34,3 +34,37 @@ statement is `legal/ACCURACY.md`, dated.
|
||||
> **This block is maintained by hand and nothing verifies it.** Every other document here is bound to the code by something — `rules-validate` cross-checks the blocklist, `static_assert`s bind `fl_shm.h` to `07_IPC`, `versioninfo-check` and `chokepoint-check` bind claims to binaries. `legal/` is bound by nothing, and it has now gone stale **three times**: first within hours of being written, when the 65-second sentence was added directly beneath a header that said "Three"; then again when five PRs (#40–#44) changed the Overlay from a stub into a hooking, shared-memory-mapping, control-block-reading component and touched **no documentation at all**, leaving the second bullet above asserting four things about that binary that were each false. and a third time when #46–#52 landed — seven PRs, including one (#48) that changed what the Overlay does *inside a game* — with no edit here at all. None of the three drifts was visible from inside the PR that caused it. **Whoever edits any promise in this file must re-count — and whoever changes what `FrameLedger.Overlay` does must re-read this block, because nothing will remind them.**
|
||||
>
|
||||
> **That sentence has now failed twice, so it is being replaced by something that is not a sentence.** `ci.yml` fails a pull request that touches `src/` without touching `CHANGELOG.md`. That is a weaker gate than the ones binding every other document — it forces a *ledger* entry, not a re-read of *this* file — and it is written down as weaker rather than described as a fix. A gate over the claims in `legal/` would have to assert things about behaviour rather than about files, and nobody has designed one (`docs/20_OPEN_QUESTIONS.md` §S23-6).
|
||||
|
||||
---
|
||||
|
||||
## Moved out of the accepted documents on 2026-10-03 (beta.12: Disclaimer 2.10, Privacy Policy 2.6)
|
||||
|
||||
The three blocks below were notes for the documents' maintainers inside texts a user accepts. They moved here unchanged
|
||||
when the user guide (`guide/`) and a rendered Legal Gate made those documents read as what they are — terms — and they
|
||||
are kept because they record what each version changed and why (owner decision D45).
|
||||
|
||||
### The Disclaimer's preface (versions 2.3–2.9)
|
||||
|
||||
> **How this document is kept true.** The statement of what FrameLedger measures (§4) is `legal/ACCURACY.md`,
|
||||
> embedded here and in `README.md` and bound to its source by `tools/accuracy-check.ps1`, which fails the build when a
|
||||
> copy differs. Earlier versions of this document carried a hand-maintained audit of how its own promises drifted from
|
||||
> the software — six re-counts between 2026-08-04 and 2026-09-15; that history is `docs/legal-drift-history.md`,
|
||||
> moved out of the text you accept on 2026-09-16 and kept in full.
|
||||
|
||||
### The Privacy Policy's §2 history note (versions 2.2–2.5)
|
||||
|
||||
> **History.** Versions 2.0 and 2.1 of this document listed three further rows — a weekly safety-list update, a weekly detection-rules update, and an opt-in Steam store lookup — describing requests the software did not make; from 2026-08-04 they carried an audit note saying so. Version 2.2 (2026-09-16) removes them. A privacy policy that lists a transmission which never happens is as wrong as one that omits a transmission which does.
|
||||
|
||||
### The Privacy Policy's §4 history note (versions 2.3–2.5)
|
||||
|
||||
> **History.** Version 2.3 (2026-09-23) adds the per-entry recording switch. Before it, every program in your library was recorded whenever it ran, which recorded a utility that starts with Windows at every boot.
|
||||
>
|
||||
> Version 2.4 (2026-09-25, 0.1.0-beta.8) names what the software reads to check every game in your library for anti-cheat — until then it checked only a game you asked to hook — and to name the versions of its files, and the NVIDIA driver's settings for your games. The files of a library game's folder were already read to detect its engine and features; this version is the first to say so.
|
||||
>
|
||||
> Version 2.5 (2026-09-27, 0.1.0-beta.10) adds how a tracked game's window is shown — read from Windows — and the engine build name read from an Unreal Engine game's executable. It is also the first version to say two things the software already did: it reads the **content** of a library game's executable (markers in its first 8 MB and its import table, since the detection of engines and features; and, when a session starts, the graphics-library markers in the whole file), and it reads the processor load and the memory in use (since 0.1.0-beta.3). Nothing here leaves your device, as before.
|
||||
|
||||
### What version 2.6 of the Privacy Policy changed
|
||||
|
||||
It names the game's own memory use (since beta.12, read from outside the game in every session) where version 2.5
|
||||
named "video-memory usage reported by the graphics runtime" — an in-game figure the software never read — and adds
|
||||
§3A: what an export or a bug report can carry about you before you share it.
|
||||
@@ -0,0 +1,45 @@
|
||||
# Install and first start
|
||||
|
||||
## What you need
|
||||
|
||||
- **Windows 10 (22H2) or Windows 11, 64-bit.**
|
||||
- Games FrameLedger can measure: **64-bit DirectX 11, DirectX 12 and OpenGL games.** Other games — 32-bit games,
|
||||
DirectX 9 games, and Vulkan games you start yourself — are still recorded (how long you played, your PC's sensors,
|
||||
the game's memory use), but not measured. [Limitations](../LIMITATIONS.md) has the full list.
|
||||
|
||||
## Download and install
|
||||
|
||||
1. Download `FrameLedger.App-win-Setup.exe` from the project's
|
||||
[Releases page](https://github.com/poli0981/frameledger/releases) on GitHub.
|
||||
2. **Check the file.** Each release publishes SHA-256 checksums in `SHA256SUMS.txt`. In PowerShell:
|
||||
`Get-FileHash .\FrameLedger.App-win-Setup.exe` — the result must match the line for that file.
|
||||
3. Run it. FrameLedger is free software and is **not code-signed**, so Windows SmartScreen may warn about an unknown
|
||||
publisher. Once the checksum matches, choose **More info ▸ Run anyway**.
|
||||
|
||||
FrameLedger installs into `%LOCALAPPDATA%\FrameLedger.App` and needs no administrator rights. Your recordings are kept
|
||||
separately, in `%LOCALAPPDATA%\FrameLedger`.
|
||||
|
||||
## The first start
|
||||
|
||||
The first window walks you through four short steps:
|
||||
|
||||
1. **Before you start** — the documents. You accept three: the End User License Agreement, the Disclaimer and the
|
||||
Privacy Policy. The GNU GPL v3 is shown too: it is your licence to FrameLedger and needs no acceptance. A short
|
||||
summary sits above them, and [The terms, in plain words](terms-in-plain-words.md) explains them, but the documents
|
||||
are the terms. Declining closes FrameLedger.
|
||||
2. **The capture agent** — the background program that notices when one of your games starts and records it. It runs
|
||||
as you, without administrator rights.
|
||||
3. **What hooking means** — the difference between a game that is recorded and a game that is measured. Read
|
||||
[Anti-cheat and safety](04-anti-cheat-and-safety.md) before you switch hooking on for any game.
|
||||
4. **Your game library** — where to import it from. Nothing is measured until you choose to.
|
||||
|
||||
## Updates
|
||||
|
||||
A few seconds after it starts, FrameLedger asks GitHub whether a newer version exists. A new version downloads in the
|
||||
background and is installed only when you restart FrameLedger — never while a game is being measured. You can switch
|
||||
the check off in **Settings ▸ Updates ▸ Check for updates at startup**, and check by hand with Help ▸ Check for
|
||||
updates.
|
||||
|
||||
## Uninstall
|
||||
|
||||
Uninstall FrameLedger from Windows Settings ▸ Apps. It asks before it deletes your recordings folder.
|
||||
@@ -0,0 +1,47 @@
|
||||
# Record a game
|
||||
|
||||
## 1. Add the game
|
||||
|
||||
- **File ▸ Add game…** — pick the game's `.exe` file.
|
||||
- **File ▸ Import library…** — FrameLedger lists the games installed through Steam, GOG, Epic and itch.io, and you
|
||||
tick the ones to add.
|
||||
|
||||
Every game is added with **hooking off**.
|
||||
|
||||
## 2. Play
|
||||
|
||||
When a game in your library starts, the capture agent records a session by itself. While it runs, the **Dashboard**
|
||||
shows it live. When the game closes, the session is saved and you get a notice. A session shorter than 30 seconds is
|
||||
not kept.
|
||||
|
||||
## Recorded, or measured
|
||||
|
||||
A game in your library is always **recorded**: how long you played, your PC's sensors (GPU temperature, load and power;
|
||||
CPU load; memory in use) and how much memory the game itself used — its video memory and its RAM, read from Windows
|
||||
from outside the game.
|
||||
|
||||
To **measure** a game — frame rate and frame times, the real render resolution, the upscaler, frame generation, ray
|
||||
tracing — FrameLedger has to load a small component into it. That is called **hooking**, and it is a choice you make
|
||||
**one game at a time**: open the game's page (Games ▸ the game) and switch **Hooking** on. A warning explains the risk
|
||||
first. **Read [Anti-cheat and safety](04-anti-cheat-and-safety.md) before you do.**
|
||||
|
||||
In the session list, **T1** marks a measured session and **T2** one that was only recorded; a recorded session says
|
||||
why it was not measured.
|
||||
|
||||
## When FrameLedger will not measure a game
|
||||
|
||||
- **It found anti-cheat.** FrameLedger then turns hooking off for that game and says why on the game's page.
|
||||
- **The game is 32-bit or uses DirectX 9.**
|
||||
- **It is a Vulkan game** you started yourself.
|
||||
- **The game runs as administrator.** Settings ▸ Capture agent ▸ *Run the agent as administrator* can help (off by
|
||||
default; Windows asks every time the agent starts). Read its risk in [Limitations](../LIMITATIONS.md) first.
|
||||
- **The game was already running when FrameLedger was updated** — restart the game once.
|
||||
|
||||
## Programs that are not games
|
||||
|
||||
Open the entry's page and switch **Recording** off: it is then ignored and nothing is recorded.
|
||||
|
||||
## Turning all hooking off
|
||||
|
||||
**Settings ▸ Capture ▸ Disable all hooking** stops every game from being hooked, whatever each game's own switch says. A
|
||||
session that is running stops measuring within 30 seconds.
|
||||
@@ -0,0 +1,50 @@
|
||||
# Read your results
|
||||
|
||||
Open **Games ▸ a game ▸ Sessions**: one row per session. Double-click a row (or press **Open**) for the session's
|
||||
summary. The Dashboard lists your most recent sessions too.
|
||||
|
||||
## N/A means "not measured"
|
||||
|
||||
A value FrameLedger could not measure reads **N/A** — never 0, and never an estimate. A session that was only recorded
|
||||
(**T2**) has N/A for everything that needs hooking, and says why.
|
||||
|
||||
## Frame rate
|
||||
|
||||
- **When frame generation was measured**, the game's own frames and the frames you saw are shown together:
|
||||
`62 → 118 FPS (×1.9 FG)`. If frame generation changed during the session (menus, loading screens, a settings change),
|
||||
the figures are for the state that lasted longest, with the share of the session it covers: `(×1.9 FG · 75%)`.
|
||||
- **When it could not be measured**, you see **Presented FPS** with a sentence saying whether generated frames could be
|
||||
included in it. FrameLedger never shows a single number that may count generated frames as the game's own.
|
||||
- **1% low** and **0.1% low** are the frame rate of the slowest 1% and 0.1% of frames: the further they fall below the
|
||||
average, the less smooth the game felt. **Stutter** counts frames that took much longer than the frames around them,
|
||||
and the share of time they took.
|
||||
|
||||
## Memory
|
||||
|
||||
- **VRAM (this game)** is the game's own video memory — what Task Manager's Details tab calls *Dedicated GPU memory* for
|
||||
the game's process. **RAM (this game)** is its *Memory (private working set)*. Both are read from Windows once a
|
||||
second, from outside the game, whether or not the game was hooked.
|
||||
- The **median** is the typical level during the session; the **peak** is the highest it reached.
|
||||
- *VRAM, whole graphics card* and *RAM in use, whole PC* count everything else running too, so they are usually much higher.
|
||||
- **Statistics per series**, at the bottom of the summary, lists the mean, median, minimum and peak of every sensor.
|
||||
|
||||
## Ray tracing
|
||||
|
||||
**Ray tracing**, **path tracing** and **ray reconstruction** read *Yes*, *No* or *N/A*. Ray tracing is measured on
|
||||
DirectX 12 games; path tracing is never stated as a fact, because nothing in a game's calls says so. Click a chip to
|
||||
correct it by hand — your correction is labelled as yours.
|
||||
|
||||
## Charts
|
||||
|
||||
- **Frametime** — how long each frame took. Spikes are stutters.
|
||||
- **Distribution** — how often each frame rate occurred.
|
||||
- **Sensors** — temperatures, load and power; video memory; memory. The game's own line and the whole card's or the
|
||||
whole PC's are drawn separately.
|
||||
- **Trend** (on the game's page) — one point per session over time, for example before and after a driver update.
|
||||
Changes to your hardware or driver are marked on it.
|
||||
- **Compare** (in the navigation on the left) — pick sessions, even of different games, and see them side by side.
|
||||
|
||||
## Export
|
||||
|
||||
The summary's **Export CSV**, **Export JSON** and **Export PNG** buttons — or File ▸ Export — save a session to a file.
|
||||
Read [Your data](05-your-data.md) before you share one.
|
||||
@@ -0,0 +1,45 @@
|
||||
# Anti-cheat and safety
|
||||
|
||||
## The risk
|
||||
|
||||
To measure a game, FrameLedger loads a small component into it ("hooking"). **Anti-cheat systems can detect that and
|
||||
may warn you, block you, or permanently ban your account** — and a ban can arrive days after the session. The developer
|
||||
cannot reverse a ban, recover progress, or speak to a game's publisher for you.
|
||||
|
||||
**Use hooking for offline and single-player games.** Switching it on for a game with online or competitive play is
|
||||
your decision and your risk.
|
||||
|
||||
## What FrameLedger does to keep the risk small
|
||||
|
||||
- **Hooking is off for every game** until you switch it on for that game, after a warning.
|
||||
- **It looks for anti-cheat** before it hooks a game and every 30 seconds while it is hooked. If it finds any, it
|
||||
refuses — or stops measuring at the next check — and turns hooking off for that game. **There is no switch that
|
||||
overrides this**, apart from the one narrow exception below.
|
||||
- **It never hides.** It keeps its real name and does nothing to avoid being seen by security software.
|
||||
- **It never reads or changes the game's memory**, its saves or your input. It only observes the graphics calls the
|
||||
game makes.
|
||||
|
||||
## What it cannot promise
|
||||
|
||||
- Its list of anti-cheat systems is its own and **can be incomplete**, and a game can add anti-cheat in an update.
|
||||
- Anti-cheat that starts in the middle of a session can be there for **up to 30 seconds** — in the worst case 65 —
|
||||
before FrameLedger stops.
|
||||
- Some anti-tamper software (Denuvo, for example) can make a game **crash** when it is hooked, even offline.
|
||||
|
||||
## The one exception you can make
|
||||
|
||||
**Settings ▸ Capture ▸ User-mode exceptions** (off by default). For a game whose only finding is one anti-cheat that runs
|
||||
entirely inside the game — no driver, nothing else found — you may allow hooking for that game after a separate warning.
|
||||
Its first two hooked sessions are a trial: one that does not go well ends the exception for good. FrameLedger still runs
|
||||
every check under it, and **a ban is still possible.** Kernel anti-cheat is never allowed.
|
||||
|
||||
## Turning everything off
|
||||
|
||||
**Settings ▸ Capture ▸ Disable all hooking** stops all hooking at once, whatever each game's own switch says.
|
||||
|
||||
## If FrameLedger missed a game's anti-cheat
|
||||
|
||||
Please open an issue with the **Safety gap** form on the project's GitHub page. That is treated as a safety bug, with
|
||||
the same priority as a security report. A fix reaches you with the next version you install.
|
||||
|
||||
The full statement of the risk is the [Disclaimer](../legal/DISCLAIMER.md), §2 and §2A.
|
||||
@@ -0,0 +1,49 @@
|
||||
# Your data
|
||||
|
||||
## Where it is
|
||||
|
||||
Everything FrameLedger records stays on your PC, in `%LOCALAPPDATA%\FrameLedger` (Tools ▸ Open data folder): the
|
||||
database with your library and sessions, the logs, and crash reports of FrameLedger itself. There is no account and
|
||||
nothing is uploaded. The only network requests are the update check and the update download, both to GitHub
|
||||
([Install and first start](01-install.md#updates)).
|
||||
|
||||
## What is in it
|
||||
|
||||
Your game library; your sessions — frame times when a game was measured, the statistics, your PC's sensors, the game's
|
||||
own memory use, how the game's window was shown; a short description of your hardware for each session; your tags and
|
||||
notes; your settings. The [Privacy Policy](../legal/PRIVACY_POLICY.md) lists all of it.
|
||||
|
||||
## How much is kept
|
||||
|
||||
The per-frame data of the newest **20 sessions of each game** is kept; older sessions keep their statistics. Change it
|
||||
in **Settings ▸ Recording ▸ Raw series kept per game** (0 keeps everything).
|
||||
|
||||
## Back it up
|
||||
|
||||
**Tools ▸ Database maintenance… ▸ Back up…** writes a consistent copy of the database to a file you choose, even while
|
||||
a game is being recorded. Backing up is up to you — FrameLedger does not do it by itself.
|
||||
|
||||
## Delete it
|
||||
|
||||
- **A game's sessions:** Games ▸ the game ▸ Sessions ▸ **Delete all sessions…**
|
||||
- **A game:** its page ▸ **Remove…**
|
||||
- **Every session of every game:** Settings ▸ Data ▸ **Delete all sessions…**
|
||||
- **Everything:** uninstall FrameLedger and let it delete the data folder, or delete the folder yourself.
|
||||
|
||||
## Share it — carefully
|
||||
|
||||
An exported **CSV** or **JSON** file, and a bug report, can contain:
|
||||
|
||||
- your games' names and **the paths to their files**, which include your **Windows user name** when a game is installed
|
||||
in your user folder;
|
||||
- your PC's processor, graphics card, driver and Windows version;
|
||||
- your tags and notes.
|
||||
|
||||
Look at a file before you share it. **Help ▸ Report a bug…** builds the report on your PC, shows you every file in it,
|
||||
and removes your user folder's path from the logs; you decide whether to attach it to an issue on GitHub. An export is
|
||||
written as it is. Once you share a file, whoever receives it — and the site you post it to — can read it.
|
||||
|
||||
## Updating and going back
|
||||
|
||||
A new version upgrades the database in place. **An older version cannot open it afterwards** — there is no downgrade,
|
||||
so keep a backup if you might want to go back.
|
||||
@@ -0,0 +1,49 @@
|
||||
# Questions and answers
|
||||
|
||||
## Why does my session say N/A everywhere?
|
||||
|
||||
The game was recorded, not measured (**T2**): hooking is off for it, FrameLedger found anti-cheat, or the game is one
|
||||
FrameLedger cannot measure. The session's summary says which. See [Record a game](02-record-a-game.md).
|
||||
|
||||
## I switched hooking on, and the game is still not measured.
|
||||
|
||||
FrameLedger refuses a game where it finds anti-cheat, and cannot measure 32-bit games, DirectX 9 games, Vulkan games you
|
||||
start yourself, or a game that runs as administrator (unless the agent does too). A game that was already running when
|
||||
FrameLedger updated needs one restart. The game's page and the session's summary say what happened.
|
||||
|
||||
## Why "Presented FPS" and not the game's own frame rate?
|
||||
|
||||
Because frame generation could not be measured in that session. Presented FPS counts every frame the game handed to
|
||||
Windows, and the sentence beside it says whether generated frames could be among them. FrameLedger never labels a
|
||||
number that may include generated frames as the game's own.
|
||||
|
||||
## Why is the video memory different from my in-game overlay?
|
||||
|
||||
FrameLedger shows what Task Manager shows for the game's process: its *Dedicated GPU memory*. Overlays often show the
|
||||
whole graphics card's use, which includes every other program, or the amount the game is allowed to use. FrameLedger
|
||||
shows the whole card's figure too, separately.
|
||||
|
||||
## Why is the CPU temperature N/A?
|
||||
|
||||
Reading it needs *Run the agent as administrator* (Settings ▸ Capture agent) and the separately installed PawnIO
|
||||
driver — and that reading has not been checked on real hardware yet. CPU load needs neither.
|
||||
|
||||
## Windows warned me when I installed FrameLedger.
|
||||
|
||||
FrameLedger is not code-signed, so SmartScreen does not know its publisher. Check the download against the published
|
||||
SHA-256 checksum before you run it ([Install and first start](01-install.md)).
|
||||
|
||||
## Can I use FrameLedger with online games?
|
||||
|
||||
Recording works with any game. **Hooking** an online or competitive game risks your account — see
|
||||
[Anti-cheat and safety](04-anti-cheat-and-safety.md).
|
||||
|
||||
## Something is wrong. How do I report it?
|
||||
|
||||
**Help ▸ Report a bug…** builds a report on your PC and opens the issue form on GitHub; you decide what to attach. If
|
||||
FrameLedger missed a game's anti-cheat, use the **Safety gap** form instead.
|
||||
|
||||
## Where are the full documents?
|
||||
|
||||
**Help ▸ About ▸ Legal documents**, or Settings ▸ Legal ▸ Reopen the legal documents. What FrameLedger cannot do is in
|
||||
[Limitations](../LIMITATIONS.md).
|
||||
@@ -0,0 +1,24 @@
|
||||
# FrameLedger user guide
|
||||
|
||||
FrameLedger records how your games run on this PC — frame rate, frame times, the settings a game is really rendering
|
||||
with, temperatures, and how much memory the game uses — and keeps every session so you can compare them later.
|
||||
Everything stays on your PC.
|
||||
|
||||
Each page below takes a minute or two to read.
|
||||
|
||||
1. [Install and first start](01-install.md)
|
||||
2. [Record a game](02-record-a-game.md)
|
||||
3. [Read your results](03-read-your-results.md)
|
||||
4. [Anti-cheat and safety](04-anti-cheat-and-safety.md) — read this before you switch hooking on for any game
|
||||
5. [Your data](05-your-data.md)
|
||||
6. [Questions and answers](06-faq.md)
|
||||
7. [The terms, in plain words](terms-in-plain-words.md)
|
||||
|
||||
What FrameLedger cannot do is listed on its own page: [Limitations](../LIMITATIONS.md) (in the app: Help ▸
|
||||
Limitations).
|
||||
|
||||
**FrameLedger is beta software.** It certainly still has bugs. If something goes wrong, Help ▸ Report a bug… builds a
|
||||
report on your PC that you can look at before you decide to share it.
|
||||
|
||||
This guide is part of FrameLedger and describes the version it came with. It is also in the project's repository on
|
||||
GitHub, in the `guide` folder.
|
||||
@@ -0,0 +1,43 @@
|
||||
# The terms, in plain words
|
||||
|
||||
This page sums up the documents FrameLedger shows you. **It is a summary, not the terms:** the documents themselves
|
||||
are the terms, and where this page and a document differ, the document is right. They are all under **Help ▸ About ▸
|
||||
Legal documents**.
|
||||
|
||||
## End User License Agreement — you accept it
|
||||
|
||||
- FrameLedger is **free software** under the GNU GPL v3 (below), and nothing in the agreement takes any of that away.
|
||||
- It records performance data **on your PC**.
|
||||
- It hooks a game **only if you switch that on for that game**, after a warning. If anti-cheat bans your account for
|
||||
it, **that risk is yours**, and the developer cannot undo a ban.
|
||||
- It is **beta** software, provided **without warranty**, and the developer is not liable for damage it causes — as
|
||||
far as the law allows. Rights the law gives you as a consumer, which no agreement can take away, stay yours.
|
||||
- Read it: [EULA](../legal/EULA.md).
|
||||
|
||||
## Disclaimer — you accept it
|
||||
|
||||
How FrameLedger measures, why that can be detected by anti-cheat, what its safety checks can and cannot catch, how
|
||||
accurate its measurements are, that your PC must meet each game's own requirements, and what *Run the agent as
|
||||
administrator* changes. Read it: [Disclaimer](../legal/DISCLAIMER.md).
|
||||
|
||||
## Privacy Policy — you accept it
|
||||
|
||||
Everything stays on your PC: no account, no telemetry, no analytics. The only network requests are the update check
|
||||
and the update download, to GitHub, and the check can be switched off. It lists what FrameLedger can observe, and says
|
||||
that sharing an export or a bug report is your decision. Read it: [Privacy Policy](../legal/PRIVACY_POLICY.md).
|
||||
|
||||
## GNU General Public License v3 — your licence, shown for information
|
||||
|
||||
It gives you the right to **use, study, share and change** FrameLedger. You do not have to accept it to use the
|
||||
program. If you **give copies to others** — changed or not — you must pass on the same freedoms and offer the source
|
||||
code. Read it: [GPL v3](../LICENSE).
|
||||
|
||||
## NOTICE — the copyright line and three extra terms
|
||||
|
||||
The copyright line, and three terms of the kinds the GPL's section 7 allows: keep the copyright line and the
|
||||
attribution; a changed version must say it is changed and must not be called just "FrameLedger"; and the terms give no
|
||||
rights to the FrameLedger name or logo. Read it: [NOTICE](../NOTICE).
|
||||
|
||||
## When the documents change
|
||||
|
||||
A new version of a document you accepted is shown to you again before FrameLedger continues.
|
||||
+6
-10
@@ -1,12 +1,6 @@
|
||||
# FrameLedger — Disclaimer
|
||||
|
||||
**Version:** 2.9 · **Effective:** {{RELEASE_DATE}}
|
||||
|
||||
> **How this document is kept true.** The statement of what FrameLedger measures (§4) is `legal/ACCURACY.md`,
|
||||
> embedded here and in `README.md` and bound to its source by `tools/accuracy-check.ps1`, which fails the build when a
|
||||
> copy differs. Earlier versions of this document carried a hand-maintained audit of how its own promises drifted from
|
||||
> the software — six re-counts between 2026-08-04 and 2026-09-15; that history is `docs/legal-drift-history.md`,
|
||||
> moved out of the text you accept on 2026-09-16 and kept in full.
|
||||
**Version:** 2.10 · **Effective:** {{RELEASE_DATE}}
|
||||
|
||||
## 0. This is pre-release (beta) software
|
||||
|
||||
@@ -42,7 +36,9 @@ Be precise about what that does and does not promise, because the shorter versio
|
||||
|
||||
Install it somewhere only you can write to, and verify the published SHA-256 checksums.
|
||||
|
||||
**What it observes:** arguments the game passes to graphics APIs we intercept (presentation, upscaling, ray tracing, pipeline creation) and video-memory usage reported by the graphics runtime.
|
||||
**What it observes inside the game:** arguments the game passes to graphics APIs we intercept (presentation, upscaling, ray tracing, pipeline creation).
|
||||
|
||||
**What it reads about the game from outside it, in every session:** the game process's own memory use — its dedicated and shared video memory and its working sets, the figures Windows' Task Manager shows — from Windows' performance counters and process-memory information. For a game it does not inject into, FrameLedger opens the game's process for this with the least access Windows offers, once a second, and closes it again; it reads nothing inside the process.
|
||||
|
||||
> **What of that list is observed today is stated once, in §4 below** (the block `legal/ACCURACY.md` carries, dated). The list here describes what the software is designed to observe, and the boundary — API arguments and nothing else — holds for all of it.
|
||||
|
||||
@@ -69,8 +65,8 @@ FrameLedger is designed to reduce that risk substantially:
|
||||
the game exits.
|
||||
- FrameLedger contains **no evasion techniques of any kind** — it does not hide, rename, obfuscate, or disguise itself. It is intended to be plainly identifiable to any security software that looks.
|
||||
|
||||
For completeness about what it *does* run inside the game: besides the intercepted calls themselves, the component starts **one background thread** that sleeps for a second at a time and checks whether it has been told to stop. It reads only FrameLedger's own shared memory. It does not scan the game, enumerate what the system has loaded, or query Windows services — deliberately, because software that does those things from inside a game process looks like the thing this tool is trying not to be mistaken for.
|
||||
- FrameLedger injects into a game only after you enable that game individually. For every other game — and for any game where the safety checks refuse — it records the session's start, end and duration together with whatever hardware sensor readings your machine provides, and reports every other measurement as not available. **There is no measurement mode that works without injecting**; an earlier version of this document described one, and it was never built. FrameLedger never estimates a value it could not measure, and it always shows which of the two modes produced a session. Neither mode requires administrator rights.
|
||||
For completeness about what it *does* run inside the game: besides the intercepted calls themselves, the component starts **one background thread**. It wakes once a second, or when the game loads a library, and then: checks FrameLedger's own shared memory for a request to stop and for the heartbeat of the safety scan described above; asks Windows, by name, whether the graphics, upscaling and frame-generation libraries it knows about are loaded, and puts its interception into the ones that are (for ray tracing it creates one command list on the game's own Direct3D 12 device, to find the functions to intercept); writes its counters to FrameLedger's shared memory; and writes FrameLedger's own log file. It does not scan the game's memory, list the modules or processes on the system, or query Windows services — deliberately, because software that does those things from inside a game process looks like the thing this tool is trying not to be mistaken for.
|
||||
- FrameLedger injects into a game only after you enable that game individually. For every other game — and for any game where the safety checks refuse — it records the session's start, end and duration together with whatever hardware sensor readings your machine provides and the game's own memory use as Windows reports it (§1), and reports every other measurement as not available. **There is no measurement mode that works without injecting**; an earlier version of this document described one, and it was never built. FrameLedger never estimates a value it could not measure, and it always shows which of the two modes produced a session. Neither mode requires administrator rights.
|
||||
|
||||
**However, these protections cannot be complete:**
|
||||
|
||||
|
||||
+9
-5
@@ -1,6 +1,6 @@
|
||||
# FrameLedger — End User License Agreement (EULA)
|
||||
|
||||
**Version:** 1.4 · **Effective:** {{RELEASE_DATE}}
|
||||
**Version:** 1.5 · **Effective:** {{RELEASE_DATE}}
|
||||
|
||||
This End User License Agreement ("Agreement") applies to **FrameLedger** ("the Software"), developed and published by **poli0981** ("the Developer"), contactable at <contact@poli0981.dev> — see <https://poli0981.dev/> for other contact channels.
|
||||
|
||||
@@ -10,7 +10,7 @@ The Software is free and open-source software licensed to you under the **GNU Ge
|
||||
|
||||
## 2. What the Software does
|
||||
|
||||
The Software records game performance data, hardware telemetry (temperatures, load, memory usage), and game metadata, and stores this data **locally on your device**. Details are described in the Privacy Policy and Disclaimer accompanying the Software.
|
||||
The Software records game performance data, hardware telemetry (temperatures, load, memory usage), each game's own memory use as Windows reports it, and game metadata, and stores this data **locally on your device**. Details are described in the Privacy Policy and Disclaimer accompanying the Software.
|
||||
|
||||
## 2A. Code injection — your responsibility
|
||||
|
||||
@@ -28,7 +28,7 @@ By enabling this feature for a game, you confirm that:
|
||||
|
||||
(e) the Developer has no ability to reverse a ban, recover lost progress, or intervene with any game publisher on your behalf, and accepts no liability for such outcomes.
|
||||
|
||||
The Software records without injecting unless you enable injection for a specific game. In that mode it records only the session's duration and whatever hardware sensor data is available, indicates that mode on the session, and reports unavailable measurements as such rather than estimating them. Neither mode requires the Software's agent to run with administrator rights.
|
||||
The Software records without injecting unless you enable injection for a specific game. In that mode it records only the session's duration, whatever hardware sensor data is available, and the game's own memory use as Windows reports it — read from outside the game, never from the game's memory — indicates that mode on the session, and reports unavailable measurements as such rather than estimating them. Neither mode requires the Software's agent to run with administrator rights.
|
||||
|
||||
## 2B. Pre-release software, and your PC
|
||||
|
||||
@@ -43,11 +43,11 @@ unstable, overheating, overclocked or faulty hardware, are your responsibility a
|
||||
|
||||
## 3. Acceptance
|
||||
|
||||
By clicking "Accept" in the first-run dialog or by using the Software, you confirm that you have read this Agreement, the Disclaimer, and the Privacy Policy.
|
||||
By clicking "Accept" in the first-run dialog or by using the Software, you confirm that you have read this Agreement, the Disclaimer, and the Privacy Policy. The GPL-3.0 is shown in the same dialog for your information: it is your licence to the Software, and you need not accept it to run the Software (GPL-3.0 §9).
|
||||
|
||||
## 4. Third-party components
|
||||
|
||||
The Software includes and interoperates with third-party components listed in `legal/THIRD_PARTY_NOTICES.md`, each under its own license. The optional **PawnIO** kernel driver is a separate third-party product installed by you at your discretion and governed by its own license and terms.
|
||||
The Software includes and interoperates with third-party components listed in `legal/THIRD_PARTY_NOTICES.md` — in an installed copy, `licenses\THIRD_PARTY_NOTICES.md` beside the Software, and Help ▸ About — each under its own license. The optional **PawnIO** kernel driver is a separate third-party product installed by you at your discretion and governed by its own license and terms.
|
||||
|
||||
## 5. No warranty
|
||||
|
||||
@@ -69,6 +69,10 @@ The Software can check for updates via GitHub. Installing updates is always your
|
||||
|
||||
Your rights under the GPL-3.0 continue as described in that license. You may stop using the Software at any time by uninstalling it; local data removal options are offered during uninstall.
|
||||
|
||||
## 10. Your rights as a consumer, and the rest of this Agreement
|
||||
|
||||
Nothing in this Agreement limits any right you have under consumer protection law that cannot be limited or waived by agreement; where such a law applies, the warranty and liability terms above apply only as far as that law allows. If a court finds any provision of this Agreement unenforceable, that provision is enforced to the extent permitted, and the rest of the Agreement remains in effect.
|
||||
|
||||
---
|
||||
|
||||
Contact: <contact@poli0981.dev> · Developer: <https://poli0981.dev/> · Project: <https://github.com/poli0981/frameledger>
|
||||
+7
-11
@@ -1,6 +1,6 @@
|
||||
# FrameLedger — Privacy Policy
|
||||
|
||||
**Version:** 2.5 · **Effective:** {{RELEASE_DATE}}
|
||||
**Version:** 2.6 · **Effective:** {{RELEASE_DATE}}
|
||||
|
||||
**Short version: everything stays on your PC. FrameLedger has no accounts, no telemetry, no analytics, and never uploads your data anywhere.**
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
Stored in `%LOCALAPPDATA%\FrameLedger` on your device:
|
||||
|
||||
- Your game library entries (names, executable paths, metadata you or the app filled in, and whether each one is recorded).
|
||||
- Performance sessions: frame timing series, computed statistics, hardware sensor series (temperatures, load, memory usage), session duration, crash flags, the graphics driver's settings the game ran under (NVIDIA only), how the game's window was shown (full-screen, borderless or windowed, for how long, its size and the monitor's), tags and notes you write.
|
||||
- Performance sessions: frame timing series, computed statistics, hardware sensor series (temperatures, load, memory usage), the game's own memory use (its dedicated and shared video memory, private working set, working set and commit, once a second), session duration, crash flags, the graphics driver's settings the game ran under (NVIDIA only), how the game's window was shown (full-screen, borderless or windowed, for how long, its size and the monitor's), tags and notes you write.
|
||||
- A hardware snapshot per session (CPU/GPU model, driver version, RAM size, OS build, display mode) used for the "what changed between sessions" feature.
|
||||
- App settings, logs (rotated daily — the app keeps 7 days, the capture agent 14 — including the logs written by the component loaded into games), and, after a crash of the app itself, crash dump files.
|
||||
- Which games you enabled code injection for, and when you consented.
|
||||
@@ -27,26 +27,22 @@ FrameLedger makes **no network connections except the following two**, both from
|
||||
|
||||
There is no other request. In particular, the anti-cheat safety list and the detection rules ship **with the build** and are installed locally on first run; the software fetches no rules from anywhere, and it looks nothing up on any store. When a rules feed exists it will be a new version of this document, which the app shows you again before continuing (§6).
|
||||
|
||||
> **History.** Versions 2.0 and 2.1 of this document listed three further rows — a weekly safety-list update, a weekly detection-rules update, and an opt-in Steam store lookup — describing requests the software did not make; from 2026-08-04 they carried an audit note saying so. Version 2.2 (2026-09-16) removes them. A privacy policy that lists a transmission which never happens is as wrong as one that omits a transmission which does.
|
||||
|
||||
GitHub's own privacy practices apply to requests it receives: <https://docs.github.com/privacy>.
|
||||
|
||||
## 3. Bug reports — always manual
|
||||
|
||||
The "Report a bug" feature builds a zip file **on your device**, shows you exactly which files it contains, and lets you inspect them. Nothing is transmitted by the app; **you** decide whether to attach the file to a GitHub issue in your browser. Logs are redacted (user directory paths removed) before bundling. Optional items (crash dumps, last-session metadata) are included only when you tick their checkboxes.
|
||||
|
||||
## 3A. Sharing an export or a bug report
|
||||
|
||||
An exported session (CSV or JSON) and a bug report can contain your games' names and **the paths to their files** — which include your **Windows user name** when a game is installed under your user folder — your hardware model, graphics driver and Windows build, the times you played, and your tags and notes. A bug report removes user directory paths from its logs; an export is written as it is. Look at a file before you share it. Once you share it, it is outside FrameLedger: whoever receives it, and the site you post it to, can read it under their own terms.
|
||||
|
||||
## 4. What the app can technically observe
|
||||
|
||||
To do its job, FrameLedger observes: which of *your tracked* executables — the entries in your library whose recording is on — are running, and their process trees; the parameters your games pass to the graphics APIs it intercepts (presentation, upscaling, ray tracing, pipeline creation); video-memory usage reported by the graphics runtime; loaded module names of a game being captured (for detection and for the anti-cheat safety check); the names of the files in each library game's install folder, the version information of its executable and of the upscaling libraries it ships, the content of its executable file (the markers of the engine and of the graphics libraries it carries, the libraries it imports, and the engine build name an Unreal Engine game carries), and the store files that name it (Steam's and GOG's, on your disk) — to detect its engine, its engine version and its features and to check it for anti-cheat before any injection is possible; the size, position and state of a tracked game's window and the monitor it is on, read from Windows and not from the game, and — for a game FrameLedger injects into — whether the game asked for exclusive full-screen; the NVIDIA driver's settings for your tracked executables (read only: the DLSS and frame-generation overrides the NVIDIA App set); hardware sensor values from your graphics driver's own libraries; and how busy the processor is and how much memory is in use, from Windows' own counters.
|
||||
To do its job, FrameLedger observes: which of *your tracked* executables — the entries in your library whose recording is on — are running, and their process trees; the parameters your games pass to the graphics APIs it intercepts (presentation, upscaling, ray tracing, pipeline creation); the memory use of a tracked game's process — its dedicated and shared video memory, from Windows' GPU performance counters, and its working sets and commit, from Windows' process-memory information, for which a game it does not inject into is opened with the least access Windows offers and closed again (never its memory's content); loaded module names of a game being captured (for detection and for the anti-cheat safety check); the names of the files in each library game's install folder, the version information of its executable and of the upscaling libraries it ships, the content of its executable file (the markers of the engine and of the graphics libraries it carries, the libraries it imports, and the engine build name an Unreal Engine game carries), and the store files that name it (Steam's and GOG's, on your disk) — to detect its engine, its engine version and its features and to check it for anti-cheat before any injection is possible; the size, position and state of a tracked game's window and the monitor it is on, read from Windows and not from the game, and — for a game FrameLedger injects into — whether the game asked for exclusive full-screen; the NVIDIA driver's settings for your tracked executables (read only: the DLSS and frame-generation overrides the NVIDIA App set); hardware sensor values from your graphics driver's own libraries; and how busy the processor is and how much memory is in use, from Windows' own counters.
|
||||
|
||||
It does **not** read game memory outside those API parameters, and does not read game saves, chat, input content, network traffic, or anything unrelated to performance measurement. It records only for programs you added to your library and did not switch recording off for — a program whose recording is off is not watched at all — and injects only into games you individually enabled.
|
||||
|
||||
> **History.** Version 2.3 (2026-09-23) adds the per-entry recording switch. Before it, every program in your library was recorded whenever it ran, which recorded a utility that starts with Windows at every boot.
|
||||
>
|
||||
> Version 2.4 (2026-09-25, 0.1.0-beta.8) names what the software reads to check every game in your library for anti-cheat — until then it checked only a game you asked to hook — and to name the versions of its files, and the NVIDIA driver's settings for your games. The files of a library game's folder were already read to detect its engine and features; this version is the first to say so.
|
||||
>
|
||||
> Version 2.5 (2026-09-27, 0.1.0-beta.10) adds how a tracked game's window is shown — read from Windows — and the engine build name read from an Unreal Engine game's executable. It is also the first version to say two things the software already did: it reads the **content** of a library game's executable (markers in its first 8 MB and its import table, since the detection of engines and features; and, when a session starts, the graphics-library markers in the whole file), and it reads the processor load and the memory in use (since 0.1.0-beta.3). Nothing here leaves your device, as before.
|
||||
|
||||
All of this stays on your device. None of it is transmitted anywhere.
|
||||
|
||||
## 5. Children
|
||||
|
||||
@@ -5,20 +5,28 @@
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:res="clr-namespace:FrameLedger.App"
|
||||
xmlns:local="clr-namespace:FrameLedger.App.Controls">
|
||||
xmlns:local="clr-namespace:FrameLedger.App.Controls"
|
||||
xmlns:services="clr-namespace:FrameLedger.App.Services">
|
||||
<!-- beta.12: a list of pages beside one rendered page; the list hides itself when there is one page. -->
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<!-- A long title wraps rather than being cut under a horizontal scroll bar (NOTICE's did, measured beta.12). -->
|
||||
<ListBox x:Name="PageList"
|
||||
Grid.Column="0"
|
||||
Width="230"
|
||||
Margin="0,0,12,0"
|
||||
AutomationProperties.Name="{x:Static res:Strings.Document_Pages}"
|
||||
DisplayMemberPath="Title"
|
||||
SelectionChanged="OnPageSelected" />
|
||||
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
||||
SelectionChanged="OnPageSelected">
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate DataType="{x:Type services:DocumentPage}">
|
||||
<TextBlock Text="{Binding Title}" TextWrapping="Wrap" />
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
<Border Grid.Column="1" BorderThickness="1" CornerRadius="4" Padding="8,6,0,0"
|
||||
BorderBrush="{DynamicResource ControlStrokeColorDefaultBrush}"
|
||||
Background="{DynamicResource ControlFillColorDefaultBrush}">
|
||||
|
||||
@@ -47,6 +47,10 @@
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="0" Margin="0,0,0,6" Orientation="Horizontal">
|
||||
<!-- beta.12 (D45): the GPL is the user's licence, for information; Accept covers the other three. -->
|
||||
<ui:TextBlock Margin="0,0,12,0" VerticalAlignment="Center" Appearance="Secondary" TextWrapping="Wrap" MaxWidth="460"
|
||||
Text="{x:Static res:Strings.FirstRun_Doc_InformationNote}"
|
||||
Visibility="{Binding ViewModel.SelectedDocument.RequiresAcceptance, Converter={StaticResource InverseBoolToVis}}" />
|
||||
<ui:TextBlock VerticalAlignment="Center" Appearance="Secondary" Text="{Binding ViewModel.SelectedDocument.Version}" />
|
||||
<ui:HyperlinkButton Margin="12,0,0,0"
|
||||
Command="{Binding ViewModel.OpenOnlineCommand}"
|
||||
|
||||
@@ -53,6 +53,8 @@
|
||||
<EmbeddedResource Include="..\..\legal\TRADEMARKS.md" LogicalName="legal/TRADEMARKS.md" />
|
||||
<EmbeddedResource Include="..\..\legal\THIRD_PARTY_NOTICES.md" LogicalName="legal/THIRD_PARTY_NOTICES.md" />
|
||||
<EmbeddedResource Include="..\..\legal\licenses\nuget\INDEX.md" LogicalName="legal/licenses/nuget/INDEX.md" />
|
||||
<!-- beta.12 (D44): the user guide, shown under Help > User guide; English, as the documents are. -->
|
||||
<EmbeddedResource Include="..\..\guide\*.md" LogicalName="guide/%(Filename)%(Extension)" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- beta.12: the source this build was made from, so the App's links into the repository open THIS version's documents
|
||||
|
||||
@@ -71,6 +71,7 @@
|
||||
<MenuItem Header="{x:Static res:Strings.Menu_Tools_DbMaintenance}" Command="{Binding ViewModel.DatabaseMaintenanceCommand}" />
|
||||
</MenuItem>
|
||||
<MenuItem Header="{x:Static res:Strings.Menu_Help}">
|
||||
<MenuItem Header="{x:Static res:Strings.Menu_Help_Guide}" Command="{Binding ViewModel.GuideCommand}" />
|
||||
<MenuItem Header="{x:Static res:Strings.Menu_Help_CheckUpdates}" Command="{Binding ViewModel.CheckForUpdatesCommand}" />
|
||||
<MenuItem Header="{x:Static res:Strings.Menu_Help_ReportBug}" Command="{Binding ViewModel.ReportBugCommand}" />
|
||||
<MenuItem Header="{x:Static res:Strings.Menu_Help_Documentation}" Command="{Binding ViewModel.DocumentationCommand}" />
|
||||
|
||||
@@ -12,9 +12,22 @@ namespace FrameLedger.App.Services;
|
||||
/// </summary>
|
||||
public sealed class DocumentWindows(IUrlOpener urls, IThemeApplier theme, AppearanceSettings appearance, ShellHost shell) : IDocumentWindows
|
||||
{
|
||||
private DocumentWindow? _guide;
|
||||
private DocumentWindow? _limitations;
|
||||
private AboutWindow? _about;
|
||||
|
||||
public void ShowGuide()
|
||||
{
|
||||
if (Reveal(_guide))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_guide = new DocumentWindow(Strings.Guide_Title, EmbeddedDocuments.Guide(), urls, theme, appearance) { Owner = shell.Current };
|
||||
_guide.Closed += (_, _) => _guide = null;
|
||||
_guide.Show();
|
||||
}
|
||||
|
||||
public void ShowLimitations()
|
||||
{
|
||||
if (Reveal(_limitations))
|
||||
|
||||
@@ -20,6 +20,22 @@ public static class EmbeddedDocuments
|
||||
|
||||
public const string PackageIndex = "legal/licenses/nuget/INDEX.md";
|
||||
|
||||
/// <summary>
|
||||
/// The user guide's pages in reading order (beta.12, D44; <c>guide/</c> in the repository). Each page's title is its
|
||||
/// first heading; <see cref="LimitationsDocument"/> closes the list, so the guide's links to it open in the window.
|
||||
/// </summary>
|
||||
public static IReadOnlyList<string> GuidePages { get; } =
|
||||
[
|
||||
"guide/README.md",
|
||||
"guide/01-install.md",
|
||||
"guide/02-record-a-game.md",
|
||||
"guide/03-read-your-results.md",
|
||||
"guide/04-anti-cheat-and-safety.md",
|
||||
"guide/05-your-data.md",
|
||||
"guide/06-faq.md",
|
||||
"guide/terms-in-plain-words.md",
|
||||
];
|
||||
|
||||
/// <summary>An embedded document's text, authoring comments removed.</summary>
|
||||
/// <exception cref="InvalidOperationException">The build did not embed it.</exception>
|
||||
public static string Read(string path)
|
||||
@@ -42,6 +58,29 @@ public static class EmbeddedDocuments
|
||||
Page(Strings.About_Doc_Trademarks, Trademarks),
|
||||
];
|
||||
|
||||
/// <summary>Help ▸ User guide: the guide's pages, each titled by its first heading, and the Limitations page after them.</summary>
|
||||
public static IReadOnlyList<DocumentPage> Guide()
|
||||
{
|
||||
var pages = new List<DocumentPage>(GuidePages.Count + 1);
|
||||
foreach (string path in GuidePages)
|
||||
{
|
||||
string text = Read(path);
|
||||
pages.Add(new DocumentPage(TitleOf(text, path), text, path));
|
||||
}
|
||||
|
||||
pages.Add(new DocumentPage(Strings.Limitations_Title, LimitationsDocument.Load(), LimitationsDocument.ResourceName));
|
||||
return pages;
|
||||
}
|
||||
|
||||
/// <summary>A Markdown page's first heading (<c># Title</c>), or its file name when it has none.</summary>
|
||||
public static string TitleOf(string markdown, string path)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(markdown);
|
||||
ArgumentNullException.ThrowIfNull(path);
|
||||
string? heading = markdown.Split('\n').Select(static l => l.Trim()).FirstOrDefault(static l => l.StartsWith("# ", StringComparison.Ordinal));
|
||||
return heading is null ? System.IO.Path.GetFileNameWithoutExtension(path) : heading[2..].Trim();
|
||||
}
|
||||
|
||||
/// <summary>About ▸ Third-party licences: the notices and the index of every shipped package with its version and licence.</summary>
|
||||
public static IReadOnlyList<DocumentPage> ThirdParty() =>
|
||||
[
|
||||
|
||||
@@ -6,6 +6,9 @@ namespace FrameLedger.App.Services;
|
||||
/// <summary>The Help menu's document windows (beta.12), as a port so the shell's commands are testable without a window.</summary>
|
||||
public interface IDocumentWindows
|
||||
{
|
||||
/// <summary>Help ▸ User guide (beta.12, D44): <c>guide/</c>'s pages, rendered, with Limitations after them.</summary>
|
||||
void ShowGuide();
|
||||
|
||||
/// <summary>Help ▸ Limitations: <c>LIMITATIONS.md</c>, rendered.</summary>
|
||||
void ShowLimitations();
|
||||
|
||||
|
||||
@@ -15,8 +15,11 @@ public static class IssueLink
|
||||
{
|
||||
public const string Repository = "https://github.com/poli0981/frameledger";
|
||||
|
||||
/// <summary>Help ▸ Documentation: the README is the user-facing entry point (`docs/` is developer-facing, README line 126).</summary>
|
||||
public static readonly Uri Documentation = new(Repository + "#readme");
|
||||
/// <summary>
|
||||
/// Help ▸ Online documentation: the README at this build's source (beta.12: it was the repository's front page on
|
||||
/// <c>main</c>, which may describe a newer version than the one installed).
|
||||
/// </summary>
|
||||
public static readonly Uri Documentation = RepositoryLinks.Blob("README.md");
|
||||
|
||||
/// <summary>
|
||||
/// <c>issues/new</c> with the form's field ids (<c>.github/ISSUE_TEMPLATE/bug_report.yml</c>: <c>app-version</c>,
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace FrameLedger.App.Services;
|
||||
/// One of FR-11's documents as this build ships it: its key (the <c>legal_acceptance.doc</c> value), the title shown, the
|
||||
/// version the acceptance row records, the text, and the GitHub-hosted copy — since beta.12 at this build's own source
|
||||
/// (<see cref="RepositoryLinks"/>), with the document's path in the repository (its relative links resolve against it) and
|
||||
/// whether it is a plain text shown as written rather than Markdown (the GPL's <c>LICENSE</c>).
|
||||
/// whether it is a plain text shown as written rather than Markdown (the GPL's <c>LICENSE</c>) — and, since beta.12 (D45),
|
||||
/// whether Accept covers it: the GPL is shown for information and needs no acceptance (GPLv3 §9).
|
||||
/// </summary>
|
||||
public sealed record LegalDocument(string Key, string Title, string Version, string Text, Uri Url, string Path = "", bool IsPlainText = false);
|
||||
public sealed record LegalDocument(string Key, string Title, string Version, string Text, Uri Url, string Path = "", bool IsPlainText = false, bool RequiresAcceptance = true);
|
||||
@@ -60,7 +60,9 @@ public static partial class LegalDocuments
|
||||
? VersionOf(raw) ?? throw new InvalidOperationException($"{path} declares no **Version:** line; FR-11 cannot re-show a document that has no version")
|
||||
: GplVersion;
|
||||
// The GPL is a plain text — Markdown would turn its numbered sections into lists and its indented lines into code.
|
||||
return new LegalDocument(key, title, version, StripComments(raw), RepositoryLinks.Blob(path), path, IsPlainText: !versioned);
|
||||
// beta.12 (D45): the GPL is the user's licence, shown for information — GPLv3 §9: "You are not required to accept
|
||||
// this License in order to receive or run a copy of the Program." Accept covers the other three.
|
||||
return new LegalDocument(key, title, version, StripComments(raw), RepositoryLinks.Blob(path), path, IsPlainText: !versioned, RequiresAcceptance: versioned);
|
||||
}
|
||||
|
||||
[GeneratedRegex(@"\*\*Version:\*\*\s*(?<v>[^\s·]+)", RegexOptions.ExplicitCapture | RegexOptions.CultureInvariant, matchTimeoutMilliseconds: 1000)]
|
||||
|
||||
@@ -6,11 +6,16 @@ using FrameLedger.Application.Persistence;
|
||||
namespace FrameLedger.App.Services;
|
||||
|
||||
/// <summary>
|
||||
/// FR-11 over <c>ILegalAcceptanceStore</c>: the gate is required while any of the four documents has no
|
||||
/// FR-11 over <c>ILegalAcceptanceStore</c>: the gate is required while any document that needs acceptance has no
|
||||
/// acceptance row at this build's version — a first run, or a document whose version moved. Accept writes one
|
||||
/// row per document with the document's own version (<c>06_DATA_MODEL</c> §Writer ownership: the UI's table).
|
||||
/// row per such document with the document's own version (<c>06_DATA_MODEL</c> §Writer ownership: the UI's table).
|
||||
/// D8 stands: accepting here is not a precondition of per-game consent, which has its own dialog.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <b>Three documents, not four, since beta.12 (D45).</b> The GPL is shown for information (GPLv3 §9: no acceptance is
|
||||
/// needed to run the program), so it neither holds the gate open nor gets a row; a <c>gpl</c> row an earlier version
|
||||
/// wrote stays in the table, unread.
|
||||
/// </remarks>
|
||||
public sealed class LegalGate
|
||||
{
|
||||
private readonly ILegalAcceptanceStore _store;
|
||||
@@ -29,7 +34,7 @@ public sealed class LegalGate
|
||||
public async Task<IReadOnlyList<LegalDocument>> OutstandingAsync(CancellationToken ct = default)
|
||||
{
|
||||
var outstanding = new List<LegalDocument>();
|
||||
foreach (LegalDocument document in Documents)
|
||||
foreach (LegalDocument document in Documents.Where(static d => d.RequiresAcceptance))
|
||||
{
|
||||
LegalAcceptance? accepted = await _store.FindAsync(document.Key, ct).ConfigureAwait(false);
|
||||
if (accepted is null || !string.Equals(accepted.Version, document.Version, StringComparison.Ordinal))
|
||||
@@ -43,11 +48,11 @@ public sealed class LegalGate
|
||||
|
||||
public async Task<bool> IsRequiredAsync(CancellationToken ct = default) => (await OutstandingAsync(ct).ConfigureAwait(false)).Count > 0;
|
||||
|
||||
/// <summary>One Accept, four rows — the single button FR-11 specifies.</summary>
|
||||
/// <summary>One Accept, one row per document that needs it — the single button FR-11 specifies.</summary>
|
||||
public async Task AcceptAllAsync(CancellationToken ct = default)
|
||||
{
|
||||
DateTimeOffset now = _clock.GetUtcNow();
|
||||
foreach (LegalDocument document in Documents)
|
||||
foreach (LegalDocument document in Documents.Where(static d => d.RequiresAcceptance))
|
||||
{
|
||||
await _store.RecordAsync(new LegalAcceptance(document.Key, document.Version, now), ct).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
Generated
+9
@@ -358,6 +358,7 @@ public static class Strings
|
||||
nameof(FirstRun_Doc_Disclaimer),
|
||||
nameof(FirstRun_Doc_Eula),
|
||||
nameof(FirstRun_Doc_Gpl),
|
||||
nameof(FirstRun_Doc_InformationNote),
|
||||
nameof(FirstRun_Doc_Privacy),
|
||||
nameof(FirstRun_Explainer_Header),
|
||||
nameof(FirstRun_Explainer_Intro),
|
||||
@@ -514,6 +515,7 @@ public static class Strings
|
||||
nameof(Guard_SuspiciousUnsigned),
|
||||
nameof(Guard_TargetIsVulkanLayered),
|
||||
nameof(Guard_TargetIsWow64),
|
||||
nameof(Guide_Title),
|
||||
nameof(Hooking_NotX64_Format),
|
||||
nameof(Import_Add),
|
||||
nameof(Import_Column_Exe),
|
||||
@@ -607,6 +609,7 @@ public static class Strings
|
||||
nameof(Menu_Help_About),
|
||||
nameof(Menu_Help_CheckUpdates),
|
||||
nameof(Menu_Help_Documentation),
|
||||
nameof(Menu_Help_Guide),
|
||||
nameof(Menu_Help_Limitations),
|
||||
nameof(Menu_Help_ReportBug),
|
||||
nameof(Menu_Tools),
|
||||
@@ -1639,6 +1642,8 @@ public static class Strings
|
||||
|
||||
public static string FirstRun_Doc_Gpl => ResourceManager.GetString(nameof(FirstRun_Doc_Gpl), Culture) ?? nameof(FirstRun_Doc_Gpl);
|
||||
|
||||
public static string FirstRun_Doc_InformationNote => ResourceManager.GetString(nameof(FirstRun_Doc_InformationNote), Culture) ?? nameof(FirstRun_Doc_InformationNote);
|
||||
|
||||
public static string FirstRun_Doc_Privacy => ResourceManager.GetString(nameof(FirstRun_Doc_Privacy), Culture) ?? nameof(FirstRun_Doc_Privacy);
|
||||
|
||||
public static string FirstRun_Explainer_Header => ResourceManager.GetString(nameof(FirstRun_Explainer_Header), Culture) ?? nameof(FirstRun_Explainer_Header);
|
||||
@@ -1951,6 +1956,8 @@ public static class Strings
|
||||
|
||||
public static string Guard_TargetIsWow64 => ResourceManager.GetString(nameof(Guard_TargetIsWow64), Culture) ?? nameof(Guard_TargetIsWow64);
|
||||
|
||||
public static string Guide_Title => ResourceManager.GetString(nameof(Guide_Title), Culture) ?? nameof(Guide_Title);
|
||||
|
||||
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);
|
||||
@@ -2137,6 +2144,8 @@ public static class Strings
|
||||
|
||||
public static string Menu_Help_Documentation => ResourceManager.GetString(nameof(Menu_Help_Documentation), Culture) ?? nameof(Menu_Help_Documentation);
|
||||
|
||||
public static string Menu_Help_Guide => ResourceManager.GetString(nameof(Menu_Help_Guide), Culture) ?? nameof(Menu_Help_Guide);
|
||||
|
||||
public static string Menu_Help_Limitations => ResourceManager.GetString(nameof(Menu_Help_Limitations), Culture) ?? nameof(Menu_Help_Limitations);
|
||||
|
||||
public static string Menu_Help_ReportBug => ResourceManager.GetString(nameof(Menu_Help_ReportBug), Culture) ?? nameof(Menu_Help_ReportBug);
|
||||
|
||||
@@ -314,7 +314,7 @@
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="Menu_Help_Documentation" xml:space="preserve">
|
||||
<value>ドキュメント</value>
|
||||
<value>オンライン ドキュメント</value>
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="Menu_Help_Limitations" xml:space="preserve">
|
||||
@@ -1218,7 +1218,7 @@
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="Tier_NotHooked_Tooltip" xml:space="preserve">
|
||||
<value>ティア 2: フックなし — 時間とセンサーのみ。フレーム由来の値はすべて N/A</value>
|
||||
<value>ティア 2: フックなし — 時間、センサー、ゲームのメモリのみ。フレームから算出する値はすべて N/A</value>
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="Upscaler_None" xml:space="preserve">
|
||||
@@ -2186,7 +2186,7 @@
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="FirstRun_Accept" xml:space="preserve">
|
||||
<value>4 つすべてに同意する</value>
|
||||
<value>同意する</value>
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="FirstRun_Agent_Body" xml:space="preserve">
|
||||
@@ -2238,7 +2238,7 @@
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="FirstRun_Doc_Gpl" xml:space="preserve">
|
||||
<value>GNU GPL v3</value>
|
||||
<value>GNU GPL v3(あなたのライセンス)</value>
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="FirstRun_Doc_Privacy" xml:space="preserve">
|
||||
@@ -2270,7 +2270,7 @@
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="FirstRun_Legal_Body" xml:space="preserve">
|
||||
<value>4 つの文書は、このソフトウェアが何を行い、何を行わず、どのような代償があり得るかを説明します。お読みください。「同意する」は 4 つすべてに適用されます。拒否すると FrameLedger は終了します。</value>
|
||||
<value>3 つの文書が、このソフトウェアが何をし、何をしないか、そしてあなたにどんな代償があり得るかを説明しています。「同意する」はこの 3 つに適用されます。GNU GPL v3 も表示されます。これは FrameLedger に対するあなたのライセンスで、同意は不要です。同意しない場合、FrameLedger は終了します。</value>
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="FirstRun_Legal_Header" xml:space="preserve">
|
||||
@@ -2761,12 +2761,12 @@
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="FirstRun_Legal_Summary" xml:space="preserve">
|
||||
<value>要点 — 同意する前にお読みください:
|
||||
• これはベータ版(プレリリース)です。不具合は確実に残っており、それによって生じた問題について開発者は責任を負いません。
|
||||
• お使いの PC は、ゲームの開発元またはパブリッシャーが公表している最低動作環境を少なくとも満たしている必要があります。先にご確認ください。それを下回る PC で起きた問題は FrameLedger ではなく、あなたの責任です。
|
||||
• フックは、あなたが同意した場合にのみ、ゲームごとにコンポーネントをゲームへ読み込みます。アンチチートはこれを理由にアカウントを BAN することがあります。FrameLedger はアンチチートを検出した場合は拒否し、そのゲームのフックをオフにします。この拒否を回避する方法はありません。
|
||||
• どこにも何も送信されません。記録はこの PC に残り、バックアップはご自身で行ってください。
|
||||
以下の文書が正式な条項であり、この要約はそれらに代わるものではありません。</value>
|
||||
<value>要約 — 同意する前にお読みください:
|
||||
• これはベータ版(プレリリース)です。確実にまだ不具合があり、それによって生じた問題について開発者は責任を負いません。
|
||||
• お使いの PC は、ゲームの開発元またはパブリッシャーが示す最小要件を満たしている必要があります。まずそれを確認してください。要件を満たさない PC での問題は FrameLedger ではなくあなたの責任です。
|
||||
• フックは、あなたが同意した後に限り、ゲームごとにコンポーネントをゲームへ読み込みます。アンチチートはそれを理由にアカウントを停止することがあり、停止は数日後に来ることもあります。FrameLedger はアンチチートを検出すると拒否し、そのゲームのフックをオフにします。唯一の例外は、完全にユーザーモードで動作するアンチチートについて、あなた自身がゲームごとに設定できるものです。その場合のリスクはあなたが負います。
|
||||
• 記録はこの PC に保存され、バックアップはあなたの責任です。ネットワーク通信は GitHub への更新の確認とダウンロードのみで、確認はオフにできます。
|
||||
以下の文書が完全な条件です。この要約はそれに代わるものではありません。</value>
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="Blocked_Module_Format" xml:space="preserve">
|
||||
@@ -3833,4 +3833,16 @@
|
||||
<value>パッケージのライセンス</value>
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="Menu_Help_Guide" xml:space="preserve">
|
||||
<value>ユーザー ガイド</value>
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="Guide_Title" xml:space="preserve">
|
||||
<value>FrameLedger ユーザー ガイド</value>
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
<data name="FirstRun_Doc_InformationNote" xml:space="preserve">
|
||||
<value>FrameLedger に対するあなたのライセンスです。参考として表示しています。プログラムを実行するために同意する必要はありません(GPLv3 第 9 条)。</value>
|
||||
<comment>review</comment>
|
||||
</data>
|
||||
</root>
|
||||
@@ -241,7 +241,7 @@
|
||||
<value>Check for updates</value>
|
||||
</data>
|
||||
<data name="Menu_Help_Documentation" xml:space="preserve">
|
||||
<value>Documentation</value>
|
||||
<value>Online documentation</value>
|
||||
</data>
|
||||
<data name="Menu_Help_Limitations" xml:space="preserve">
|
||||
<value>Limitations</value>
|
||||
@@ -919,7 +919,7 @@
|
||||
<value>T2</value>
|
||||
</data>
|
||||
<data name="Tier_NotHooked_Tooltip" xml:space="preserve">
|
||||
<value>Tier 2: not hooked — duration and sensors only; every frame-derived value is N/A</value>
|
||||
<value>Tier 2: not hooked — duration, sensors and the game's memory only; every frame-derived value is N/A</value>
|
||||
</data>
|
||||
<data name="Upscaler_None" xml:space="preserve">
|
||||
<value>No upscaler</value>
|
||||
@@ -1645,7 +1645,7 @@
|
||||
<value>FrameLedger — recording {0} without measuring</value>
|
||||
</data>
|
||||
<data name="FirstRun_Accept" xml:space="preserve">
|
||||
<value>Accept all four</value>
|
||||
<value>Accept</value>
|
||||
</data>
|
||||
<data name="FirstRun_Agent_Body" xml:space="preserve">
|
||||
<value>FrameLedger starts a small capture agent beside itself, as a standard user — not elevated. Elevation is optional and is not required by any capture tier: it only unlocks CPU temperature (through PawnIO) and attaching to games that run elevated themselves. Below is what the agent reports about this machine.</value>
|
||||
@@ -1684,7 +1684,7 @@
|
||||
<value>End User License Agreement</value>
|
||||
</data>
|
||||
<data name="FirstRun_Doc_Gpl" xml:space="preserve">
|
||||
<value>GNU GPL v3</value>
|
||||
<value>GNU GPL v3 (your licence)</value>
|
||||
</data>
|
||||
<data name="FirstRun_Doc_Privacy" xml:space="preserve">
|
||||
<value>Privacy Policy</value>
|
||||
@@ -1708,7 +1708,7 @@
|
||||
<value>Your library</value>
|
||||
</data>
|
||||
<data name="FirstRun_Legal_Body" xml:space="preserve">
|
||||
<value>Four documents describe what this software does, what it does not do, and what it may cost you. Please read them; Accept covers all four. Declining closes FrameLedger.</value>
|
||||
<value>Three documents describe what this software does, what it does not do, and what it may cost you; Accept covers those three. The GNU GPL v3 is shown too: it is your licence to FrameLedger and needs no acceptance. Declining closes FrameLedger.</value>
|
||||
</data>
|
||||
<data name="FirstRun_Legal_Header" xml:space="preserve">
|
||||
<value>Before you start</value>
|
||||
@@ -2083,8 +2083,8 @@ Open the log folder?</value>
|
||||
<value>In short — please read before you accept:
|
||||
• This is a beta (pre-release). It certainly still has bugs, and the developer is not responsible for problems that result.
|
||||
• Your PC must meet at least the minimum requirements the game's developer or publisher states. Read them first. Problems on a PC below them are your responsibility, not FrameLedger's.
|
||||
• Hooking loads a component into a game, one game at a time, only after you agree. Anti-cheat systems can ban an account for that. FrameLedger refuses where it detects anti-cheat and turns hooking off for that game; there is no way to override that refusal.
|
||||
• Nothing is sent anywhere. Your recordings stay on this PC, and backing them up is up to you.
|
||||
• Hooking loads a component into a game, one game at a time, only after you agree. Anti-cheat systems can ban an account for that, and a ban can come days later. FrameLedger refuses where it detects anti-cheat and turns hooking off for that game; the only exception is one you can make yourself, per game, for anti-cheat that runs entirely in user mode — and the risk is then yours.
|
||||
• Your recordings stay on this PC, and backing them up is up to you. The only network requests are the update check and download, to GitHub; the check can be switched off.
|
||||
The documents below are the full terms; this summary does not replace them.</value>
|
||||
</data>
|
||||
<data name="Blocked_Module_Format" xml:space="preserve">
|
||||
@@ -2885,4 +2885,13 @@ The documents below are the full terms; this summary does not replace them.</val
|
||||
<data name="About_Doc_Packages" xml:space="preserve">
|
||||
<value>Package licences</value>
|
||||
</data>
|
||||
<data name="Menu_Help_Guide" xml:space="preserve">
|
||||
<value>User guide</value>
|
||||
</data>
|
||||
<data name="Guide_Title" xml:space="preserve">
|
||||
<value>FrameLedger user guide</value>
|
||||
</data>
|
||||
<data name="FirstRun_Doc_InformationNote" xml:space="preserve">
|
||||
<value>Your licence to FrameLedger, shown for information: you do not need to accept it to run the program (GPLv3 section 9).</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -236,7 +236,7 @@
|
||||
<value>Kiểm tra cập nhật</value>
|
||||
</data>
|
||||
<data name="Menu_Help_Documentation" xml:space="preserve">
|
||||
<value>Tài liệu</value>
|
||||
<value>Tài liệu trực tuyến</value>
|
||||
</data>
|
||||
<data name="Menu_Help_Limitations" xml:space="preserve">
|
||||
<value>Giới hạn</value>
|
||||
@@ -914,7 +914,7 @@
|
||||
<value>T2</value>
|
||||
</data>
|
||||
<data name="Tier_NotHooked_Tooltip" xml:space="preserve">
|
||||
<value>Tier 2: không hook — chỉ thời lượng và cảm biến; mọi giá trị từ khung hình là N/A</value>
|
||||
<value>Mức 2: không hook — chỉ có thời lượng, cảm biến và bộ nhớ của game; mọi giá trị suy ra từ khung hình đều là N/A</value>
|
||||
</data>
|
||||
<data name="Upscaler_None" xml:space="preserve">
|
||||
<value>Không upscaler</value>
|
||||
@@ -1640,7 +1640,7 @@
|
||||
<value>FrameLedger — đang ghi {0} mà không đo</value>
|
||||
</data>
|
||||
<data name="FirstRun_Accept" xml:space="preserve">
|
||||
<value>Chấp nhận cả bốn</value>
|
||||
<value>Chấp nhận</value>
|
||||
</data>
|
||||
<data name="FirstRun_Agent_Body" xml:space="preserve">
|
||||
<value>FrameLedger khởi động một capture agent nhỏ bên cạnh nó, với quyền người dùng thường — không nâng quyền. Nâng quyền là tuỳ chọn và không tier thu thập nào yêu cầu: nó chỉ mở khoá nhiệt độ CPU (qua PawnIO) và gắn vào game tự chạy với quyền quản trị. Bên dưới là những gì agent báo cáo về máy này.</value>
|
||||
@@ -1679,7 +1679,7 @@
|
||||
<value>Thoả thuận cấp phép người dùng cuối</value>
|
||||
</data>
|
||||
<data name="FirstRun_Doc_Gpl" xml:space="preserve">
|
||||
<value>GNU GPL v3</value>
|
||||
<value>GNU GPL v3 (giấy phép của bạn)</value>
|
||||
</data>
|
||||
<data name="FirstRun_Doc_Privacy" xml:space="preserve">
|
||||
<value>Chính sách quyền riêng tư</value>
|
||||
@@ -1703,7 +1703,7 @@
|
||||
<value>Thư viện của bạn</value>
|
||||
</data>
|
||||
<data name="FirstRun_Legal_Body" xml:space="preserve">
|
||||
<value>Bốn tài liệu mô tả phần mềm này làm gì, không làm gì, và có thể khiến bạn phải trả giá gì. Vui lòng đọc; Chấp nhận áp dụng cho cả bốn. Từ chối sẽ đóng FrameLedger.</value>
|
||||
<value>Ba văn bản mô tả phần mềm này làm gì, không làm gì, và có thể khiến bạn mất gì; nút Chấp nhận áp dụng cho ba văn bản đó. GNU GPL v3 cũng được hiển thị: đó là giấy phép của bạn đối với FrameLedger và không cần chấp nhận. Từ chối sẽ đóng FrameLedger.</value>
|
||||
</data>
|
||||
<data name="FirstRun_Legal_Header" xml:space="preserve">
|
||||
<value>Trước khi bắt đầu</value>
|
||||
@@ -2076,11 +2076,11 @@ Mở thư mục log?</value>
|
||||
</data>
|
||||
<data name="FirstRun_Legal_Summary" xml:space="preserve">
|
||||
<value>Tóm tắt — vui lòng đọc trước khi chấp nhận:
|
||||
• Đây là bản beta (pre-release). Chắc chắn vẫn còn lỗi, và nhà phát triển không chịu trách nhiệm về các sự cố phát sinh.
|
||||
• Máy của bạn phải đáp ứng ít nhất mức cấu hình tối thiểu mà nhà phát triển/nhà phát hành game công bố. Hãy đọc cấu hình tối thiểu trước. Sự cố trên máy dưới mức đó là trách nhiệm của bạn, không phải của FrameLedger.
|
||||
• Hooking nạp một thành phần vào game, từng game một, và chỉ sau khi bạn đồng ý. Hệ thống chống gian lận có thể khoá tài khoản vì việc này. FrameLedger từ chối ở nơi nó phát hiện anti-cheat và tự tắt hooking cho game đó; không có cách nào vượt qua sự từ chối này.
|
||||
• Không có gì được gửi đi đâu cả. Dữ liệu ghi lại nằm trên máy này, và việc sao lưu là của bạn.
|
||||
Các tài liệu bên dưới là điều khoản đầy đủ; phần tóm tắt này không thay thế chúng.</value>
|
||||
• Đây là bản beta (phát hành trước). Chắc chắn vẫn còn lỗi, và nhà phát triển không chịu trách nhiệm cho các sự cố phát sinh.
|
||||
• Máy của bạn phải đạt ít nhất cấu hình tối thiểu mà nhà phát triển hoặc nhà phát hành game công bố. Hãy đọc trước. Sự cố trên máy dưới mức đó là trách nhiệm của bạn, không phải của FrameLedger.
|
||||
• Hooking nạp một thành phần vào game, từng game một, chỉ sau khi bạn đồng ý. Hệ thống anti-cheat có thể khóa tài khoản vì điều đó, và lệnh khóa có thể đến sau nhiều ngày. FrameLedger từ chối khi phát hiện anti-cheat và tắt hooking cho game đó; ngoại lệ duy nhất là ngoại lệ bạn tự tạo, cho từng game, với anti-cheat chạy hoàn toàn ở chế độ người dùng — khi đó rủi ro là của bạn.
|
||||
• Dữ liệu ghi lại nằm trên máy này, và việc sao lưu là do bạn. Yêu cầu mạng duy nhất là kiểm tra và tải bản cập nhật từ GitHub; có thể tắt việc kiểm tra.
|
||||
Các văn bản bên dưới là điều khoản đầy đủ; bản tóm tắt này không thay thế chúng.</value>
|
||||
</data>
|
||||
<data name="Blocked_Module_Format" xml:space="preserve">
|
||||
<value>{0} — mô-đun {1} của nó đã được nạp trong game</value>
|
||||
@@ -2880,4 +2880,13 @@ Các tài liệu bên dưới là điều khoản đầy đủ; phần tóm tắ
|
||||
<data name="About_Doc_Packages" xml:space="preserve">
|
||||
<value>Giấy phép các gói</value>
|
||||
</data>
|
||||
<data name="Menu_Help_Guide" xml:space="preserve">
|
||||
<value>Hướng dẫn sử dụng</value>
|
||||
</data>
|
||||
<data name="Guide_Title" xml:space="preserve">
|
||||
<value>Hướng dẫn sử dụng FrameLedger</value>
|
||||
</data>
|
||||
<data name="FirstRun_Doc_InformationNote" xml:space="preserve">
|
||||
<value>Giấy phép của bạn đối với FrameLedger, hiển thị để bạn biết: bạn không cần chấp nhận nó để chạy chương trình (GPLv3 mục 9).</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -214,7 +214,14 @@ public sealed partial class MainWindowViewModel : ObservableObject, IDisposable
|
||||
[RelayCommand]
|
||||
private async Task ImportLibraryAsync() => _ = await _import.RunAsync().ConfigureAwait(true);
|
||||
|
||||
/// <summary>Help ▸ Documentation (P4 PR-3): the README is the user-facing entry point; `docs/` is the developers'.</summary>
|
||||
/// <summary>Help ▸ User guide (beta.12, D44): the guide this build carries, rendered, in a window of its own.</summary>
|
||||
[RelayCommand]
|
||||
private void Guide() => _documents.ShowGuide();
|
||||
|
||||
/// <summary>
|
||||
/// Help ▸ Online documentation (P4 PR-3; renamed beta.12): the README at this build's source — the user guide is
|
||||
/// in the App now, so this is the repository's front page, with the developers' documents behind it.
|
||||
/// </summary>
|
||||
[RelayCommand]
|
||||
private void Documentation()
|
||||
{
|
||||
|
||||
@@ -203,7 +203,7 @@ public sealed class BugReportFlowTests : IDisposable
|
||||
"https://github.com/poli0981/frameledger/issues/new?template=bug_report.yml&title=%5BBug%5D%20&labels=bug&app-version=0.1.0&os=Windows%2011%2026100.2314");
|
||||
IssueLink.OsText(new Version(10, 0, 26100, 2314)).Should().Be("Windows 11 26100.2314");
|
||||
IssueLink.OsText(new Version(10, 0, 19045, 0)).Should().Be("Windows 10 19045");
|
||||
IssueLink.Documentation.AbsoluteUri.Should().Be("https://github.com/poli0981/frameledger#readme");
|
||||
IssueLink.Documentation.AbsoluteUri.Should().Be("https://github.com/poli0981/frameledger/blob/main/README.md", "the README at this build's source (main for a test build), beta.12");
|
||||
IssueLink.Markdown(new Dictionary<string, string>(StringComparer.Ordinal) { ["a"] = "x|y" }).Should().Contain("| `a` | x\\|y |", "a pipe in a value must not break the table");
|
||||
}
|
||||
}
|
||||
@@ -56,6 +56,43 @@ public sealed class DocumentWindowsTests
|
||||
AboutWindow.SourceCode.Should().Be(new Uri("https://github.com/poli0981/frameledger/tree/main"));
|
||||
}
|
||||
|
||||
/// <summary>beta.12 (D44): Help ▸ User guide — the guide's pages with a list, Limitations last, a section link opening its page.</summary>
|
||||
[Fact]
|
||||
public async Task TheGuideListsItsPagesAndOpensAnotherPageAtItsSection()
|
||||
{
|
||||
var urls = new NoUrlOpener();
|
||||
var facts = await PagesLoadTests.OnStaAsync(() =>
|
||||
{
|
||||
var window = new DocumentWindow(Strings.Guide_Title, EmbeddedDocuments.Guide(), urls, new NoTheme(), new AppearanceSettings(new MemorySettings()));
|
||||
try
|
||||
{
|
||||
string? first = window.Pages.SelectedPage?.Path;
|
||||
bool shown = window.Pages.Show("guide/01-install.md", "updates");
|
||||
return new
|
||||
{
|
||||
Pages = window.Pages.Pages.Count,
|
||||
First = first,
|
||||
Shown = shown,
|
||||
Now = window.Pages.SelectedPage?.Path,
|
||||
ListShown = window.Pages.FindName("PageList") is UIElement { Visibility: Visibility.Visible },
|
||||
Unknown = window.Pages.Show("docs/03_METRICS.md"),
|
||||
};
|
||||
}
|
||||
finally
|
||||
{
|
||||
window.Close();
|
||||
}
|
||||
});
|
||||
|
||||
facts.Pages.Should().Be(EmbeddedDocuments.GuidePages.Count + 1);
|
||||
facts.First.Should().Be("guide/README.md");
|
||||
facts.Shown.Should().BeTrue();
|
||||
facts.Now.Should().Be("guide/01-install.md");
|
||||
facts.ListShown.Should().BeTrue();
|
||||
facts.Unknown.Should().BeFalse("a file the window does not hold opens on GitHub instead");
|
||||
urls.Opened.Should().BeEmpty();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task LimitationsIsOnePageWithNoListAndOpensOnGitHubAtThisBuildsSource()
|
||||
{
|
||||
|
||||
@@ -10,8 +10,9 @@ using FrameLedger.Infrastructure.Persistence;
|
||||
namespace FrameLedger.App.Tests;
|
||||
|
||||
/// <summary>
|
||||
/// FR-11: required on an empty ledger and after a version moves, one Accept writes four rows at the documents'
|
||||
/// versions, a decline writes nothing and ends the flow, the steps advance, and read-only mode records nothing.
|
||||
/// FR-11: required on an empty ledger and after a version moves, one Accept writes a row per document that needs
|
||||
/// acceptance at the documents' versions — three since beta.12 (D45): the GPL is shown for information — a decline writes
|
||||
/// nothing and ends the flow, the steps advance, and read-only mode records nothing.
|
||||
/// </summary>
|
||||
public sealed class FirstRunViewModelTests
|
||||
{
|
||||
@@ -20,7 +21,7 @@ public sealed class FirstRunViewModelTests
|
||||
private static IReadOnlyList<LegalDocument> Docs { get; } =
|
||||
[
|
||||
new("eula", "EULA", "1.0", "text", new Uri("https://github.com/x/eula")),
|
||||
new("gpl", "GPL", "GPL-3.0-only", "text", new Uri("https://github.com/x/gpl")),
|
||||
new("gpl", "GPL", "GPL-3.0-only", "text", new Uri("https://github.com/x/gpl"), RequiresAcceptance: false),
|
||||
new("disclaimer", "Disclaimer", "2.0", "text", new Uri("https://github.com/x/d")),
|
||||
new("privacy", "Privacy", "2.0", "text", new Uri("https://github.com/x/p")),
|
||||
];
|
||||
@@ -31,7 +32,7 @@ public sealed class FirstRunViewModelTests
|
||||
await using ScratchLedger s = await ScratchLedger.OpenAsync();
|
||||
var store = new SqliteLegalAcceptanceStore(s.Db);
|
||||
var gate = new LegalGate(store, Docs);
|
||||
(await gate.OutstandingAsync(Ct)).Should().HaveCount(4);
|
||||
(await gate.OutstandingAsync(Ct)).Select(static d => d.Key).Should().Equal("eula", "disclaimer", "privacy");
|
||||
|
||||
using var vm = new FirstRunViewModel(gate, new FakeAgentLink(), readOnly: false);
|
||||
vm.IsLegalStep.Should().BeTrue();
|
||||
@@ -42,7 +43,7 @@ public sealed class FirstRunViewModelTests
|
||||
vm.IsAgentStep.Should().BeTrue("Accept moves to the Agent step");
|
||||
(await gate.IsRequiredAsync(Ct)).Should().BeFalse();
|
||||
IReadOnlyList<LegalAcceptance> rows = await store.ListAsync(Ct);
|
||||
rows.Select(static r => (r.Document, r.Version)).Should().BeEquivalentTo([("eula", "1.0"), ("gpl", "GPL-3.0-only"), ("disclaimer", "2.0"), ("privacy", "2.0")]);
|
||||
rows.Select(static r => (r.Document, r.Version)).Should().BeEquivalentTo([("eula", "1.0"), ("disclaimer", "2.0"), ("privacy", "2.0")], "the GPL needs no acceptance, so it gets no row");
|
||||
|
||||
vm.NextCommand.Execute(null);
|
||||
vm.IsExplainerStep.Should().BeTrue();
|
||||
@@ -57,6 +58,28 @@ public sealed class FirstRunViewModelTests
|
||||
(await outcome).Should().BeTrue();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// beta.12 (D45): a ledger that accepted four documents under an earlier version keeps its <c>gpl</c> row, unread; one
|
||||
/// that never had it is not held open for it.
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public async Task TheGplNeitherHoldsTheGateOpenNorIsRecordedAndAnOldRowIsLeftAlone()
|
||||
{
|
||||
await using ScratchLedger s = await ScratchLedger.OpenAsync();
|
||||
var store = new SqliteLegalAcceptanceStore(s.Db);
|
||||
await store.RecordAsync(new LegalAcceptance("eula", "1.0", DateTimeOffset.UnixEpoch), Ct);
|
||||
await store.RecordAsync(new LegalAcceptance("disclaimer", "2.0", DateTimeOffset.UnixEpoch), Ct);
|
||||
await store.RecordAsync(new LegalAcceptance("privacy", "2.0", DateTimeOffset.UnixEpoch), Ct);
|
||||
|
||||
var gate = new LegalGate(store, Docs);
|
||||
(await gate.IsRequiredAsync(Ct)).Should().BeFalse("no gpl row is needed");
|
||||
|
||||
await store.RecordAsync(new LegalAcceptance("gpl", "GPL-3.0-only", DateTimeOffset.UnixEpoch), Ct);
|
||||
await gate.AcceptAllAsync(Ct);
|
||||
(await store.ListAsync(Ct)).Single(static r => string.Equals(r.Document, "gpl", StringComparison.Ordinal)).AcceptedAt
|
||||
.Should().Be(DateTimeOffset.UnixEpoch, "an earlier version's gpl row stays as it was written");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task AMovedVersionMakesOnlyThatDocumentOutstanding()
|
||||
{
|
||||
|
||||
@@ -0,0 +1,88 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
// Copyright (C) 2026 poli0981 - additional terms under GPLv3 section 7: see NOTICE
|
||||
|
||||
using System.IO;
|
||||
using FluentAssertions;
|
||||
using FrameLedger.App.Markdown;
|
||||
using FrameLedger.App.Services;
|
||||
using Markdig.Syntax;
|
||||
using Markdig.Syntax.Inlines;
|
||||
|
||||
namespace FrameLedger.App.Tests;
|
||||
|
||||
/// <summary>
|
||||
/// The user guide (beta.12, D44): every page the App lists is embedded and titled by its first heading, every page in
|
||||
/// <c>guide/</c> is listed, and every link in it leads somewhere — another guide page or Limitations (opened in the
|
||||
/// window), a file that exists in the repository (opened on GitHub at this build's source), or an https page. A guide
|
||||
/// with a dead link tells a new user something false about where to look.
|
||||
/// </summary>
|
||||
public sealed class GuideDocumentsTests
|
||||
{
|
||||
private static string RepoRoot()
|
||||
{
|
||||
for (DirectoryInfo? dir = new(AppContext.BaseDirectory); dir is not null; dir = dir.Parent)
|
||||
{
|
||||
if (File.Exists(Path.Combine(dir.FullName, "FrameLedger.slnx")))
|
||||
{
|
||||
return dir.FullName;
|
||||
}
|
||||
}
|
||||
|
||||
throw new InvalidOperationException("the repository root (FrameLedger.slnx) is not above " + AppContext.BaseDirectory);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void EveryPageIsEmbeddedTitledAndListedAndLimitationsClosesTheList()
|
||||
{
|
||||
IReadOnlyList<DocumentPage> pages = EmbeddedDocuments.Guide();
|
||||
|
||||
pages.Should().HaveCount(EmbeddedDocuments.GuidePages.Count + 1);
|
||||
pages[0].Title.Should().Be("FrameLedger user guide");
|
||||
pages.Take(EmbeddedDocuments.GuidePages.Count).Should().OnlyContain(static p => p.Text.Length > 300 && !p.Title.EndsWith(".md", StringComparison.Ordinal));
|
||||
pages[^1].Path.Should().Be(LimitationsDocument.ResourceName);
|
||||
|
||||
string[] onDisk = [.. Directory.EnumerateFiles(Path.Combine(RepoRoot(), "guide"), "*.md").Select(static f => "guide/" + Path.GetFileName(f)).Order(StringComparer.Ordinal)];
|
||||
EmbeddedDocuments.GuidePages.Order(StringComparer.Ordinal).Should().Equal(onDisk, "a page in guide/ that the App does not list could never be read in the App");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void EveryLinkInTheGuideLeadsSomewhere()
|
||||
{
|
||||
string root = RepoRoot();
|
||||
HashSet<string> inWindow = [.. EmbeddedDocuments.Guide().Select(static p => p.Path)];
|
||||
var dead = new List<string>();
|
||||
foreach (string page in EmbeddedDocuments.GuidePages)
|
||||
{
|
||||
MarkdownDocument ast = Markdig.Markdown.Parse(EmbeddedDocuments.Read(page), MarkdownRenderer.Pipeline);
|
||||
foreach (string href in ast.Descendants<LinkInline>().Where(static l => !l.IsImage).Select(static l => l.Url ?? string.Empty)
|
||||
.Concat(ast.Descendants<AutolinkInline>().Select(static a => a.IsEmail ? "mailto:" + a.Url : a.Url)))
|
||||
{
|
||||
MarkdownLinkTarget target = MarkdownLinks.Resolve(page, href);
|
||||
bool leads = target switch
|
||||
{
|
||||
{ External: { } url } => url.Scheme is "https" or "mailto",
|
||||
{ RepositoryPath: { } path } => inWindow.Contains(path) || File.Exists(Path.Combine(root, path.Replace('/', Path.DirectorySeparatorChar))),
|
||||
{ Anchor: { } } => true,
|
||||
_ => false,
|
||||
};
|
||||
if (!leads)
|
||||
{
|
||||
dead.Add($"{page}: {href}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dead.Should().BeEmpty();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void ALinkToAnotherSectionOfTheGuideNamesAHeadingThatExists()
|
||||
{
|
||||
// 05-your-data.md links to 01-install.md#updates: the anchor must be one the target page's headings produce.
|
||||
string install = EmbeddedDocuments.Read("guide/01-install.md");
|
||||
MarkdownDocument ast = Markdig.Markdown.Parse(install, MarkdownRenderer.Pipeline);
|
||||
string[] anchors = [.. ast.Descendants<HeadingBlock>().Select(static h => MarkdownLinks.Slug(string.Concat(h.Inline!.Descendants<LiteralInline>().Select(static l => l.Content.ToString()))))];
|
||||
|
||||
anchors.Should().Contain("updates");
|
||||
}
|
||||
}
|
||||
@@ -26,6 +26,7 @@ public sealed class LegalDocumentsTests
|
||||
docs.Select(static d => d.Path).Should().Equal("legal/EULA.md", "LICENSE", "legal/DISCLAIMER.md", "legal/PRIVACY_POLICY.md");
|
||||
docs.Select(static d => d.Url.AbsoluteUri).Should().OnlyContain(static u => u.StartsWith("https://github.com/poli0981/frameledger/blob/main/", StringComparison.Ordinal));
|
||||
docs.Where(static d => d.IsPlainText).Select(static d => d.Key).Should().Equal(LegalDocuments.Gpl);
|
||||
docs.Where(static d => !d.RequiresAcceptance).Select(static d => d.Key).Should().Equal([LegalDocuments.Gpl], "the GPL is shown for information (GPLv3 section 9)");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
@@ -112,7 +112,7 @@ public sealed partial class MarkdownRendererTests
|
||||
text.Should().Contain(" 0. Definitions.").And.Contain(" # not a heading", "the GPL is not Markdown: its numbered sections are not a list");
|
||||
}
|
||||
|
||||
/// <summary>Every embedded document — the Legal Gate's four, LIMITATIONS, NOTICE, the trademark note, the third-party notices and the package index: nine.</summary>
|
||||
/// <summary>Every embedded document — the Legal Gate's four, LIMITATIONS, NOTICE, the trademark note, the third-party notices, the package index and the user guide's eight pages.</summary>
|
||||
[Fact]
|
||||
public async Task NothingAnyEmbeddedDocumentSaysIsDropped()
|
||||
{
|
||||
@@ -124,6 +124,7 @@ public sealed partial class MarkdownRendererTests
|
||||
(EmbeddedDocuments.Trademarks, EmbeddedDocuments.Read(EmbeddedDocuments.Trademarks), false),
|
||||
(EmbeddedDocuments.ThirdPartyNotices, EmbeddedDocuments.Read(EmbeddedDocuments.ThirdPartyNotices), false),
|
||||
(EmbeddedDocuments.PackageIndex, EmbeddedDocuments.Read(EmbeddedDocuments.PackageIndex), false),
|
||||
.. EmbeddedDocuments.GuidePages.Select(static p => (p, EmbeddedDocuments.Read(p), false)),
|
||||
];
|
||||
|
||||
List<string> missing = await PagesLoadTests.OnStaAsync(() =>
|
||||
@@ -154,7 +155,7 @@ public sealed partial class MarkdownRendererTests
|
||||
return problems;
|
||||
});
|
||||
|
||||
documents.Should().HaveCount(9);
|
||||
documents.Should().HaveCount(17, "nine documents and the guide's eight pages");
|
||||
missing.Should().BeEmpty("the renderer must never shorten a document a user reads or accepts");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user