SCSKiller README

项目的 README,来自 github.com/BlueHeisenberg/SCSKiller。合并为一个 markdown 文件:README.md。

SCSKiller logo

SCSKiller

Shader Compilation Stutter Killer. SCSKiller compiles your games' shaders into your GPU driver's cache before you play, so the game doesn't stop to compile them mid-game. Free and open source, for Windows.

Latest release Downloads Licence: GPL-3.0-or-later Patreon Discord

Website · Download · Patreon · Discord · X · Report a bug · Request a game

[!WARNING] The only official downloads are this repository's Releases. See official links for the accounts and sites that belong to SCSKiller.

SCSKiller's library: games grouped by store, with shader and pipeline counts, cache size, compile time, a status such as Needs rebuilding or Warmed, and Play buttons.

Why

A game that meets a new effect has the GPU driver compile its shader on the spot, and the frame waits: that's shader compilation stutter. SCSKiller reads the shaders a game ships with, works out the pipelines it will build, and compiles them into the driver's cache ahead of time, in its own process with the game closed.

Results

About 5 minutes of play per game, from a cold driver cache and after compiling with SCSKiller. A stutter is a shader compile the game waited 20 ms or more for.

GameGPUMeasurementColdWith SCSKiller
Final Fantasy VII RebirthNVIDIA
RTX 5090
Stutters (≥ 20 ms)190
Worst stall76 ms5 ms
AMD
Ryzen AI Max+ 395 (Strix Halo)
Stutters (≥ 20 ms)1620
Worst stall291 ms7 ms
Silent Hill: TownfallNVIDIA
RTX 5090
Stutters (≥ 20 ms)240
Worst stall347 ms8 ms
Hogwarts LegacyNVIDIA
RTX 5090
Stutters (≥ 20 ms)1,01487
Worst stall2,400 ms100 ms
AMD
Ryzen AI Max+ 395 (Strix Halo)
Stutters (≥ 20 ms)27,743206
Worst stall2,146 ms104 ms
Tiny Tina's WonderlandsNVIDIA
RTX 5090
Stutters (≥ 20 ms)5830
Worst stall315 ms13 ms
Star Wars Jedi: SurvivorNVIDIA
RTX 5090
Stutters (≥ 20 ms)9,03811

Measured with SCSKiller's recorder. Your numbers depend on the game, GPU and driver. SCSKiller fixes shader compilation stutter only, not traversal or streaming stutter, and a shader it couldn't find or record can still compile in game.

Features

Install

Requirement
OS Windows 10 (version 2004) or 11, 64-bit
GPU NVIDIA or AMD
Games DirectX 12, DirectX 11 on NVIDIA

Intel GPUs aren't supported yet: I don't have one to test on. If you'd like to sponsor an Intel Arc GPU, get in touch at [email protected].

Download SCSKiller-Setup.exe from Releases and run it. It installs for your user only, needs no admin rights and updates itself.

Or unzip SCSKiller-<version>-Portable.zip to any folder you can write to and run SCSKiller.exe. It updates itself too, and keeps its settings and data in a data folder beside the exe. Turn recording off for your games before you delete the folder, so the recorder leaves the game folders.

[!IMPORTANT] Releases aren't code-signed yet, so the first run will probably show SmartScreen's "Windows protected your PC". Click More info, then Run anyway. Updates never show it. To check a download, compare its SHA-256 with the one in the release notes (PowerShell: Get-FileHash <file>). Smart App Control (Windows 11) blocks unsigned apps outright, with no Run anyway.

How to use it

  1. Open SCSKiller. It finds your games and the shaders they ship with.
  2. Queue games and press Compile. "Add all recommended" is a good start. Keep the game closed while it compiles.
  3. Play, from your store or with the Play button. SCSKiller can be closed. Left open, it checks that the compile reached the cache the game really uses, and with the recorder on, the game's page shows your session's frame times and anything that still compiled.

If a game needs a recording, turn on Record, play it for a few minutes, then compile it.

The compile queue: one game compiling with pipelines per second, games waiting, one finished. A game's page: the frame times of the last session, with shader compile stutters marked apart from other hitches and loading, and the list of slow frames.

FAQ

Can I get banned? SCSKiller only reads the files of games with anti-cheat and adds its recorder to them only in a session you allow and confirm (next question). Its anti-cheat check can still miss a game, so you use SCSKiller at your own risk, and its authors are not responsible for bans, crashes or lost data.

Is it safe with anti-cheat games? Outside a session SCSKiller never launches them, injects into them or gives them the recorder. It only reads their files. A session is allowed per game, confirmed every launch, and at your own risk. The offline session for ELDEN RING and ARMORED CORE VI runs them offline without EasyAntiCheat when their exe is started directly: Steam must be running (offline mode is fine), and SCSKiller adds d3d12.dll, scskiller.cfg and steam_appid.txt to the game's folder and starts the exe itself. With "Allow the recorder in games with anti-cheat (at your own risk)" on in Settings, any other supported game can run a session too: SCSKiller starts the game as usual, with d3d12.dll and scskiller.cfg in its folder. Enabling the recorder in games with anti-cheat is at your own risk. SCSKiller isn't responsible for bans. Bans from it are not support issues. In both kinds the recorder records only that process. When the game exits, SCSKiller takes those files out again (each only while it is still the file it added) and keeps the recording and the session's frame times, at the next logon or start if SCSKiller was closed or the PC crashed. If those files are still there when you start the game online, you could be banned. Don't uninstall SCSKiller while the game runs.

