News:

Precision Simulator update 10.175 (29 May 2024) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

How to sync MSFS 2020 with PSX ? WIDE PSX issue

Started by cmbaviator, Fri, 29 Sep 2023 20:14

cmbaviator

Hello i can't connect PSX with MSFS, seems to be a Simconnect issue :

besides. how to set up PSX with MSFS at gate/stand in a turaround state with engines off

thanks




Jamie

#1
Start MSFS

Enable Developer mode -> Options -> General Options -> Developers -> Developer mode ON




In the (new) menu bar -> HELP -> SDK Installer (Core)
This downloads the SimConnect installer: MSFS_SDK_Core_Installer_0.22.3.0.exe

Install this MSFS_SDK_Core_Installer_0.22.3.0.exe


You can disable Developer mode from now on! No need to keep this activated.

Quit MSFS

Edit simconnect.xml >
C:\Users\<yourusername>\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\SimConnect.xml

change:
  <SimConnect.Comm>
        <Descr>Static IP4 port</Descr>
        <Protocol>IPv4</Protocol>
        <Scope>local</Scope>
        <Port>500</Port>

to:
  <SimConnect.Comm>
        <Descr>Static IP4 port</Descr>
        <Protocol>IPv4</Protocol>
        <Scope>local</Scope>
        <Port>20747</Port>

save the file

Start MSFS

(disable developer mode in MSFS -> Options -> General Options -> Developers -> Developer mode OFF -> F11 apply and save)

World Map -> just select a random field, with the 747-800, Set as departure and start a flight -> Fly -> Ready to fly

Try again with WideFS.




--------------------

My start sequence:
- Start PSX

Network -> Main -> The Main server -> Start
Network -> Boost -> Start

^
|_ you can save this as start default.

- Start MSFS -> preferably start a flight with a 747-800 on your departure field/runway. Preferably somewhere near your PSX starting point. Doesn't need to be your exact starting point!
- Mute all MSFS sounds
- Start WideFS

^
|_ Network -> Connect
|_ SceneryGen Bridge -> Start Scenery Generator Bridge (FSX/P3D/MSFS) ->
Sometimes you need to reload the PSX Scenario due to position errors/crashes. Sitiuation -> Load -> Reload

Optional:
- Start ActiveSkyX
- in WideFS: AlofWx -> Select AS Flight Plan file -> locate C:\Users\<yourusername>\AppData\Roaming\HiFi\AS_XPL\Weather\activeflightplanwx.txt

- in WideFS: AlofWx -> Start Module (Dynamic Mode)


Once you get this working, you are golden!

From now on, setup PSX as you wish. It's possible to start cold/dark, select a position e.g. move to a specific parking spot. This is a bit different and tricky in PSX, but not too difficult.

Position yourself to e.g. EHAM parking spot B35 in PSX:
Situation -> Position -> Aircraft Position -> EHAM <enter> (just overwrite the N00 00.0 W000 00.0 with EHAM)
New window pops up -> Select Gate B35 -> done!
Jamie
No Kangaroos In Austria!

cmbaviator

Quote from: Jamie on Fri, 29 Sep 2023 20:43Start MSFS

Enable Developer mode -> Options -> General Options -> Developers -> Developer mode ON




In the (new) menu bar -> HELP -> SDK Installer (Core)
This downloads the SimConnect installer: MSFS_SDK_Core_Installer_0.22.3.0.exe

Install this MSFS_SDK_Core_Installer_0.22.3.0.exe


You can disable Developer mode from now on! No need to keep this activated.

Quit MSFS

Edit simconnect.xml >
C:\Users\<yourusername>\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\SimConnect.xml

change:
  <SimConnect.Comm>
        <Descr>Static IP4 port</Descr>
        <Protocol>IPv4</Protocol>
        <Scope>local</Scope>
        <Port>500</Port>

to:
  <SimConnect.Comm>
        <Descr>Static IP4 port</Descr>
        <Protocol>IPv4</Protocol>
        <Scope>local</Scope>
        <Port>20747</Port>

save the file

Start MSFS

(disable developer mode in MSFS -> Options -> General Options -> Developers -> Developer mode OFF -> F11 apply and save)

World Map -> just select a random field, with the 747-800, Set as departure and start a flight -> Fly -> Ready to fly

Try again with WideFS.




--------------------

My start sequence:
- Start PSX

Network -> Main -> The Main server -> Start
Network -> Boost -> Start

^
|_ you can save this as start default.

- Start MSFS -> preferably start a flight with a 747-800 on your departure field/runway. Preferably somewhere near your PSX starting point. Doesn't need to be your exact starting point!
- Mute all MSFS sounds
- Start WideFS

