You are viewing a potentially older version of this package. View all versions.
Khundian-Shadows_of_Doubt_Debug_Menu-0.1.0 icon

Shadows of Doubt Debug Menu

In-game debug utilities for Shadows of Doubt. Open the UI with F6 (default), hotkey can be changed in UI settings tab or config file. Requires BepInEx 6 IL2CPP.

Date uploaded 9 months ago
Version 0.1.0
Download link Khundian-Shadows_of_Doubt_Debug_Menu-0.1.0.zip
Downloads 2449
Dependency string Khundian-Shadows_of_Doubt_Debug_Menu-0.1.0

This mod requires the following mods to function

BepInEx-BepInExPack_IL2CPP-6.0.738 icon
BepInEx-BepInExPack_IL2CPP

BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.

Preferred version: 6.0.738

README

Shadows of Doubt - Debug Menu

In-game debug utilities for Shadows of Doubt. Open the UI with F6 (default), hotkey can be changed in UI settings tab or config file. Requires BepInEx 6 IL2CPP.

Requirements

  • BepInEx 6 (IL2CPP)

Installation

  1. Install BepInEx 6 for IL2CPP (per the BepInEx guide).
  2. Copy the plugin DLL into your game folder under:
    • BepInEx/plugins/Khundian-Shadows_of_Doubt_Debug_Menu/
  3. Launch the game. BepInEx will generate the config file on first run.

Config path: BepInEx/config/khundian.sod.debugmenu.cfg

Opening The Menu

  • Default hotkey: F6 (toggled open/closed)
  • The menu does not open in the main menu; it only opens in-game
  • Header actions:
    • Center: centers the window on screen
    • Close: closes the menu

Window behavior:

  • Drag the header to move the window. Position saves automatically on mouse-up.
  • Drag the bottom-right corner to resize. Size saves automatically on mouse-up.
  • On open, if a saved position exists, the window opens there; otherwise it opens centered.

Tabs & Features

Player

  • God Mode (invincible)
    • Toggle invulnerability. Heal to max restores health immediately.
  • Movement & Travel
    • Noclip: Ghost: no-clip movement for the player.
    • Disable Fall Damage: prevents fall damage.
    • Teleport to end of Route: developer route-teleport toggle.
  • Stealth & Legality
    • Invisible Player: NPCs cannot see you.
    • Inaudible Player: NPCs cannot hear you.
    • Everywhere Illegal: globally marks areas as illegal (use with care).
    • Disable Trespassing: disables trespass checks.
  • Keys to the City
    • Grants keys for all streamed doors. While enabled, the menu periodically (every ~2s) adds keys for newly streamed doors; when disabled, it restores your original keyring.
  • Passcode Override
    • Toggle on, set a 4-digit Code, then Apply to override passcode checks.
  • Statuses (Needs, Buffs/Debuffs, Injuries, Environment)
    • Grid of +Status / -Status buttons to add/remove common statuses.
    • Examples: Hungry, Thirsty, Tired, WellRested, Focused, Cold, Wet, Poisoned, ToxicGas, and more. Buttons update the player and force a status refresh.

Economy (within Player)

  • Money
    • Add Money: enter an amount and click Add Money.
    • Deduct Money: enter an amount and click Deduct Money.
  • Social Credit (SC)
    • Add / Deduct SC with buffered inputs.
    • Grant Next SC Level: instantly awards enough SC to reach the next level.
    • Allow Social Credit Perks: toggles perks availability.
  • Lockpicks
    • Add / Deduct lockpicks.

Sync Disk Manager

  • Overview
    • Displays installed Sync Disks and available presets. The manager auto-refreshes when changes occur.
  • Installed
    • Shows the disk name, current option (with friendly effect name), price/uninstall cost, and upgrade tier.
    • Install Upgrade N: installs the next tier for the chosen option (requires upgrade vial in normal gameplay; the manager spawns a upgrade vial in inventory if none are present).
    • Uninstall: removes the disk.
    • Detailed per-tier effects are listed beneath the entry.
  • Available
    • For each preset not currently installed, shows price and available install options.
    • Install 1/2/3: installs the selected option.
    • Detailed install effects are listed beneath the entry.

