How peresew3734/wand-enhancer-source works
WandEnhancer is a Windows desktop patcher for the local Wand client, with an optional phone-accessible web panel. The desktop flow selects or discovers an installation, applies configured archive and client patches, and can monitor Squirrel updates to reapply them. The panel serves a browser UI over LAN HTTP/WebSocket and exposes remote trainer controls. The graph combines explicit README capabilities with sampled call relationships and SOURCE INDEX references; unsampled implementation details are represented only at supported directory level.
Main entry points: Enhancer.cs Patch orchestration · server.ts LAN bridge server · app.tsx Web panel app · MainWindowVm.cs Desktop UI
Components 28
Desktop patcher
- Desktop UI
WandEnhancer/View/MainWindow/MainWindowVm.cs - Application startup
WandEnhancer/Program.cs - Install discovery
WandEnhancer/Utils/WeModInstalls.cs - Update watcher
WandEnhancer/Core/Services/UpdateWatcherService.cs
Patch pipeline
- Patch orchestration
WandEnhancer/Core/Enhancer.cs - ASAR archive tools
AsarSharp/AsarExtractor.cs - Archive creation
AsarSharp/AsarCreator.cs - Client content patches
WandEnhancer/Core/Patching/Content/AsarContentPatcher.cs - Renderer injection
WandEnhancer/Core/Patching/Content/RemotePanelInjector.cs - Patch strategies
WandEnhancer/Core/Patching/Strategies/StrategyFactory.cs - Launcher deployment
WandEnhancer/Core/Patching/Shared/LauncherDeployment.cs - Archive integrity
AsarSharp/Integrity/IntegrityHelper.cs - Pickle encoding
AsarSharp/PickleTools/Pickle.cs
Remote panel
- LAN bridge server
web-panel/bridge/src/server.ts - Protocol routing
web-panel/bridge/src/protocol-router.ts - Wire protocol
web-panel/protocol/messages.ts - Data normalization
web-panel/bridge/src/normalizers/index.ts - Bridge runtime
web-panel/bridge/src/runtime.ts
Panel experience
- Web panel app
web-panel/src/app/app.tsx - Remote session client
web-panel/src/remote-session/remote-session.client.ts - Trainer controls
web-panel/src/trainer/controls/CheatControl.tsx - Game library
web-panel/src/library/model/games.ts
Configuration and state
- Settings service
WandEnhancer/Core/Services/SettingsManager.cs - Patch configuration
WandEnhancer/Models/PatchConfig.cs - Browser preferences
web-panel/src/shared/storage.ts
Other components
- Desktop user
- Phone browser
- Local Wand client
Connections 30
- Desktop user → Desktop UI: configures patch
README.md - Desktop UI → Install discovery: selects install
WandEnhancer/View/MainWindow/MainWindowVm.cs - Application startup → Patch orchestration: launches patch
WandEnhancer/Program.cs - Application startup → Update watcher: starts watcher
WandEnhancer/Program.cs - Update watcher → Patch orchestration: reapplies patch
WandEnhancer/Core/Services/UpdateWatcherService.cs - Install discovery → Patch orchestration: provides install
WandEnhancer/View/MainWindow/MainWindowVm.cs - Patch orchestration → ASAR archive tools: extracts archive
WandEnhancer/Core/Enhancer.cs - Patch orchestration → Client content patches: patches content
WandEnhancer/Core/Enhancer.cs - Patch orchestration → Renderer injection: injects scripts
WandEnhancer/Core/Enhancer.cs - Patch orchestration → Patch strategies: selects strategy
WandEnhancer/Core/Enhancer.cs - Patch orchestration → Launcher deployment: deploys launcher
WandEnhancer/Core/Enhancer.cs - Patch orchestration → Archive creation: packs archive
WandEnhancer/Core/Enhancer.cs - ASAR archive tools → Archive integrity: checks integrity
- ASAR archive tools → Pickle encoding: encodes metadata
- Settings service → Patch configuration: loads config
WandEnhancer/Core/Services/SettingsManager.cs - Desktop UI → Settings service: loads preferences
WandEnhancer/View/MainWindow/MainWindowVm.cs - Phone browser → LAN bridge server: opens panel
README.md - LAN bridge server → Protocol routing: routes messages
web-panel/bridge/src/server.ts - Protocol routing → Wire protocol: validates protocol
web-panel/bridge/src/protocol-router.ts - LAN bridge server → Data normalization: normalizes results
web-panel/bridge/src/server.ts - LAN bridge server → Bridge runtime: uses runtime
- Web panel app → Remote session client: connects session
web-panel/src/app/app.tsx - Remote session client → LAN bridge server: exchanges messages
- Remote session client → Wire protocol: uses message types
web-panel/src/remote-session/remote-session.client.ts - Web panel app → Trainer controls: renders controls
- Web panel app → Game library: shows games
- Web panel app → Browser preferences: saves preferences
- Renderer injection → LAN bridge server: enables panel bridge
README.md - LAN bridge server → Local Wand client: controls client
README.md - Desktop user → Local Wand client: customizes locally
README.md