No Man's Sky
1.0 2.0 4.0
Primary Buffer Panel
- 🖥️ Full 5760x1200 on triple head setup
- 🕹️ X52 Pro as virtual gamepad
- 🕹️ Primary Buffer Panel as virtual keyboard
- 🎧 Head tracking as virtual gamepad
- 🔧 Multi-function display
- 🚦 Blinken lights
No Man's Sky really changed a lot over the years. What it still doesn’t do is supporting joysticks. Or head tracking. We’re very used to this by now though and manage.
Like most games does this one also not detect a screen layout but only the primary display on a Linux PC so it won’t offer the maximum resolution possible e.g. with a triple head setup 🖥️🖥️🖥️. This can be worked around in multiple ways, e.g. with configuring a virtual desktop in the
WINEPREFIX, by adding a virtual monitor to the system or simply by making use of
SteamOS session compositing window manager.
Here is an example how games may be started from
Steam by adding the following commands to the start parameters (That’s basically the same for e.g.
gamescope -h 1200 -w 5760 -H 1200 -W 5760 -b -e – %command%
This is not needed if only one monitor is used for gaming.
This remaps a virtual joystick from
Opentrack to the axis of a gamepad used for look-around in
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):
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