Skip to content

Repository files navigation

Kill Confirm Overlay logo

Kill Confirm Overlay / 击杀确认覆盖层

A customizable CS2 kill-confirm experience built for Xbox Game Bar.

为 Xbox Game Bar 打造的可自定义 CS2 击杀确认体验。

English · 简体中文

Download from Quark Drive / 从夸克网盘下载

Access code / 提取码:7Twv

Latest release 最新版本 Windows 10 and 11 Xbox Game Bar License

Overview / 项目简介

Kill Confirm Overlay listens to Counter-Strike 2 Game State Integration events, plays contextual voice lines, and renders animated kill effects inside Xbox Game Bar. It stays visible over the game without reading from or injecting into the CS2 process.

Kill Confirm Overlay 通过 Counter-Strike 2 Game State Integration 接收对局事件,根据事件播放对应语音,并在 Xbox Game Bar 中显示击杀动画。它不读取或注入 CS2 游戏进程,同时可以作为悬浮窗保持在游戏画面上方。

The project has grown from a simple kill-confirm sound tool into a configurable presentation system with independent game-inspired styles, custom media, streak logic, event priorities, and high-resolution rendering.

项目已经从简单的击杀确认音效工具,发展为支持独立游戏风格、自定义媒体、连杀逻辑、事件优先级和高分辨率渲染的可配置展示系统。

Note

The names of other games identify presentation styles inspired by those games. CS2 remains the game that provides the live events through GSI.

文中其他游戏的名称表示受对应游戏启发的展示风格。当前实际通过 GSI 提供实时对局事件的游戏仍然是 CS2。

Caution

Disclaimer: All game-related resources (sound effects, icons, character likenesses, etc.) included in this project are the property of their respective copyright holders (Riot Games, Electronic Arts, Valve, etc.). This tool is an unofficial community project for learning, exchange, and testing only. It is not affiliated with, endorsed by, or sponsored by any of the aforementioned companies. Do not use this tool for piracy, commercial resale, or any illegal activity.

免责声明: 本项目中包含的所有游戏相关资源(音效、图标、角色形象等)归各自版权方所有(Riot Games、Electronic Arts、Valve 等)。本工具为非官方社区项目,仅供学习、交流、测试使用,与上述公司无任何关联、亦未获其认可或赞助。切勿将本工具用于盗版、商业转售或任何违法活动。

Open-source foundation and community collaboration / 开源基础与社区联动

st0nie avatar
ston · st0nie
Thanks to the original cskillconfirm developer

Special thanks to ston (st0nie) for the original idea and foundational code provided by cskillconfirm. Its CS2 kill-confirm approach made this project possible. This project also uses ideas and integration work from gsi-cs2-rs.

感谢 cskillconfirm 原项目开发者

特别感谢 ston(st0nie) 提供的开发思路,以及开源项目 cskillconfirm 的基础代码。其 CS2 击杀确认方案为本项目提供了重要基础。本项目也使用了 gsi-cs2-rs 的相关思路与集成成果。
gufan0000 avatar
gufan0000
More CS2 customization: CS2 Customizer

If you want more extensive customization—including crosshairs, kill sounds and icons, HUD colors, in-game view settings, and utility lineups—visit gufan0000/cs2-customizer. The two projects work in close coordination and are deeply integrated with each other's customization workflow.

更多 CS2 自定义需求:CS2 Customizer

如果你需要更丰富的个性化修改,包括准心、击杀音效与图标、HUD 配色、局内视角和道具瞄点,请访问 gufan0000/cs2-customizer。本项目与其深度联动,可以配合形成更完整的 CS2 自定义体验。
6657 · sb6657
6657 · sb6657
6657 danmaku and community memes

Thanks to sb6657 and its community for collecting and creating classic quotes and memes. Their community work informed our 6657 danmaku content and style, while the open-source AI meme interface provided a reference for the curation workflow.

6657 弹幕与社区梗文化

感谢 sb6657 玩机器烂梗收集及社区的语录整理与创作。本项目的 6657 弹幕内容与风格参考了这些社区积累,并参考其开源 AI 造梗界面的交互流程。
MinecraftGD656
MinecraftGD656
Minecraft kill feedback: gd656killicon

Thanks to MinecraftGD656 for gd656killicon, an open-source reference for kill-feedback implementations. This Minecraft mod offers kill feedback inspired by multiple games and extensive customization options.

Minecraft 击杀反馈:gd656killicon

感谢 MinecraftGD656 的开源项目 gd656killicon 为击杀反馈的实现提供参考。该 Minecraft 模组支持多种游戏风格的击杀反馈与丰富的自定义配置,欢迎关注。

