{"id":47240126,"url":"https://github.com/itsloopyo/green-hell-headtracking","last_synced_at":"2026-05-03T19:02:19.669Z","repository":{"id":343581059,"uuid":"1165175177","full_name":"itsloopyo/green-hell-headtracking","owner":"itsloopyo","description":"An OpenTrack compatible head tracking mod for Green Hell","archived":false,"fork":false,"pushed_at":"2026-04-29T19:20:01.000Z","size":42455,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-29T21:13:49.090Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-23T22:42:09.000Z","updated_at":"2026-04-29T19:20:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed27c032-de35-483b-82b4-7e5e65b39362","html_url":"https://github.com/itsloopyo/green-hell-headtracking","commit_stats":null,"previous_names":["itsloopyo/green-hell-headtracking"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/itsloopyo/green-hell-headtracking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Fgreen-hell-headtracking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Fgreen-hell-headtracking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Fgreen-hell-headtracking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Fgreen-hell-headtracking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsloopyo","download_url":"https://codeload.github.com/itsloopyo/green-hell-headtracking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsloopyo%2Fgreen-hell-headtracking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32581021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-03-14T01:56:30.679Z","updated_at":"2026-05-03T19:02:19.656Z","avatar_url":"https://github.com/itsloopyo.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Green Hell Head Tracking\n\n![Mod GIF](https://raw.githubusercontent.com/headcannonmods/green-hell-headtracking/main/assets/readme-clip.gif)\n\nAn **unofficial**, community-created MelonLoader mod that adds head tracking to Green Hell. Move your head to look around the jungle while your mouse controls where you aim.\n\n## Features\n\n- 6DOF head tracking via OpenTrack UDP (yaw, pitch, roll, plus positional lean)\n- Decoupled look and aim: look around freely with your head while your mouse stays on target\n- Aim reticle that follows your mouse when head tracking moves the camera\n\n## Requirements\n\n- [Green Hell](https://store.steampowered.com/app/815370/Green_Hell/) (Steam)\n- [OpenTrack](https://github.com/opentrack/opentrack) or an OpenTrack-compatible tracker (smartphone, webcam, or dedicated hardware)\n\n## Installation\n\n1. Download the latest release from the [Releases page](https://github.com/itsloopyo/green-hell-headtracking/releases)\n2. Extract the ZIP anywhere\n3. Run `install.cmd`\n4. Configure OpenTrack to output UDP to `127.0.0.1:4242`\n\nThe installer finds your game automatically via the Steam registry. If it can't find the game, set the `GREEN_HELL_PATH` environment variable or pass the path directly:\n\n```\ninstall.cmd \"D:\\Games\\Green Hell\"\n```\n\n### Manual Installation\n\n1. Install [MelonLoader](https://github.com/LavaGang/MelonLoader/releases) v0.6.1 or later\n2. Run the MelonLoader installer and select your Green Hell folder\n3. Launch the game once to initialize MelonLoader, then close it\n4. Copy the following DLLs to `\u003cGreen Hell\u003e/Mods/`:\n   - `GreenHellHeadTracking.dll`\n   - `CameraUnlock.Core.dll`\n   - `CameraUnlock.Core.Unity.dll`\n   - `CameraUnlock.Core.Unity.Harmony.dll`\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\nThe default yaw mode is **camera-local**: head yaw always pans the view horizontally on screen, even if you pitch the game camera steeply up or down. Pressing Page Down switches to **world-space** yaw, which locks horizontal head movement to gravity so the horizon stays level; this feels more natural at moderate angles but degenerates toward roll when you look straight up or down.\n\n## OpenTrack Setup\n\n1. Install [OpenTrack](https://github.com/opentrack/opentrack/releases) and configure your tracker input\n2. Set output to UDP over network\n3. Set remote IP to `127.0.0.1` and port to `4242`\n4. Start tracking before launching the game\n\n### Phone App Setup\n\nThis mod includes built-in smoothing to handle 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 your IP)\n3. Set the protocol to OpenTrack/UDP\n4. Start tracking\n\nIf you want curve mapping, a visual preview, or extra filtering, route through OpenTrack instead. Since the mod already listens on 4242, OpenTrack's input needs a different port:\n\n1. In OpenTrack, set Input to UDP over network on port 5252 (or any port other than 4242)\n2. Set Output to UDP over network at `127.0.0.1:4242`\n3. In your phone app, send to your PC's IP on port 5252\n4. Open port 5252 in your firewall for incoming UDP traffic\n\n## Verifying Installation\n\n1. Start OpenTrack with tracking active\n2. Launch Green Hell\n3. Check the MelonLoader console for:\n   ```\n   Green Hell Head Tracking initializing...\n   Patched CameraManager.LateUpdate\n   Green Hell Head Tracking initialized on port 4242\n   ```\n4. Move your head in-game and the camera should follow\n5. Press Home to recenter if needed\n\n## Troubleshooting\n\n### Tracking not responding\n\n- Verify your tracker is sending to `127.0.0.1:4242`\n- Check the MelonLoader console for error messages\n- Press End to make sure tracking is enabled\n\n### \"Port may be in use\" error\n\nAnother application is using port 4242. Close it, or check what's using the port:\n\n```\nnetstat -ano | findstr 4242\n```\n\n### MelonLoader not loading\n\n- Make sure you ran the game once after installing MelonLoader\n- Check that `version.dll` exists in the game folder\n- Try reinstalling MelonLoader\n\n### Mod not appearing in console\n\n- Verify all DLLs are in the `Mods` folder\n- Check for errors in `\u003cGreen Hell\u003e/MelonLoader/Logs/`\n\n### Camera jittering\n\n- Reduce sensitivity in your tracking software\n- Ensure stable lighting if using face tracking\n\n### Tracking pauses in menus\n\nThis is intentional. Tracking resumes when you return to gameplay.\n\n## Updating\n\n1. Download the new release\n2. Run `install.cmd` again to update the mod files\n\n## Uninstalling\n\nRun `uninstall.cmd` from the release folder, or remove manually:\n\nTo remove the mod only, delete these from `\u003cGreen Hell\u003e/Mods/`:\n- `GreenHellHeadTracking.dll`\n- `CameraUnlock.Core.dll`\n- `CameraUnlock.Core.Unity.dll`\n- `CameraUnlock.Core.Unity.Harmony.dll`\n\nFor a complete removal, also delete the `MelonLoader` folder and `version.dll` from the game root, then verify game files through Steam.\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- Green Hell installed (for game assembly references)\n\n### Build Steps\n\n```bash\n# Clone with submodules\ngit clone --recurse-submodules https://github.com/itsloopyo/green-hell-headtracking\ncd green-hell-headtracking\n\n# Build and install to game\npixi run install\n\n# Or just build\npixi run build\n```\n\n### Available Commands\n\n| Command | Description |\n|---------|-------------|\n| `pixi run build` | Build the mod (Release configuration) |\n| `pixi run install` | Build and install to game directory |\n| `pixi run uninstall` | Remove the mod from the game |\n| `pixi run package` | Create release ZIP |\n| `pixi run clean` | Clean build artifacts |\n| `pixi run release` | Version bump, changelog, tag, and push |\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details.\n\n## Credits\n\n- [Creepy Jar](https://www.creepyjar.com/) - Green Hell\n- [MelonLoader](https://melonwiki.xyz/) - Mod framework\n- [Harmony](https://github.com/pardeike/Harmony) - Runtime patching\n- [OpenTrack](https://github.com/opentrack/opentrack) - Head tracking protocol\n\n## Disclaimer\n\nThis mod is not affiliated with, endorsed by, or supported by Creepy Jar. \"Green Hell\" is a trademark of Creepy Jar S.A. Use this mod at your own risk — no warranty is provided. Back up your save files before installing any mods.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsloopyo%2Fgreen-hell-headtracking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsloopyo%2Fgreen-hell-headtracking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsloopyo%2Fgreen-hell-headtracking/lists"}