Homer 544baf35e0
Build / build (, ubuntu-22.04) (push) Failing after 5s
Build / build (, windows-latest) (push) Has been cancelled
Build / release (push) Has been cancelled
Document cargo-xwin Windows cross-build prerequisites
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 10:45:10 +02:00
2026-07-13 06:41:52 +00:00

Kingdom Cheat: Deliverance 2

A game overlay for Kingdom Come: Deliverance II with a searchable database of console commands, items, perks, buffs and skills. Fill in the parameters, hit Copy, and paste the finished command into the game console.

  • Overlay: frameless, semi-transparent, always-on-top window toggled with a global hotkey (default Ctrl+Shift+K); lives in the system tray
  • Quick Cheats: money, skills & XP, god mode, repair, unlocks, teleport, saving
  • Commands: ~120 commands — vanilla -devmode commands and the Nexus "Cheat" mod's cheat_* commands, each badged by requirement, with argument forms and examples
  • Items / Perks / Buffs / Skills: ~4,900 items, ~880 perks, ~560 buffs and all skills with IDs — set amount/condition/level and copy a ready-made command

Game setup

  1. Borderless window: set the game's display mode to borderless window (an overlay cannot draw above exclusive fullscreen).
  2. devmode commands (green badge): add -devmode to the game's launch options (Steam → right-click the game → Properties → Launch Options). Open the in-game console with ~ / `.
  3. Cheat mod commands (purple badge): install the free Cheat mod from Nexus Mods (also requires -devmode).

Usage

  • Press the global hotkey (default Ctrl+Shift+K) or click the tray icon to show/hide the overlay. Closing the window only hides it; quit from the tray menu.
  • Change the hotkey, overlay opacity, preferred command flavor, autostart and start-hidden behavior in Settings.
  • Wayland note: global hotkeys are unreliable on Wayland. Bind kcd2-overlay --toggle to a compositor shortcut instead — a second launch toggles the running instance.

Building

Prerequisites: Rust, Node.js 20+, and on Linux the Tauri system deps (libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev).

npm install
npm run tauri dev     # development
npm run tauri build   # release bundles (deb/AppImage on Linux, NSIS/MSI on Windows)

Windows builds are produced by the CI workflow in .github/workflows/build.yml (GitHub Actions / Gitea Actions with a Windows runner), or locally from Linux with cargo-xwin:

rustup target add x86_64-pc-windows-msvc
sudo apt-get install clang lld llvm nsis   # llvm provides llvm-rc, needed for resource embedding
npm run tauri build -- --runner cargo-xwin --target x86_64-pc-windows-msvc

The exe and NSIS installer land in src-tauri/target/x86_64-pc-windows-msvc/release/ (first run downloads the Windows SDK to ~/.cache/cargo-xwin).

Data

Game data under src/data/ is generated from the pryans/kcd2-cheat repository (the source of the Nexus Cheat mod) and vendored so builds are offline:

node scripts/fetch-data.mjs   # refresh items/perks/buffs/skills + command docs

commands-vanilla.json and quick-cheats.json are hand-curated from community command lists.

Disclaimer

Single-player cheats only. Achievements and game balance are your own responsibility — keep a save from before you start experimenting.

S
Description
No description provided
Readme MIT 847 KiB
1.0.0 Latest
2026-08-08 16:42:13 +00:00
Languages
TypeScript 59.2%
CSS 14.5%
JavaScript 13.5%
Rust 12.2%
HTML 0.6%