How shinayakae/forzaluna works
Luna is a Windows companion for Forza Horizon 6, with a WinForms interface for live driving tools, garage/database controls, teleportation, photo mode, tuning, and role-play features. The user works through feature-specific pages; some act on live game state, while preset and location workflows also use bundled data. The sampled code confirms Photo Mode and role-play UI calls into RemoteDatabase, and shows preset handling in the driving and teleport pages. Other subsystem links are left out where the excerpts do not establish their wiring.
Main entry points: Forza Horizon Luna Open Source.cs Luna app · RemoteDatabase.RolePlayGas.cs Game runtime access · MainForm.DrivingEditor.cs Driving editor · MainForm.RolePlay.cs Role-play tools
Components 26
App interface
- Luna app
src/Forza Horizon Luna Open Source.cs - Hub
src/Sections/MainForm.Hub.cs - Connection
src/Sections/MainForm.Connect.cs - Settings
src/Sections/MainForm.Settings.cs - Feature config
src/Sections/MainForm.FeatureConfig.cs
Live game tools
- Live features
src/Sections/MainForm.Features.cs - Driving editor
src/Sections/MainForm.DrivingEditor.cs - Role-play tools
src/Sections/MainForm.RolePlay.cs - Game runtime access
src/RemoteDatabase.RolePlayGas.cs - Teleport tools
src/Sections/MainForm.Teleport.cs - Photo mode
src/Sections/MainForm.PhotoMode.cs - Autoshow
src/Sections/MainForm.Autoshow.cs
Database and presets
- Database tools
src/Sections/MainForm.DatabaseTools.cs - Local database
- Driving presets
src/Sections/MainForm.DrivingEditor.cs - Teleport lists
src/Sections/MainForm.Teleport.cs - Database utilities
src/Sections/MainForm.DatabaseTools.cs
App support
- Console
src/Sections/MainForm.Console.cs - Bug feedback
src/Sections/MainForm.FeedbackBug.cs - Tutorial
src/Sections/MainForm.Tutorial.cs - Credits
src/Sections/MainForm.Credits.cs - Donations
src/Sections/MainForm.Donate.cs - Open results
src/Sections/MainForm.OpenResults.cs - UI translations
src/LocalizationDetailGenerated.cs - Credits translations
src/CreditsTranslations.cs
Other components
- Player
Connections 6
- Player → Luna app: uses
README.md - Luna app → Hub: presents
- Role-play tools → Game runtime access: sets gas hook
src/Sections/MainForm.RolePlay.cs - Photo mode → Game runtime access: applies effects
src/Sections/MainForm.PhotoMode.cs - Driving editor → Driving presets: loads presets
src/Sections/MainForm.DrivingEditor.cs - Teleport tools → Teleport lists: extracts lists
src/Sections/MainForm.Teleport.cs