Sheet C-01
Reference
From source
Commands
Every console command, keybind, and build script, straight from source.
SEC. 01
In-game console
Toggles accept on/off; bare flips state.
| Command | Args | What it does |
|---|---|---|
| Camera & movement | ||
| 3dcam | - | Toggles the perspective camera |
| 3dcam follow | on|off | Auto-follow behind movement |
| 3dcam lock | on|off | Camera position lock |
| 3dcam wasd | on|off | WASD mode on/off |
| 3dcam fp | on|off | First person |
| 3dcam analog | on|off | Analog WASD: smooth 360° walk; 8-way keys without the hook |
| 3dcam backcam | on|off | Backpedal swings the camera behind you |
| 3dcam backspin | on|off | Instant backpedal snap in place of the eased swing |
| 3dcam turn | 20-720 | A/D pan speed, deg/s |
| 3dcam sens | 0.02-2.0 | Mouse-look speed, deg/px |
| Targeting & aim | ||
| 3dcam magnet | on|off | Aim assist: clicking a unit’s body selects it |
| 3dcam magnetr | 1-40 | Assist radius |
| 3dcam npcfilter | on|off | Only enemies and talkable NPCs get grabbed, not every friendly |
| 3dcam wallck | on|off | Wall check: nothing behind walls or fences gets picked |
| 3dcam pixpick | on|off | Pixel pick: only what the cursor is truly on (game’s projection) |
| 3dcam cull | on|off | Distance cull: skips projection for units beyond view range (perf) |
| 3dcam pickscan | on|off | Logs pick scores for targeting diagnostics |
| 3dcam raylog | on|off | Captures 15 s of aim-ray data |
| 3dcam srvprobe | - | Dumps nearby units’ server verdicts to the log |
| Minimap arrow | ||
| 3dcam maparrow | on|off | Direction arrow by the automap marker, showing facing |
| 3dcam arrowflip | on|off | Mirror the arrow |
| 3dcam arrowrot | -360..360 | Arrow rotation offset, deg |
| 3dcam arrowsize | 0 or 6-64 | Arrow size; 0 returns to auto |
| 3dcam arrowcol | gold|blue|white | Color |
| 3dcam mapbox | l t w h | Corner map-box override; bare restores auto |
| 3dcam arrowoff | dx dy | Arrow position offset, px |
| Shadows, boxes & diagnostics | ||
| 3dcam shadows | stock|clamp | Shadow fit: stock uses the game’s camera, killing stray quads |
| 3dcam boxw | 0.4-3.0 | Box width multiplier |
| 3dcam inputlog | on|off | Input log |
| 3dcam help | - | Prints the live controls card |
| renderdist | on|off | Render-distance plugin toggle; separate DLL |
SEC. 02
Controls
Default bindings with the camera on; 3dcam help prints live states.
| Input | Action |
|---|---|
| F12 | Camera on/off |
| Wheel | Zoom |
| MMB drag | Orbit the camera |
| W / S | Forward/back; S swings camera behind (backspin snaps) |
| A / D | Pan standing; steer heading moving: camera is the wheel |
| Q / E | Strafe: camera holds |
| L | Camera lock toggle |
| Mouse | Stock D2R: click-to-move, aim, skills; body clicks select units |
SEC. 03
Build & deploy
Run from the repo root unless noted. Deploy needs the game and D2RLoader closed.
| Command | What it does |
|---|---|
| python handoff\scripts\dev_build.py | Workspace + SDK + bazel //plugin:dist; plugins zip to launcher data |
| python handoff\scripts\deploy_latest.py | Version store + deploys the latest build to all managed plugin locations |
| cd launcher && python -m pytest | Launcher tests, must stay green (106 tests) |
| python tools\check_release_clean.py | Publishable-repo check: no personal paths or private material |
| python -m PyInstaller --noconfirm --distpath dist --workpath build D2R-3D-Launcher.spec | Packages the launcher exe |
SEC. 04
Files the game writes
Diagnostics live under Saved Games; the input log is the source of truth.
| Path | What it is |
|---|---|
| Saved Games\Diablo II Resurrected\3dcam-input.log | Key events, follow gates, pick scores |
| Saved Games\Diablo II Resurrected\3dcam.cfg | Persisted toggle settings |
| d2r-3d-groundfx.toml (game folder, with ReShade) | groundfx settings: enabled, sky, depth, palette, night |
| d2rloader.toml | enable_console = true required for console commands |