^
|_ Network -> Connect
|_ SceneryGen Bridge -> Start Scenery Generator Bridge (FSX/P3D/MSFS) ->
Sometimes you need to reload the PSX Scenario due to position errors/crashes. Sitiuation -> Load -> Reload

Optional:
- Start ActiveSkyX
- in WideFS: AlofWx -> Select AS Flight Plan file -> locate C:\Users\<yourusername>\AppData\Roaming\HiFi\AS_XPL\Weather\activeflightplanwx.txt

- in WideFS: AlofWx -> Start Module (Dynamic Mode)


Once you get this working, you are golden!

From now on, setup PSX as you wish. It's possible to start cold/dark, select a position e.g. move to a specific parking spot. This is a bit different and tricky in PSX, but not too difficult.

Position yourself to e.g. EHAM parking spot B35 in PSX:
Situation -> Position -> Aircraft Position -> EHAM <enter> (just overwrite the N00 00.0 W000 00.0 with EHAM)
New window pops up -> Select Gate B35 -> done!

Thanks for the detailed explanation.

However, i can't find the .xml in the packages folder





there is also a simconnect xml in the widepsx folder with the port at 29747


cmbaviator

manage to find the xml but still doesn't work.

i don't know if its the correct xml as my packages msfs folder is on my E SSD


Jamie

Just try to connect to the local IP address first: 127.0.0.1. For other IP Addresses, you have to define in Simconnect.xml.
Jamie
No Kangaroos In Austria!

cmbaviator

Quote from: Jamie on Sat, 30 Sep 2023 07:07Just try to connect to the local IP address first: 127.0.0.1. For other IP Addresses, you have to define in Simconnect.xml.

what line should i hads the IP adress ?



<?xml version="1.0" encoding="Windows-1252"?>

<SimBase.Document Type="SimConnect" version="1,0">
    <Descr>SimConnect Server Configuration</Descr>
    <Filename>SimConnect.xml</Filename>
    <SimConnect.Comm>
        <Descr>Static IP4 port</Descr>
        <Protocol>IPv4</Protocol>
        <Scope>local</Scope>
        <Port>20747</Port>
        <MaxClients>64</MaxClients>
        <MaxRecvSize>41088</MaxRecvSize>
    </SimConnect.Comm>
    <SimConnect.Comm>
        <Descr>Static IP6 port</Descr>
        <Protocol>IPv6</Protocol>
        <Scope>local</Scope>
        <Port>501</Port>
        <MaxClients>64</MaxClients>
        <MaxRecvSize>41088</MaxRecvSize>
    </SimConnect.Comm>
    <SimConnect.Comm>
        <Descr>Custom Pipe</Descr>
        <Protocol>Pipe</Protocol>
        <Scope>local</Scope>
        <Port>Custom\SimConnect</Port>
        <MaxClients>64</MaxClients>
        <MaxRecvSize>41088</MaxRecvSize>
    </SimConnect.Comm>
    <SimConnect.Comm>
        <Descr>Dynamic IP4 port</Descr>
        <Protocol>IPv4</Protocol>
        <Scope>local</Scope>
        <Port>0</Port>
        <MaxClients>64</MaxClients>
        <MaxRecvSize>41088</MaxRecvSize>
    </SimConnect.Comm>
    <SimConnect.Comm>
        <Descr>Dynamic IP6 port</Descr>
        <Protocol>IPv6</Protocol>
        <Scope>local</Scope>
        <Port>0</Port>
        <MaxClients>64</MaxClients>
        <MaxRecvSize>41088</MaxRecvSize>
    </SimConnect.Comm>
    <SimConnect.Comm>
        <Descr>Default FSX Pipe</Descr>
        <Protocol>Pipe</Protocol>
        <Scope>local</Scope>
        <Port>0</Port>
        <MaxClients>64</MaxClients>
        <MaxRecvSize>41088</MaxRecvSize>
    </SimConnect.Comm>
</SimBase.Document>

Jamie



Well I actually suggest you change to PSX.NET as I did a few minutes ago and it's awesome:

https://aerowinx.com/board/index.php/topic,7196.0.html
Jamie
No Kangaroos In Austria!

PanosI

Quote from: Jamie on Sat, 30 Sep 2023 09:10

Well I actually suggest you change to PSX.NET as I did a few minutes ago and it's awesome:

https://aerowinx.com/board/index.php/topic,7196.0.html


Thanks for sharing the instructions !

Thanks to you,  I just discovered the PSX/NET and made my first ever connection PSX with MSFS 2020 and a quick pattern over LGAV !!!!  ;D