Skip to content

[codex] Launch CPU topology spoofed games early#56

Draft
Chel-Tbl wants to merge 1 commit into
SpecialKO:masterfrom
Chel-Tbl:codex/cpu-topology-launcher
Draft

[codex] Launch CPU topology spoofed games early#56
Chel-Tbl wants to merge 1 commit into
SpecialKO:masterfrom
Chel-Tbl:codex/cpu-topology-launcher

Conversation

@Chel-Tbl

@Chel-Tbl Chel-Tbl commented May 24, 2026

Copy link
Copy Markdown

Summary

  • Read [Scheduler.CPUSpoof] from the matching Special K profile before launching a game.
  • When CPU topology spoofing is active, launch the target suspended and inject Special K with LoadLibraryW before resuming the main thread.
  • Forward library launches through the SKIF launcher path so the suspended early-injection path is used consistently.
  • Make the config-file Reset action remove generated CPU topology AppCompat SDB files from the profile as well as truncating the INI.

Paired Special K PR

Runtime support is in SpecialKO/SpecialK#363. This PR is the launcher-side companion for that CPU topology spoofing work.

Notes

The reset cleanup looks for AppCompat\*_CPU_Topology.sdb under the profile config directory, runs sdbinst.exe -q -u elevated, and deletes the file afterward.

Validation

  • msbuild SKIF.sln /m /p:Configuration=Release /p:Platform=x64 /p:VCToolsVersion=14.44.35207 /v:minimal
  • git diff --cached --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants