BoiledTeam-WKDebugAccess icon

WKDebugAccess

White Knuckle debug access commands for hasCheated, session stats, score, leaderboard reset, time, high score, flags, achievements, and saves.

Last updated an hour ago
Total downloads 2
Total rating 1 
Categories Mods Tools
Dependency string BoiledTeam-WKDebugAccess-1.0.3
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

WKDebugAccess

Local White Knuckle BepInEx plugin.

Adds non-cheat console/file-bridge commands for inspecting and editing the current session:

  • wkdebug help
  • wkdebug hascheated
  • wkdebug sethascheated false
  • wkdebug sessioninfo
  • wkdebug liststats [filter] [limit]
  • wkdebug getstat <id>
  • wkdebug setstat <id> <value> [int|float|string]
  • wkdebug addstat <id> <delta> [int|float]
  • wkdebug exportstats [filter]
  • wkdebug savesession [resetroom]
  • wkdebug gettime
  • wkdebug settime <seconds|mm:ss|hh:mm:ss>
  • wkdebug getscore
  • wkdebug listscores [filter] [limit]
  • wkdebug setscore <value>
  • wkdebug addscore <id> <bonus> [multiplier=0] [count=0] [title optional]
  • wkdebug gethighscore
  • wkdebug sethighscore <value>
  • wkdebug resetleaderboard [score=0] [steam leaderboard name optional]
  • wkdebug setbesttime <seconds|mm:ss|hh:mm:ss>
  • wkdebug markwin [score optional] [time optional]
  • wkdebug completegame [score optional] [time optional]
  • wkdebug finishgame win|lose
  • wkdebug getflag <id>
  • wkdebug setflag <id> <true|false> [data optional] [save=true]
  • wkdebug listachievements [filter] [limit]
  • wkdebug setachievement <id> <true|false> [save=true]
  • wkdebug savestats [writeall=true]

All commands are registered as non-cheat commands and also include a direct console fallback.

If the in-game console does not register commands, use the file bridge:

  • Edit BepInEx/config/WKDebugAccess/command.txt.
  • Write one command such as sethascheated false, getscore, sethighscore 50000, resetleaderboard, or finishgame win.
  • Save the file while the game is running.
  • Read BepInEx/config/WKDebugAccess/live_status.txt and WKDebugAccess.log.

Useful file-bridge examples:

  • sethascheated false
  • settime 12:34
  • setscore 50000
  • sethighscore 50000
  • resetleaderboard
  • resetleaderboard 0 "Steam Leaderboard Name"
  • setbesttime 12:34
  • markwin 50000 12:34
  • completegame 50000 12:34
  • finishgame win

Notes:

  • settime and setscore edit the current run/session.
  • sethighscore, setbesttime, markwin, and completegame persist through the game's StatManager.SaveStats path.
  • resetleaderboard resets the local/session score and local high score to 0; if a Steam leaderboard name is supplied, it uses Steamworks ReplaceScore to force that Steam leaderboard entry to the requested score.
  • finishgame win starts the game's own win/end sequence.
  • setachievement calls the game's achievement API; depending on game state, the game may also sync that achievement to Steam.

Hotkeys:

  • F6: set CommandConsole.hasCheated to false
  • F7: export session stats
  • F8: save session