OpenTrack Compatible Head Tracking for PEAK
Decoupled head tracking for PEAK using any OpenTrack-compatible tracker - webcam, phone app, or dedicated hardware.
截圖 共 1 張
模組介紹 作者原文
Peak Head Tracking
An unofficial BepInEx mod that adds head tracking to PEAK via OpenTrack. Look around naturally with your head while your aim stays independent.
Features
- Decoupled look + aim: Look around freely with your head while your crosshair stays where you're aiming
- 6DOF head tracking: Full rotation (yaw, pitch, roll) and positional tracking via OpenTrack UDP protocol
Requirements
- PEAK (Steam)
- OpenTrack or a compatible head tracking app (smartphone, webcam, or dedicated hardware)
- Windows 10/11 (x64)
Installation
- Download the latest release from the Releases page
- Extract the ZIP anywhere
- Double-click install.cmd
- Configure OpenTrack to output UDP to 127.0.0.1:4242
- Launch the game
The installer automatically finds your game via Steam registry lookup. If it can't find the game:
- Set the PEAK_PATH environment variable to your game folder, or
- Run from command prompt: install.cmd "D:\Games\PEAK"
Manual Installation
If you prefer to install manually or the installer doesn't work for you:
- Install BepInExPack_PEAK into your game folder:
- Download and extract the archive
- Copy the contents of the BepInExPack_PEAK folder to your game root (where Peak.exe lives) — this includes winhttp.dll, doorstop_config.ini, and the BepInEx folder
- Download the release ZIP (the one ending in -.zip)
- Extract it into your game folder — the DLLs will land in BepInEx/plugins:
- PeakHeadTracking.dll
- CameraUnlock.Core.dll
- CameraUnlock.Core.Unity.dll
- Configure your tracker to output UDP to 127.0.0.1:4242
- Launch the game
Setting Up OpenTrack
- Download and install OpenTrack
- Configure your tracker as input
- Set output to UDP over network
- Host: 127.0.0.1, Port: 4242
- Start tracking before launching the game
Webcam Setup
No special hardware needed — OpenTrack's built-in neuralnet tracker uses any webcam for 6DOF face tracking.
- In OpenTrack, set the input to neuralnet tracker
- Select your webcam in the tracker settings
- Set output to UDP over network (127.0.0.1:4242)
- Start tracking before launching the game
- Recenter in OpenTrack via its hotkey, and press Home in-game to recenter the mod as needed
Phone App Setup
This mod includes built-in smoothing for network jitter, so you can send directly from your phone on port 4242 without needing OpenTrack on PC.
- Install an OpenTrack-compatible head tracking app
- Configure it to send to your PC's IP on port 4242 (run ipconfig to find it)
- Set the protocol to OpenTrack/UDP
With OpenTrack (optional): If you want curve mapping or visual preview, route through OpenTrack. Set OpenTrack's input to "UDP over network" on a different port (e.g. 5252), output to 127.0.0.1:4242, and point your phone at port 5252. Make sure your firewall allows incoming UDP on the input port.
Controls
Two equivalent binding sets - use whichever your keyboard has:
| Action | Nav-cluster | Chord |
|---------------------|-------------|-----------------|
| Recenter | Home | Ctrl+Shift+T |
| Toggle tracking | End | Ctrl+Shift+Y |
| Cycle tracking mode | Page Up | Ctrl+Shift+G |
Page Up / Ctrl+Shift+G cycles tracking mode:
- Normal head-tracked gameplay
- Positional tracking disabled, rotational tracking enabled
- Rotational tracking disabled, positional tracking enabled
- Back to normal
Configuration
The mod creates a config file at BepInEx/config/com.cameraunlock.peak.headtracking.cfg on first run.
[Connection]
UDP Port = 4242 # Must match OpenTrack output port (1024-65535)
Reconnect Timeout = 5 # Seconds before reconnection attempt (1-60)
Packet Buffer Size = 100 # Max packets to buffer (10-500)
[General]
Tracking Enabled = true # Start with tracking enabled
Position Enabled = true # Enable lean/positional tracking (6DOF)
Enable Audio Feedback = true # Play sounds for tracking state changes
[Sensitivity]
Yaw Sensitivity = 1.0 # Horizontal rotation (0.1-5.0)
Pitch Sensitivity = 1.0 # Vertical rotation (0.1-5.0)
Roll Sensitivity = 1
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: