{"id":50909243,"url":"https://github.com/itsloopyo/resident-evil-village-headtracking","last_synced_at":"2026-06-16T08:31:00.944Z","repository":{"id":361712092,"uuid":"1255485290","full_name":"itsloopyo/resident-evil-village-headtracking","owner":"itsloopyo","description":"An OpenTrack compatible head tracking mod for Resident Evil Village","archived":false,"fork":false,"pushed_at":"2026-05-31T22:45:49.000Z","size":12907,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-01T00:18:08.086Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsloopyo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-31T22:09:48.000Z","updated_at":"2026-05-31T22:45:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/itsloopyo/resident-evil-village-headtracking","commit_stats":null,"previous_names":["itsloopyo/resident-evil-village-headtracking"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/itsloopyo/resident-evil-village-headtracking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Fresident-evil-village-headtracking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Fresident-evil-village-headtracking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Fresident-evil-village-headtracking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Fresident-evil-village-headtracking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsloopyo","download_url":"https://codeload.github.com/itsloopyo/resident-evil-village-headtracking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Fresident-evil-village-headtracking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34398405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-16T08:30:59.904Z","updated_at":"2026-06-16T08:31:00.936Z","avatar_url":"https://github.com/itsloopyo.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!CAUTION]\n\u003e ## Experimental prototype - expect missing core features\n\u003e\n\u003e This is **not** a finished mod.\n\u003e\n\u003e Current builds may only test whether head tracking can drive the camera. Bug fixes and core features like decoupled look/aim, independent reticle behavior, correct shot direction, off-screen reticle support, movement handling, and comfort tuning may be missing at this early stage of development.\n\n# Resident Evil Village Head Tracking\n\nAn unofficial flatscreen head tracking mod for Resident Evil Village that decouples where you look from where you aim, letting you glance around with a webcam, phone, or any OpenTrack-compatible tracker while your mouse keeps control of the crosshair, no VR headset required.\n\n\u003c!-- ![Mod GIF](https://raw.githubusercontent.com/itsloopyo/resident-evil-village-headtracking/main/assets/readme-clip.gif) --\u003e\n\n## Features\n\n- **Decoupled look and aim** - head tracking moves the camera; aim stays on your mouse/controller\n- **6DOF positional tracking** - lean and peek with head position\n\n## Requirements\n\n- [Resident Evil Village](https://store.steampowered.com/app/1196590/Resident_Evil_Village/) (Steam)\n- [OpenTrack](https://github.com/opentrack/opentrack) or a compatible head tracking app (smartphone, webcam, or dedicated hardware)\n- Windows 10/11 (64-bit)\n\n## Installation\n\n1. Download the installer ZIP from the [Releases page](https://github.com/itsloopyo/resident-evil-village-headtracking/releases)\n2. Extract it anywhere\n3. Double-click `install.cmd` (it finds your game and installs REFramework if needed)\n4. Configure OpenTrack to output UDP to `127.0.0.1:4242`\n5. Launch the game\n\nThe installer finds your game via Steam registry lookup. If it can't find the game:\n- Set the `RE8_PATH` environment variable to your game folder, or\n- Pass the path as an argument: `install.cmd \"D:\\Games\\Resident Evil Village\"`\n\n### Manual Installation\n\nIf you prefer to place files by hand (or use the Nexus ZIP, which contains only the `reframework/plugins/` subtree):\n\n1. Install [REFramework](https://github.com/praydog/REFramework-nightly/releases) for RE Village (extract to the game root so `dinput8.dll` sits next to the game EXE)\n2. Copy `RE8HeadTracking.dll` into `\u003cgame\u003e/reframework/plugins/`\n\nThe mod writes its config file alongside the DLL on first launch.\n\n## Setting Up OpenTrack\n\n1. Download and install [OpenTrack](https://github.com/opentrack/opentrack/releases)\n2. Configure your tracker as input\n3. Set output to **UDP over network**\n4. Host: `127.0.0.1`, Port: `4242`\n5. Start tracking before launching the game\n\n### VR Headset Setup\n\nIf you own a VR headset, its motion sensors make an excellent tracker even though the game itself stays flatscreen.\n\n1. Connect the headset to the PC (Quest: Air Link or Virtual Desktop; PCVR headsets connect directly)\n2. Launch SteamVR so the headset is tracked\n3. In OpenTrack, set the input to **SteamVR**\n4. Set output to **UDP over network** (`127.0.0.1:4242`)\n5. Start tracking before launching the game\n\n### Webcam Setup\n\nNo special hardware needed. OpenTrack's built-in **neuralnet tracker** uses any webcam for 6DOF face tracking.\n\n1. In OpenTrack, set the input to **neuralnet tracker**\n2. Select your webcam in the tracker settings\n3. Set output to **UDP over network** (`127.0.0.1:4242`)\n4. Start tracking before launching the game\n5. Recenter in OpenTrack via its hotkey, and press **Home** in-game to recenter the mod as needed\n\n### Phone App Setup\n\nIf your phone app sends a sufficiently filtered signal (built-in smoothing, stable sample rate), you can send directly to port 4242 without needing OpenTrack on PC. The mod includes interpolation for network jitter.\n\n1. Install an OpenTrack-compatible head tracking app\n2. Configure it to send to your PC's IP on port 4242 (run `ipconfig` to find it)\n3. Set the protocol to OpenTrack/UDP\n\n**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), point your phone app at that port, and set OpenTrack's output to `127.0.0.1:4242`. Make sure your firewall allows incoming UDP on the input port.\n\n## Controls\n\nTwo equivalent binding sets - use whichever your keyboard has:\n\n| Action              | Nav-cluster | Chord           |\n|---------------------|-------------|-----------------|\n| Recenter            | `Home`      | `Ctrl+Shift+T`  |\n| Toggle tracking     | `End`       | `Ctrl+Shift+Y`  |\n| Cycle tracking mode | `Page Up`   | `Ctrl+Shift+G`  |\n| Toggle yaw mode     | `Page Down` | `Ctrl+Shift+H`  |\n\n`Page Up` / `Ctrl+Shift+G` cycles tracking mode:\n\n1. Normal head-tracked gameplay\n2. Positional tracking disabled, rotational tracking enabled\n3. Rotational tracking disabled, positional tracking enabled\n4. Back to normal\n\n## Configuration\n\nThe mod creates a config file at `reframework/plugins/HeadTracking.ini` on first run. Edit it to customize:\n\n```ini\n[Network]\nUDPPort=4242                ; UDP port for OpenTrack data\n\n[Sensitivity]\nYawMultiplier=1.0           ; Horizontal rotation (0.1-5.0)\nPitchMultiplier=1.0         ; Vertical rotation (0.1-5.0)\nRollMultiplier=1.0          ; Head tilt (0.0-2.0)\n\n[Position]\nSensitivityX=1.0            ; Lateral movement (0.1-10.0)\nSensitivityY=1.0            ; Vertical movement (0.1-10.0)\nSensitivityZ=1.0            ; Depth movement (0.1-10.0)\nLimitX=0.30                 ; Max lateral offset in meters\nLimitY=0.20                 ; Max vertical offset in meters\nLimitZ=0.40                 ; Max forward offset in meters\nLimitZBack=0.10             ; Max backward offset (prevents clipping through the player)\nSmoothing=0.15              ; Position smoothing (0.0-0.99)\nInvertX=true                ; Invert lateral axis\nInvertY=false               ; Invert vertical axis\nInvertZ=false               ; Invert depth axis\nEnabled=true                ; Enable/disable 6DOF position tracking\n\n[Hotkeys]\n; Virtual key codes (hex)\nToggleKey=0x23              ; End - enable/disable tracking\nRecenterKey=0x24            ; Home - recenter view\nPositionToggleKey=0x21      ; Page Up - toggle position tracking\nYawModeKey=0x22             ; Page Down - toggle world/local yaw\nDiagnosticMarkerKey=0x78    ; F9 - place a marker in the diagnostic log\n\n[General]\nAutoEnable=true             ; Enable tracking on game start\nWorldSpaceYaw=true          ; true = horizon-locked yaw (default), false = camera-local\n```\n\nDelete the file to reset to defaults.\n\n## Troubleshooting\n\n**Mod not loading:**\n- Ensure REFramework is installed (`dinput8.dll` in game root)\n- Check `reframework/` folder exists with `plugins/RE8HeadTracking.dll` inside\n- Try running the game as administrator once\n\n**No tracking response:**\n- Verify OpenTrack is running and outputting data\n- Check UDP port matches (default 4242)\n- Press **End** to enable tracking, **Home** to recenter\n- Check firewall isn't blocking UDP port 4242\n\n**Jittery / unstable tracking:**\n- Increase position smoothing in HeadTracking.ini\n- If using a phone app over WiFi, some jitter is expected\n\n**Wrong rotation axis:**\n- Adjust sensitivity multipliers or use the Invert settings in the Position section\n\n**Yaw feels wrong when looking up or down at extreme angles:**\n- Try toggling between world-locked and camera-local yaw with `Page Down`. World-locked (default) is horizon-stable; camera-local follows the camera's current up-axis.\n\n## Updating\n\nDownload the new release and run `install.cmd` again. Your config is preserved.\n\n## Uninstalling\n\nRun `uninstall.cmd` from the release folder. This removes the mod DLLs. REFramework is only removed if it was originally installed by this mod. To force-remove REFramework:\n\n```powershell\nuninstall.cmd /force\n```\n\n## Building from Source\n\n### Prerequisites\n\n- [CMake](https://cmake.org/) 3.20+\n- [Visual Studio 2022](https://visualstudio.microsoft.com/) with C++ desktop workload\n- [pixi](https://pixi.sh) task runner\n\n### Build\n\n```bash\ngit clone --recurse-submodules https://github.com/itsloopyo/resident-evil-village-headtracking.git\ncd resident-evil-village-headtracking\n\n# Build and deploy to game (release)\npixi run install\n\n# Build only (debug)\npixi run build\n\n# Package for release\npixi run package\n```\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details.\n\n## Credits\n\n- [Capcom](https://www.capcom.com/) - Resident Evil Village\n- [praydog](https://github.com/praydog/REFramework) - REFramework\n- [OpenTrack](https://github.com/opentrack/opentrack) - Head tracking software\n- [CameraUnlock Core](https://github.com/itsloopyo/cameraunlock-core) - Shared tracking, smoothing, and camera library\n\n## Disclaimer\n\nThis mod is not affiliated with, endorsed by, or supported by Capcom. Use at your own risk.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsloopyo%2Fresident-evil-village-headtracking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsloopyo%2Fresident-evil-village-headtracking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsloopyo%2Fresident-evil-village-headtracking/lists"}