🚧🚧THIS REPO IS UNDER ACTIVE DEVELOPMENT🚧🚧
#linux-beyondatc
This repository is created as a fork from the remote-beyondatc repository. The goal of this repository is to get networking to work on beyondatc so that you can run beyondatc under the same prefix as protontricks Linux.
This is completely unsupported and unafilliated to BATC.
- You'll need a spoofed Flight Simulator executable, as BATC checks for this on startup.
- You need to set up SimConnect to work over the network.
- You need the traffic models available on the second PC, accessible on the same path as on the MSFS PC.
Tested working on BATC version 1.8.14.EA and MSFS 2024 SU5.1
Warning
BATC do not support running their application on a second PC, they have made it very clear they will not offer any help at all so this is all at your own risk/enjoyment.
Please don't go to the devs with problems!
Your milage may vary - especially as the application is changing regularly in early access. You have been warned...
A minimal Windows executable that idles indefinitely under the process name FlightSimulator2024.exe. Used for tricking BATC, which checks for a running MSFS 2024 instance before it will start.
This may work with MSFS 2020, rename to
FlightSimulator.exe. I've not tested this.
The process uses zero CPU, blocked on Sleep(INFINITE), and just a few MB of RAM.
stub.c-- source fileFlightSimulator2024.exe-- if you just want to run it
Download FlightSimulator2024.exe and run it on the BATC/second PC. It will appear in Task Manager under that name with no visible window. Kill it from Task Manager when you're done.
If you'd prefer not to run a random person's executable then there are two options here to build yourself from source. I used Visual Studio.
- Download (and inspect if you wish)
stub.c
You need the Desktop development with C++ workload installed.
- Open Developer PowerShell for VS
- Navigate to the folder containing
stub.c:cd C:\path\to\your\folder
- Compile:
cl /O2 /DNDEBUG stub.c /link /SUBSYSTEM:WINDOWS /OUT:FlightSimulator2024.exe FlightSimulator2024.exewill appear in the same folder.
TCC should also work, it is a very small download with no installer:
- Download and install from https://repo.or.cz/tinycc.git or mirrored on github at https://github.com/Tiny-C-Compiler/tinycc-mirror-repository
- From a command prompt in the folder containing
stub.c:tcc -Wl,-subsystem=windows stub.c -o FlightSimulator2024.exe
No admin needed, just run it. The process has no window and no tray icon. As it uses basically no resources I have it run on system startup.
If needed you can end it from Task Manager.
Some config needed on both PCs. Microsoft documentation on SimConnect for reference: https://docs.flightsimulator.com/html/Programming_Tools/SimConnect/SimConnect_SDK.htm
- Find the
SimConnect.xml:
- Steam Version:
%APPDATA%\Microsoft Flight Simulator 2024\SimConnect.xml - MS Store Version:
%LOCALAPPDATA%\Packages\Microsoft.Limitless_8wekyb3d8bbwe\LocalCache\SimConnect.xml
- Find the Static IPV4 port section, and change to:
<SimConnect.Comm>
<Descr>Static IP4 port</Descr>
<Protocol>IPv4</Protocol>
<Scope>global</Scope>
<Address>LOCAL_IP_ADDRESS_OF_THE_MSFS_PC</Address>
<Port>500</Port>
<MaxClients>256</MaxClients>
<MaxRecvSize>41088</MaxRecvSize>
</SimConnect.Comm>
You'll need to re-do this step after every BATC update.
- Create the file
SimConnect.cfgin the BATC Folder (or download from the repo and update the IP address), default install directory isC:\BeyondATC:
[SimConnect]
Protocol=IPv4
Address=LOCAL_IP_ADDRESS_OF_THE_MSFS_PC
Port=500
- A copy of this file also needs to be made at
C:\BeyondATC\BeyondATC_Data\StreamingAssets
- Share the Community folder over the LAN. Windows NFS - google it - out of scope of this tutorial
- Assume it is at
C:\dir\to\your\Community24on the MSFS PC, and shared at\\MSFS_PC\Community24on the BATC PC. This needs symlinking to the same directory as the MSFS PC. In Command Prompt:
mklink /D "C:\dir\to\your\Community24" "\\MSFS_PC\Community24"
From initial testing, and report from another person, network-accessed models might cause flight loading delay stuck at
80% - Reticulating Splines, while I enjoy the joke, loading a new flight has inconsistently stuck here for 5+ mins.One possible fix for this is removing the symlink
rmdirand simply downloading/copying the flight models onto the local disk to the same directory tree as on the sim pc. I'll update as more testing - I'd welcome issuees confirming or otherwise this fix.
I have also detailed my networked audio and PTT setup using Voicemeeter, here.