News:

Precision Simulator update 10.184 (15 September 2025) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

MSFS Traffic Injector for PSX

Started by joergalv, Sat, 14 Mar 2026 13:10

joergalv

   
MSFSTraffic2PSX

A small java app to inject MSFS Traffic into PSX.

While there is an excenllent set of tools around PSX / MSFS setups, I was missing a simple tool for offline flying, which feeds MSFS Traffic into the PSX TCAS system.
Especially when using BeyondATC or FSHud, it always felt 'false' to not have surrounding trafffic showing up on the ND.
So this small app is aiming to fill this gap.

Collecting MSFS Traffic data is done via SimConnect.
So I expect it to work with all traffic which is collectable via SimConnect. (Is there any other?)

Tested with MSFS2024, FSLTL Traffic Injector, BeyondATC, FSHud.
Appreciate if positive tests with other tools (PSXT or alike) will be reported in this thread.
The same for issues as well of course.

- V1.1 :
-- sends "ClientName" to PSX, can be set in the cfg file
-- button added to enable/disable Injection
-- option added which checks whether PSX traffic is already set to External Control, when connecting.
  Should help avoiding conflicts with other traffic injectors when run in parallel (=> readme)

- V1.2 :
-- selected traffic will be greyed out if injection is not active
-- 'Test' button added. Will send traffic pattern to PSX for 6s, before resuming normal mode

Download => MSFSTraffic2PSX_V12

Happy collision free flying.
Regards
Joerg

asboyd

It may work with older versions of P3D as they used simconnect as well. depends on whether it is version related.

AlexB
Alex Boyd... Sydney, Australia

samer747

Hi Joerg,

Thanks a lot for your contribution and your info. In my setup I changed PSXT server to "false" and selected Aerowinx, In RTapp pointed host IP to PSX, It worked :) Iwas able to see traffic injection in both MSFS & TCAS.

When I started your MSFSTraffic2PSX, both PSX & Simconnect are green and connected, the list showing traffic to PSX and All Traffic  but traffic injection in TCAS now is flickering on/off with two different set of traffic, I think RTapp and MSFSTraffic2PSX are fitting each other with the traffic injection. Is this expected or I need to change configs somewhere?

Regards,
Sam

joergalv

Quote from: asboyd on Sat, 14 Mar 2026 23:38It may work with older versions of P3D as they used simconnect as well. depends on whether it is version related.
It may, but I doubt it will. From what I know there have been made some substantial changes, especially in the  AI-Traffic arena.. . Worth a try, but I don't have P3D installed anymore.

Quote from: samer747 on Sun, 15 Mar 2026 03:15When I started your MSFSTraffic2PSX, both PSX & Simconnect are green and connected, the list showing traffic to PSX and All Traffic  but traffic injection in TCAS now is flickering on/off with two different set of traffic, I think RTapp and MSFSTraffic2PSX are fitting each other with the traffic injection. Is this expected or I need to change configs somewhere?

Yes, I would expect that. You'll only need one injection, right? So if you have a working PSXT/RealTraffic configuration, all is fine. You won't need (and should not) run MSFSTraffic2PSX in parallel.
Regards
Joerg

samer747

Hi Joerg,

Just an update and your thoughts on my setup please,

I went back to the sim few days later and no traffic injecting to PSX TCAS, I got a msg from RT that I hadn't seen before asking for professional license;


I stopped RTapp and started MSFSTraffic2PSX, I got some traffic injected to TCAS but went away shortly afterward. I figured PSXT is looking for traffic from RTapp, I re-changed PSXT server to "true" and the source to RT direct, I got back traffic injection to TCAS but it keeps blinking on/off (RTapp off).

I'm sure what other setting I need to do.

Apologize for keep asking for support,

Thanks



joergalv

Hi Sam,

you should probably focus on getting the traffic injection done solely using PSXT & RealTraffic and leave MSFSTraffic2PSX completely out of play.
This thread https://aerowinx.com/board/index.php/topic,7936.0.html, might help you with that.

Sorry, I can't say anything helpful about PSXT/RT at all, since I don't use neither PSXT nor RealTraffic.
Regards
Joerg

Britjet

Joerg,

You are a star!
Works like a charm - straight out of the box, and much needed with the new ATC options available.
Thank you so much!

Peter

joergalv

Thanks a lot, Peter! Glad it's useful for others as well.

Updated to V1.1. (see updated link in first post)
Regards
Joerg

PanosI

Hi Joerg,

Everything is working but I cant see the traffic in my TCAS on ND.

I open PSX, connect it with MSFS2024, then connect to Vatsim, MSFSTraffic2PSX see all the traffic, both on air and one the ground, sent it to PSX but nothing in my TCAS on ND.

joergalv

Hi Panos,

