Commit Graph
345 Commits
Author SHA1 Message Date
Paul Dino Jones 1c4f20d7a7 updated readme to point to new supported sims chart 2026-01-05 13:05:11 -05:00
Paul Dino Jones 9fe8d0871d update to latest simapi for Dirt2 support 2025-12-30 11:40:40 -05:00
Paul Dino Jones 1f5823bce0 allow for non set cars to atleast use provided tyre diameters 2025-12-24 16:23:03 -05:00
M4X1K02 582c031755 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 9ce8a615a2 move duplicate loop release code to its own function 2025-12-22 22:44:47 -05:00
Paul Dino Jones 6bc921c955 update to latest simapi 2025-12-22 22:44:19 -05:00
Paul Dino Jones dc32dd2062 Update to latest simapi for car from outgauge 2025-12-18 00:23:45 -05:00
Paul Dino Jones 220646cfe5 update to latest simapi for ACEvo and ACRally support 2025-12-14 17:46:27 -05:00
Paul Dino Jones f7f4c00beb update to latest simapi for Assetto Corsa Rally support 2025-12-13 13:04:38 -05:00
Paul Dino Jones 7a91d3d0a1 fix flipped rpm and maxrpm in moza device update signature 2025-12-13 11:51:44 -05:00
Paul Dino Jones 9e2ed33bfb update to latest simapi to fix outgauge mapping 2025-12-12 15:39:57 -05:00
Paul Dino Jones 9ef8c5c1ee update to latest simapi for BeamNG workaround 2025-12-12 15:33:07 -05:00
Paul Dino Jones 187521a905 thread showstats so it does not go crazy 2025-12-12 15:26:50 -05:00
Paul Dino Jones 871a2b9a80 update to latest simapi to fix small issue using simd with udp sims 2025-12-12 12:22:59 -05:00
Paul Dino Jones 7687a95025 pull in simapi update to fix mapping issue with outgauge 2025-12-12 10:22:57 -05:00
Paul Dino Jones df49e8a3cc add support for BeamNG 2025-12-11 20:21:36 -05:00
Paul Dino Jones c5b4f872d3 Add basic support for Live For Speed through OutGauge and Outsim protocols 2025-12-11 17:49:39 -05:00
Paul Dino Jones 5ac70779d7 pull latest simapi to fix too many files bug 2025-11-27 19:12:32 -05:00
Paul Dino Jones 0b2685ac3f update to latest simapi to fix gear int value 2025-11-23 13:50:35 -05:00
Paul Dino Jones 42efd815df add lua dependency to README 2025-11-22 11:39:41 -05:00
Paul Dino Jones 8aadf53dc0 updated to latest simapi 2025-11-22 09:28:20 -05:00
Paul Dino Jones 09e200f16c update to latest simapi 2025-11-18 12:25:28 -05:00
Paul Dino Jones 7e0ce63e26 fix type for fourth gear 2025-11-10 13:02:15 -05:00
Paul Dino Jones 5bb1f1715c use new enums for flag and gear 2025-11-10 11:27:10 -05:00
Paul Dino Jones b96c6006ed fix issue with diameters.config not using gameid. Update to latest simapi 2025-10-28 12:18:59 -04:00
Olly Smith e32596d723 Initial support for latest Moza firmware LED controls (#25) 2025-10-28 01:39:33 -04:00
Paul Dino Jones ac04fd8e0a init and destroy logging with thread safety 2025-10-28 00:26:04 -04:00
Paul Dino Jones 2a86e3b2f9 add compilation targets for new mapping structure 2025-10-23 14:01:18 -04:00
Paul Dino Jones 989ccc5459 Updated to latest simapi 2025-10-23 13:52:24 -04:00
Paul Dino Jones 5fcb7f128d Add gearc to lua and to test sequence 2025-10-22 14:36:59 -04:00
Paul Dino Jones 90fb8969d4 working custom serial 2025-10-20 19:37:28 -04:00
Paul Dino Jones 4b94e68d6c consolidate cleanup gotos 2025-09-01 19:30:43 -04:00
Paul Dino Jones 7271a26e23 clean up argument parsing a little 2025-09-01 17:24:26 -04:00
Paul Dino Jones 6b5e16f59d fix freeing of xdg handle when help is specified 2025-09-01 11:52:52 -04:00
Paul Dino Jones e0337125d3 Add beginnings of custom arduino devices. 2025-09-01 11:38:36 -04:00
Paul Dino Jones 638c7d29c3 update to lastest simapi 2025-09-01 10:59:03 -04:00
Sebastian NoeandSebastian Noe edde4e2cad 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 ae8904b7cf fix formatting of monocoque.config 2025-08-31 19:20:58 -04:00
Paul Dino Jones b484d7e5da add newer and better examples to monocoque.config 2025-08-31 19:14:33 -04:00
Paul Dino Jones 96a5e689ff Update to latest simapi 2025-08-29 19:15:15 -04:00
Paul Dino Jones 7926706ea1 Update to latest simapi to fix tyre diameters 2025-08-29 19:01:46 -04:00
Paul Dino Jones fce4d8e33c updated to latest simapi for tyre diameter and turbo boost 2025-08-28 17:00:08 -04:00
Paul Dino Jones 5fcea3ad88 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 e22a8911b8 updated to latest simapi 2025-08-25 20:28:16 -04:00
Paul Dino Jones 29c6ebe7a2 Update to latest simapi 2025-08-25 17:46:48 -04:00
Paul Dino Jones fc21669d81 Add disable_audio flag 2025-08-15 04:19:39 -04:00
Paul Dino Jones 03b1654112 Fix gear and engine effects remove some unnecessary code 2025-07-30 03:32:41 -04:00
Morgan Garcia 40bb0b2929 Update moza.c
Change MOZA_MAGIC_VALUE back to 0x0d from 13.
2025-07-29 20:43:49 -04:00
Morgan Garcia e13faeabc7 Update moza.c
Changed MOZA_TIMEOUT back to 1000.
2025-07-29 20:43:49 -04:00
Morgan Garcia f66af0d424 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