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

PSX.NET.MSFS.WASM - Smooth PSX to MSFS Scenery Link

Started by Gary Oliver, Sun, 18 Sep 2022 22:49

Gary Oliver

This thread is for the old version of PSX.NET.MSFS.WASM, Please visit https://aerowinx.com/board/index.php/topic,7196.msg77401.html for the latest version



PSX.NET.MSFS.WASM provides an ultra smooth link between PSX and MSFS which supports multiple MSFS instances as well as a single PC install.

Install Guide

Pre Req Download .NET6 Runtime

Download
1) Client Setup from Here
2) Router Setup from Here
3) MSFS Aircraft from Here

Copy MSFS Aircraft to your MSFS Community Folder
Run Router and Client from Start Menu and Close them on the correct PC's
Edit the Configs Files which were created in your My Documents\PSX.NET Folders to point to the correct IPs.

The files will automatically update when there is an update.

More Info

Basically its the same architecture as External Sim but with a much easier config file and GUI.  Hopefully the picture before spells it out.  For those running on a single PC you can run all on a single PC.

You will notice the CameraZoom option in the config file... This along with a new version of Fly-Elise following the release of SU10 will allow multichannel warping for a 3 PC and projector setup.

I suggest locking the MSFS framerate at something sensible - in our case our projectors are 30hz and the FPS it limited to 30FPS.



Let us know how you get on.

Known Fixes
If you get a failed to load file error on load.  Its probably missing C++ runtimes.  Try This Installer

We send data to the simconnect client at the same rate as boost, it doesn't need to be done at a high refresh as the client does the smoothing.  If the client crashes and restarts try setting the PSX FPS to 60/3 to only send boost at 20hz.

If warping and blend goes wrong in turns - Enable Home Cockpit Mode in MSFS

Known Issues
Flaps Dont Move

Version History

Release Version 2.1.0
-WASM module updated to correct Altitude on VATSIM.

Release Version 2.0.0a
-Setup everything to make vPilot Altitude correct on VATSIM with a future release of vPilot (thanks Ross!).
-Pulling RAD ALT R CB will allow you to fly under bridges in MSFS without Fatale Damage.
-Updates for SU10. 
-Completed SimObject router implementation. 
 (Ask for details if you want to sync MSFS traffic between multiple instances (I think I am the only one in the world using this?)

Beta Versions
Beta 5 - reliability improvements, handles simconnect errors better and PSXwon't fall through the floor when MSFS in menus.  Stops ground speed going weird on MSFS error or closing.
Beta 4- Updates vPilot Transponder Mode and Ident
WASM Model Update - Fixed Issues With Lights being too dim
Beta 3 - Fixed Issue withs time jumping, Stopped PSX fatal damaging when MSFS closed, Gear Now Moves
Beta 1 - Reduced WASM Module to a 0.003ms per cycle, Improved Ground Handling, Fixed Crashes, Fixed Elevation Jumps

Alpha 1-9 - Versions Development

Cheers
G


garys

Thanks Gary and Mark.

Looking fwd to SU10 release to give this a try.

joergalv

Excellent! Thanks a lot Gary and Mark!

- I was able to load the Model in MSFS
- I can start the MSFS Client, and it gets connected to MSFS (SU9)

The router however won't start. ( "PSX.NET.MSFS.Router.Winforms.exe", it's the only 'router' exe in that directory, but is that the right one?)
It keeps claiming that I need to install .NET. But installing .NET runtimes v5 and 6, x86 and x64, does not help. Tested on 2 Win 10 PC's, with the same result.

Regards,
Joerg

macroflight

Quote from: joergalv on Mon, 19 Sep 2022 07:25It keeps claiming that I need to install .NET. But installing .NET runtimes v5 and 6, x86 and x64, does not help.
I ran into that problem too, but was able to get it running by installing .NET 5.0 from https://dotnet.microsoft.com/en-us/download/dotnet/5.0. I'm not at my computer right now, but I'm almost certain the package I installed was SDK 5.0.408 for Windows (https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-5.0.408-windows-x64-installer)

And yes, "PSX.NET.MSFS.Router.Winforms.exe" is the router binary.

macroflight

Amazing job by Gary and Mark! It does exactly what Gary says, and does it well. Smoooooth.

Unfortunately it makes vPilot even more confused than WidePSX does. So for now I can only use this for testing offline. Maybe Santa will bring a native PSX VATSIM client this year?

When using PSX.NET.Internal.WASM with vPilot: other VATSIM pilots reported me as "standing on your nosewheel at a 70 degree angle" and VatSpy always showed a groundspeed of 30-90 knots, both at the gate and in cruise. WidePSX is not exactly perfect with vPilot either, but there I only get the occasional "mate, your wheels are smoking" or "why is your 747 hovering?" :)

Gary Oliver

Thanks to several people testing over the last 12 hours or so we now have a list of things to fix before the next version.

Good to see people are seeing the super smooth updates we are too.

