So, #x4foundations Timelines released today. Bagged it, of course. Don’t even really know what’s coming but the X series are something I enjoy since X: Beyond The Frontier in 1999. Kinda rad that a company that old managed to stay in business and true to their very own franchise.
Oh and also native for #Linux PC, my daily (and only) system for #gaming.
I was reminded by the OnThisDay feature that I used many X4 screenshots and recordings as background for presentations and video conferences during the self isolation times of the first Covid waves. The media was recorded in-game before, of course.
I also wish I’d had recorded that IndieWeb presentation alas I did not ☹
well-remembered series from the late 70's, embodied in a new opening as a tribute.Audio original: opening Battlestar Galactica 1978, created by Glen A. Larso...
How it’s done? NMS does support a gamepad but it also reads/maps all gamepads to a single device. It makes no difference between multiple gamepads!
This leaves me with a very limited amount of possible buttons on the HOTAS after mapping that to one virtual gamepad using MoltenGamepad (I usually split that one up into multiple gamepads for braindead games).
So for additional buttons I used AntiMicroX to map the rest as keyboard presses.
Doing so I noticed that NMS does “look-around” on the right stick and this is where OpenTrack comes into the play. It offers a joystick output (using evdev) and that is also just… a gamepad! Needs some remapping though to get pitch and jaw to the proper axis for NMS. This is done via SDL env (basically what Steam does under the hood but boy their GUI for that sucks): SDL_GAMECONTROLLERCONFIG="000022e86f70656e747261636b206800,opentrack-to-nms,rightx:a3,righty:a4,platform:Linux,crc:e822,"
And there you have it. NMS with my trusty old X52 Pro and a DIY headtracker for 5 bucks 🤓
PS: I’m aware that the recording quality sucks. This was very spontaneous with a webcam sitting on my chair. I basically just finished my happy dance that this started working properly and decided to smash that recording button. PC was not even in “gamemode”.
Putting this here so I don’t forget it next time: Required packages to build #OpenTrack on Linux PC (with joystick output support): dnf install cmake git qt5-qttools-devel qt5-qtbase-private-devel procps-ng-devel opencv-devel libevdev-devel