Commit Graph

395 Commits

Author SHA1 Message Date
Paul Dino Jones 62bda5a58c updated readme to point to new supported sims chart 2026-01-05 13:05:11 -05:00
Paul Dino Jones 9194b7173b update to latest simapi for Dirt2 support 2025-12-30 11:40:40 -05:00
Paul Dino Jones 681d456c51 allow for non set cars to atleast use provided tyre diameters 2025-12-24 16:23:03 -05:00
M4X1K02 d984e5ee86
feat: Add universal installer and TUI manager (#26)
* feat: Add universal installer and TUI manager

This vibe-coded project now includes a comprehensive installation system
that simplifies monocoque setup across all major Linux distributions.

Key Features:
- Universal installer (install.sh) with automatic distribution detection
- Installs binaries to ~/.local/share/monocoque (user-local, no root needed)
- Creates launcher scripts in ~/.local/bin (start-simd, start-monocoque, test-monocoque)
- Interactive TUI manager (monocoque-manager) for service management
- Complete uninstaller (tools/uninstall.sh) with selective removal
- Dynamic systemd service generation for auto-start capability

Installation Components:
- install.sh: One-command installation across Arch, Debian/Ubuntu, Fedora, openSUSE
- tools/monocoque-manager: Python TUI for real-time status monitoring
- tools/uninstall.sh: Clean removal with config/log preservation options
- Updated README.md with quick install instructions

Architecture:
- User-local installation (no system pollution)
- Binaries: ~/.local/share/monocoque/{monocoque,simapi,simshmbridge}/
- Configs: ~/.config/{monocoque,simd}/
- Launchers: ~/.local/bin/{start-*,test-*,monocoque-manager}
- Services: ~/.config/systemd/user/ (generated dynamically)

Distribution Support:
- AUR integration for Arch users (fastest installation path)
- Native package manager integration (pacman, apt, dnf, zypper)
- Comprehensive dependency handling and build automation

This reduces installation time from 30-60 minutes to 5-15 minutes while
providing better user experience and easier maintenance.

Tested on Garuda Linux (Arch-based) - successful installation, operation, and cleanup.

* refactor: address PR feedback and improve XDG compliance

- Consolidate installers: removed universal-install.sh in favor of install.sh
- Fix XDG compliance: updated install.sh, uninstall.sh, and monocoque-manager to respect XDG_DATA_HOME, XDG_CONFIG_HOME, and XDG_CACHE_HOME with proper fallbacks
- Remove --no-daemon flag from simd launcher and systemd service as requested
- Improve TUI compatibility: fixed popen execution for Kitty (confirmed working), xfce4-terminal, Alacritty, and xterm
- Add documentation: added references to spacefreak18.github.io/simapi/ in README and installer
2025-12-23 17:11:51 -05:00
Paul Dino Jones a962d658a3 move duplicate loop release code to its own function 2025-12-22 22:44:47 -05:00
Paul Dino Jones f58d8cbc42 update to latest simapi 2025-12-22 22:44:19 -05:00
Paul Dino Jones efbafb07c2 Update to latest simapi for car from outgauge 2025-12-18 00:23:45 -05:00
Paul Dino Jones f062a53e7f update to latest simapi for ACEvo and ACRally support 2025-12-14 17:46:27 -05:00
Paul Dino Jones 3797357844 update to latest simapi for Assetto Corsa Rally support 2025-12-13 13:04:38 -05:00
Paul Dino Jones 88f0f4005f fix flipped rpm and maxrpm in moza device update signature 2025-12-13 11:51:44 -05:00
Paul Dino Jones 0772821f62 update to latest simapi to fix outgauge mapping 2025-12-12 15:39:57 -05:00
Paul Dino Jones 6c6ac81a2c update to latest simapi for BeamNG workaround 2025-12-12 15:33:07 -05:00
Paul Dino Jones 82a246a4b1 thread showstats so it does not go crazy 2025-12-12 15:26:50 -05:00
Paul Dino Jones 03f807ac34 update to latest simapi to fix small issue using simd with udp sims 2025-12-12 12:22:59 -05:00
Paul Dino Jones 503781673b pull in simapi update to fix mapping issue with outgauge 2025-12-12 10:22:57 -05:00
Paul Dino Jones 7cac9e9fa0 add support for BeamNG 2025-12-11 20:21:36 -05:00
Paul Dino Jones 25bfe2325c Add basic support for Live For Speed through OutGauge and Outsim protocols 2025-12-11 17:49:39 -05:00
Paul Dino Jones fea3bee324 pull latest simapi to fix too many files bug 2025-11-27 19:12:32 -05:00
Paul Dino Jones 5c30844709 update to latest simapi to fix gear int value 2025-11-23 13:50:35 -05:00
Paul Dino Jones 0700ab9a31 add lua dependency to README 2025-11-22 11:39:41 -05:00
Paul Dino Jones 817e0f2001 updated to latest simapi 2025-11-22 09:28:20 -05:00
Paul Dino Jones a44fd51bda update to latest simapi 2025-11-18 12:25:28 -05:00
Paul Dino Jones 34ad2f63db fix type for fourth gear 2025-11-10 13:02:15 -05:00
Paul Dino Jones f716e30633 use new enums for flag and gear 2025-11-10 11:27:10 -05:00
Paul Dino Jones 10d572f227 fix issue with diameters.config not using gameid. Update to latest simapi 2025-10-28 12:18:59 -04:00
Olly Smith 98bc0b57c9
Initial support for latest Moza firmware LED controls (#25) 2025-10-28 01:39:33 -04:00
Paul Dino Jones 1c1323961c init and destroy logging with thread safety 2025-10-28 00:26:04 -04:00
Paul Dino Jones a98bcbcedb add compilation targets for new mapping structure 2025-10-23 14:01:18 -04:00
Paul Dino Jones ead22efbc8 Updated to latest simapi 2025-10-23 13:52:24 -04:00
Paul Dino Jones f7143e2024 Add gearc to lua and to test sequence 2025-10-22 14:36:59 -04:00
Paul Dino Jones 0780b001f6 working custom serial 2025-10-20 19:37:28 -04:00
Paul Dino Jones 7f3727d2f1 consolidate cleanup gotos 2025-09-01 19:30:43 -04:00
Paul Dino Jones a3059b30ba clean up argument parsing a little 2025-09-01 17:24:26 -04:00
Paul Dino Jones 0e5498f220 fix freeing of xdg handle when help is specified 2025-09-01 11:52:52 -04:00
Paul Dino Jones e380f3a9d4 Add beginnings of custom arduino devices. 2025-09-01 11:38:36 -04:00
Paul Dino Jones 433e2423e8 update to lastest simapi 2025-09-01 10:59:03 -04:00
Sebastian Noe a730096e86
Provide instructions to set up monocoque (#24)
* add consolidated instructions on how to run monocoque

* reference config test

* reference user setup guide

---------

Co-authored-by: Sebastian Noe <sebastian.schneider@boxine.de>
2025-08-31 21:57:41 -04:00
Paul Dino Jones e4a8a998e8 fix formatting of monocoque.config 2025-08-31 19:20:58 -04:00
Paul Dino Jones 7e923354ba add newer and better examples to monocoque.config 2025-08-31 19:14:33 -04:00
Paul Dino Jones 7f7a24269a Update to latest simapi 2025-08-29 19:15:15 -04:00
Paul Dino Jones a6b039c292 Update to latest simapi to fix tyre diameters 2025-08-29 19:01:46 -04:00
Paul Dino Jones d7dbab7956 updated to latest simapi for tyre diameter and turbo boost 2025-08-28 17:00:08 -04:00
Paul Dino Jones 88f3e0ebb9 Add led_clear_range lua function so leds can be cleared without clearing them all for certain effects 2025-08-26 18:05:09 -04:00
Paul Dino Jones 811ce77da8 updated to latest simapi 2025-08-25 20:28:16 -04:00
Paul Dino Jones 442a1b88a2 Update to latest simapi 2025-08-25 17:46:48 -04:00
Paul Dino Jones 4684ee49c3 Add disable_audio flag 2025-08-15 04:19:39 -04:00
Paul Dino Jones 10ecfa858a Fix gear and engine effects remove some unnecessary code 2025-07-30 03:32:41 -04:00
Morgan Garcia 23f45d8f56 Update moza.c
Change MOZA_MAGIC_VALUE back to 0x0d from 13.
2025-07-29 20:43:49 -04:00
Morgan Garcia 9f51f03efa Update moza.c
Changed MOZA_TIMEOUT back to 1000.
2025-07-29 20:43:49 -04:00
Morgan Garcia 223cf26e28 Update moza.c
moza_update function

Updated variable name to perctflt and changed the value to multiply the quotient of rpm/maxrpm by 100.

Made int perct variable to round perctflt to nearest whole number.

Updated LED activation ranges so that all 10 LEDs get activated when given rpm percentage is reached.
2025-07-29 20:43:49 -04:00