when you're on the ground, you'll probably be in 'TA only' mode. Only traffic with a vertical distance >= 100ft to your AC will be displayed on the ND. If you have 'include moving ground traffic' enabled, chances are high that the 7 available traffic slots in PSX are eaten up by ground traffic only, which you won't see on the ND in that mode. PSX is aware of that traffic though, and you can collide with it if you have collisions enabled in PSX.
Probably good idea to start with 'include moving ground traffic' off. If that is giving you traffic indications on the ND, it's working. Let me know if it does.

There is a slight issue in V1.1.. The table 'Traffic sent to PSX' is filled, regardless of Injection being On or Off. With Injection Off, it displays the 'candidates' which would have been sent. I'll change that in the next update.

I'll consider to implement a test button in the future, which will then inject a 'fake' pattern of traffic around the AC.
Regards
Joerg

Ton van Bochove

Joerg,

Great app for a FSLTL user. But I get the following message

"Unable to load library simconnect, is not a valid Win32 application"

I know it is part of the SDK but I how do I activate this software?
Ton

joergalv

Ton,

looks like you're either running a 32-bit java, or have an 'old' 32-bit simconnect.dll on your system.

You might want to try to
- open a windows cmd window
- cd to the directory where your unzipped MyTraffic2PSX files are located
- run 'java -jar MyTraffic2PSX.jar --dll SimConnect.dll'
This will force the code to load the 64bit SimConnect.dll which is included in the zip.

..and while you're having the cmd window open, you could run 'java -XshowSettings:properties -version' and check the output for 'sun.arch.data.model = 64'. This will indicate whether you have 64bit or 32bit java installed.
Regards
Joerg

Ton van Bochove

Hi Joerg, thanks for answering!

This is the result of the commands:

C:\Users\xxxxxx\Desktop\MSFSTraffic2PSX>java -jar MyTraffic2PSX.jar --dll SimConnect.dll
Error: Unable to access jarfile MyTraffic2PSX.jar

Maybe I gave the wrong command line....my knowledge goes as far as ïpconfig";-)

FYI: I have a brand new computer with Windows 11. Could there (still) be a 32 Bit part?
Ton

joergalv

Ton,

my fault to provide the wrong command line, so java was not looking up the local directory for MyTraffic2PSX.jar.

Anyway, please download V1.2, unzip the archive and run the included bat file 'start-msfstraffic2psx.bat'.
In case of an error, please post the content of 'msfstraffic2psx.log'
Regards
Joerg

Ton van Bochove

Hi Joerg,

Used the bat.file but it did not work. This is the log file±

[2026-04-29 13:09:36]
Starting SimConnect prerequisite checks
Requested DLL argument: ./SimConnect.dll
Selected library: ./SimConnect.dll
Explicit DLL path: E:\MSFSTools\MSFSTraffic2PSX_V12\SimConnect.dll
OS: Windows 11 / PROCESSOR_ARCHITECTURE=AMD64
Java: sun.arch.data.model=64, os.arch=amd64, detected=x64/64-bit
DLL architecture: x64/64-bit

[2026-04-29 13:09:36]
Loaded SimConnect library successfully: ./SimConnect.dll

[2026-04-29 18:48:29]
Starting SimConnect prerequisite checks
Requested DLL argument: ./SimConnect.dll
Selected library: ./SimConnect.dll
Explicit DLL path: C:\Users\xxxx\Desktop\MSFSTraffic2PSX_V12\SimConnect.dll
OS: Windows 11 / PROCESSOR_ARCHITECTURE=x86
Java: sun.arch.data.model=32, os.arch=x86, detected=x86/32-bit
DLL architecture: x64/64-bit

[2026-04-29 18:48:29]
SimConnect prerequisite check failed
Failure: Java is x86/32-bit but the SimConnect DLL is x64/64-bit. Java and SimConnect must both be x64 or both be x86.
Ton

joergalv

Hi Ton,

the root cause is clear now. You have the 32-bit version of Java installed, while the 64-bit version is required to match with SimConnect.dll. (See last line of the log)

I'd recommend you upgrade to the 64-bit java runtime. You'll find the installer on the java download page. Look for Windows offline 64 bit. If you have a particular reason why you would need the 32-bit version (this is most likely not the case), you can have the 32- and 64-bit versions installed in parallel, according to the java website. Otherwise you should be fine deinstalling the 32-bit java runtime first.
Regards
Joerg

Ton van Bochove

Hi Joerg, works like a charm now....but today FTSLT stopped with transfering the live data from flightradar24 so the skies are empty again >:(
Ton

joergalv

Hi Ton,

glad it's working now. Yes, options for Live Traffic are limited, but have you checked MSFS internal Live Traffic? Together with FSLTL-Base Models or AIG models it might be 'good enough' for your needs, so worth a try. Just make sure it's enabled in Online -> Aircraft Traffic Type, and set Graphics -> Global Rendering -> Aircraft Traffic Quantity to anything but 'Off'.
Regards
Joerg