How laink/cotwgoldchallenge works
COTWGoldChallenge is a desktop companion and game mod for tracking a hunting-medal challenge. The player installs and configures it, keeps it running during play, and views harvest progress in an in-game overlay and browser dashboard. The graph preserves the documented trophy, map, timer, and rare-fur capabilities. Several connections are documented in the README; unsampled implementation details are not inferred beyond the source index.
Main entry points: main.go App and installer · harvest.go Harvest history · history.go Dashboard and APIs · archive.go Game archives
Components 23
Desktop companion
- App and installer
cmd/cotwgoldchallenge/main.go - Settings page
cmd/cotwgoldchallenge/settings.go - Desktop shortcut
cmd/cotwgoldchallenge/shortcut.go - Overlay hotkeys
internal/hotkey/hotkey.go
Game data
- Species and medals
internal/game/species.go - Reserves and codex
internal/game/reserves.go - Reserve maps
internal/maps/zones.go - Game archives
internal/apex/archive.go
Challenge tracking
- Harvest history
internal/harvest/harvest.go - Progress and statistics
cmd/cotwgoldchallenge/history.go - Challenge timer
internal/timer/timer.go - Challenge settings
internal/settings/settings.go
In-game mod
- Mod data files
internal/moddata/moddata.go - Movie patching
internal/patch/patch.go - Overlay runtime
internal/modclass/modclass.go
Browser dashboard
- Dashboard and APIs
cmd/cotwgoldchallenge/history.go - Detailed map tiles
cmd/cotwgoldchallenge/history.go - Species icon extraction
internal/icons/icons.go
Other components
- Player
- theHunter game
- Game files
- Hunting log
- Browser user
Connections 37
- Player → App and installer: runs
- App and installer → Game archives: reads archives
cmd/cotwgoldchallenge/main.go - Game archives → Game files: reads
- App and installer → Species and medals: loads species
cmd/cotwgoldchallenge/main.go - Species and medals → Game archives: reads archive data
internal/game/species.go - App and installer → Movie patching: patches movies
cmd/cotwgoldchallenge/main.go - App and installer → Mod data files: writes mod data
cmd/cotwgoldchallenge/main.go - Mod data files → Species and medals: serializes species
internal/moddata/moddata.go - Mod data files → Reserves and codex: serializes reserves
internal/moddata/moddata.go - App and installer → Overlay runtime: adds runtime classes
cmd/cotwgoldchallenge/main.go - Overlay runtime → Movie patching: provides ActionScript
internal/modclass/modclass.go - Movie patching → theHunter game: installs patched movies
- theHunter game → Hunting log: records harvests
- Progress and statistics → Hunting log: reads hunting log
cmd/cotwgoldchallenge/history.go - Progress and statistics → Harvest history: merges harvests
cmd/cotwgoldchallenge/history.go - Harvest history → Challenge settings: filters by start date
internal/harvest/harvest.go - Player → Settings page: edits settings
- Settings page → Challenge settings: saves settings
- Challenge settings → theHunter game: mod rereads settings
- Player → Desktop shortcut: launches together
- Desktop shortcut → App and installer: starts companion
- App and installer → Overlay hotkeys: enables overlay keys
- Overlay hotkeys → theHunter game: toggles overlay
- App and installer → Challenge timer: tracks play time
- Challenge timer → Harvest history: estimates from harvest times
internal/timer/timer.go - Player → Browser user: opens dashboard
- Browser user → Dashboard and APIs: requests reports
- Dashboard and APIs → Harvest history: summarizes harvests
cmd/cotwgoldchallenge/history.go - Dashboard and APIs → Reserve maps: serves reserve maps
cmd/cotwgoldchallenge/history.go - Reserve maps → Game archives: reads map regions
internal/maps/zones.go - Dashboard and APIs → Detailed map tiles: serves detailed tiles
cmd/cotwgoldchallenge/history.go - Detailed map tiles → Game archives: reads archive tiles
cmd/cotwgoldchallenge/history.go - Dashboard and APIs → Species icon extraction: uses species icons
- Species icon extraction → theHunter game: extracts game icons
internal/icons/icons.go - theHunter game → Mod data files: reads challenge data
- theHunter game → Harvest history: reads harvest history
- Progress and statistics → Harvest history: adds manual trophies