Murder & Kidnap Cases

  • Overview
    • Works on the currently active case. Shows a summary at the top (name, type, status). If no case is active, the tab indicates this.
  • Tools
    • Preview/Refresh Murder Resolve Data: refreshes the case's resolve questions and updates the controller's correct answers. Also refreshes internal hints (e.g., caches the murderer's fingerprint evidence for later use).
    • Auto-fill Correct Answers: attempts to populate answers for all resolve questions. It prefers exact evidence IDs from the controller; otherwise uses safe heuristics:
      • Citizen: fills with the killer's identity when known.
      • Item (weapon questions): maps to the active murder weapon when present.
      • Item (generic): the killer's fingerprint evidence when available.
      • Location: formats and fills the relevant address when resolvable.
      • After changes, question progress is updated automatically.
  • Resolve Questions list
    • Each question shows its type and current input. Clear removes the input and resets progress for that question.
  • Tips
    • Use Preview/Refresh before Auto-fill for best results.
    • These tools can spoil investigation gameplay and bypass intended logic. Use for testing and debugging.

Item Spawning

  • Search & Filter
    • Search: filters presets by name.
    • Only inventory: restricts to items that can go directly into inventory.
  • Options
    • Count: number of items to spawn (buffered input; press Enter to commit).
    • Ahead: distance in front of the player for world spawns.
  • Actions
    • Spawn: creates the item(s) in the world at the chosen distance.
    • In Inv: spawns directly into your inventory (only for compatible items).
  • Performance
    • The list is virtualized; only visible rows are drawn for smooth scrolling.

Time & Weather

  • Time
    • Speed: cycle through Slow / Normal / Fast / VeryFast using < and >.
    • Multiplier: slider 0-40; Set applies the exact multiplier.
  • Weather Cycle Speed
    • Frequency slider 0-2; Apply writes to the game.
  • Weather Live Controls
    • Sliders for Rain, Wind, Snow, Lightning, Fog (0-1).
    • Apply Weather: sends the current values to the session with a short blend.
  • Weather Occurrence Bias
    • Bias sliders for Rain, Wind, Snow (0=no chance, 1=max chance).
    • Apply Bias: updates city weather settings and accumulation speeds.

Settings

  • UI Scale
    • Slider 0.8-2.0. Changes save immediately to config.
    • Reset sets scale to 1.0.
  • Hotkey
    • Shows the current toggle key.
    • Change puts the UI into "listening" mode; press any key to bind.
    • Cancel exits listening without changing the key.

Notes

  • Scale updates live while the menu is open.
  • Window size/position persist automatically when you resize/drag. To re-enable auto-centering on open, set WindowX = -1 and WindowY = -1 in the config.

Hotkeys & Config

  • Default hotkey: F6
  • Change hotkey in Settings or edit the config key: General.Hotkey.
  • UI section in config: UI.UiScale, UI.WindowWidth, UI.WindowHeight, UI.WindowX, UI.WindowY.
    • Set WindowX = -1 and WindowY = -1 to re-enable auto-centering on open.
  • The config file supports hot-reload with a short debounce. Most changes apply immediately; size/position are applied next time you open the menu.

Tips

  • Many toggles mirror developer/debug features - some may not persist across scene loads.
  • When experimenting with cases/evidence: use Preview/Refresh Murder Resolve Data before Auto-fill Correct Answers for best results.

Uninstall

Delete the folder BepInEx/plugins/Khundian-Shadows_of_Doubt_Debug_Menu/ (and the config BepInEx/config/khundian.sod.debugmenu.cfg if you want to remove saved settings).

CHANGELOG

Changelog

0.1.0

  • General

    • Toggle the Debug Menu with a configurable hotkey (default F6).
    • Draggable, resizable window with a bottom-right resize handle.
    • Window size (width/height) and position (x/y) persist in BepInEx config.
    • Open behavior: honors saved position if present, otherwise centers; header has Center and Close buttons.
    • UI scale slider (0.8-2.0) with Reset; scale applies live to content.
    • Config persistence for UI scale, hotkey, window size/position; file hot-reload with debounce.
  • Player tab

    • God Mode (invincible) and Heal to max.
    • Movement & travel: Noclip: Ghost, Disable Fall Damage, Teleport to end of Route.
    • Stealth & legality: Invisible Player, Inaudible Player, Everywhere Illegal, Disable Trespassing.
    • Keys to the City: grants keys for streamed doors and periodically adds new ones while enabled; restores original keyring on disable.
    • Passcode Override: toggle, 4-digit code field, Apply to set override.
    • Statuses: add/remove common statuses (Needs, Buffs/Debuffs, Injuries, Environment), forcing a status refresh.
    • Economy: add/deduct Money, Social Credit (with Grant Next SC Level and Allow Social Credit Perks), and Lockpicks.
  • Sync Disk Manager tab

    • Shows installed disks and available presets (auto-refreshing view).
    • Install 1/2/3 from presets; upgrade next tier for installed; Uninstall.
    • Attempts to ensure an upgrade vial is present for testing.
    • Displays friendly names and detailed effect/tier information.
  • Murder & Kidnap Cases tab

    • Preview/Refresh Murder Resolve Data: refreshes resolve questions and correct answers; primes internal hints (e.g., caches the murderer fingerprint evidence when available).
    • Auto-fill Correct Answers: fills answers where possible, preferring exact evidence IDs; otherwise applies safe heuristics:
      • Citizen: fills with the killer's identity when known.
      • Item (weapon questions): maps to the active murder weapon when present.
      • Item (generic): prefers the killer's fingerprint evidence when available.
      • Location: formats and fills the relevant address when resolvable.
    • Resolve Questions list shows type and current input; Clear removes input and resets progress for that question.
  • Item Spawning tab

    • Search by name; Only inventory filter; Refresh list.
    • Options: Count (buffered), Ahead distance slider.
    • Actions: Spawn in world or In Inv for inventory-capable items.
    • Virtualized list for smooth scrolling performance.
  • Time & Weather tab

    • Time: speed cycle (<, >) and exact multiplier with Set.
    • Weather Cycle Speed: frequency slider with Apply and Default (sets 0.50 and applies).
    • Live Controls: sliders for rain, wind, snow, lightning, fog; Apply Weather with short blend.
    • Occurrence Bias: rain/wind/snow bias sliders; Apply Bias updates city weather settings.
  • Settings tab

    • UI Scale slider with immediate save and Reset to 1.00.
    • Hotkey change flow with listening capture; cancel supported.