Commit Graph

159 Commits

Author SHA1 Message Date
AskaEth 636801b6a3 feat: universal gear indicator with R/N/1-8 display, configurable gear_style mapping 2026-07-25 16:23:42 +08:00
AskaEth b8fa14fc67 fix: Forza Horizon gear display - 0=R, 1-8=actual gear (not N) 2026-07-25 16:20:35 +08:00
AskaEth 1649f91318 fix: correct Forza FH5/FH6 UDP packet parser offsets per official spec
- Speed: offset 256 (m/s * 3.6 = km/h), was incorrectly at 244 (PositionX)
- Gear: offset 319 (U8), was at 264/298
- Throttle/Brake: offsets 315/316 (U8, 0-255)
- Steering: offset 320 (S8, -127~127)
- RPM: offset 16 ✓, MaxRPM: offset 8 ✓
- Lap times: BestLap=296, LastLap=300, CurrentLap=304
- LapNumber: offset 312 (U16)
- Boost: 284, Fuel: 288, Position: 244/248/252
- Updated all Forza parsers (FH4, FH5) and fallback parser
- Ref: Forza Data Out official format (324 bytes)
2026-07-25 16:19:53 +08:00
AskaEth 0d50ba2177 chore: comprehensive .gitignore for Python, IDE, OS, runtime data 2026-07-25 15:45:06 +08:00
AskaEth 2177e65fb4 feat: dashboard manifest supports 'supported_games' field, frontend filters by selected game
- DashboardTheme model adds supported_games (default: 'all')
- Built-in dashboards declare game compatibility:
  speedometer/tachometer/gear_indicator -> all
  lap_timer -> forza_horizon_5,forza_horizon_4,forza_motorsport,f1_24
- Dashboard browser filters themes by selected game
- Card shows '全' (all) or '限' (limited) badge
- Updated DASHBOARD_DEV.md with supported_games spec
2026-07-25 15:41:55 +08:00
AskaEth 5e177f4514 docs: add dedicated DASHBOARD_DEV.md and PLUGIN_DEV.md, simplify README & CONTRIBUTING 2026-07-25 15:38:24 +08:00
AskaEth a46e5d786d docs: update README and CONTRIBUTING for new folder structure and .tsd/.tss/.tsp formats 2026-07-25 15:36:36 +08:00
AskaEth 63e3c8d607 refactor: standalone dashboard folders with index.html, zip-based import/export (.tsd/.tss/.tsp)
- Each dashboard is now a self-contained folder: manifest.json + index.html
- Auto-scan dashboards/ and data/dashboards/ on startup
- Export: .tsd (dashboards), .tss (scenes), .tsp (game plugins) - all zip format
- Dashboard index.html is complete standalone page (WS + data binding)
- Aspect ratio constraints handled in each dashboard's own JS
- Removed template-based dashboard rendering in favor of static serve
- Import via file upload endpoints, export via direct file download
2026-07-25 15:35:08 +08:00
Yei.J. (AskaEth) d61bb61a83 feat: TurboSu initial release - racing telemetry dashboard 2026-07-25 15:23:40 +08:00