{"id":50909217,"url":"https://github.com/itsloopyo/firewatch-headtracking","last_synced_at":"2026-06-16T08:30:55.742Z","repository":{"id":363176031,"uuid":"1202697297","full_name":"itsloopyo/firewatch-headtracking","owner":"itsloopyo","description":"An OpenTrack compatible head tracking mod for Firewatch","archived":false,"fork":false,"pushed_at":"2026-06-07T19:34:51.000Z","size":17794,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-07T20:10:10.858Z","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":"other","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-04-06T09:53:21.000Z","updated_at":"2026-06-07T19:34:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/itsloopyo/firewatch-headtracking","commit_stats":null,"previous_names":["itsloopyo/firewatch-headtracking"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/itsloopyo/firewatch-headtracking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Ffirewatch-headtracking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Ffirewatch-headtracking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Ffirewatch-headtracking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Ffirewatch-headtracking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsloopyo","download_url":"https://codeload.github.com/itsloopyo/firewatch-headtracking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Ffirewatch-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:55.245Z","updated_at":"2026-06-16T08:30:55.732Z","avatar_url":"https://github.com/itsloopyo.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firewatch Head Tracking\n\nAn unofficial MelonLoader mod that adds OpenTrack-compatible head tracking to Firewatch: look around by moving your head while your mouse still controls aim.\n\n![Mod GIF](https://raw.githubusercontent.com/itsloopyo/firewatch-headtracking/main/assets/readme-clip.gif)\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- [Firewatch](https://store.steampowered.com/app/383870/Firewatch/) (Steam or Xbox/MS Store)\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 latest release from the [Releases page](https://github.com/itsloopyo/firewatch-headtracking/releases)\n2. Extract the ZIP anywhere\n3. Double-click `install.cmd`\n4. Configure OpenTrack to output UDP to `127.0.0.1:4242`\n5. Launch the game\n\nThe installer automatically finds your game via Steam registry lookup and Xbox/MS Store paths. If it can't find the game:\n- Set the `FIREWATCH_PATH` environment variable to your game folder, or\n- Run from command prompt: `install.cmd \"D:\\Games\\Firewatch\"`\n\n### Manual Installation\n\nIf you prefer to install manually or the installer doesn't work for you:\n\n1. Download [MelonLoader v0.5.7](https://github.com/LavaGang/MelonLoader/releases/tag/v0.5.7) (v0.6.x is not compatible with Firewatch's Unity 2017 Mono runtime)\n2. Extract the MelonLoader zip into your Firewatch game folder (next to `Firewatch.exe`)\n3. Launch the game once to initialize MelonLoader, then close it\n4. Download the Nexus release ZIP (the one ending in `-nexus.zip`)\n5. Extract it into your game folder - `FirewatchHeadTracking.dll` lands in `Mods/` and the `CameraUnlock.Core*.dll` files land in `UserLibs/`\n6. Configure your tracker to output UDP to `127.0.0.1:4242`\n7. Launch the game\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### 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\nThis mod includes built-in smoothing for network jitter, so if your tracking app already provides a filtered signal you can send directly from your phone to the mod on port 4242 without needing OpenTrack on PC.\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, a visual preview, or extra filtering, route through OpenTrack. Since the mod already listens on 4242, OpenTrack's input needs a different port. Set OpenTrack's input to \"UDP over network\" on a different port (e.g. 5252), set its output to `127.0.0.1:4242`, and point your phone app at port 5252. 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| Toggle reticle follow | `Insert`    | `Ctrl+Shift+U` |\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`Page Down` / `Ctrl+Shift+H` toggles yaw mode:\n\n- **World-space yaw (default):** yaw rotates around the world up-axis. Looking down at your feet and moving your head left/right still pans across the floor like a compass turn - \"up\" stays a constant.\n- **Camera-local yaw:** yaw rotates around the camera's current up-axis. At extreme pitch this rolls the view, which some players prefer for aerial / zero-G content.\n\nThe `Ctrl+Shift+\u003cletter\u003e` chords are provided for keyboards without a navigation cluster (laptops, 60% / TKL layouts). Both bindings fire the same action.\n\n## Configuration\n\nSettings are stored in `UserData/MelonPreferences.cfg` under the `[HeadTracking]` section. The file is created on first run with sensible defaults.\n\n```ini\n[HeadTracking]\nUdpPort = 4242\n\n# Keybindings (Unity KeyCode names)\n# See https://docs.unity3d.com/ScriptReference/KeyCode.html\nRecenterKey = Home\nToggleKey = End\nTrackingModeKey = PageUp\nYawModeKey = PageDown\nReticleToggleKey = Insert\n\n# Yaw mode: true = horizon-locked yaw (default), false = camera-local\nWorldSpaceYaw = true\n\n# Sensitivity (multipliers, 0.1-3.0)\nYawSensitivity = 1.0\nPitchSensitivity = 1.0\nRollSensitivity = 1.0\nInvertPitch = false\n\n# Smoothing (0.0-1.0, remote connections add a minimum of 0.15)\nSmoothing = 0.0\n\n# Position tracking (meters)\nPositionEnabled = true\nPositionSensitivityX = 1.0\nPositionSensitivityY = 1.0\nPositionSensitivityZ = 1.0\nPositionLimitX = 0.30         # side-to-side\nPositionLimitY = 0.20         # up/down\nPositionLimitZ = 0.40         # forward lean\nPositionLimitZBack = 0.10     # backward lean (smaller to prevent clipping through player model)\nPositionSmoothing = 0.15\nInvertPositionX = false\nInvertPositionY = false\nInvertPositionZ = false\n\n# Reticle\nShowReticle = true            # repositions the game reticle to follow the mouse aim point\n```\n\n## Troubleshooting\n\n**Mod not loading:**\n- Make sure you ran the game once after installing MelonLoader so it could initialize\n- Verify `version.dll` exists in the game folder\n- Verify `FirewatchHeadTracking.dll` is in `Mods/` and both `CameraUnlock.Core*.dll` files are in `UserLibs/`\n- Check `MelonLoader/Latest.log` for errors\n\n**No tracking response:**\n- Verify your tracker is running and sending to `127.0.0.1:4242`\n- Press **End** to make sure tracking is enabled\n- Check the MelonLoader console for error messages\n- Check that your firewall isn't blocking UDP port 4242\n\n**Jittery / unstable tracking:**\n- Increase the `Smoothing` value (e.g. 0.1 to 0.3)\n- Reduce sensitivity in your tracking software\n- Ensure stable lighting if using face tracking\n\n**Wrong rotation axis:**\n- Toggle `InvertPitch` in the config if vertical look is reversed\n- Adjust the per-axis sensitivity multipliers in `MelonPreferences.cfg`\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` (or `Ctrl+Shift+H`). 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. MelonLoader is only removed if the installer put it there. To force-remove MelonLoader anyway:\n\n```\nuninstall.cmd /force\n```\n\n## Building from Source\n\n### Prerequisites\n\n- [.NET SDK](https://dotnet.microsoft.com/download) (any recent version)\n- [pixi](https://pixi.sh/) task runner\n- Firewatch installed (for game assembly references)\n\n### Build\n\n```bash\ngit clone --recurse-submodules https://github.com/itsloopyo/firewatch-headtracking.git\ncd firewatch-headtracking\n\n# Build and install to game\npixi run install\n\n# Build only\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- [Campo Santo](https://www.camposanto.com/) / [Panic](https://panic.com/) - Firewatch\n- [MelonLoader](https://melonwiki.xyz/) - Mod framework\n- [Harmony](https://github.com/pardeike/Harmony) - Runtime patching library\n- [OpenTrack](https://github.com/opentrack/opentrack) - Head tracking software\n\n## Disclaimer\n\nThis mod is not affiliated with, endorsed by, or supported by Campo Santo or Panic. \"Firewatch\" is a trademark of Campo Santo / Panic. Use this mod at your own risk; no warranty is provided.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsloopyo%2Ffirewatch-headtracking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsloopyo%2Ffirewatch-headtracking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsloopyo%2Ffirewatch-headtracking/lists"}