Highlights

  • Xbox Game Bar overlay — open, position, scale, and pin the widget with Win + G.
  • Context-aware kill events — normal kills, headshots, knife kills, first kills, final kills, assists, streaks, and spectated-teammate events.
  • Eleven built-in presentation styles — CrossFire, CSOL, VALORANT, Battlefield 1, Battlefield V, Battlefield 4, Battlefield 2042, PUBG, Delta Force, Doubao, and Dagoujiao.
  • Flexible streak logic — life-based, round-based, and looped streak windows with a configurable loop point from 2 to 50 kills.
  • Custom images and audio — choose bundled assets or import supported images and voice lines for individual events and styles.
  • Custom Module — import CS2 Customizer kill-icon ZIPs or legacy frame folders, preview and tune playback, and export compatible packs. See the format and usage guide (Chinese).
  • Advanced audio control — per-style priorities, volume controls, event-specific sounds, and configurable playback speed/pitch behavior.
  • Bomb audio timeline — optional sounds for plant, defuse, explosion, and new-round reset, with a smooth 40-second acceleration between configurable initial and final speeds.
  • High-resolution visuals — optimized rendering, positioning, and scaling for high-DPI displays and 4:3 fullscreen resolutions.
  • Independent profiles — style, asset-pack, animation, and advanced settings are persisted separately to reduce cross-style interference.
  • Bilingual interface and update checks — English/Simplified Chinese UI plus a check against the latest published GitHub Release when the widget opens.

How it works

CS2 Game State Integration
            ↓
Local Rust service on 127.0.0.1:10087
            ↓
Event classification and audio playback
            ↓
Xbox Game Bar animated overlay

The companion service receives GSI data locally. The widget then selects the appropriate animation, image, and audio based on the active style and event priority.

Requirements

  • Windows 10 or Windows 11
  • Xbox Game Bar enabled
  • Counter-Strike 2

Installation

  1. Download the package from Quark Drive using access code 7Twv, or use the GitHub Releases page.
  2. Choose the installer that fits your system:
    • With dependencies — recommended for new users: includes prerequisites required for first-time installation.
    • Dependency-free — recommended for updates: intended for systems where an earlier version already works correctly.
  3. Run the installer.
  4. Press Win + G, open Kill Confirm Overlay, and pin it if desired.
  5. Start CS2. The installer will attempt to configure Game State Integration automatically.

CS2 Game State Integration

The overlay listens at:

http://127.0.0.1:10087/

The installer attempts to create the required GSI configuration automatically. If events do not trigger, copy KillConfirmService/gsi/gamestate_integration_killconfirm.cfg into:

C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\

The upstream reference configuration is available in gsi-cs2-rs.

Troubleshooting

  • No sound or animation after a kill: confirm that the local service is running and the GSI file is in the correct CS2 cfg directory.
  • Using Clash or another system-wide proxy: disable the system proxy or exclude 127.0.0.1. Some proxy configurations intercept local traffic and prevent the service from receiving GSI events.
  • Updating an existing installation: use the dependency-free installer only if the previous version and its prerequisites already work correctly.
  • Custom content: only import asset and voice packs from sources you trust.

Build from source

Source builds require the Rust toolchain, Visual Studio or Visual Studio Build Tools with Windows/UWP/MSIX tooling, and Inno Setup 6 when building the optional .exe installers.

Create a quick MSIX Bundle for local testing:

.\Build-QuickPackage.ps1

Build and install it locally in one step:

.\Build-QuickPackage.ps1 -Install

Create the complete release installers:

.\Build-FullPackage.ps1

Local builds create a per-machine development certificate under .local/signing/. The directory is ignored by Git; release builds use the signing certificate supplied by CI secrets.

Project layout

  • KillConfirmService — Rust local service for GSI event processing and audio playback.
  • Widget — Xbox Game Bar interface, settings, and visual effects.
  • Package — Windows packaging project.
  • Installer — installer definitions and supporting files.
  • SourceAssets — source animations, images, audio, icons, and built-in style packs.

Package-ready resources are refreshed from SourceAssets during the build.

Additional credits

This project incorporates AI-generated code.

License and disclaimer

Licensed under the GNU Affero General Public License v3.0.

This project is not affiliated with Valve, Microsoft, Xbox, CrossFire, Riot Games, Electronic Arts, Krafton, Tencent, ByteDance, or any other game publisher. All referenced product names and trademarks belong to their respective owners.

Star history

Star History Chart

About

KillConfirmGameBar is a Counter-Strike 2 kill-confirm overlay for Xbox Game Bar.

Resources

Stars

199 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages