I hacked a mod for X4: Foundations to get ship telemetry and targeting data to my “Primary Buffer Panel” via a socket. This is a demonstration of my simulated cockpit made from cardboard on a budget usually used to play Elite Dangerous now also used for X4: Foundations. This is work in progress.
In use:
- A Linux PC
- A DIY Headtracker
- A DIY Joystick (My Primary Buffer Panel)
- A X52 Pro HOTAS
- An AMD RX6700XT
- …a lot of plumbing in Node-Red xD
This is loosely based on the Python Pipe Server mod for X4 that is sadly Windows only using Named Pipes. I fixed that for Linux PC by side-loading the library LuaSocket and starting a socket server directly in X4. That’s right, the Python Server is simply not needed now and companion tools may directly connect to the socket. It’s a nice bonus that LuaSocket also allows a UDP or TCP server depending on how it is started. That was some piece of work though and I’m still wrapping things up to publish my code changes. I’m also still looking for testers so if you’re interested get in touch!
So you _still_ think you can’t space pew pew on Linux PC? Think again. I do it all the time: https://beko.famkos.net/2021/10/16/space-pew-pew-on-linux-pc/
@bekopharm Looking good!
@bekopharm Amazing!
@bekopharm Sieht echt beeindruckend aus!
@bekopharm This looks amazing, I’ve always been kind of intrigued by the X games, I heard it described as EuroTruck Simulator II in Space once, and since then I really kind of want to try it, just that the newer ones probably are way too demanding for my little laptop :p
@bekopharm Congrats beko! 😉
@beko I don't know what's worse. The thought that the primary buffer panel is supposed to be on the outside of the ship, or the thought that Mal had a ship that had a control panel on the outside.
Well, the first version did eventually fall off, when the tape gave up xD
@beko You still working on this? Would love to use the external app on Linux. Is there some code or a how-to somewhere?
Yeah I do. See https://github.com/bekopharm/x4-projects/wiki/Quick-manual and https://github.com/bekopharm/x4-simpit.
I’m not sure on the latest 7.0 – I did do a brief test if it still works on 7.0 Beta 3 though. See this [unlisted] video to get an idea: https://www.youtube.com/watch?v=6be–G32yHw