A desktop companion for the Dead by Daylight Cross-Off community event. It keeps your current points and leaderboard rank on screen, tells you whether the match you just queued into is a Cross-Off match, and helps you submit the end-game scoreboard screenshot that earns a point.
Points are awarded by the community's Discord bot, which stays the single source of truth. This app is a client: it pre-checks a screenshot locally only so you do not upload something the bot will reject, and it never decides your score.
Status: early development. Milestone 1 of 6.
The app reads pixels, and only pixels. There is no game-memory reading, no DLL injection, no hooking, no packet inspection and no input sent into the game.
| When | What is captured | Where it goes |
|---|---|---|
| While searching for a match, after you press Start Match | The game window, a few frames per second, cropped to the bottom-right corner | Kept in memory, discarded immediately after the event icon check |
| When you press Validate | One full frame of the game window | Shown to you as the exact PNG that would be uploaded |
| When you confirm an upload | That same PNG | Sent to the Cross-Off backend, attributed to your linked Discord account |
The app also asks the system, a few times a minute, whether some application has taken the display in exclusive full screen. That is a flag the shell already keeps; it involves no capture and identifies no process.
Nothing is captured until you press a button, nothing leaves your machine without a click on a preview you have seen, and the app collects no telemetry or analytics of any kind.
The app signs you in through your browser using the authorisation code flow with
PKCE and a loopback redirect. It asks Discord for identify only — your
username and your identifier — and nothing else. The session token it receives is
kept in the operating system credential store, never in a file, and the app
never sees your password.
Two things have to be configured before linking can work, both in settings.json
in the application configuration directory:
| Setting | What it is |
|---|---|
account.discordClientId |
The client ID of a Discord application. Create one at discord.com/developers, and add http://127.0.0.1:53682/callback to its OAuth2 redirects. The ID is public: the PKCE flow means there is no client secret to ship. |
account.redirectPort |
The loopback port the browser comes back to, 53682 by default. Discord matches a redirect address exactly, port included, so this has to be the port registered above. Change it only if something else on the machine wants that port, and change the Discord redirect to match. |
account.backendUrl |
The Cross-Off backend. Leave it empty and the app runs against an in-memory backend that forgets everything when it closes, which is what it does today. |
Discord does not expose a user's friends list to any application, so the app does not pretend to have one. Search for people by their Discord username and follow them; the board of who you follow lives in your settings file and stays on your machine.
Press Start match when you queue, and Validate when the end-game scoreboard is on screen. Validate captures the game window once and shows you the exact PNG that would be uploaded, together with what the local check made of it. Nothing is sent until you press Upload on that preview.
The local check mirrors the bot's rules — the red scoreboard title, character names, bloodpoint totals — and exists only to stop you uploading something that would obviously be turned down. The bot decides; a screenshot the local check dislikes can still be uploaded, and one it likes can still be rejected.
Confirmed screenshots are written to disk before anything is attempted over the network, so an upload survives the connection dropping, the app closing and the machine restarting. Failed attempts back off, and a screenshot that has already been accepted is never sent a second time.
Queue detection is not implemented yet, so Start match reports that it is tracking without having verified the queue rather than pretending otherwise. The account is not linked yet either: the app talks to an in-memory backend that forgets everything when it closes, and the control window says so.
The local check needs Tesseract on
PATH. Without it the app still works and still uploads; the preview says the
check could not run and why.
Pressing Start match watches the game window for the Cross-Off icon that appears in the bottom-right corner while queued into the event. The frame is cropped to a region expressed in fractions of the window size, never in pixels, and the crop is correlated against the icon template over a small pyramid of scales, so one template works at 1080p, 1440p and 4K.
No template ships with the app yet, so detection reports itself unavailable
and a match is tracked without the queue being confirmed. The interface says so
rather than claiming more than it knows. To install one, drop an
event-icon.png into the configuration directory beside settings.json, and
set detection.templateSourceWidth to the width of the window it was cropped
from.
The match threshold in crates/crossoff-core/src/detect.rs is provisional.
It separates synthetic matches from synthetic non-matches, which is not the same
as being right about the game. The number that belongs there comes from
measuring real captures:
cargo run --release --example calibrate -- event-icon.png 1920 --positive fixtures/queued --negative fixtures/not-queuedIt scores every frame in both folders and reports the gap between them. Put frames where you were queued into Cross-Off in the first folder, and everything else in the second: the menu, an ordinary match, and above all the same corner showing a different event icon. If the two populations overlap, the answer is to improve the detector, not to pick a threshold between them, and the tool says so.
Measured on a 1920x1080 game window, capturing as fast as the backend allows:
| Time per capture | 101 ms, which is the 100 ms floor the compositor is asked for rather than the cost of the capture itself |
| Sustained rate | 9.9 captures per second |
| Processor time | 0.52 s over 6.3 s, about 8% of one core at that rate |
The app never asks for that rate. It captures a few times a second while looking
for the event icon, once when you press Validate, and not at all otherwise, so
the cost while a match is being tracked is a fraction of the figures above.
Measure it yourself with cargo run --release --example capture_once -- <window> --time 60.
A small always-on-top window showing points, rank and the state of the current match. It ignores the mouse, so it never takes a click meant for the game, which also means it cannot be dragged by default:
| Shortcut | Effect |
|---|---|
Alt+Shift+O |
Show or hide the overlay |
Alt+Shift+M |
Hold to drag the overlay; releasing locks it and stores where it landed |
Its position is stored as an inset from the nearest corner of the monitor, so it
lands in the same visual place after a resolution change. Both shortcuts, the
corner, the opacity and the size live in settings.json in the application's
configuration directory, and can be changed from the control window.
Exclusive full screen is a hard limit. Nothing can be drawn on top of a game that has taken exclusive control of the display, so the app watches for that state and says so rather than showing an overlay you cannot see. Switch Dead by Daylight to borderless windowed and the overlay works.
Download the installer from the releases page and run it. It installs for the current user, so Windows does not ask for administrator rights.
The installers are not code signed yet, so SmartScreen will warn the first time. That warning is honest: it means nobody has paid for a certificate, not that the download is safe. Build it yourself from source if you would rather not take the warning at face value — the instructions are below and the build is reproducible from this repository alone.
The first time it runs, the app explains exactly what it captures and when before it captures anything.
Requires a recent stable Rust toolchain and Node 22 or newer.
npm --prefix ui install
cargo test --workspace
npm --prefix ui exec -- tauri devRun the Tauri commands from the repository root, where the CLI can find
src-tauri. See docs/releasing.md for building the
installers, signing, and the updater.
The debug window that ships today lists the capturable windows and shows one captured frame per press of Capture. To capture a window from the command line without the interface:
cargo run --example capture_once # list windows
cargo run --example capture_once -- 1806c6 window.png # capture one| Crate | Contents |
|---|---|
crates/crossoff-core |
Capture abstraction, detection, match state machine, scoreboard heuristic. No I/O, no platform APIs, no Tauri. |
crates/crossoff-capture-windows |
Windows Graphics Capture backend implementing ScreenSource. |
src-tauri |
Application shell: windows, commands, configuration. Glue only. |
ui/ |
TypeScript and Svelte interface. Types on the Rust boundary are generated by ts-rs into ui/src/bindings, so the two sides cannot drift apart unnoticed. |
crossoff-api, the typed backend client, arrives with a later milestone.
MIT. See LICENSE.