Spacefreak18 / monocoque

A device manager for driving and flight simulators, for use with common simulator software titles.
GNU General Public License v3.0
18 stars 3 forks source link

【Install】need some install full tuiortal!! #7

Open chinalhx opened 2 months ago

chinalhx commented 2 months ago

I’m Archlinux beginner Devices: Steam deck oled successfully installed ‘oversteer’ but idk how to step by step to install monocoque+simapi+simshmbridge? For example, do I need to add other instructions before executing the ‘git submodule ………command’?

Spacefreak18 commented 2 months ago

hi there, and thanks for your interest!

I just switched one of my machines over to arch linux, after spending a couple years using and contributing to a very small source-based linux distro. So I do plan on adding monocoque and other projects to the aur soon.

In the meantime, I'll try to answer your questions, but if you want quicker responses feel free to come hang out with us on matrix

The projects are all separated for a few reasons. simapi is it's own library, because it maps data from different sims into a common data structure so that applications such as monocoque don't have to repeat that code. I have two other projects simlcd and gilles which also depend on simapi. simapi in the future may be it's own dll, but for now i've been including it as a git submodule.

simshmbridge is a separate project because it's in charge of cloning the memory mapped data for the sim from proton/wine into linux. it isn't needed for all sims, such as rfactor2. That should be explained in the simshmbridge readme. The easiest thing to do is to use the examples in the readme to compile simshmbridge, and add it to your launch command for assetto corsa.

For both simshmbridge and monocoque, you clone them like you would any git repository, and then run the git submodule command to pull in simapi. They both depend on simapi.

You could also get monocoque up and running first after you cloned the main project and the git submodules. Follow the commands in the readme to create a build directory and run cmake. Install cmake first if you don't have it.

I don't know what devices you're trying to use, but the next step would be to copy the monocoque.config example in the project conf directory to ~/.config/monocoque/monocoque.config. Create the directory in your .config folder. And then customize it to your device location.

Spacefreak18 commented 2 months ago

Monocoque is now in the AUR

https://aur.archlinux.org/packages/monocoque-git

Spacefreak18 commented 2 months ago

Added some precompiled binaries for simshmbridge, but i still recommend compiling on your own.

https://github.com/Spacefreak18/simshmbridge/releases/tag/untagged-536647cb1459bbba099e

spikerguy commented 1 month ago

Maybe we should make AUR pkg for both simshmbridge and monocoque so we know where the files will be that way we can streamline the launching of the apps in future GUI tool