What does it write, and where? Settings and per-game plans go in %LOCALAPPDATA%\SCSKiller\ (the data folder of a portable copy), and the compiled pipelines go in your driver's own shader cache. Game files are never modified. The optional recorder adds d3d12.dll and scskiller.cfg to the folder of a game you turn it on for, and turning it off removes exactly those files. On a new install it goes in no game folder until you close the welcome, whose box sets "Record in all compatible games". It never goes into a game with anti-cheat, and comes out the moment SCSKiller finds anti-cheat: when it scans, when the game exits or updates, and every 2 minutes while it runs. scskiller.cfg names the game's exe as it was when SCSKiller last found no anti-cheat in its folders, and a game records only while its exe is still that one and no anti-cheat is next to it. Uninstalling SCSKiller removes these files and the recordings from every game folder, and a scan removes them from a game Steam uninstalled.

Does it touch my drivers or their settings? No. It compiles through DirectX, as the game would.

Do I need an account? No. Everything the app does on your PC is free. Signing in with Patreon adds the supporter features.

My game isn't detected, or something broke. Open an issue with the bug or game request template.

Support the project

The app is free and stays free. Patreon pays for the servers behind the community database. Sign in with Patreon in Settings to unlock your tier.

Tier You get
Patreon supporter The community shader hash database, and beta builds
Patreon backer All of that, plus alpha builds and priority on game requests

Build from source

Visual Studio 2022 (C++ desktop workload with CMake) and the .NET 10 SDK:

cmake -S proxy -B proxy/build -A x64
cmake --build proxy/build --config Release
dotnet build SCSKiller.slnx -c Release

build/publish.ps1 builds the distribution into dist\. Design: ARCHITECTURE.md. Contributing: CONTRIBUTING.md. Changes: CHANGELOG.md. Security issues go through SECURITY.md, never a public issue.

Anything else claiming to be SCSKiller isn't. Please report it.

Licence

GPL-3.0-or-later (LICENSE), with an additional permission for Oodle, the Windows App SDK and graphics driver libraries (LICENSE-EXCEPTION.txt). Third-party components: THIRD-PARTY-NOTICES.md. Code signing: CODE_SIGNING_POLICY.md.

Not affiliated with any GPU maker, engine maker or game publisher. All product names are trademarks of their owners.

Forks

Forks are welcome under the licence. Please give yours its own name, say it's unofficial and based on SCSKiller, and keep the SCSKiller copyright notices. The measurements and screenshots in this README are SCSKiller's own, so please don't present them as a fork's.

Official builds come only from this repository's Releases page. A fork's builds, bugs and anti-cheat behaviour are its author's: SCSKiller keeps its recorder out of anti-cheat games except in a session the user confirms, and can't vouch for a fork that changes that.

Improvements are always welcome back here as pull requests. Fixes, games and ideas from forks make SCSKiller better for everyone.

SCSKiller (BlueHeisenberg/SCSKiller)

正在搜索数据库…

这是什么?SCSKiller 是一款免费开源的 Windows 工具,在你开始游戏前把游戏的着色器预编译到 NVIDIA 或 AMD 驱动的缓存中,这样游戏就不必在游玩过程中编译着色器而卡顿。
我怎么安装并开始使用它?从 Releases 页面下载 SCSKiller-Setup.exe 并运行(仅为当前用户安装,无需管理员权限),或者改用便携版 zip。然后打开它,把游戏加入队列,按下 Compile(编译),再像平常一样启动游戏即可。
它支持哪些 GPU 和游戏?它需要 Windows 10(2004 及以上)或 11 的 64 位系统,搭配 NVIDIA 或 AMD GPU。两类 GPU 都能处理 DirectX 12 游戏,而 DirectX 11 游戏仅支持 NVIDIA;Intel GPU 尚不支持。
在反作弊保护的游戏中使用它安全吗?SCSKiller 从不启动或注入受反作弊保护的游戏,只读取它们的文件。唯一的例外是一个可选的、按游戏启用的无 EasyAntiCheat 离线会话,适用于 ELDEN RING 和 ARMORED CORE VI,每次都需要确认,风险自负。
它会修改我的游戏文件吗?不会,唯一例外是可选的录制器:录制期间它会临时向游戏文件夹添加三个小文件(d3d12.dll、scskiller.ini、scskiller.armed),在关闭录制或游戏退出时再将它们移除。
可选的录制器是做什么用的?用于那些无法直接从文件中解析出着色器管线的游戏:你在开启录制的情况下玩几分钟,SCSKiller 随后编译它捕获的内容,并且可以把该会话的帧时间绘制成图表。
使用它需要 Patreon 账户吗?不需要,整个应用都是免费的。用 Patreon 登录只会解锁额外功能,例如社区着色器哈希数据库和早期 beta/alpha 版本。
它能自动检测哪些游戏启动器?它能找到通过 Steam、Epic Games、EA app、GOG、Ubisoft Connect、Xbox (PC)、Battle.net、PURPLE、HoYoPlay 和 Gaijin 安装的游戏。
大小
6.5 MB
星标
4.7K
时长
2个月
提交 · 90 天