Skip to content

Installation and Run

lmirel edited this page Apr 25, 2019 · 12 revisions

on Raspbian/DietPI

if you're interested in using the prebuilt binaries, check the release page.
the binaries depend on libusb-1.0-0 and libudev1 so apt install libusb-1.0-0 libudev1

for building the tools yourself you'll need libusb-1.0 and libudev:
apt install libusb-1.0-0-dev libudev-dev

MFC server - controlling the motion platform

go into mfcserver and run: make
start the server with: sudo ./mfc-main-svr

MFC game telemetry client

go into your client folder (e.g. 'clients/pcars') and run: make
start the client with: sudo ./mfc-cli-pcars2

for games with no telemetry

you'll need to use the USB extractor and mfcxtractor tools, you need to build and start those too.

USB xtractor

build the usbxtractor tool with make in usbxtractor/sw
note that you'll need an atmega32u4-based adapter as noted here so make sure to read that and build your adapter.

start the USB extractor with: sudo ./usbxtract

MFC xtractor

build the mfcxtractor tool with make in mfcxtractor

start the MFC extractor with: sudo ./mfcxtract

run

start each of them with 'sudo' or as root into their respective directories. later on, the web app may be used for this or you might want to start them all automatically using the systemd or rc.local/profile (in /etc) function.