Issues List
-MSFS Variables not populated to support VATSIM flights - FIXED IN V3
-Binary Files Confusion  - FIXED Single File EXE
-Option to Not Set Zoom Required for non multiview users - FIXED In Config File
-VHF Frequency Not Updated in MSFS
-Ground Speed Not Updated - FIXED In V3
-CTD When selecting airport is WASM Module Selected
-Runtime Prereqs need defining on initial post. - FIXED - Single EXE includes runtime libaries
-Decimal Seperator - FIXED in V3
-Multiple Copies Causes elevation problems
-Time Hold Function not working properly
EFB Auto Updates not working

Feature Wish List
-'Bodge' factor for heading and pitch for Visual Systems Alignment
-Animated Gear [/s[
-Disable MSFS Fullscreen gradient shader for 3 projector setups - Possibly EyeAdaption=0 - To be tested.
-Reset Weather Button
-Mode C in vPilot
-Close Data Error Message
-Read Ground Alt in the WASM Module rather than back in at a slow rate, may smooth slopey runways and taxiways out

Gary Oliver

New link posted for Alpha V2.  It should no longer ask you to download any runtime libraries as these have now been published into the single EXE.

If you installed V1 please delete those directories and start fresh.

joergalv

Quote from: macroflight on Mon, 19 Sep 2022 09:06... was SDK 5.0.408 for Windows ..
yes, installed the SDK, and got the router working. (seems already to be fixed anyway).
Very smooth, indeed!

I may add to the issue list though:
- Windows region set to Germany (where ',' is the decimal separator) made the MSFS AC end up orbiting planet earth. Changing the region settings to Great Britian helped.
- Taking off LEMD, the MSFS model did not follow the rotation, but 'jumped' into the air a couple of seconds later. I suspect the high RWY altitude is causing some issues with the initial sync.

Great start! Looking forward for the next versions to come.

Gary Oliver

Quote from: joergalv on Mon, 19 Sep 2022 13:56- Windows region set to Germany (where ',' is the decimal separator) made the MSFS AC end up orbiting planet earth. Changing the region settings to Great Britian helped.

This problem gets me every time :-)  Will take a look.

cavaricooper

Gary- thanks for you and your team's collective efforts on this. The smoothness factor is the reason I keep going back to PSX standalone. Excellent to hear of your progress. I remain obliged- C
Carl Avari-Cooper, KTPA

anthony500

Hi, tried the installation but unfortunately on msfs the view keeps on stalling above water or above earth.
Any idea what I could be doing wrong ?

The connection appears normal and is green on the exe file for both psx and msfs.

Thanks

akatham

Quote from: anthony500 on Tue, 20 Sep 2022 11:43Hi, tried the installation but unfortunately on msfs the view keeps on stalling above water or above earth.
Any idea what I could be doing wrong ?

The connection appears normal and is green on the exe file for both psx and msfs.

Thanks

See post #7, is it probably your windows region settings.

anthony500

Quote from: akatham on Tue, 20 Sep 2022 12:24See post #7, is it probably your windows region settings.

Thanks a lot this did the trick. Really impressed with this so smooth indeed.

Aleks

Great work. Even I, a total newbie, managed to get it to fly.

I did manage to crash MSFS. I paused PSX for 10-15 sec, and when resuming the flight MSFS became unresponsive.

macroflight

Alpha2 worked well for me. Still smooth. Now I'm just waiting for V3 :)

GodAtum

Hi Gary and team, thank you so much for this. Can't wait to try it out this weekend  :D  :D  :D

As I mentioned to Nick in Discord, I use 1 PC with a 12900K @ 5GHz and 3090 across 3 4K TVs and get around 30-35 fps. I believe it'll be possible with the 4090 to only have 1 PC instead of 3 and get even better FPS.

One question, do you think using Fly Elise is better then MSFS Su10 multi-monitor?

Gary Oliver

MSFS SU10 Multi monitor support will not allow geometrically correct warping.  However you might get something semi acceptable with TV's.  Performance was woeful though on an i9 with 3080TI

The fly Elise guys put a post on the forum somewhere.

Cheers
G

cavaricooper

Watching with deep interest and looking forward to a stable MSFS... that with PSX will be a 744 driver's dream.

Now, imagine someone inserting PSX into a native 744 in MSFS. For those of us without a 1:1 flight deck, that in VR would be close indeed....

One can dream...
Carl Avari-Cooper, KTPA

Gary Oliver

Well I have just updated all my visuals PC's to 2020, Locked the FPS at 30 and left them running for nearly 24 hours and not a single crash or stutter.

I think we might be there!

Alpha 4 is now available on the first post.  Please let me know how you get on.

Bluestar

Quote from: cavaricooper on Sat, 24 Sep 2022 14:28Watching with deep interest and looking forward to a stable MSFS... that with PSX will be a 744 driver's dream.

Now, imagine someone inserting PSX into a native 744 in MSFS. For those of us without a 1:1 flight deck, that in VR would be close indeed....

One can dream...

Carl,

You know my feeling about MSFS.  Do you thank that it will ever (in the near future) get to where I would move to the dark side?  I've considered the new Xplane 12, but there appears to be little support for it's use in PSX.  I'd hold out for a new P3d, but I'm starting to lose hope. 🤣  Since I'm a night freighter guy, I don't need a lot of bells and whistles, just smooth and reliable. :)

Bode
Grace and Peace,

Bode