
You are viewing a potentially older version of this package. View Latest Version
WKDebugAccess
White Knuckle debug access commands for hasCheated, session stats, score, leaderboard reset, time, high score, flags, achievements, and saves.WKDebugAccess
Local White Knuckle BepInEx plugin.
Adds non-cheat console/file-bridge commands for inspecting and editing the current session:
wkdebug helpwkdebug hascheatedwkdebug sethascheated falsewkdebug sessioninfowkdebug 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 gettimewkdebug settime <seconds|mm:ss|hh:mm:ss>wkdebug getscorewkdebug listscores [filter] [limit]wkdebug setscore <value>wkdebug addscore <id> <bonus> [multiplier=0] [count=0] [title optional]wkdebug gethighscorewkdebug 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|losewkdebug 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, orfinishgame win. - Save the file while the game is running.
- Read
BepInEx/config/WKDebugAccess/live_status.txtandWKDebugAccess.log.
Useful file-bridge examples:
sethascheated falsesettime 12:34setscore 50000sethighscore 50000resetleaderboardresetleaderboard 0 "Steam Leaderboard Name"setbesttime 12:34markwin 50000 12:34completegame 50000 12:34finishgame win
Notes:
settimeandsetscoreedit the current run/session.sethighscore,setbesttime,markwin, andcompletegamepersist through the game'sStatManager.SaveStatspath.resetleaderboardresets the local/session score and local high score to0; if a Steam leaderboard name is supplied, it uses SteamworksReplaceScoreto force that Steam leaderboard entry to the requested score.finishgame winstarts the game's own win/end sequence.setachievementcalls the game's achievement API; depending on game state, the game may also sync that achievement to Steam.
Hotkeys:
F6: setCommandConsole.hasCheatedtofalseF7: export session statsF8: save session