744 Forum

Apron => Accessories => Topic started by: Mark on Fri, 17 Jun 2016 14:05

Title: PSX.NET P3D ExternalSim
Post by: Mark on Fri, 17 Jun 2016 14:05
Hi all,

As some of you will know; I've been working on an ExternalSim plugin for P3D. This effectively replaces the aircraft aerodynamics modelling in P3D with my own model that uses angle and velocity data directly from PSX to deliver silky smooth stutter-free movement. It supports multiple P3D instances and works nicely alongside the new View Group functionality in the latest P3D version to make multi-projector setups much easier.

We've been using this on the Simfest UK simulator and have worked out most of the bugs so I'm now happy to release a version to the community to try.

This is not as easy to set up as VisualPSX and is missing a couple of useful VisualPSX features (runway offsets) so if you're not the kind of person to live on the cutting edge, please don't install this!

System requirements:
-Windows 7/8/10
- .NET 4.5.1
- P3D 3.3.5 or higher
- PSX 10.0.8 or higher

PDF instructions on installation and usage are contained within the ZIP file.

One thing I haven't yet put in the instructions:

When loading a situation that starts on the ground, you'll notice the visuals will take a while to settle due to PSX receiving a ground elevation value from P3D and slowly slewing to correct. My recommendation, once it has settled, is to re-save the situation file. This has the effect of changing this parameter in the situation file:
Elev=-999999
to
Elev=2890
(Basic 003 - On ground and cleared for engine start.situ)

This will ensure the next time you load the situation, it'll be in the right place immediately.

Download link:
PSX.NET.P3D.ExternalSim 2.5.0 (https://github.com/macaba/PSX.NET-Binaries/raw/master/PSX.NET.P3D.ExternalSim/PSX.NET.P3D.ExternalSim%202.5.0.zip)
If you successfully use this in your sim, please post and let me know! This gives me an idea of how many people are using it.

Please write any feedback/feature requests/bug reports in this thread.

-Mark

Older versions:
PSX.NET.P3D.ExternalSim 2.4.0 (https://github.com/macaba/PSX.NET-Binaries/raw/master/PSX.NET.P3D.ExternalSim/PSX.NET.P3D.ExternalSim%202.4.0.zip)
PSX.NET.P3D.ExternalSim 2.3.0 (https://github.com/macaba/PSX.NET-Binaries/raw/master/PSX.NET.P3D.ExternalSim/PSX.NET.P3D.ExternalSim%202.3.0.zip)
PSX.NET.P3D.ExternalSim 2.2.0 (https://github.com/macaba/PSX.NET-Binaries/raw/master/PSX.NET.P3D.ExternalSim/PSX.NET.P3D.ExternalSim%202.2.0.zip)
PSX.NET.P3D.ExternalSim 2.1.1 (https://github.com/macaba/PSX.NET-Binaries/raw/master/PSX.NET.P3D.ExternalSim/PSX.NET.P3D.ExternalSim%202.1.1.zip)
PSX.NET.P3D.ExternalSim 2.1.0 (https://github.com/macaba/PSX.NET-Binaries/raw/master/PSX.NET.P3D.ExternalSim/PSX.NET.P3D.ExternalSim%202.1.0.zip)
PSX.NET.P3D.ExternalSim 2.0.0 (https://github.com/macaba/PSX.NET-Binaries/raw/master/PSX.NET.P3D.ExternalSim/PSX.NET.P3D.ExternalSim%202.0.0.zip)
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Fri, 17 Jun 2016 14:23
Hi Mark.
I get this when clicking on the link

https://goo.gl/5S2Njy – this goo.gl shortlink has been disabled. It was found to be violating our Terms of Service. Click here and here for more information about our terms and policies respectively.

Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Fri, 17 Jun 2016 14:30
Hi Ivo,

I've edited my post with a new link, please try it.

-Mark

Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Fri, 17 Jun 2016 14:53
Hi mark,
ok now.
gonna look at it tomorow, thanks very much
ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Fri, 17 Jun 2016 16:36
Hi Mark,
I've installed your software (thx!) according to the instructions (I believe...), and the router is showing (normal?) numbers, see below:

(http://www.lekseecon.nl/images/Mark.png)

However, in P3D my 747 is somewhere in an Ocean (in situ Basic 003 ...) , and every 3 seconds it looks like it loads terrain again (in a split second). When I try to load a situ with the 747 in cruize, I get repeated loading of Terrain, until P3D gets stuck at a certain percentage, or P3D crashes...

What am I doing wrong, you think?

Note that I have P3D (v3.3.5) at one computer, and PSX and the router at another.

EDIT: Contrary to Ivo below, I have only one livery in my aircraft.cfg file.

Regards,
Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Fri, 17 Jun 2016 17:06
i have the same problem as Nico, also PSX and P3D on 2 different pc's
also in the ocean, only i see no plane, only a small bit of the overhead
Subscribed elevation models stays at zero
attached a piece of my aircraft.cfg

[fltsim.0]
title=Boeing 747-400 KLM
ExternalSimID = {3E6B47E7-C706-4A10-BC88-6E7C199ED5A6}
ExternalSimData = 75, 75, 100
ExternalSimModule = PSX.NET.P3D.ExternalSim.dll

sim=Boeing747-400
model=
panel=
sound=
texture=klm
kb_checklists=Boeing747-400_check
kb_reference=Boeing747-400_ref
atc_id=PH-BFB
atc_airline=Boeing
atc_flight_number=1123
atc_heavy=1
ui_manufacturer="Boeing"
ui_type="747-400"
ui_variation=KLM
ui_typerole="Commercial Airliner"
ui_createdby="Microsoft Corporation"
description="Standard FSX 747-400 plane."

[fltsim.1]
title=Boeing 747-400 MARTINAIR
sim=Boeing747-400
model=
panel=
sound=
texture=MAR
kb_checklists=Boeing747-400_check
kb_reference=Boeing747-400_ref
atc_id=PH-MAR
atc_airline=Boeing
atc_flight_number=1123
atc_heavy=1
ui_manufacturer="Boeing"
ui_type="747-400"
ui_variation=Martinair
ui_typerole="Commercial Airliner"
ui_createdby="Microsoft Corporation"
description="Standard FSX 747-400 plane."

[fltsim.2]
title=Boeing 747-400 British Airways
sim=Boeing747-400
model=
panel=
sound=
texture=BA
kb_checklists=Boeing747-400_check
kb_reference=Boeing747-400_ref
atc_id=G-CIVE
atc_airline=British Airways
atc_flight_number=BA117
atc_heavy=1
ui_manufacturer="Boeing"
ui_type="747-400"
ui_variation=British Airways
ui_typerole="Commercial Airliner"
ui_createdby="Microsoft Corporation"
description="Standard FSX 747-400 plane."

[General]
atc_type=BOEING
atc_model=B744
editable=0
performance="Cruise Speed\n0.85 Mach         565 mph         910 km\/h\n\nEngine options\nPratt & Whitney PW4062\nRolls-Royce RB211-524H\nGeneral Electric CF6-80C2B5F\n\nMaximum Range\n7,325 nm         13,570 km\n\nMaximum Certified Operating Altitude              45,100 ft          13,747 m\n\nFuel Capacity\n57,285 gal       216,840 L\n\nBasic Empty Weight\n394,088 lb    178,755 kg\n\nMax Gross Weight                        875,000 lb       396,893 kg\n\nLength\n231 ft, 10 in       70.6 m\n\nWingspan\n211 ft, 5 in         64.4 m\n\nHeight\n63 ft, 8 in         19.4 m\n\nSeating Typical 3-class configuration - 416\nTypical 2-class configuration - 524"
Category =externalsim



Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Fri, 17 Jun 2016 21:48
Nico:

Your numbers are looking good, meaning you've got full bidirectional communication established and the external sim is running so the aircraft.cfg is correct.
(For future reference: I can tell this by the fact that 'Subscribed ElevationModels' is increasing - this means P3D, running the external sim, is sending data back to the Router.)

You said: "Note that I have P3D (v3.3.5) at one computer, and PSX and the router at another."
I've just downloaded the exact link I put up and used the files to replicate your setup on 2 computers and it all works.

Do you have any other Simconnect clients?

Edit: I've just had a thought that this could be a one-sided firewall issue - packets are getting from ExternalSim to Router, but not from Router to ExternalSim. Try temporarily turning off any firewalls on both PCs.

Ivo:

2 possibilities for you:

1. External sim is not running. As you've got multiple livery in your config file, consider copying the 3 'ExternalSim' config lines to all livery.
2. Perhaps a firewall issue, Windows firewall is preventing communication? Try temporarily turning off any firewalls on both PCs and see see if 'Subscribed ElevationModels' starts increasing.
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Sat, 18 Jun 2016 03:49
Mark,

I did a quick and dirty test run with ExternalSim on my center image channel this evening and all I can say is WOW!  :o The performance is absolutely fantastic. Silky smooth without even so much as the thought of a stutter. I can hardly wait to jump back in tomorrow to get my side channels set up and start tweaking P3D to see just how amazing it has the potential to look.

Thanks for your work on this, and for giving it to the rest of us to enjoy!
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Sat, 18 Jun 2016 08:22
Your numbers are looking good, meaning you've got full bidirectional communication established and the external sim is running so the aircraft.cfg is correct.
bidirectional: does not that imply that there is no Firewall problem?
EDIT: I've explicitly opened up tcp ports 10760 and 10761 in both Zone Alarm fire walls, but no luck...
EDIT: I've switched off both Firewalls and both Windows Firewalls: no luck ...  :(

Nico:
Do you have any other Simconnect clients?
Yes I have: VisualPSX, PSXseeconTraffic and PSXseeconvPilot are using SimConnect. But none of these are running in my testing of your software.
Is your program using SimConnect???
Title: Re: PSX.NET P3D ExternalSim
Post by: Greg Hateley on Sat, 18 Jun 2016 08:24
Hi Mark,
Thank you!
Just flew a couple of test flights to my usual airports.
Works very well and very VERY smooth.
Still working on getting the eyepoint correct.
Cheers
Greg
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Sat, 18 Jun 2016 10:51
Thank you for creating this :) How long should the visuals take to settle, I've been sitting here for 10 minutes? The recieved boot, psx and published flightmodel values are increasing. Subscribed elevation model = 0. PSX elevation update = 1. Plane is in correct airport.

I use the 2D cockpit view without panels, what view do you use for your sim and what values do you use?
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 18 Jun 2016 11:10
Chris and Greg

Thank you for your kind words and confirming that it's all working for you! It's encouraging me to keep adding more features in :)

Nico

bidirectional: does not that imply that there is no Firewall problem?
Well, on 2nd thought when I did the edit, healthy numbers on the ExternalSim router doesn't necessarily mean that P3D is receiving the published FlightModels from the Router.

Next thing to try is changing the <DebugLogToFile> setting in PSX.NET.P3D.ExternalSim.xml to

Code: [Select]
<DebugLogToFile>true</DebugLogToFile>
This will create a debug log file in the same location as the config file. At the moment this doesn't output much debug data (I want to add more in future releases, like a confirmation that data is being received from the Router) but it might give me a clue.

But none of these are running in my testing of your software.
Is your program using SimConnect???

That's good, please double check that no other simconnect clients are running (it'll be ok to turn them on again later once you've got ExternalSim all working).
Yes, ExternalSim uses Simconnect internally but it's a local-only connection that ignores any config files due to being hosted inside the P3D process. Relevant line of code:

Code: [Select]
SimConnect_Open(&hSimConnectExternalSim, "ExternalSim", NULL, 0, NULL, SIMCONNECT_OPEN_CONFIGINDEX_LOCAL)
SIMCONNECT_OPEN_CONFIGINDEX_LOCAL means "ignore SimConnect.cfg settings, and force local connection"

GodAtum

How long should the visuals take to settle, I've been sitting here for 10 minutes?
Subscribed elevation model = 0.
I use the 2D cockpit view without panels, what view do you use for your sim and what values do you use?

When everything is fully working, it usually takes about 10-60 seconds for the aircraft to settle to the correct elevation. As your subscribed elevation models are 0, I think you've got a firewall blocking issue.

If Gary sees this thread, he might be able to provide further detail on views. From memory I think we just use the standard cockpit view with no instruments showing and tweak the aircraft.cfg with the desired eyepoint and offsets we want. We also use the new P3D ViewGroups feature for easy setup of Left/Centre/Right viewports on our multi-projector setup.
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Sat, 18 Jun 2016 11:42
Hi Mark,

Here the content of the log file:

18-6-2016 - 12:36:19: System: Starting ExternalSim
18-6-2016 - 12:36:19: Task starting: TaskRouterSub
18-6-2016 - 12:36:19: Task starting: TaskFeedbackPub
18-6-2016 - 12:36:19: Task starting: TaskDebugPub
18-6-2016 - 12:36:19: Task started: TaskDebugPub
18-6-2016 - 12:36:19: Task started: TaskRouterSub
18-6-2016 - 12:39:49: System: Stopping ExternalSim

Rgrds,
Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Sat, 18 Jun 2016 12:18
I tied it all on one PC and it kind of works. I get an increasing elevatinmodels value but it does not stop loading P3D. I've waited for a 10 minutes and the value is over 10000.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 18 Jun 2016 12:50
Nico

Could you please try this debug DLL (https://github.com/macaba/PSX.NET-Binaries/raw/master/PSX.NET.P3D.ExternalSim/Debug%20Builds/PSX.NET.P3D.ExternalSim.Managed.dll)

This replaces one of the DLLs in the main P3D directory. It behaves a little differently inside, and logs a bit more stuff.
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Sat, 18 Jun 2016 13:08
Guys,

I wonder if alot of problems are caused by not disabling windows firewall entirely.  Turning it to off still leaves some inbuilt rules behind.

Best bet is go to 'Windows Firewall with advanced security' and then set all 3 profiles to 'allow' inbound 'allow' outbound. 

Cheers
Goli
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Sat, 18 Jun 2016 13:10
Would that still have an effect if I run everything on the same PC? It seems to get all the correct values increasing, but in p3D it keeps reloading.
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sat, 18 Jun 2016 13:54
Could it be we don't  have the correct SimConnect version?
Just thinking out loud.
There must be a reason why person 1 have no problems, and  person 2 does!
Windows version?
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Sat, 18 Jun 2016 17:17
Nico Could you please try this debug DLL]
Here the log, I waited more then a minute in BASIC 003 while my 744 is in an Ocean, in the dark, and P3D re-loads (terrain?) every 3 seconds (in a split second)...

18-6-2016 - 18:12:14: System: Starting ExternalSim
18-6-2016 - 18:12:14: Task starting: TaskRouterSub
18-6-2016 - 18:12:14: Task starting: TaskFeedbackPub
18-6-2016 - 18:12:14: Task starting: TaskDebugPub
18-6-2016 - 18:12:14: Task started: TaskRouterSub
18-6-2016 - 18:12:14: Task started: TaskFeedbackPub
18-6-2016 - 18:12:14: Task started: TaskDebugPub
18-6-2016 - 18:12:14: Task subscribe complete: TaskRouterSub
18-6-2016 - 18:12:14: Task binding complete: TaskFeedbackPub
18-6-2016 - 18:12:14: Task binding complete: TaskDebugPub
18-6-2016 - 18:12:14: FlightModel connection established.
18-6-2016 - 18:12:16: TimeModel connection established.


Rgrds,
Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Sat, 18 Jun 2016 18:45
Hi Mark, first of all thank you for sharing this addon!

I tried using it today and it worked great except for one thing:

I had to disable P3D AI Traffic. The simulator would become stuck in an infinte loop of the P3D pop-up screen of " loading air, land and sea traffic" every 2 or 3 seconds. The only way it worked was to either stop running ExternalSim's router or disable AI traffic (I chose the latter of course).

Would a screenshot help to understand this issue?

Thanks!
Cheers
-E
Title: Re: PSX.NET P3D ExternalSim
Post by: Garry Richards on Sat, 18 Jun 2016 19:09
Congratulations Mark! This is a wonderful addon that has been needed from the beginning but was beyond my skills. I am so glad that you have succeeded in linking PSX and P3D in this way. I wish you well in this public beta phase of development.

Cheers!
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 18 Jun 2016 19:47
evaamo

That's interesting! Thanks for sharing this, I will have a look at what I can do about this.

Nico

If you disable AI traffic, does that solve your problem?
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 18 Jun 2016 19:52
Congratulations Mark! This is a wonderful addon that has been needed from the beginning but was beyond my skills. I am so glad that you have succeeded in linking PSX and P3D in this way. I wish you well in this public beta phase of development.

Cheers!

Thank you very much for your kind words. Once the beta has shown itself to work on most setups, I would love to hear about how to do runway offsets. Interestingly the simfest UK pilots have not reported any problems with any of the landings being in the wrong position during today and yesterday (we're currently on a 3 day tour). Have I misunderstood the nature of the runway offset problem? Perhaps it's a lucky fluke that we've not noticed an issue.
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Sat, 18 Jun 2016 20:20
Mark, I believe the need for runway offsets is related to the misplacement of stock/default FSX/FS2004/P3D scenery. These days, most scenery addon developers (freeware and commercial) correctly align the airports to their real-world lat/lon. A notable exception (a real shame) is ZSPD, where both the commercial and freeware alternatives still use wrong coordinates (reason given: lack of accurate public data by the Chinese government or something along these lines).

Anyhow, in my experience (I use VisualPSX with offset disabled) if you use payware scenery and/or modern freeware airports (for example: Ray Smith's awesome AFCADs).

Cheers
-E

Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Sat, 18 Jun 2016 20:21
Nico
If you disable AI traffic, does that solve your problem?
I have no AI Traffic enabled.

Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sat, 18 Jun 2016 20:24
Since Prepard does not have a 747, I use the default FSX 747, could the problem be there?
Do all of you who have no problems use this FSX stock 747?
ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Sat, 18 Jun 2016 20:28
Since Prepard does not have a 747, I use the default FSX 747, could the problem be there?
Do all of you who have no problems use this FSX stock 747?
ivo
I'm not using the default FSX 747 but ProjectOpensky 747's, but I do have problems.
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Sat, 18 Jun 2016 20:31
Ivo, I use the POSKY 744 Megapack that was mentioned in another thread:

Pack #5:  http://www.rikoooo.com/en/downloads/viewdownload/55/716
Pack #6: http://www.rikoooo.com/en/downloads/viewdownload/55/717

Cheers
-E


Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Sat, 18 Jun 2016 20:45
Ivo, I use the POSKY 744 Megapack that was mentioned in another thread
E: Are you running Mark's software over two computers or everything at one?
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Sat, 18 Jun 2016 20:50
Hi Nico, single PC for now.

P3D 3.3.5 and ActiveSky SP5.

Nothing more.

Cheers
-E
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Sat, 18 Jun 2016 21:37
Hi guys,

Just as a followup- I ran into the reported "middle of the ocean" behavior while setting up my second ExternalSim client earlier this afternoon. Implementing the firewall suggestion Gary posted up-thread solved it immediately. ExternalSim is now running on all there image channels and the results are absolutely stunning. I'll post a short video later.

Now, to Mark - am I right to assume that the only thing ExternalSim injects into P3D from PSX is time? Unless I'm missing something, it doesn't seem like PSX weather is injected at all. Is that correct?

Someone had mentioned in the SimfestUK feed yesterday that, on Gary's setup, the clouds were aligned perfectly over the three channels. I'm not seeing that at all which, as you can imagine, looks a bit silly when clouds are in different places on each channel causing "interesting" results at each projector seam re: both the clouds and the resultant ground shading.

Would using an external weather generator clear this up? If so, could you shed a little light on what you guys are using over at Gary's?

Thanks again, Mark!
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sat, 18 Jun 2016 21:44
In search for the solution, trying to think out of the box.

2 pc's running 2 different versions of windows
Win 7 and Win8.1
Prepard  on his own  SSD drive
All other stuff, like AS Next, VisualPsx, EFB, RealTrafficPsx, PsxSeeconTraffic run over this network without problems.

Running all on 1 pc it works  just fine, very strange
If it would be a firewall problem it would do nothing, when in  prepard  selecting the 747 and set myself up on a RWY and starting ExternalSim I am moved to the ocean
Starting ExternalSim before Prepard gives the same outcome.
Strange
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Sat, 18 Jun 2016 22:10
Hi all,

I can confirm that after installing VisualPSX and disabling AI traffic, it loads correctly and gets rid of the re-loading issue. Not sure what came with VisualPSX, maybe some simconnect things?
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 18 Jun 2016 22:17
To all

Middle of the ocean behavior only occurs when P3D can't establish connection to the Router.
(It's actually Lat:0, Lon:0, Elevation:0 - the default startup values)
In this case, it's a simple firewall issue.

Nico

I think your problem is a new problem I've not seen before. Your screenshot of the Router shows that 'Subscribed ElevationModels' is increasing (proving the Router is connected to P3D), and your snippet of the log file shows 'FlightModel connection established' (proving P3D is connected to the Router) so I'm happy you don't have a firewall issue. I'm going to have a think about this; if you discover any more interesting things that might help be debug this then please let me know.

Generally

I think the next version is going to have 2 additional lines in the Router display, something like
'Router -> P3D connection: Established'
'P3D -> Router connection: Established'
Just to make it completely clear that firewalls are set up correctly.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 18 Jun 2016 22:18
Mark, I believe the need for runway offsets is related to the misplacement of stock/default FSX/FS2004/P3D scenery.

Thank you for explaining this, I'll stop worrying about it for now and focus on some of the other features I want to put in.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 18 Jun 2016 22:21
Now, to Mark - am I right to assume that the only thing ExternalSim injects into P3D from PSX is time? Unless I'm missing something, it doesn't seem like PSX weather is injected at all. Is that correct?

That is correct. Eventually flap position, gear position and other 'aircraft model state' items will be added in.

Someone had mentioned in the SimfestUK feed yesterday that, on Gary's setup, the clouds were aligned perfectly over the three channels.

As you might have guessed, Gary is using a 3rd party program to sync his clouds. I'll let him know you're interested so he can reply to you here.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 18 Jun 2016 22:25
Chris

Gary has just informed me that he's using OpusFSI.
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Sat, 18 Jun 2016 22:32
Thanks, Mark!

Here's a little video of an autoland on rwy 8 at TJSJ with completely stock P3D. The smoothness is incredible. The seams between projectors when taxiing are also 100% stable and smooth, which I've never seen in any home cockpit environment. Ever.

As you can see, the video does show where offsets could ultimately come in handy as it appears the threshold of runway 08 is placed correctly, but PSX and P3D differ slightly in their opinions of the actual runway heading. Still no biggie though, and certainly manageable for now.

Also, funnily enough, once airborne on this short hop from St Maarten, the clouds all synced up perfectly and stayed that way for the rest of the flight.

https://www.youtube.com/watch?v=lwAcWFHkO8k

Thanks again!
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Sat, 18 Jun 2016 22:42
Chris, is that stock/default scenery for San Juan? Because it is misaligned versus the real airport. Do you have LantiVFR's TJSJ, it uses real world coordinates. That would explain your issue with ExternalSim.

cheers,
-E
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Sat, 18 Jun 2016 22:47
Mark, I remember using FS Real-Time addon sometime ago to synchronize FSX with my computer clock. I stopped using it because it would "refresh" my AI traffic every so often.

The reason I'm telling you this is that maybe the way you're sync'ing PSX and P3D's time in ExternalSim could explain the 2-3 second loop of the AI loading dialog in P3D I mentioned in my post above.

cheers
-E
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 18 Jun 2016 23:26
https://www.youtube.com/watch?v=lwAcWFHkO8k

Great video! It's good to see another multi-projector setup working nicely.
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sat, 18 Jun 2016 23:29
great video indeed; this looks awsome.
not much sleep tonight,
ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Sat, 18 Jun 2016 23:51
Hey guys, if any of you is using the POSKY model (from the Megapack posted above), I found these values for the eyepoint to work pretty well:

eyepoint=64.8, -2.0, 10.9

Zoom .50

cheers
-E

Title: Re: PSX.NET P3D ExternalSim
Post by: joergalv on Sun, 19 Jun 2016 02:39
Hi Mark,

great job! Fantastic Add-On.. 

Though i had the same problems like Ivo and Nico, but finaly got it working in a 2 PC setup.
No Network or Firewall issue. Seems the PC hosting PSX.NET.P3D.ExternalSim.Router.exe is required to be localized to English (Great Britian). At least the Format section of the Contorl Panel -> Region.

Maybe something you could look into?

@Ivo, Nico, you might want to check your localization and report back?

Best regards, and thanks a lot for this great Add-On!

Joerg
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Sun, 19 Jun 2016 04:22
Hi Mark, I might have found a bug. For some reason, there's a time sync issue going on (which I only noted when it was time to fly a leg at night and P3D would be stuck in daylight).

As you can see, ExternalSim detects UTC time correctly from PSX but somehow fails to inject it correctly into P3D. Trying to modify the date/time directly in P3D (or checking the "GMT" box) doesn't work as the settings are quickly overridden by (I suppose!) ExternalSim.

Screenshot:

https://dl.dropboxusercontent.com/u/21613445/PSXNET2.jpg (https://dl.dropboxusercontent.com/u/21613445/PSXNET2.jpg)

Cheers
-E
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Sun, 19 Jun 2016 09:29
@Ivo, Nico, you might want to check your localization and report back?
I've changed the Time&Number formats at my BOTH computers to English(United Kingdom), and then the "Middle of the Ocean"problem indeed disappeared. However, I kept a reload every 3 seconds. I could get rid of that by also setting % road vehicles,% ships&ferries and %leisure boats to 0%!(AI aircraft were already at 0%).

@Mark:
The smoothness is awesome, thx again.

I hope/assume you will make your program work all over the world. I cannot let my format settings stay at English. It will give me al sorts of problems with decimal points and so on in other programs I use. There are 'locale' solutions for that in programming languages.

Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sun, 19 Jun 2016 09:44
Hi Mark,
Thanks again to make this available to us.
i can not try the solution Joerg gave us untill maybe this evening.
i do know that in the beginning   the  same problem  occured with PSX bacars.
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Sun, 19 Jun 2016 10:00
Ah yes the  , vs . debate :-)

I managed to force the locale in a one liner in BACARS.  I'll pass on to Mark.

Cheers
G
Title: Re: PSX.NET P3D ExternalSim
Post by: SIMU-3G7 on Sun, 19 Jun 2016 10:15
Congratulations Mark! This is a wonderful addon for our community.

Best regards and take care.

Gilles-Gabriel
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Sun, 19 Jun 2016 15:31
Ivo, I use the POSKY 744 Megapack that was mentioned in another thread:

Pack #5:  http://www.rikoooo.com/en/downloads/viewdownload/55/716
Pack #6: http://www.rikoooo.com/en/downloads/viewdownload/55/717

Cheers
-E

Do you lights work with POSKY?
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sun, 19 Jun 2016 18:39


Hi,
I set on both pc's location English (Great Britain)    still no luck.
decimal is point
So gonna give my settings in case I do something wrong.
Sorry for this long boring post.
PSX  pc nr1  ip = local network 192.168.0.152
P3D pc nr2   ip= 192.168.0.151

 PSX.NET.P3D.ExternalSim.Managed.dll  and
PSX.NET.P3D.ExternalSim.Managed.Wrapper.dll  moved to P3D directory (F:\ preparV3)

 PSX.NET.P3D.ExternalSim.dll  moved to F:\ preparV3\SimObjects\Airplanes\ b747_400
excerpt of aircraft.cfg file

[fltsim.0]
title=Boeing 747-400 Paint1
ExternalSimID = {3E6B47E7-C706-4A10-BC88-6E7C199ED5A6}
ExternalSimData = 75, 75, 100
ExternalSimModule = PSX.NET.P3D.ExternalSim.dll

sim=Boeing747-400
model=
panel=
sound=
texture=1
kb_checklists=Boeing747-400_check
kb_reference=Boeing747-400_ref
atc_id=N747K
atc_airline=Boeing
atc_flight_number=1123
atc_heavy=1
ui_manufacturer="Boeing"
ui_type="747-400"
ui_variation="Boeing livery"
ui_typerole="Commercial Airliner"
ui_createdby="Microsoft Corporation"
description="More than 30 years ago, the 747 made its first trip from New York to London.  Since then, it's become the standard by which other large passenger jets are judged. Its size, range, speed and capacity were then, and are now, the best in its class."

[General]
atc_type=BOEING
atc_model=B744
editable=0
performance="Cruise Speed\n0.85 Mach         565 mph         910 km\/h\n\nEngine options\nPratt & Whitney PW4062\nRolls-Royce RB211-524H\nGeneral Electric CF6-80C2B5F\n\nMaximum Range\n7,325 nm         13,570 km\n\nMaximum Certified Operating Altitude              45,100 ft          13,747 m\n\nFuel Capacity\n57,285 gal       216,840 L\n\nBasic Empty Weight\n394,088 lb    178,755 kg\n\nMax Gross Weight                        875,000 lb       396,893 kg\n\nLength\n231 ft, 10 in       70.6 m\n\nWingspan\n211 ft, 5 in         64.4 m\n\nHeight\n63 ft, 8 in         19.4 m\n\nSeating Typical 3-class configuration - 416\nTypical 2-class configuration - 524"
Category = externalsim


 PSX.NET.P3D.ExternalSim.xml  moved to C:\users\Public\Public Documents on P3D pc
<?xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <RouterSubBind>tcp://192.168.0.152:10760</RouterSubBind>
  <FeedbackPubBind>tcp://*:10761</FeedbackPubBind>
  <DebugPubBind>tcp://*:10762</DebugPubBind>
  <DebugLogToFile>false</DebugLogToFile>
</Settings>

PSX.NET.P3D.ExternalSim.Router.xml moved to C:\users\Public\Public Documents on PSX pc

<?xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <PsxBoostIP>127.0.0.1</PsxBoostIP>
  <PsxServerIP>127.0.0.1</PsxServerIP>
  <PsxServerPort>10747</PsxServerPort>
  <RouterPubBind>tcp://*:10760</RouterPubBind>
  <FeedbackSubBind>tcp://192.168.0.151:10761</FeedbackSubBind>
</Settings>
ivo








Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Sun, 19 Jun 2016 18:49
My setup looks identical to Ivo - PSX connects to the server but not to the P3D PC..

Edit... I tried moving the Router xml to the P3D PC public folder ( the instructions imply the PSX PC Public folder?) and it now works... :-)

Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Sun, 19 Jun 2016 19:05
Hi Ivo,
I set on both pc's location English (Great Britain)    still no luck.
decimal is point
Are you sure you have set the Format?
You should not change your location. You can keep Belgium as country, region, but in the Additional Settings in the same entry, you should change Time&Number format to English/United Kingdom.

Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sun, 19 Jun 2016 19:38
hi Nico, yes, on both pc's
ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sun, 19 Jun 2016 19:48
Hi Peter,
tried it, but again no luck, and when running the external.Simrouter.exe,  the External.SimRouter.xml is automaticlaly
placed in the  Users\public\public Documents map . on the PSX pc.
do you mean you have both
 PSX.NET.P3D.ExternalSim.xml
PSX.NET.P3D.ExternalSim.Router.xml files in the P3D users\Public\public Documents map?
ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sun, 19 Jun 2016 19:53
Peter

Sorry to say it was a fluke that moving the XML file to the other PC made it work. As Ivo has noticed, the DLLs will automatically create the XML files if it can't find one.

Ivo

If you're running out of things to try, may I suggest you wait for the next version? I will hopefully have the localisation fix, and a better connection status indicator (in both directions).
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sun, 19 Jun 2016 20:07
Hi Mark,
No problem at all to wait for the next version.
But it's the sport to make it work , giving up is not an option.
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Zapp on Sun, 19 Jun 2016 21:32
Hi all, I have both P3D and PSX on the same Win7 Ultimate computer, language is Italian, localization Italy, everything is working fine here.

Just one question: are lights supposed to work on Posky 747?

Great idea and great addon anyway, possibly the future of our hobby when it comes to accurate simulations; I'm looking forward to next version!

Andrea
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sun, 19 Jun 2016 23:30
PSX.NET.P3D.ExternalSim 1.7.0 now released. See post 1 of this thread for download link.

Change log:
- Potential fix for localisation
- Added ability to turn off TimeSync in PSX.NET.P3D.ExternalSim.Router.xml to allow AI traffic to work
- Simplified deployment from 3 DLLs to 1 DLL
- Connection status now shown on Router

Note 1: The AI traffic problem still needs more work as I'd like to leave time sync enabled and not affect AI traffic.
(For future reference, the AI traffic problem manifests itself by P3D very briefly showing a loading dialog every 3-5 seconds)

Note 2: The PSX.NET.P3D.ExternalSim.Router.xml file has an additional setting so use the new file or edit your existing one to add the new setting in. An example file is included in the download.
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Mon, 20 Jun 2016 02:48
Posky lights mostly work in VisualPSX, but no such luck using ExternalSim.

This, I'm sure requires some Simconnect sorcery (which I'm certain is more or less the same when it comes to Flaps and Gear). Perhaps Mark will include exterior lights control in the future.

-E
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Mon, 20 Jun 2016 09:21
Hi Mark,
- Potential fix for localisation
It looks to me that this fix is not working yet. I still have to select English (UK) in order to make it work.

Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 20 Jun 2016 10:36
This, I'm sure requires some Simconnect sorcery (which I'm certain is more or less the same when it comes to Flaps and Gear). Perhaps Mark will include exterior lights control in the future.

Correct.

It looks to me that this fix is not working yet. I still have to select English (UK) in order to make it work.

That's unfortunate. How about moving to the UK?  ;)

Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 20 Jun 2016 10:37
Nico

What is your localisation normally set to? I'll see if I can reproduce the problem here.
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Mon, 20 Jun 2016 11:58
That's unfortunate. How about moving to the UK?  ;)

My Format is Dutch (Netherlands)

Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 20 Jun 2016 13:28
PSX.NET.P3D.ExternalSim 1.7.1 now released. See post 1 of this thread for download link.

Change log:
- Fix for localisation

Note 1: Next release will hopefully address the following: Gear, Lights, Flaps, Engine throttle, AI traffic into PSX, PSX transponder into P3D, PSX VHFL into P3D.

Nico
This release is the first one that should work for you!
Title: Re: PSX.NET P3D ExternalSim
Post by: joergalv on Mon, 20 Jun 2016 14:33
Thanks a lot. I confirm the localization fix is working now (German/Deutschland).

Joerg
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 20 Jun 2016 19:08


Hi,


 PSX.NET.P3D.ExternalSim.dll  moved to F:\ preparV3\SimObjects\Airplanes\ b747_400
excerpt of aircraft.cfg file

[fltsim.0]
title=Boeing 747-400 Paint1
ExternalSimID = {3E6B47E7-C706-4A10-BC88-6E7C199ED5A6}
ExternalSimData = 75, 75, 100
ExternalSimModule = PSX.NET.P3D.ExternalSim.dll

[General]
atc_type=BOEING
atc_model=B744
editable=0
performance="Cruise Speed\n0.85 Mach         565 mph         910 km\/h\n\nEngine options\nPratt & Whitney PW4062\nRolls-Royce RB211-524H\nGeneral Electric CF6-80C2B5F\n\nMaximum Range\n7,325 nm         13,570 km\n\nMaximum Certified Operating Altitude              45,100 ft          13,747 m\n\nFuel Capacity\n57,285 gal       216,840 L\n\nBasic Empty Weight\n394,088 lb    178,755 kg\n\nMax Gross Weight                        875,000 lb       396,893 kg\n\nLength\n231 ft, 10 in       70.6 m\n\nWingspan\n211 ft, 5 in         64.4 m\n\nHeight\n63 ft, 8 in         19.4 m\n\nSeating Typical 3-class configuration - 416\nTypical 2-class configuration - 524"
Category = externalsim


 PSX.NET.P3D.ExternalSim.xml  moved to C:\users\Public\Public Documents on P3D pc
PSX.NET.P3D.ExternalSim.Router.xml moved to C:\users\Public\Public Documents on PSX pc

<?xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <RouterSubBind>tcp://192.168.0.152:10760</RouterSubBind>
  <FeedbackPubBind>tcp://*:10761</FeedbackPubBind>
  <DebugPubBind>tcp://*:10762</DebugPubBind>
  <DebugLogToFile>true</DebugLogToFile>
</Settings>

  ExternalSim.Router.xml
<?xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <PsxBoostIP>127.0.0.1</PsxBoostIP>
  <PsxServerIP>127.0.0.1</PsxServerIP>
  <PsxServerPort>10747</PsxServerPort>
  <RouterPubBind>tcp://*:10760</RouterPubBind>
  <FeedbackSubBind>tcp://192.168.0.151:10761</FeedbackSubBind>
  <TimeSync>true</TimeSync>
</Settings>

firewalls off
notation English
still no luck, running out of options here, it seems that the path to P3D is not found.

 local network is with cables, is it possible that the port 10760 is not open? I do not know how to check that.

thanks for any help
ivo






(http://www.hoppie.nl/forum/var/Naamloos.jpg)
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 20 Jun 2016 21:27
even with everything  on 1 machine, both PSX and P3D and default settings  as downloaded the path to and from the router to P3D is not found;
here is something very wrong.
ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Zapp on Mon, 20 Jun 2016 21:37
Hi, version 1.6.0 is working well for me, not so with both 1.7.0 and 1.7.1 which give me an error in P3D: while loading the aircraft the screen goes black and then I see this P3D error and have to quit

Bye

Andrea
Title: Re: PSX.NET P3D ExternalSim
Post by: joergalv on Mon, 20 Jun 2016 22:07
even with everything  on 1 machine, both PSX and P3D and default settings  as downloaded the path to and from the router to P3D is not found;
here is something very wrong.
ivo

Have you checked what happens if you disable the Windows Firewall FOR YOUR PRIVATE NETWORK ONLY on that 1 machine (probably your P3D PC)?
Control Panel -> System & Security -> Windows Firewall -> Turn Windows Firewall On or Off

and then restart the router
Title: Re: PSX.NET P3D ExternalSim
Post by: joergalv on Mon, 20 Jun 2016 22:29
Mark,

i always find the time in P3D to be two hours ahaed of PSX simulated time.
This difference is the same as the difference between UTC and the time shown as PSX time on the Router (in my case PSX time in the router is 2 hours ahaed of UTC ( 1h Offset from UTC + 1h DST )

I can adjust the Simulated UTC daytime in PSX, PSX time in the Router will change accordingly. The 2h difference however remains.

This is with Version 1.7.1 and timesync enabled.

Edit: I did set my PC to another timezone and it seems as "PSX time in the Router = PSX simulated UTC + Offset from UTC + DST hour"
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 20 Jun 2016 22:39
hi Joerg,
thanks for your help.
disabled the firewall for private network only  and I can now run it on  the same machine, on 2 machines still no joy.
is there any specific directory the router.exe has to be in ?
ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 20 Jun 2016 23:08
Andrea

Delete the 1.6.0 files:
PSX.NET.P3D.ExternalSim.Managed.dll
PSX.NET.P3D.ExternalSim.Managed.Wrapper.dll
to get 1.7.1 to work (1.7.1 only requires the PSX.NET.P3D.ExternalSim.dll file)

Joerg

Thanks for pointing out the time issue, the fix for this is now in the next version, not yet released.
Title: Re: PSX.NET P3D ExternalSim
Post by: joergalv on Mon, 20 Jun 2016 23:11
Hi Ivo,

just to confirm it's the Firewall that is blocking traffic on your PSX PC as well. Leave the Firewall on the P3D PC disable for a moment and disable the Firewall (again: Private Network only) on your PSX PC as well.
Hope you can confirm it's working with 2 PC's now.

If that's the case, enable the Firwalls on both PC's again, and make sure
- there is no checkmark on "Block all incoming connections, including programs ..."
- there is a checkmark on "Notify if a new program is blocked" (or similar wording, i don't have the english control panel)

The next time you run the Router and P3D a window should pop up, telling you that the Firewall has detetced a new program which tries to communicate via the Network. This window will give you the option to allow or block the communication in your private / public network. You should then allow the communication in your private network.
P3D in fullscreen might hide this firewall notification window, so you better start P3D in windowed mode the first time after enabling the Firewall again.

Good Luck!

Thanks for pointing out the time issue, the fix for this is now in the next version, not yet released.

Wow that was fast!! Excellent!
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Tue, 21 Jun 2016 01:12
I have nothing to contribute other than to say thanks again, Mark, for this addon and your continuing work to improve it!

I was entertaining the possibility that I'd eventually have to stop using PSX in favor of the upcoming PMDG 747 due to the inability to get smooth graphics using either P3D or XP10 as an IG (one really notices those stutters on a 7x24ft screen). I can now scrap those plans. My whole outlook on my sim going forward has changed.
Title: Re: PSX.NET P3D ExternalSim
Post by: asboyd on Tue, 21 Jun 2016 07:46
Seems a bit of a shame this new app does not support earlier versions of P3D. I only have V2.5 and can only use visualPSX, but as it is all working at present I have no need to change... Time will tell :)
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 21 Jun 2016 10:02
Seems a bit of a shame this new app does not support earlier versions of P3D.

Have you tried it? I'm only saying I won't make any large effort to support earlier versions but it might work on earlier versions.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 21 Jun 2016 10:13
I was entertaining the possibility that I'd eventually have to stop using PSX in favor of the upcoming PMDG 747 due to the inability to get smooth graphics using either P3D or XP10 as an IG (one really notices those stutters on a 7x24ft screen). I can now scrap those plans. My whole outlook on my sim going forward has changed.

Thanks Chris!  ;D

Uhhh... considering not using PSX?!... sacrilege!
I'm not surprised you noticed the stutters with that large screen - the boost server data is not ideal for achieving smoothness. (Lots of technical reasons)
I have to do a decent amount of math on the boost server data to get the data required.
It's actually a testament to Hardy's coding that the boost server produces such clean and accurate data that I'm able to take a derivative of it (an operation that normally shows up a LOT of noise if the input data is not good) and still get clean data.
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Tue, 21 Jun 2016 10:29
I have to do a decent amount of math on the boost server data to get the data required.
It's actually a testament to Hardy's coding that the boost server produces such clean and accurate data that I'm able to take a derivative of it (an operation that normally shows up a LOT of noise if the input data is not good) and still get clean data.

Whatever math you're using, it's working! This setup is so stable that I don't see any (discernible, at least) lag between projector channels - even when doing things like swinging around a 90 degree taxiway corner at 20kts, which would have turned my projector seams using XP10/Xview into giant areas of mismatched blurriness. Honestly, even in the best multi-channel setups using Wideview, I've always noticed some degree of lag between the different image channels, especially when making sharp turns either in the air or on the ground; but not here.

Sorry to keep gushing, but I just can't get over how smoothly and flawlessly my visuals are working with your software.

BTW, if any of you guys want to waste 10 minutes of your life that you'll never get back, here's another little video I posted flying the RNP/visual approach to rwy 26 at Juneau, AK with ORBX scenery all around. Butter smooth! :

https://www.youtube.com/watch?v=wz1mKIpQU34
Title: Re: PSX.NET P3D ExternalSim
Post by: tango4 on Tue, 21 Jun 2016 18:17
Just did a quick test today on my setup (psx server and p3d on the same computer, and two psx clients on a second one) and apart from the issues already mentioned in this forum, I was able to set it up in less than 15 minutes, and it is working silky smooth !
For the first time I am seriously considering using a scenery generator with PSX.
Many many many thanks for your exceptional work, and for sharing it with this community which keeps amazing me over and over.

Charles
Ps: if you want an example where an offset would be needed, try default situation departure from Hofu (can't remember the number). Even with Visual PSX I was never able to get this one correctly aligned.
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Tue, 21 Jun 2016 20:42
Hey guys, if any of you is using the POSKY model (from the Megapack posted above), I found these values for the eyepoint to work pretty well:

eyepoint=64.8, -2.0, 10.9

Zoom .50

cheers
-E

What camera in p3D do you use?
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Tue, 21 Jun 2016 21:26
Andrea

Delete the 1.6.0 files:
PSX.NET.P3D.ExternalSim.Managed.dll
PSX.NET.P3D.ExternalSim.Managed.Wrapper.dll
to get 1.7.1 to work (1.7.1 only requires the PSX.NET.P3D.ExternalSim.dll file)

Joerg

Thanks for pointing out the time issue, the fix for this is now in the next version, not yet released.

Hi Mark, thank you for the continuing development :) I upgraded to 1.7.1 from 1.6.0 but now when I load into P3D, P3D suddenly disappears with no errors in the Windows logs.
Title: Re: PSX.NET P3D ExternalSim
Post by: Zapp on Tue, 21 Jun 2016 21:36
Thanks Mark, that did it. Now I have a perfectly functioning 1.7.1 version tested on a nostalgic (for me) Singapore - Perth flight. Perfectly smooth with clouds and Orbx Australia + Jandakot (notoriously heavy).

Great job sir!

Andrea
Title: Re: PSX.NET P3D ExternalSim
Post by: noels7 on Thu, 23 Jun 2016 04:35
Hi Mark

Congratulations on your fine piece of software to enhance our enjoyment of PSX and P3D.
However, I have had to resort to reusing VisualPSX until the problem I have been chasing is rectified.

I have read all the posts in this topic many times but my problem remains.
Firstly:
1. Downloaded and installed Project Opensky 747-400 ER in P3D Ver 3.3.5 Sim Objects folder.
    Aircraft (747-400 ER)  runs (engines running, all gauges appear to be working, am able to select2D or Virtual
    cockpit panels and gear down in P3D using VisualPSX.   
2. Downloaded PSX.NET.P3D.ExternalSim 1.7.1 and installed all items as per included PDF. Have tried Version
    1.6.0. ( Problem the same).
3. Removed all remnants of VisualPSX from Aerowinx and User/Roaming/Lockheed Martin.
4. Windows firewall allows inward/outward connections. (Have also tried disabling firewall - problem remains) 
5. Aircraft (747-400 ER)  runs in P3D when PSX.NET.P3D.ExternalSim is installed but with problems.

I believe that PSX.NET.P3D.ExternalSim is working as 1st attachment shows:
http://fsfiles.org/flightsimshotsv2/images/2016/06/23/External.jpg (http://fsfiles.org/flightsimshotsv2/images/2016/06/23/External.jpg)

Next attachment shows a stationary position of PSX 747:
http://fsfiles.org/flightsimshotsv2/images/2016/06/23/PSXposition.jpg (http://fsfiles.org/flightsimshotsv2/images/2016/06/23/PSXposition.jpg)

Finally and here is the main problem I experience when PSX.NET.P3D.ExternalSim is in use:
http://fsfiles.org/flightsimshotsv2/images/2016/06/23/P3DVer3.3.5.jpg (http://fsfiles.org/flightsimshotsv2/images/2016/06/23/P3DVer3.3.5.jpg)

As can be seen from last attachment, No aircraft displayed. Black object a runway entrance is I presume the virtual cockpit. Outside of aircraft reveals no wheels on aircraft or on the pavement. I can get 2d panel using F10 on keyboard but not virtual cockpit via F9. Finally no engines are running and no buttons etc on panel are operating in stark contrast to the same scenario when using  VisualPSX where everything is running smoothly.
I use single computer with PSX and P3D installed but drag P3D to 2nd monitor when using PSX.

My apologies for such a long post but would appreciate some assistance/advice with the problems described.

Many thanks

Noel Southam
noels7
YPAD
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Thu, 23 Jun 2016 18:01
Hi,
my apologies for this late reply.

To Joerg
I tried your advice and it do works. Thank you sir for that, although I can not see the logic, open all doors and the cat can't come in, close 1 door and she can enter.
But it works,



and to Mark

Amazing smoothness, this makes PSX  and PSX.NET P3D ExternalSim a wonderful combo.
Thank you sir for that.

To Garry , also a big thanks for all the years of dedicated enthusiasm to make our flight experience great fun  and  more realistic .


Mark, I can confirm that version 1.7.1 now works  with  my 2 pc's, when disabling the local firewall settings on both pc's, and the public firewalls on both pc's enabled.
this is  the only way it works.
I also noticed that even when working correct the connection status of  the router->P3D stays unknown .the router<-P3d stays  not connected.

Now is the model in P3D of the 747 designed to be used in 2D panel state?
In 3D if have the same odd screen  as Noels .
the benefit of 3D panel state is  that you can pan around with the hat switch  , in 2D you only have  left, right, back and forward .
So I personally would not mind to have  no panel shown in a 3D view.
(http://www.hoppie.nl/forum/var/Untitled.jpg)

ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Thu, 23 Jun 2016 18:40
Mark-

I am far from my sim and reading all of this with rapt attention.  The smooth motion of PSX transferring into P3D was my only niggle with VisualPSX and reading this post it would appear that you have conquered this last hurdle.

I will not return to my simulator until next week, and until then will keep salivating at the thought of the perfect flare.

Thank-you so very much!

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Thu, 23 Jun 2016 18:44
I also noticed that even when working correct the connection status of  the router->P3D stays unknown .the router<-P3d stays  not connected.

This indicates to me that you still don't have full connectivity, you'll probably notice ground elevation problems as a result.

With regards to the black box - I suspect you don't have the eyepoint and/or camera set correctly. The ExternalSim module sets the aircraft model position only, not any camera positions.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Thu, 23 Jun 2016 18:48
I should probably point out that the ExternalSim module is only intended to make P3D act as a scenery generator for PSX. There is no design reasons why you couldn't use 2D or 3D cockpits in P3D (I am just setting aircraft position based on the data coming from PSX) but I'm not specifically aiming to make this work.
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Thu, 23 Jun 2016 19:02
What camera in p3D do you use?

That would be "Virtual Cockpit" (F9 key).

Ivo, I had the same issue you're having. I reckon you're using POSKY Megapack? If you are, it uses a 3D Virtual Cockpit. Try using these values:

eyepoint=64.8, -2.0, 10.9

It did the trick for me. Hope this helps.
Cheers
-E
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Thu, 23 Jun 2016 20:07
Hi E,
thanks, but it did not changed anything, still this little panel piece.
do use the Posky megapack, but tried with default stock FSX , the same problem.

Mark, you are right, no ground elevation no feedback model, and no PSX elevation updates.
Will keep searching
ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Thu, 23 Jun 2016 20:20
What camera in p3D do you use?

That would be "Virtual Cockpit" (F9 key).

Ivo, I had the same issue you're having. I reckon you're using POSKY Megapack? If you are, it uses a 3D Virtual Cockpit. Try using these values:

eyepoint=64.8, -2.0, 10.9

It did the trick for me. Hope this helps.
Cheers
-E

I was stupid. I left the ddls from 1.6 inside the P3D folder so it kept crashing. Now it seems to work fine. I get the plane in exterior view, and a 3D cockpit. Both router statuses are connected. I am running everything one 1 PC with POSKY model.

How are you viewing from the virtual cockpit? Do you just zoom so you cannot see the panels?
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Thu, 23 Jun 2016 20:38
http://www.hoppie.nl/forum/var/reverse1.jpg (http://www.hoppie.nl/forum/var/reverse1.jpg)

use normal zoom 1, this is 4 and it looks like I see something from the back, mirrored
ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Thu, 23 Jun 2016 21:12
got it, it seems my view is from within the cabin, used fsi opus to move my eye point before  the nose.
made a new  virtual camera  point , now good to go.
for the moment running  PSX.NET P3D ExternalSim on the Prepard machine, and the  main and boost server on the PSX machine.
It works fine.
thanks
ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Thu, 23 Jun 2016 21:24
got it, it seems my view is from within the cabin, used fsi opus to move my eye point before  the nose.
made a new  virtual camera  point , now good to go.
for the moment running  PSX.NET P3D ExternalSim on the Prepard machine, and the  main and boost server on the PSX machine.
It works fine.
thanks
ivo

Glad to hear, i dont use any view addons atm.
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Thu, 23 Jun 2016 21:27
Hi Mark,

1.7.1 is working well for me.
Thanks so much!

Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: Greg Hateley on Fri, 24 Jun 2016 00:58
Hi Mark,
Same here. 1.71 working too.
Just a small note to say that ASN crashes on the first start then works on the second while running External sim.

Regards
Greg
Title: Re: PSX.NET P3D ExternalSim
Post by: Hardy Heinlin on Fri, 24 Jun 2016 08:21
Hi Mark,

congratulations on your new add-on!

I have no Windows, so I can't test it; nevertheless it's obvious to me that you have developed a fantastic add-on! :-)


Cheers,

|-|ardy
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Fri, 24 Jun 2016 22:25
I've done some measurements using the Boeing Airport planning manual and some fiddling with P3D views and I have found that with the POSKY 747..

92.5, -2, 10.7 works well.

Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: Thepsxflyer on Sat, 25 Jun 2016 08:57
Just to confirm, this is for P3D only and will not work with FSX?

Tony
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Sat, 25 Jun 2016 18:54
Hi Mark,

Just as information, I upgraded from 1.6.0 to 1.7.1 just so I'd be ready for any future enhancements, and 1.7.1 introduced very noticeable stutters on all three of my image channels. Simple motion like moving straight ahead on the runway is still smooth, but when making turns (either on the ground or in the air), things became very slideshow-ish with noticeable brief stutters a couple times each second. I rolled back to 1.6.0 and things were immediately back to smooth-as-buttery goodness.

For what it's worth!
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 25 Jun 2016 22:22
Chris

Intriguing, I was not expecting that! Does it still do it if you change:

Code: [Select]
<DebugPubBind>tcp://*:10762</DebugPubBind>
<DebugLogToFile>true</DebugLogToFile>

to

Code: [Select]
<DebugPubBind></DebugPubBind>
<DebugLogToFile>false</DebugLogToFile>

(PSX.NET.P3D.ExternalSim.xml)

If still no better then I might contact you directly to pre-test the next version.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sat, 25 Jun 2016 23:28
Mark et al-

Back at my sim, and eager to experience the wonders of PSX NET.  Have tried with 1.7 for the past hour without success.  I'll bet it's finger trouble at my end.  PSX, PSX NET and P3D all on one machine for now.

Here are my files as I have edited them... perhaps something will be very obvious to some kind soul...
placed in C:\Users\Public\Documents

PSX.NET.P3D.ExternalSim.Router.xml=
<?xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <PsxBoostIP>192.168.1.201</PsxBoostIP>
  <PsxServerIP>192.168.1.201</PsxServerIP>
  <PsxServerPort>10747</PsxServerPort>
  <RouterPubBind>tcp://192.168.1.201:10760</RouterPubBind>
  <FeedbackSubBind>tcp://192.168.1.201:10761</FeedbackSubBind>
  <TimeSync>true</TimeSync>
</Settings>

PSX.NET.P3D.ExternalSim.xml=
<?xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <RouterSubBind>tcp://192.168.1.201:10760</RouterSubBind>
  <FeedbackPubBind>tcp://192.168.1.201:10761</FeedbackPubBind>
  <DebugPubBind>tcp://192.168.1.201:10762</DebugPubBind>
  <DebugLogToFile>false</DebugLogToFile>
</Settings>

I was getting the exact same issue as Ivo, so I tried disabling my firewall (despite same PC) without success...
This Received Boost and Received PSX are increasing.
Published FlightModel and TimeModel are populated
Subscribed FeedbackModel:0
Ground Elecvation NaN
PSX elevation updates: 0
PST time is ok

Connection status is Unknown and Not Connected

TIA

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Sun, 26 Jun 2016 00:14
Mark et al-

Back at my sim, and eager to experience the wonders of PSX NET.  Have tried with 1.7 for the past hour without success.  I'll bet it's finger trouble at my end.  PSX, PSX NET and P3D all on one machine for now.

Here are my files as I have edited them... perhaps something will be very obvious to some kind soul...
placed in C:\Users\Public\Documents

PSX.NET.P3D.ExternalSim.Router.xml=
<?xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <PsxBoostIP>192.168.1.201</PsxBoostIP>
  <PsxServerIP>192.168.1.201</PsxServerIP>
  <PsxServerPort>10747</PsxServerPort>
  <RouterPubBind>tcp://192.168.1.201:10760</RouterPubBind>
  <FeedbackSubBind>tcp://192.168.1.201:10761</FeedbackSubBind>
  <TimeSync>true</TimeSync>
</Settings>

PSX.NET.P3D.ExternalSim.xml=
<?xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <RouterSubBind>tcp://192.168.1.201:10760</RouterSubBind>
  <FeedbackPubBind>tcp://192.168.1.201:10761</FeedbackPubBind>
  <DebugPubBind>tcp://192.168.1.201:10762</DebugPubBind>
  <DebugLogToFile>false</DebugLogToFile>
</Settings>

I was getting the exact same issue as Ivo, so I tried disabling my firewall (despite same PC) without success...

TIA

C

C,

I would start over using both stock XML files. With your all-on-one computer configuration, you shouldn't need to change a thing.

I'm thinking you may have broken it by changing the *.[port] lines for the binds. Those aren't meant to be changed. Also, when working on a single computer, it's better to use 127.0.0.1 for localhost than using the [192.168.1.201] IP address.

Good luck!

Chris

Intriguing, I was not expecting that! Does it still do it if you change:

Code: [Select]
<DebugPubBind>tcp://*:10762</DebugPubBind>
<DebugLogToFile>true</DebugLogToFile>

to

Code: [Select]
<DebugPubBind></DebugPubBind>
<DebugLogToFile>false</DebugLogToFile>

(PSX.NET.P3D.ExternalSim.xml)

If still no better then I might contact you directly to pre-test the next version.

Mark,

Thanks for the quick reply. I had logging disabled, but I will give it a shot later this weekend with the debug bind removed and see how it does.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sun, 26 Jun 2016 00:16
Chris-

Replaced BOTH with stock.... exact same issue.  Thanks for your assistance... much appreciated.  Thought perhaps it was my antivirus, and so I added exclusions... NO joy... Still head scratching though....


Best- Carl
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Sun, 26 Jun 2016 00:21
Chris-

Replaced BOTH with stock.... exact same issue.  Thanks for your assistance... much appreciated.  Still head scratching though....

Best- Carl

Carl,

You took care of business within P3D too, right? (placing the .DLL in the folder of the aircraft you're going to use and making the changes to the aircraft.cfg)

Assuming yes, what version of P3D do you have installed? I tried externalsim on 3.1 initially and it didn't work, presumably because the internal P3D externalsim workings came about a bit later.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sun, 26 Jun 2016 00:29
Chris-

Affirm... placed in \\PREPAR3D\Prepar3D\SimObjects\Airplanes\b747_400
3 lines to add underneath the line that says 'title=' (normally in the [fltsim.0] block):
ExternalSimID = {3E6B47E7-C706-4A10-BC88-6E7C199ED5A6}
ExternalSimData = 0
ExternalSimModule = PSX.NET.P3D.ExternalSim.dll

1 line to change (change all instances of this line in the file): from: Category=airplane to: Category=externalsim
all done.

P3D v 3.2.3.16769

I think my issue is with the P3D location... but it is ALL on the same PC so I remain baffled.

Ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Sun, 26 Jun 2016 00:34
Carl,

Agreed; there's definitely not a link between P3D and the PSXExternalSim router. My only remaining suggestion would be to upgrade to the latest 3.3.5 to see if that helps (as I mentioned, when I tried with 3.1, it didn't work either).
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sun, 26 Jun 2016 02:39
Chris-

Updated to latest P3d... no joy... exactly the same issue...  Thanks again, will keep trying... everything I have read about PSX.NET seems superlative... and I'm anxious to see it in action.

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sun, 26 Jun 2016 09:07
Hi Carl,
I still can not use it on 2 pc 's over a network, it worked once, but even then the P3D connection was not shown.
i wanted to see if I could run PSX ExternalSim router on the prepard machine, and PSX main and boostserver  on the PSX machine, it works, but got bad stutters  each 2 or 3 seconds!

Yesterday removed prepard completely , had on 1 machine windows 7. The other one windows 8.1 and upgraded both pc's to windows 10
This afternoon I wil install all back and hope to have it working
Will keep  you informed.
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sun, 26 Jun 2016 13:52
Ivo-

Thanks!  I should add I am on one PC atm, running Win 7 x64; however, the plan is to run on 3 PCs all running Win 7 x64 eventually.  My PSX and P3D are on 2 SEPARATE drives, but on the same machine.

VisualPSX still works and "sees" P3D.  I am not in a position to go through a full reinstall of P3D right now... so I hope there is some other solution.

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Sun, 26 Jun 2016 14:31
Hi all,

Unfortunately this has suddenly broken for me after I restarted my PC. The server values increase, but not the boost. Been trying to get it to work for the past 2 days but with no luck and I've run out of options.

When I start the exe and then close it, it stops the PSX boost server.
Title: Re: PSX.NET P3D ExternalSim
Post by: joergalv on Sun, 26 Jun 2016 21:31
Just a small note to say that ASN crashes on the first start then works on the second while running External sim.

Seems those ASN crashes are caused by ASN trying to apply wind + turbulance data to the external sim model.
I have not experienced ASN crashes with PSX.NET after applying the following in the ASN settings (i saved it as PSX User Prerset):

[Wind options (and effects)]
TurbulenceScalePercent=0
MaximumWindTurbulencePercent=0
MaximumWindShearPercent=0
WakeTurbulenceStrength=0
MaximumDowndraftRate=0
MaximumUpdraftThermalRate=0


---

Ivo, Cavari, et all.. Sorry, no further idea what might cause your issues..
Just a shot in the dark, propbably worth a try: Installing all 4 versions of simmconnect on your P3D PC, that come with P3D.
- ESPv1
- FSX-RTM
- FSX-SP1
- FSX-SP2-PACK
You'll find all of them in your P3D main folder under \redist\Interface
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Sun, 26 Jun 2016 22:10
Quote from: joergalv link=topic=3629.msg37535#msg37535
Just a shot in the dark, propbably worth a try: Installing all 4 versions of simmconnect on your P3D PC, that come with P3D.
- ESPv1
- FSX-RTM
- FSX-SP1
- FSX-SP2-PACK
You'll find all of them in your P3D main folder under \redist\Interface
No that will not help. You do not need any Simconnect client at the P3D PC.
Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 27 Jun 2016 10:52

Hi,

I have everything up and running, it works flawless and with great smoothness so far.
for the moment just a P3D vanilla install.
In case it might be useful to someone else, this is what I did until now.
uninstalled p3d and all the linked files and deleted all the P3D folders.
updated both computers to windows 10,
P3D pc has both firewalls , public and local enabled, no antivirus program present.
PSX  pc has both firewalls , public and local enabled, antivirus  present .
when pinging both machines it showed  that the ping from P3D to PSX machine did not work due to the fact that the antivirus program(bitdefender Internet security) firewall blocked it, disabled this firewall and pinging ok.

Installed the Posky 747.400 aircraft.  mine has 62 liveries, deleted 61 of them , kept 1.
Edited the aircraft.cfg , removed the 61 entries  and added the  additional lines.

[fltsim.0]
title=Boeing 747-400 British Airways
ExternalSimID = {3E6B47E7-C706-4A10-BC88-6E7C199ED5A6}
ExternalSimData = 0
ExternalSimModule = PSX.NET.P3D.ExternalSim.dll
sim=Boeing747-400-RR-ProjectOpensky
model=744-RR
panel=747
sound=RR
texture=british1

[General]
atc_type=BOEING
atc_model=B744
performance=-Cruise Speed:\n0.85 Mach - 567 mph - 912 km\/h\n\n-Engine Options:\nPratt & Whitney PW4062\nRolls Royce RB211-524H\nGeneral Electric CF6-80C2B5F\n\n-Maximum Range:\n7,260 nm - 13,450 km\n\n-Service Ceiling\n45,100 ft - 13,747 m\n\n-Fuel Capacity\n478,050 lb - 216,840 kg - 57,285 US gal\n\n-Empty Weight\n394,100 lb - 178,800 kg\n\n-Maximum Takeoff Weight\n875,000 lb - 396,890 kg\n\n-Length\n231.83 ft - 70.6 m\n\n-Wingspan\n211.42 ft - 64.4 m\n\n-Height\n63.41 ft - 19.3 m\n\n-Seating\n2-Class configuration:524\n3-Class configuration:416
Category=externalism

installed PSX.NET.P3D.ExternalSim as per manual.
Used the Eyepoint settings that Peter gave us, thanks for that.

On P3D machine SimConnect client installed.10.0.40219,
ESP SimConnect client 10.0.61259.0

Gonna install the rest of the add-ons one by one and try.
will keep you posted.
b.t.w., I do not use external views of the airplane, but noticed that it floats over the ground, gears retracted. But that is not important to me.
ivo

(http://www.hoppie.nl/forum/var/Naamloos.jpg)


 
.

Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 27 Jun 2016 13:13
Ivo-

Glad you got it working!  Please do update us on the add-ons. I will keep trying at my end, but I simply cannot uninstall P3D at this time.  There has to be something else blocking my progress... Just confounded as its all on one machine.

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Mon, 27 Jun 2016 17:20
Would be interested to know of successful use in a single PC, specially if the users find it smooth.

I believe I can, just as I did with VisualPSX, get a layout with the lower half of the screen dedicated to a PSX panel view, and the upper half with a cockpit view from P3D ?

Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Mon, 27 Jun 2016 18:59
On P3D machine SimConnect client installed.10.0.40219,
ESP SimConnect client 10.0.61259.0
That's not needed. You only have to install a Simconnect Client at another PC then P3D, if and only if, you run an application at that PC that uses Simconnect to communicate with P3D. Examples are PSXeeconTraffic, ASNext and VisualPSX. For Marks router it is not needed.
Nico

Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 27 Jun 2016 20:16
Mark-

For when you stop by next...

I am running PSX Server, Boost Server and P3D on the same machine, but at C:\Aerowinx and S:\Prepar3d- i.e. two separate drives.  Eventually I would like to separate this, but just trying to get it to connect first.  ASN does run on another machine using a PSX client as well.  Simconnect works between those 2 machines as ASN sends Wx to P3D.

I get PSX and BOOST numbers increasing, as well as Published FlightModel and TimeModel.
Subscribed FeedbackModel: 0
Ground Elevation(m): NaN
PSX elevation updates: 0
Connection status, Router -> P3D:Unknown
Connection status, Router <- P3D Not connected

Just DL once more and used fresh files for this attempt.  Did NOT change anything as all is on the same machine.  Is the fact that I am running on 2 separate HDs causing this?

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Tue, 28 Jun 2016 08:35
Hi Carl,
Do You have enough  room to copy PSX to your S drive to try that?
PSX can be moved without a problem to an other disk .

But I do not believe this is the cause.
You run it on 1 pc, so have you tried to copy the.xml files without changing anything? 
I had all those problems just as you have, what plane do you use in P3D?
The connection does not happen if you  do not load  the 747 with the dll file in it.
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Tue, 28 Jun 2016 11:37
Ivo-

Yes, I can try moving PSX and will, however, I agree I do not think that is the issue.  Will try that later today.

Yes, I re-downloaded the 1.7 and used the files without editing just to be sure I hadn't screwed up something.

I am using the FSX 744 which worked with VisualPSX and I did copy the file to that sim objects folder and edited the several instances of the "Category=Airplane" as required.

Still no connection... I use EZCA in P3D with the latest P3D installer... I wonder if the additional camera views with Category=Cockpit are causing some issue? Does your POSKY have that as well? I do have a plain vanilla backup... But that is on a machine that is currently US and being upgraded with a boot SSD.... Perhaps I ought to try the Opensky version....

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Tue, 28 Jun 2016 12:12
Carl,
I to have  EZCA but do not use it, it  somethimes screws up my views, maybe because I use  1mouse and keyboard for both pc's.


i see no reason for it because there is no VC in PSX, and the outside view shows no panel. if you want it to use with other aircraft I suggest you remove the entry in the  exe.xml, this way you can start it whenever you want.

Since you run all on 1 pc there should not be any firewall issue.

I use a cleaned Posky file, with only 1 livery, would you like me to  see if I can put it in dropbox for you to try?
Ivo

Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Tue, 28 Jun 2016 14:10
Ivo-

That would be greatly appreciated- Ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Tue, 28 Jun 2016 14:58

here you go, the dll is already in place, and the aircraft.cfg done.

https://dl.dropboxusercontent.com/u/15927645/Boeing_747_400_OP.zip
ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Tue, 28 Jun 2016 19:28
How does PSX.NET cope with runway alignement problems ?

Regarding weather, a 3pd injcetor like ASN or default P3D weather must be used to feed P3D with the weather, right ? Or does PSX.NET also have the option to inject weather from PSX into P3D ?

Thx
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Tue, 28 Jun 2016 20:12
Hi Jose
No weather injection, you have to use AS next or FSX opus to get the weather!
I have both and AS next is for me the best ,  one big advantige for me is the option to import a weather scenario you use in PSX,  and get the same weather in P3D.

The few times I used  PSX .net i did not have any alignment problem.

And I was very sceptic to upgrade to windows 10, but have to admit it makes for me  a huge difference.
Maybe it's the new drivers for my GPU, I don't know, but it runs as smooth as butter, for the first time I now have the same feeling as flying  in prepared itself, no lag, no stutter,
Tommorow gonna give it a go on 3 monitors, very curious!
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 28 Jun 2016 21:20
Is the fact that I am running on 2 separate HDs causing this?

There isn't anything in the code that explicitly relies on everything running on C drive. The public documents folder (where the config file is located) is referenced in the code as:

Code: [Select]
string file = Path.Combine(System.Environment.GetFolderPath(Environment.SpecialFolder.CommonDocuments), name + ".xml");
So you see this loads the path from the registry rather than a hard coded path thus running on different drives should be fine.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 28 Jun 2016 21:22
How does PSX.NET cope with runway alignement problems ?

Regarding weather, a 3pd injcetor like ASN or default P3D weather must be used to feed P3D with the weather, right ? Or does PSX.NET also have the option to inject weather from PSX into P3D ?

We've not noticed any issues with runway alignment in our sim, I think that might be due to choosing good scenery add-ons?

No weather injection. I'm not planning any weather injection soon either.

Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 28 Jun 2016 21:44
cavaricooper

I've just caught up on the last few pages of this thread and was saddened to see you're still having issues.

- Does the aircraft move in P3D as PSX moves?

If so, I still suspect a firewall issue.
I'm struggling to think of other causes... there is a very tiny chance you already have something else bound to ports 10760/10761/10762 but that's unlikely.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Tue, 28 Jun 2016 22:54
IVO:
First, thanks!  I DL your file, deleted my FSX 747 folder and tried- no luck- exactly the same issue as before.

MARK:
I have checked Firewall permissions and there in an incoming and outbound rule for the router allowing all connections.  There is NO P3D movement.

I do have ports open and in use, however, they are 6811, 500, 29800, 29764... not the mentioned ones....

BTW- w/o Wx injection Wx should be fine for METAR based scenarios around airfields, but how do you solve the waypoint winds issue enroute at FLs in you sim?

Starting to feel a bit helpless... but keeping the faith :)

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Tue, 28 Jun 2016 23:06
Ivo and Mark, thx for your answers.

I'm planning to use the successor of ASN with it, just to check how it goes :-)
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Wed, 29 Jun 2016 05:51
How does PSX.NET cope with runway alignement problems ?

Regarding weather, a 3pd injcetor like ASN or default P3D weather must be used to feed P3D with the weather, right ? Or does PSX.NET also have the option to inject weather from PSX into P3D ?

Thx

I ran into a slight misalignment problem at TJSJ when I was first trying it out, but later found out that the stock P3D TJSJ scenery has runway placement issues. Since replacing the stock scenery with that from LatinVFR, the alignment issue corrected itself. I've flown probably 30 ILS's (and a fair few RNP/RNAVs) to other runways since then with ZERO alignment issues whatsoever.

+1 Vote for OpusFSI here. It's fantastic, and the weather data (at least by comparing full-text METARs) matches what PSX pulls down from the internet perfectly.
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Wed, 29 Jun 2016 06:42
Chris, thank you for the additional info.

Are you using the "combination" in a single PC ?
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Wed, 29 Jun 2016 07:14
Chris, thank you for the additional info.

Are you using the "combination" in a single PC ?

Not quite, lol. I have 3 image channel PCs (for the left, center, and right projectors) each running a copy of the PSX.net client and P3D, 3 additional PCs running PSX for the instruments and avonics (with the "main" PSX computer, which serves as the Instructor Station, running the boost server), and a seventh, separate PC solely running an instance of PSX along with the PSX.net Router in order to take advantage of a constant, stable 72fps data feed over the network to the PSX.net clients. OpusFSI server is running on the center IG computer, with clients on the other two IGs (to keep the weather synced up) as well as another client, also on the Instructor Station PSX machine, to allow me to manipulate the weather, tie it up with flight plans, etc.
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Wed, 29 Jun 2016 08:43
OMG   8)  ....

That's quite the opposite of my setup .... Will probably give it a try anyway :-)

Thx again!
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Wed, 29 Jun 2016 09:02
hi Carl,
Sorry to hear that,
Maybe a stupid suggestion,  but  like I said  for me it worked when I installed win 10 and P3D all over again,
It sure will not be installing win 10, but what it did also whas enabling  both firewalls,  with both firewalls enabled  when starting P3D it asked me if it could be  thrusted .
Maybe if you delete all the rules regarding  P3D , enable all firewalls, to force  the firewall window to open  , it will work then?
Just a thought.

Thinking what Chris said, I run PSX with 3 monitors , and the main and boost server. Often the frame rate drops to the mid 40's , depending on which data it has to display.
Would it benifit me to run a second instance on the same machine, with a rescaled window as small as possible, to get stable frames, and run the boost server from this client?
Ivo


Title: Re: PSX.NET P3D ExternalSim
Post by: Greg Hateley on Wed, 29 Jun 2016 10:36

Not quite, lol. ......................................................, tie it up with flight plans, etc.
Wow, what a set up.
Hey Chris, I am about to embark on a 3 projector setup myself soon. Any chance I could pick your brains on what works and doesn't in terms of PC hardware, graphics cards ect? I am very interested in what you have done. Could you PM me and I will reply.
Regards
Greg
Title: Re: PSX.NET P3D ExternalSim
Post by: G-CIVA on Wed, 29 Jun 2016 13:10
but how do you solve the waypoint winds issue enroute at FLs in you sim?

Starting to feel a bit helpless... but keeping the faith :)

Best- C

With PSXAloft running in 'dynamic mode' like you already have WITHOUT ANY ASN FP to lock it in .... it just pushes live ASN upper winds abv F200 into PSX via SimConnect???
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Wed, 29 Jun 2016 14:13
Oh brilliant! I'm not sure why now, but I thought PSXAloft was VisualPSX centric. Now, if I can just solve my connection issue....

C
Title: Re: PSX.NET P3D ExternalSim
Post by: bublegom on Wed, 29 Jun 2016 16:09
Hi,

All is working well except PSXseeconTraffic. I use PSXseeconTraffic 2.2. It connects to the scenery generator (p3d v3) and to PSX.
In the right side of the PSXseeconTraffic window the number of aircrafts increases but I do not see the traffic in P3D. On the left side of the window the number of aircraft stays always at 0 and I do not have traffic in PSX.

Regards

François
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Wed, 29 Jun 2016 16:32
All is working well except PSXseeconTraffic.
Wat does the .log file tells you? Could you post it here, please.
Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: bublegom on Wed, 29 Jun 2016 17:17
Here are the last lines :

19: tP not detected (connection refused)
Scenery Generator connection failed, waiting 1 sec ...
19: tP not detected (connection refused)
Connecting to Scenery Generator ...
19: tP not detected (connection refused)
19: tP not detected (connection refused)
19: tP not detected (connection refused)
19: tP not detected (connection refused)
19: tP not detected (connection refused)
19: tP not detected (connection refused)
19: tP not detected (connection refused)
19: tP not detected (connection refused)
19: tP not detected (connection refused)
19: tP not detected (connection refused)
19: tP not detected (connection refused)
19: tP not detected (connection refused)
19: tP not detected (connection refused)
User closed PSXseeconTraffic, wait till all processes have stopped ...
Exiting: E_USER_CLOSE
Disconnect from RealTraffic Stream
19: tP not detected (connection refused)

************ liveries usage summary ************************
************************************************************

PSXseeconTraffic exits
MAIN_WINDOW_X=733
MAIN_WINDOW_Y=293

François
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Wed, 29 Jun 2016 17:40
Would be interested to know of successful use in a single PC, specially if the users find it smooth.

I believe I can, just as I did with VisualPSX, get a layout with the lower half of the screen dedicated to a PSX panel view, and the upper half with a cockpit view from P3D ?

Hi Jose, I'm using a single PC with PSXNET ExternalSim and it is working great, without stutters.

(https://dl.dropboxusercontent.com/u/21613445/PSXNET.png)

i7 6700k (no OC) with a GTX 780.

Cheers
-E
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Wed, 29 Jun 2016 17:41
The log tells me that you have no connection to PSX and no connection to P3D...
That does not fit your story.
Please check this is the right log file, and post the complete file.
Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Wed, 29 Jun 2016 17:44
No weather injection. I'm not planning any weather injection soon either.

Hi Mark, I remember reading some time ago that you had a PSX.NET module that reads the PMDG's 777 Winds Aloft file generated by PFPX and injects it into PSX. Are you planning to include that functionality in a future release?.

Thanks!
cheers
-E
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Wed, 29 Jun 2016 18:00
Thx evaamo! Looks great.
Title: Re: PSX.NET P3D ExternalSim
Post by: bublegom on Wed, 29 Jun 2016 18:00
(http://www.hoppie.nl/forum/var/Capture1.PNG)

0 light aircraft livery, as default
358 middle aircraft livery, as default
Connecting to Scenery Generator ...
Connecting to PSX ...
PSX connected
Connected to Lockheed Martin® Prepar3D® v3
Starting SimConnect session and synchronising ...
Waiting for Scenery Generator ...
Connecting to RealTraffic ForeFlight stream ...
RealTraffic ForeFlight socket connected
User closed PSXseeconTraffic, wait till all processes have stopped ...
Exiting: E_USER_CLOSE
Disconnect from RealTraffic Stream
RealTraffic ForeFlight stream disconnected
force Disconnect PSX ...
Scenery Generator disconnected

François
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Wed, 29 Jun 2016 22:30
Hi François,
Strange, the log looks normal to me. I am out of the country at the moment, will have a look into it when I am home this weekend.

Edit: Check: Note that you should not select aircraft cast shadows on the ground in P3D.
Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Wed, 29 Jun 2016 23:19
Mark-

I am at my wits end (albeit in my case not very far/difficult)... I just cannot seem to get a connection/movement with P3D.  To verify, I went back and loaded up VisualPSX today and all works as expected. 

I have done everything I can think of, even using Ivo's aircraft file in case I was having finger trouble (ta again Ivo).  I have double and triple checked my firewall, with incoming and outgoing rule sets for both P3D and your Router (with ALL selected for each).  I do have ports open and in use, however, they are 6811, 500, 29800, 29764... not the mentioned ones....

Again, I am running all this on ONE computer, thinking I will farm things out once I actually connect....

Do you have any thoughts on where I can explore next?  The thought of silky smooth visuals with PSX is keeping me up nights :)

Best- C

cavaricooper

I've just caught up on the last few pages of this thread and was saddened to see you're still having issues.

- Does the aircraft move in P3D as PSX moves?

If so, I still suspect a firewall issue.
I'm struggling to think of other causes... there is a very tiny chance you already have something else bound to ports 10760/10761/10762 but that's unlikely.
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Wed, 29 Jun 2016 23:58
Hi Carl,
Did you tried my sugestion , can you confirm that you got the firewall message when running P3D?
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Thu, 30 Jun 2016 00:01
Just another thumbs up!  It's working smooth as silk on my i5 2500 @ 3,3 Ghz, with Nvidia GTX 960 4GB graphics card.

Windows 10 Pro 64 bit.

SSD 250 GB
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Thu, 30 Jun 2016 03:00
Ivo-

I didn't delete the rule, however, I did turn off the firewall... No joy.

If you feel the rule behavior would lead to a different result I can try that tomorrow.

Ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Thu, 30 Jun 2016 08:51
Carl,
I tried that to and it did not worked.
I might be very wrong, and do not know enough about firewall issues, but for me it worked only when updating windows, and that can not be the case, because people use it on different OS , and re installed P3D , in which case I got the firewall message to thrust it.
After all you tried  , give it a go,  who knows.
What did the trick for José?
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Thu, 30 Jun 2016 15:20
[...]
What did the trick for José?
Ivo

Ivo, I just followed the install steps.

In Win 10 the Public Documents folder is "C:\Users\Public\Documents" for a default "C:" Windows install as usual... so I moved into that folder the two .xml files. Didn't have to edit anything because it's all running on a single PC, and the entries "localhost" and 127.0.0.1 are OK.

Then Used the Posky ( ready to go ) model linked in this thread, created a Layout in PSX with 1920 x 520 in the lower pane with the main instruments, and I use "WindowsBorderlessGaming" to set the size of the P3D folder.

Started PSX ( with both servers enabled ), followed by the router, followed by P3D for which I created a situ already with the Posky BA 747-400.

The main difference from past experience with FSX, FSX:SE and former P3D versions is the superb smoothness, something I was only able to achieve with X-Plane 10.

I always use autogen trees and scenery to ZERO / NONE / FULL LEFT slider, and scenery complexity to one step bellow Max ( Ultra ). I use no traffic in P3D. Also only default P3D scenery, although I might install ORBX FTX Global.
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Fri, 1 Jul 2016 08:35
Chris

Intriguing, I was not expecting that! Does it still do it if you change:

Code: [Select]
<DebugPubBind>tcp://*:10762</DebugPubBind>
<DebugLogToFile>true</DebugLogToFile>

to

Code: [Select]
<DebugPubBind></DebugPubBind>
<DebugLogToFile>false</DebugLogToFile>

(PSX.NET.P3D.ExternalSim.xml)

If still no better then I might contact you directly to pre-test the next version.

Hi Mark,

Sorry for the delay. Gave it a shot tonight and turning off the Debug definitely made 1.71 run smoother. I'm still not convinced that it's *quite* as smooth as 1.60, but that could be my mind playing tricks at this point. I'll continue to play with it over the coming days and see how it feels.
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Fri, 1 Jul 2016 08:56
With the latest version of P3D v3.3, AS16 and ASCA pumping the visuals for the weather ( maybe also the upper winds latter on when I install PSXAloft... ) I had the smoothest experience EVER with an external visuals generator.

I'm no longer forced to install 80+GB of useless sim when I can do the same ( including Seasonal Textures and much better weather rendering ) with just around 11GB !

It's remarkable how, for the very 1st time, PSX's driven POSKY 744 performed smoother than the PMDG 777 ( the only add-on I own for P3D ). It feels like Aerowinx PSX is a native P3D aircraft!

And, as I have pointed out, all of this in a single PC, single ( cheap ASUS ) monitor - i5 2500k 16 GB RAM, GTX 960 4GB, SATA 250 GB, Win 10 Pro 64.
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Fri, 1 Jul 2016 09:33
Quote
With the latest version of P3D v3.3, AS16 and ASCA pumping the visuals for the weather

hi José
i don't think ther out yet?
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Fri, 1 Jul 2016 10:11

hi José
i don't think ther out yet?
Ivo

It is, at least for me :-)

I've been beta testing for HiFiTech for about 10 yrs :-)
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Fri, 1 Jul 2016 10:27
I see,  thought so.
 it looks promising.

Since the release of PSX  flightsiming is taken to a whole new level, and now there is a perfect visual system also.
And very nice people on this forum.

We can count our blessings.
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Fri, 1 Jul 2016 14:09

It is, at least for me :-)

I've been beta testing for HiFiTech for about 10 yrs :-)

you are a lucky chap, José!!!  did they manage to improve performance in cloudy/overcast weather with AS16/ASCA?

Thanks!
cheers
-E
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Fri, 1 Jul 2016 16:09
Thx E :-)

yes I am indeed :-)

Here you are - 3 shots from AS16 + ASCA...

CYLL 011400Z 09005KT 5SM -RA BR OVC 004 14/13 A2998 RMK ST8 SLP158 DENSITY ALT 2400FT

http://www.fsfiles.org/flightsimshotsv2/image/GFbF
http://www.fsfiles.org/flightsimshotsv2/image/GFbJ
http://www.fsfiles.org/flightsimshotsv2/image/GFbS

Please note I am not using max cloud density in P3D ( my system is low-mid ) and I also have the cloud draw distance min and max set to 60 nautical miles. In AS16 I limit the max # of cloud layers to 3 ( default is 5 ) also to save frames...  So, even better results can be expected with maxed settings.
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Fri, 1 Jul 2016 17:14
Thx E :-)

yes I am indeed :-)

Here you are - 3 shots from AS16 + ASCA...

CYLL 011400Z 09005KT 5SM -RA BR OVC 004 14/13 A2998 RMK ST8 SLP158 DENSITY ALT 2400FT

http://www.fsfiles.org/flightsimshotsv2/image/GFbF
http://www.fsfiles.org/flightsimshotsv2/image/GFbJ
http://www.fsfiles.org/flightsimshotsv2/image/GFbS

Please note I am not using max cloud density in P3D ( my system is low-mid ) and I also have the cloud draw distance min and max set to 60 nautical miles. In AS16 I limit the max # of cloud layers to 3 ( default is 5 ) also to save frames...  So, even better results can be expected with maxed settings.
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Sat, 2 Jul 2016 02:33
Hi guys,

Could I ask a possible favor of those of you who have 1.71 running smoothly? Mine really only seems to stutter when making sudden movements, especially such as swinging around the corner on a taxiway, onto a runway, etc... almost like such a sudden change in heading is too much for either my PSX Boost or PSX.net Router to keep up with, so it starts to "skip" frames in the turn.

Could you go to an airport where you get smooth performance, start taxiing about 10kts, and hard over on the tiller and let me know if your P3D view begins to stutter as you're turning?

Obviously, my PSX ND, etc. spins super smooth when making these turns, so I'm thinking that maybe I either have a network issue (my network's got a ton of traffic moving over it), or my computer that's running the PSX boost server + PSX.net router simply isn't up to the task and starts lagging when really fast updates are required. Knowing that you guys are, indeed, getting smooth views out the window during turns will definitely help me begin to troubleshoot.

Thanks in advance!
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 2 Jul 2016 11:30
Chris

Currently only the Cartesian axes are subject to my special algorithms (i.e. world position XYZ) - XYZ angles are set the same way that VisualPSX does it. So you'll definitely see smoother movement but not smoother heading change. I started with this compromise to get things up and running quicker as XYZ angle change rates are relatively small compared to Cartesian movement (in the context of P3D trying to render smoothly).

Also, when absolute velocity magnitude is less than 15m/s (i.e. when taxiing), I don't use my algorithms, I do it the same way as VisualPSX for a whole load of technical reasons.

I'll have a think about a solution for the specific situation of turning whilst taxiing for the next version.
Title: Re: PSX.NET P3D ExternalSim
Post by: Zapp on Sat, 2 Jul 2016 12:31
Mark, if you think you can use a mathematician, here's one ....

Andrea
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sat, 2 Jul 2016 15:55
Mark-

Is there any chance of looking at possible stumbling blocks re. connection during the next update as well? I have tried everything I can think of, including deleting the P3D firewall rule (Ivo) and turning off both the firewall and AV... and I still cannot get a connection.

Thanks for all your work... I remain obliged.

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sat, 2 Jul 2016 16:34
Hi Carl,
Sorry to hear you still not got it working.
Have you tried reinstalling the P3D client only?
If not mistaken you don't have to uninstall it first, but not sure, I believe you can use a repair option.
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sat, 2 Jul 2016 19:25
Ivo-

I have uninstalled and re-installed the CLIENT and CONTENT portions of P3D... I now have the very latest release versions and still no connection.  This is truly confounding... and I cannot figure out why it will not see my P3D install.

Can some kind soul please provide me their entry re.
"<FeedbackSubBind> will need to be changed to the address of a P3D instance. If this is incorrect, the ‘Subscribed FeedbackModels’ display in the External Router will remain at 0 whilst P3D is running normally."

My install is ALL on ONE machine...

Ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Sat, 2 Jul 2016 21:55
Chris

Currently only the Cartesian axes are subject to my special algorithms (i.e. world position XYZ) - XYZ angles are set the same way that VisualPSX does it. So you'll definitely see smoother movement but not smoother heading change. I started with this compromise to get things up and running quicker as XYZ angle change rates are relatively small compared to Cartesian movement (in the context of P3D trying to render smoothly).

Also, when absolute velocity magnitude is less than 15m/s (i.e. when taxiing), I don't use my algorithms, I do it the same way as VisualPSX for a whole load of technical reasons.

I'll have a think about a solution for the specific situation of turning whilst taxiing for the next version.

Mark,

Thanks! That's exactly what I was hoping to hear. Now I can stop troubleshooting and just sit back and enjoy it as it is!

Incidentally, OpusFSI, which I know Gary is also using, was also introducing some stutters on its client PCs as it was still sending position updates to P3D from the Opus server to Opus clients even with Live View disabled. That wound up causing stutters, of course, as Opus and Externalsim fought for control of P3D.  Stephen from Opus has posted a new beta this morning that corrects this problem, so it may be worthwhile to make the upgrade on the Simfest sim as well.

Opus info halfway down this thread: http://www.simforums.com/forums/networked-setup-question_topic55964.html

Thanks again, Mark!
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Sat, 2 Jul 2016 22:02
Strangely, or not, I have no stutters at all in my setup.

I am using PSX.NET together with the latest p3d v3.3.5 release, AS16 and ASCA, all in a single PC and display.

Taxiing causes absolutely no stutter.

Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Sat, 2 Jul 2016 22:27
Strangely, or not, I have no stutters at all in my setup.

I am using PSX.NET together with the latest p3d v3.3.5 release, AS16 and ASCA, all in a single PC and display.

Taxiing causes absolutely no stutter.

I think it might just be more noticeable in my setup because my screen is 7x24ft. :)
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Sun, 3 Jul 2016 06:22
I think it might just be more noticeable in my setup because my screen is 7x24ft. :)

Wow! I can't even imagine the size of your desk!!! :-)
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Sun, 3 Jul 2016 10:50
I think it might just be more noticeable in my setup because my screen is 7x24ft. :)

Wow! I can't even imagine the size of your desk!!! :-)

 :o :o :o :o :o
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Sun, 3 Jul 2016 12:31
Hi François,
Strange, the log looks normal to me. I am out of the country at the moment, will have a look into it when I am home this weekend.
Version 3.0 is up, with more diagnostics about whether there is traffic. And: update frequency doubled to 40 times per second for even more smooth movements (in order to keep up with Mark ;-) )
Here are the release notes (https://dl.dropboxusercontent.com/u/33414557/psxt/ReleaseNotes.pdf).
Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Sun, 3 Jul 2016 14:58
PSX.NET.P3D.ExternalSim 1.7.1 now released. See post 1 of this thread for download link.
Nico
This release is the first one that should work for you!
Indeed, confirmed. Works perfectly. Thx.

I have doubled the update frequency of AI aircraft in PSXseeconTraffic  (http://www.lekseecon.nl/PSXseeconTraffic.html)to 40 times/second in order to keep up with you in smoothness ;-)

Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: bublegom on Sun, 3 Jul 2016 20:45
Hi Nico,

Thank you for helping me. I place my plane in KLAX where I know that there is a lot of traffic and here what I have :

Log file :

PSXseeconTraffic version 3.0
compiled at: Jul  3 2016 10:25:24

4053 liveries read from file AI_liveries.txt
107 unique aircraft types

Parsing file SimilarTypes.txt
ignored (no aircraft available): A350,A358,A359
ignored (no aircraft available): B461,B462,B463,RJ1H,RJ70,RJ85
ignored (no aircraft available): DC85,DC86,DC87
ignored (all aircraft available): VC10,IL62
ignored (all aircraft available): DC10,MD11
ignored (all aircraft available): A318,A319,A320,A321
ignored (all aircraft available): E170,E190
ignored (no aircraft available): A330,A332,A333
ignored (no aircraft available): BE40,C25A,C25B,C500,C501,C525,C526,C550,C551,C560,C56X,C650,C680,C750,CL30,G150,GALX,GLF2,GLF3,GLF4,GLF5,LJ45,LJ24,LJ31,LJ35,LJ40,LJ55,LJ60,EA50,PRM1,F900,F2TH,FA10,FA20,FA50,FA7X,H25B,YK40
ignored (no aircraft available): AC50,AC56,AC68,AC6L,AC72,AC80,AC90,L410,L610,SH36
ignored (no aircraft available): CAT,G21,G44,G73,G73T,U16
ignored (no aircraft available): BIPL,CAML,G164,G64T,PTMS,PTS1,PTS2,PTSS,AN2,ST75
ignored (no aircraft available): DA40,DA42,DIMO,DV20,DG40,DG50,DG60,DG80,DISC,JANU,NIMB,VENT,LS9,GLID,HU1,HU2,PA38,SF24,SF25,G115
ignored (no aircraft available): BL8,BL17,B14A,BE33,BE35,BE36,B36T,J2,J3,J4,J5,PA11,PA12,PA14,PA15,PA16,PA17,PA18,PA20,PA22,SF23,SIRA,P68
ignored (no aircraft available): DHC1,E300,E314,F260,HURI,SPIT,SPT1,P51,PC7,PC9,T34P,T6,TEX2,TUCA
ignored (no aircraft available): C120,C140,C150,C152,C170,C172,C175,C177,C180,C182,C185,C188,C190,C195,C205,C206,T206,C207,C208,C210,C72R,C82R,C77R,CMAS,ULAC,P210,T210,TAMP,AAT3
ignored (no aircraft available): M4,M5,M6,M7,M7T,M8,PC6P,PC6T
ignored (no aircraft available): M20T,M20P,AC11,SR20,SR22,LEG2
ignored (no aircraft available): P28A,P28B,P28R,P28T,P32R,P32T,P46T,PA24,PA25,PA32,PA36,PA46,PILL,S108,DR40,TBM7,TOBA,Z42
ignored (no aircraft available): C02T,C04T,C14T,C21T,C303,C310,C320,C340,C402,C404,C41,C411,C414,C42,C421,C425,C441,F406,GA7,T50,TL30
ignored (no aircraft available): C335,C336,C337,P337
ignored (no aircraft available): AEST,PA23,PA27,PA30,PA31,PA34,PA44,PAT4,PAY1,PAY2,PAY3,PAY4
ignored (no aircraft available): S61,S330,S360,S51,S52,S55,S55P,S55T,S58,S58P,S58T,S61R,MH20,A139,S62,S64,S65,S65C,S76,S92,NA40,NH90,OH1,PHIL,PSW4,PUMA,R22,R4,R44,RMOU,RP1,RVAL,SCOR,SCOU,SH4
ignored (no aircraft available): MI10,MI14,MI2,MI24,MI26,MI28,MI34,MI38,MI4,MI6,MI8
ignored (no aircraft available): SUCO,SYCA,TIGR,UH1,UH12,ULTS,V500,W3,WASP,WESX,WG30
ignored (all aircraft available): C130,C160
ignored (no aircraft available): B25,L37
ignored (no aircraft available): GLID,DISC,VENT,DUOD

Resulting possible similar aircraft types:
Similar=Unknown[ Unknown]
A342=A340
A388=A380 A389
B703=B701 B720 K35A K35E K35R E3CF
B741=B747 B74D B74R BSCA
IL86=IL96
DC6=DC4 DC7
B721=R722 TRID B727
A306=A300 A30B
B732=B731 E737
B752=B757
B762=B767 E767
B772=B777
B788=B787
DC91=DC92
DH8A=DH8B
MD87=MD80 MD81 MD82 MD83 MD88 B717
E135=CRJ1 CRJ2 CRJ7 CRJ9 CRJX CL60 E45X ERJ
F28=BA11 GL5T GLEX ASTR
AT43=AT44 AT45 F60
JS41=JS31 JS32
E120=E110 G159 SB20 SF34 YS11 A748 IL14 ATLA L188
DHC6=DH2T DH3T DHC2 DHC3 D228
B190=B18T B350 BE10 BE18 BE20 BE30 BE50 BE55 BE56 BE58 BE60 B60T BE65 BE70 BE76 BE80 BE88 BE95 BE99 BE9L BE9T
B212=A109 A119 A129 ALH ALO2 ALO3 ANST AS32 AS50 AS55 AS65 B06 B06T B105 B209 B214 B222 B230 B305 B407 B412 B427 B430 B47G B47J B47T BABY BK17 BRB2 BSTP CH7 COMU EC20 EC25 EC30 EC35 EC45 EC55
H47=EH10 ELTO EN28 EN48 EXEC EXPL FH11 FREL GAZL GYRO H12T H2 H21 H269 H43A H43B H46 H500 H53S H60 H64 H66 HUCO IS2 JAG2 K126 K226 KA25 KA27 KA50 KA52 KA62 KH4 KMAX LAMA LR2T LYNX M34V M74 MD52 MD60
A10=A6 AJET CL41 ETAR EUFI F5 F15 F16 F35 F104 F111 JPRO HAWK HAR MG29 MG31 MIR2 MIR4 MRF1 S3 T38
A124=A225 C5

0 light aircraft livery, as default
358 middle aircraft livery, as default
Connecting to Scenery Generator ...
Connecting to PSX ...
PSX connected
Connected to Lockheed Martin® Prepar3D® v3
Starting SimConnect session and synchronising ...
Waiting for Scenery Generator ...
Connecting to RealTraffic ForeFlight stream ...
RealTraffic ForeFlight socket connected
Buffering AI traffic ...
Start of AI aircraft appearing in Scenery Generator
User closed PSXseeconTraffic, wait till all processes have stopped ...
Exiting: E_USER_CLOSE
Disconnect from RealTraffic Stream
RealTraffic ForeFlight stream disconnected
Force disconnect from PSX ...
Scenery Generator disconnected

************ liveries usage summary ************************
12 liveries with a similar type found
77 liveries could not be created:
A319 MyPaint48
A319 MyPaint82
A319 MyPaint88
A320 MyPaint106
A320 MyPaint115
A320 MyPaint118
A320 MyPaint119
A320 MyPaint120
A320 MyPaint127
A320 MyPaint129
A320 MyPaint131
A320 MyPaint139
A320 MyPaint156
A320 MyPaint167
A320 MyPaint173
A320 MyPaint176
A320 MyPaint182
A320 MyPaint183
A320 MyPaint195
A320 MyPaint20
A320 MyPaint216
A320 MyPaint22
A320 MyPaint23
A320 MyPaint31
A320 MyPaint33
A320 MyPaint38
A320 MyPaint45
A320 MyPaint46
A320 MyPaint52
A320 MyPaint80
A320 MyPaint87
A320 MyPaint96
A321 MyPaint03
A321 MyPaint05
A321 MyPaint09
A321 MyPaint37
A321 MyPaint67
A321 MyPaint68
A321 MyPaint80
A380_MyPaint01
AAY MD83 fixed with a similar type MD87
ASH CRJ9
B1900-MyPaint11
B1900-MyPaint30
B1900-MyPaint40
B1900-MyPaint61
B757-200 MyPaint119
B757-200 MyPaint121
B757-200 MyPaint61
B773ER_MyPaint22
B788_MyPaint7
B789_MyPaint01
Boeing 737 NyPaint16
Boeing 737 NyPaint17
Boeing 737 NyPaint63
Boeing 738 NyPaint02
Boeing 738 NyPaint105
Boeing 738 NyPaint119
Boeing 738 NyPaint123
Boeing 738 NyPaint127
Boeing 738 NyPaint13
Boeing 738 NyPaint135
Boeing 738 NyPaint19
Boeing 738 NyPaint31
Boeing 738 NyPaint42
Boeing 738 NyPaint43
Boeing 738 NyPaint70
Boeing 738 NyPaint79
Boeing 738 NyPaint88
Dash 8-400_MYPAINT07
Dash 8-400_MYPAINT17
E170-MyPaint06
E170-MyPaint08
E175-MyPaint03
E175-MyPaint06
E175-MyPaint08
ERJ135_MyPaint05
ERJ135_MyPaint10
HAL A332
JBU A321
MD87_MyPaint09
20 liveries with airline+type not available
41 liveries with type not available
42 default liveries generated
SKW E170
___ A332
___ B350 fixed with a similar type B190
___ C152
___ C172
___ C56X
___ CRJ9 fixed with a similar type E135
___ E55P
___ M20T
___ P32R

Not found liveries were written to file MissingLiveries.txt
************************************************************

PSXseeconTraffic exits

Screen shot of Realtraffic and PSXseecontraffic :

(http://www.hoppie.nl/forum/var/traffic.PNG)

(http://www.hoppie.nl/forum/var/psxseecon.PNG)

Regards

François
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Sun, 3 Jul 2016 22:15
Hi Francois,

In the log I see that lots of liveries could not be created in P3D....
Are you sure they have been installed correctly?

Check that your installed AI aircraft have the correct entries/lines in Simobject.cfg and that the numbering is correct. E.g.:
SimObjectPaths.6=SimObjects\WoAI
SimObjectPaths.7=SimObjects\UT2 Aircraft
SimObjectPaths.8=SimObjects\IVAO_MTL

Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: bublegom on Mon, 4 Jul 2016 22:33
Hi Nico,

The problen was located in my SIMOBJECTS.CFG. All works perfectly for me now.
Thank you very much for your help.

Regards

François
Title: Re: PSX.NET P3D ExternalSim
Post by: Hopkinsstevea on Tue, 5 Jul 2016 01:04
Ivo-

I have uninstalled and re-installed the CLIENT and CONTENT portions of P3D... I now have the very latest release versions and still no connection.  This is truly confounding... and I cannot figure out why it will not see my P3D install.

Can some kind soul please provide me their entry re.
"<FeedbackSubBind> will need to be changed to the address of a P3D instance. If this is incorrect, the ‘Subscribed FeedbackModels’ display in the External Router will remain at 0 whilst P3D is running normally."

My install is ALL on ONE machine...

Ta!

C

I can not get this program running on a single PC either any suggestions would be appreciated
Steve
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Tue, 5 Jul 2016 16:05
Steve,

I can try to help, since I am using it on a single i5 2500 desktop, but I need to know what system you're in...
Title: Re: PSX.NET P3D ExternalSim
Post by: Hopkinsstevea on Wed, 6 Jul 2016 02:27
Thanks very much I'm currently at work so sometimes very slow to respond ,I'm using windows 10 as an operating system it does recognize PSX but I sure cannot get it working with the latest version of Prepar3d
Any help would be greatly appreciated
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Thu, 7 Jul 2016 12:04
Ivo-

Would you please upload your PSX.NET files (as modified, if at all) so I can compare them line by line to mine and try and decipher where my issue lies. TBT this has become a matter of principle by now, and I am determine to figure it out :). It's keeping me up nights ;).

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Thu, 7 Jul 2016 17:23
Hi Carl,
My P3D pc is dismantled,  gonna upgrade my simplace,  I can do that tommorow, but what do you want?
The only thing I changed from the original files is the  IP address  to match my setup on 2 machines.

Maybe stupid questions, but it has to be solved.
i don't think P3D is the problem, but you installed it not in the programs folder?
You run everything as administrator?
 .NET 4.5.1  in place?
P3D 3.3.5
PSX 10.0.8

No .DLL left over from previous install or in a wrong place?

My P3D folder is on F:\Prepard V3
It is shared , full control everyone,
User/apdata /roaming /prepard files all shared and full control everyone
Do you run ezdok? And if so , have you dissabled it to see if it changes anything?
Just some thoughts.
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Fri, 8 Jul 2016 15:17
Ivo-

I remain non-plussed.... thanks for your help!

I downloaded .NET 4.5 and tried to install just to make sure, and was informed that or a higher version was already in place.

Yes, P3D 3.3.5 in S:\Prepar3D with Everyone in FULL control

Yes, PSX 10.0.8 installed

App Data Roaming and Prepar3d files shared- (Simconnect works in P3D- networked ASN)

Using YOUR aircraft folder, and moved the 2 STOCK files to C:Users\Public\Documents

Ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Fri, 8 Jul 2016 19:11
Hi Carl, I haven't had any of the issues you're finding in your setup.

If you become desperate to the point you wouldn't mind having a total stranger like myself take a look via Team Viewer to your config, I might be able to spare a few hours in the next few days to help you troubleshoot your issues.

Let me know!
cheers
-E
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Fri, 8 Jul 2016 23:05
Enrique-

Absolutely... please email me and I will send you my contact details.  Thanks, I don't know what else I can do at this point.

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Sat, 9 Jul 2016 01:04
Hi Carl, e-mail sent.

cheers
-E
Title: Re: PSX.NET P3D ExternalSim
Post by: ourwish on Sun, 10 Jul 2016 10:29
it's work great!
But there a bug to me
the PSX time is 17:00 day,but the P3D is aways in night?
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Sun, 10 Jul 2016 17:46
it's work great!
But there a bug to me
the PSX time is 17:00 day,but the P3D is aways in night?

There's a bug regarding time offsets when your system time isn't get to GMT. Mark is aware of it. However, the easy workaround for now is to set your system time to GMT - PSX and P3D times will then be synced.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 11 Jul 2016 04:06
Ivo et al-

EUREKA- success finally! 

With a LOT of assistance from Enrique (EVAAMO) it WORKS!  The issue (and I share in case there are other poor souls with this problem) was that the original installers left 2 dll files in P3D.  The new versions of PSX.NET DO NOT WORK if you have those 2 files resident.  The fix was to remove them- presto- allest gut!

Now- off to FLY and feel that smoothness for myself :)

Thanks Enrique & Ivo and all others for your help!  THANK-YOU MARK!

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Mon, 11 Jul 2016 04:38
Ivo et al-

EUREKA- success finally! 

With a LOT of assistance from Enrique (EVAAMO) it WORKS!  The issue (and I share in case there are other poor souls with this problem) was that the original installers left 2 dll files in P3D.  The new versions of PSX.NET DO NOT WORK if you have those 2 files resident.  The fix was to remove them- presto- allest gut!

Now- off to FLY and feel that smoothness for myself :)

Thanks Enrique & Ivo for all your help!  THANK-YOU MARK!

Best- C

So happy to hear that you finally got it working. This community is really something special, and something I'm proud to be a part of. Enjoy!
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 11 Jul 2016 05:16
Chris-

Thank-you for your assistance early on! Yes, our little ecosystem is unique in the impersonal world of the Internet. I am most grateful to be part of it as well.

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Hopkinsstevea on Mon, 11 Jul 2016 07:44
Which two dll files are you taking about ?
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 11 Jul 2016 09:52
I am realy glad it works now, enjoy the beautifull  smoothness , it was worth the wait.

I asked if there were no DLL's left from a previous install. I hade the same problem in the first update to 1.7

Anyhow, solved.

Up to some visual landings.
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Mon, 11 Jul 2016 10:08
This thread has provided an important piece of information that could easily be skipped by future users. Maybe Mark could add it to the instructions ( ? )

The more I play PSX with P3D through psx.net, the more I like it, specially the smoothness.

I found that in order to avoid some weirdiness when the aircraft is placed on ground, I had to increase the mesh resolution in P3D.

I'm using really low settings in P3D because it is being used just as a scenery generator on an old i5 2500, and I don't need buildings or trees so I have the corresponding autogen sliders all the way to the left, but I learned that setting mesh resolution at higher ( at least one position before full right ) avoids that irritating "80ft.... " and crash of the PSX aircraft when positioning it at most runways / parking slots.

I am also using AS16 + ASCA for the weather. I plan to get it running on my laptop instead of on the PSX+P3D desktop. PSXAlloft v2 is my next add-on :-)
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 11 Jul 2016 10:15
Hey, I'm very happy to hear that the last couple of non-working installs have been resolved!
Moving forward, it should be smooth sailing from here on.

The next release is currently in testing and has:

- Support for timezones
(i.e. all users outside the UK should notice a difference!)
- External lighting
- Gear (non-animated)
- Flaps (non-animated)

This thread has provided an important piece of information that could easily be skipped by future users. Maybe Mark could add it to the instructions ( ? )

In my half-hearted defense - it's hidden in post 72 on page 4!  ;D
I was considering adding it to the instructions but I don't think anyone is running 1.6.0 anymore.
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Mon, 11 Jul 2016 10:30
Mark,

I wonder how you're doing the "animation" in p3d...

Do you interpolate / extrapolate  based on a custom FDM that "interprets" PSX's output of it's own FDM and massages it before feeding the positional / speed paramaters into P3D ?

When anwering some posts above regarding possible stutters when taxiing, I understood that a different approach was being followed while on ground - maybe there you simply directly copy the PSX positional / speed data directly to P3D ( ? ), and you're planning to adopt a new approach ( maybe using that same extrapolation algorithm ... )
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 11 Jul 2016 12:23
Mark-

Absolutely NO defense needed- the idiocy is squarely mine alone. I missed Ivo's reference and was well into a hair pulling regimen, until Enrique figured it out for me.

Your work is greatly appreciated, and any hurdles (I self-created) are worth the experience. Yesterday I flared my
G-CIVX using peripheral cues and a modicum of extra elevator to stroke her on to the markers- I have waited a long time to do that in PSX- Bravo! The change on Gary and Chris' sims must be extraordinary!

I remain obliged- Ta!

C

Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 11 Jul 2016 13:37
I wonder how you're doing the "animation" in p3d...

Everything you said is spot on, with a sprinkle of Mark magic on top. The main barrier to using the same interpolation/extrapolation servo-ing on the ground is that it would noticeably show up as slight unexpected movement if not done perfectly (working on it!).
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Mon, 11 Jul 2016 13:58
Thx Mark!

Great work so far!!! Keep doing your Magic!!!! :-)
Title: Re: PSX.NET P3D ExternalSim
Post by: Peter Lang on Wed, 13 Jul 2016 22:50
Hi Mark,

first of all, a big "Thank you" for developing this tool.

After downloading PSX.NET.P3D.ExternalSim 1.7.1.zip and reading the very helpful posts here in this thread I finally *almost* succeeded to run P3D with PSX.

Almost...  every about 3,5 secs or so something is reloading. It is too fast to see what P3D reloads.
In the PSX.NET.P3D.ExternalSim.Router Window I see that the PSX time is shown GMT + 2 h, which is the current summertime here in Germany. That means, when PSX clock shows 21:00, the Window shows 23:00.

I found that the time was an issue with previous versions, but should be solved with 1.7.1. So I'm a little bit confused about what I could have done wrong. Probably I have overseen something, but do not have any clue.
Any ideas?

Apart from that, the smoothness on ground is really impressing. When airborne, P3D quits after a short time.

Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Wed, 13 Jul 2016 23:34
Peter,

Make sure that your traffic is turned off in P3D. It's a known issue at the moment. This is probably causing the continuous reload.
Peter.
Title: Re: PSX.NET P3D ExternalSim
Post by: Peter Lang on Thu, 14 Jul 2016 07:20
Hi Peter,

thank you very much. I will check tonight.

Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Thu, 14 Jul 2016 07:54
Peter,
You should also set  % road vehicles, % ships&ferries and %leisure boats to 0.
Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: Peter Lang on Thu, 14 Jul 2016 18:41
Peter and Nico,

thank you very much. This fixed it.

It runs rather smooth. Even with a 5857 x 1080 resolution over 3 monitors (with bezel correction on one PC) there is only minor stuttering noticable on ground while turning with full nosewheel deflection. Absolutely fantastic.

Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: hunijjang on Fri, 15 Jul 2016 09:31
Hello, Mark

If the bother you or if it got in the way at your work I am really sorry to you.

I had no intention to do that.

I just think you was been only confirmation of my serveral email and no reply for several days.

so, I worried to you however, last previous replys makes to me, I just feel a bit off. so...

Upset and angry in the email after your reply.

By the way, I am a lot of expectations the next update of PSX.NET P3D.

Also I want to donate if you want to cheer for you and keep the great working.

Thanks a lot to you.

Best Regards,

Younghoon Choi

Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Fri, 15 Jul 2016 13:27
PSX.NET.P3D.ExternalSim 1.8.0 now released. See post 1 of this thread for download link.

Change log:
- Fix for timezone bug
- Non-animated gear
- Non-animated flaps
- External lighting works (may not be perfect)
- Fixed bug with aircraft being 1m too high, is now user settable as 'MinWeightModelOffsetM'
(default value is 4.4, don't change this unless you understand what this value means)
- Turned off the debug publisher by default
(default value for 'DebugPubBind' is now blank)

Note 1: The XML files have additional settings so use the new files (& edit) or edit your existing ones to add the new settings in. Example XML files are included in the download.

For those of us excited by such things, here is a nice autoland video:
https://youtu.be/LGKsxEYhCxc
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Fri, 15 Jul 2016 15:06
Grabbing 1.8.0 now... will report back.  Many thanks!

Mark-  I wanted to report back.  My experience was different from Peter's below.  The latest iteration has stuttering in flight (something I never saw with the prior version).  I will keep testing, as I may have had a bad scenery load, but I wanted to mention in case this was something others were also seeing.  Absolutely no criticism intended, just wanted to report back with what I was seeing on my system.  There are indeed moments where it is silky smooth, but then there are occasionally moments it is not. 

I will update further through the weekend, and advocate waiting to see if it is just at my end before expending any effort tracing this issue.  It could likely be an ID10T operator error :).

Thanks again!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Peter Lang on Fri, 15 Jul 2016 19:18
Hi Mark,

I just made a test with 10.0.9-beta 1 and PSX.NET P3D ExternalSim 1.8.0.
Everything works smooth.

One curiosity: when I press Alt + Tab to start the external weather engine, the router seems to loose the connection. Then it shows:
Router -> P3D: unknown
Router <- P3D: not connected

But P3D again starts moving, without restarting anything.

As soon as I try to inject the weather from FSGRW, P3D stops moving and I have to restart P3D. The router message is the same as mentioned above. When I restart the router, its also the same:
Router -> P3D: unknown
Router <- P3D: not connected
but P3D is moving

Is FSGRW not supported? I read somewhere that ASN and FSx opus works.

Thanks,
Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Fri, 15 Jul 2016 23:12
All working well here Mark, and very smooth. As I mentioned to you by Messenger I still have the leading edges showing with flaps up - does anyone else see this?

Peter.
Title: Re: PSX.NET P3D ExternalSim
Post by: Greg Hateley on Sat, 16 Jul 2016 03:41
Working great here to Mark.
Leading edges are going up, using the fsx model.
We have lights! :)

Greg
Title: Re: PSX.NET P3D ExternalSim
Post by: hunijjang on Sat, 16 Jul 2016 08:01
Hello Mark

Thanks a lot for this great updates to 1.8.0 version.  :D

I tested with that PSX.NET.P3D ExternalSim 1.8.0.

so, I found some issues.

External lighting works : As you noted that External lights operatiing is not perfect.

1. both landing lights working to not operating properly.
It is means 'Not always as activated same landing lights switch for on or off'

2. If I turn on NAV lights switch that is corrected on NAV lights but also the both strobe lights on.
If I turn on STROBE lights switch then that is working on only end of a tail strobe light?

Non-animated gear :

turn to landing gear up and down thas landing gears retractor not working.
so, that always makes on the like this picture https://upload.wikimedia.org/wikipedia/commons/thumb/8/80/Boeing_747_prototype_main_landing_gear.jpg/1920px-Boeing_747_prototype_main_landing_gear.jpg?1468651935502
I cheked your youtube video but like your youtube videos not running by me.

What are you using with a B747-400 in the P3D V3.3.5 addon?

I tested with this http://www.rikoooo.com/en/downloads/viewdownload/55/717 and B747-400BCF(UPS livery)

Thanks

Best Regards,

Younghoon




Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Sat, 16 Jul 2016 19:55
Leading edge flaps working fine Mark - they were up all the time - just an illusion. Sorry!
Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: Zapp on Sun, 17 Jul 2016 10:46
Hi, I am trying to make this work with Active Sky 2016 but it seems the two apps are conflicting in some way: the airplane is positioned at 0.0 and the router is not connecting at all.

It works perfectly with Active Sky Next: I think I will stick with it for now

Andrea
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Sun, 17 Jul 2016 11:18
My sim positions at N00 W000 as well. Talking to Mark that is a result of the external sim.dll. But after connection to PSX.NET (which takes quite a few seconds), all is well.
This is with both  ASN and AS16...
Title: Re: PSX.NET P3D ExternalSim
Post by: Zapp on Sun, 17 Jul 2016 12:32
Uhm ... true, eventually it (PSX.NET router) connects and seems to be ok. Except I seem to have some problem with RealTraffic/PSXSeeconTraffic at that point ... No problem at all with ASN instead. Notably, when I run AS16 after running ASNext it asks to update Simconnect.dll and the same happens if I do the reverse. So it is possible that the "new" dll conflicts with something or PSXSeecon has problems with the new version...

Andrea
Title: Re: PSX.NET P3D ExternalSim
Post by: Zapp on Sun, 17 Jul 2016 13:16
All working now, it must be related with the order in which I launch the different apps. This one seems to work ok:

1) PSX
2) P3D35 w/PSX aircraft
3) PSX.NET router
4) AS16
5) RealTraffic
6) PSXSeeconTraffic

Thanks

Andrea
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sun, 17 Jul 2016 15:17
Question-

Is everyone here using the VC (with panels hidden) or the 2D (with panels hidden) for their forward view?

Ta- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Sun, 17 Jul 2016 17:17
Carl,

With P3D there is now a thing called a View Group so you can actually specify a Horiz and Vert FOV on the camera.  Might help out with being able to setup the view exactly how you want.

Cheers
Gary
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sun, 17 Jul 2016 17:53
Hi,
I tried this ViewGroup, and still testing, so far  tried nvidea surround, no distortion on the edges, but only extended front view.

ViewGroup with a defined frustum , so each screen with his own FOV, as seen in the first youtube link, it gave me a distortion on the left screen, see the bus.

And side angles and beezel correction defined in the ViewGoup, I have a half cockpit setup for the time , front 0°, left70° , right 20° , the right one angled for reflection reasons and better viewing angle

They are 40" tv's and I have limited space, hence the rather strange recording method.
I use 2D panel with all instruments not showing.
Further testing ongoing

 In the second  video driving from left to right and forth to show the smoothness on the ground in turns.

Sorry for the ambiant noises

http://www.youtube.com/watch?v=xHDdZUTiXrQ
http://www.youtube.com/watch?v=TMQpI7uxqck

http://www.youtube.com/watch?v=SIw1YvwMqN4
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sun, 17 Jul 2016 20:08
Gary-

Thanks! Will Google and learn more about this....

Ivo-

Your level of detain in P3D seems similar to mine, but for some reason the fluidity is much greater than what I see. This has to be something on my machine and network- even with the NGX and 777 my native P3D is butter smooth.

Will add a separate machine just for PSX and test again. ATM I am running P3D on the top half and PSX on the bottom half of my 65" Sony. Perhaps if I go back to running P3D full frame.....

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sun, 17 Jul 2016 20:48
Carl,
I run PSX on a seperate machine, network using cable.
i don't know, but you run actualy 2 simulators on 1 machine, and these 2 simulators have to generate seperate video outputs on 1 screen.
Maybe this is a bit to much?
Have you tried to see what happenes when you assign one number in your layout  to the smallest PSX screen you can make?, filling the whole screen with P3D?
Vo
Title: Re: PSX.NET P3D ExternalSim
Post by: hunijjang on Mon, 18 Jul 2016 13:34
Hello All

Anybody have with this 1.8.0 issues?

I am still got on this...

1. both landing lights working to not operating properly.
It is means 'Not always as activated same landing lights switch for on or off'

2. If I turn on NAV lights switch that is corrected on NAV lights but also the both strobe lights on.
If I turn on STROBE lights switch then that is working on only end of a tail strobe light?

Non-animated gear :

turn to landing gear up and down thas landing gears retractor not working.
so, that always makes on the like this picture https://upload.wikimedia.org/wikipedia/commons/thumb/8/80/Boeing_747_prototype_main_landing_gear.jpg/1920px-Boeing_747_prototype_main_landing_gear.jpg?1468651935502
I cheked your youtube video but like your youtube videos not running by me.

Please any advise to me.

Thanks

Best Regards,

Younghoon
Title: Re: PSX.NET P3D ExternalSim
Post by: Hardy Heinlin on Mon, 18 Jul 2016 13:51
Re landing lights:

I can't comment on the scenery add-ons as I don't have the other sims. But I can tell that the landing lights in PSX and in real life may be slightly illuminated even when the landing light switches are off. This is intentional. The actual landing light power status can be read from the PSX network and is also indicated on the Instructor (see page 97, orange box).


|-|ardy
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 18 Jul 2016 17:29
Ivo-

I followed your advice and am quite happy with the result.  I made PSX on my scenery PC just a small square, and now am running P3D in full screen as I normally do when not running PSX.  Quite happy with the smoothness now (THANK-YOU MARK!).

I added my PFD and ND to another display (with them centered on the large screen) in full size.  This arrangement works quite well (with EZCA defining the view angle) with my current arrangement of HW, (with 2 other displays for the Overhead and EICAS- all layout selectable) which is necessitated by the fact that I do fly other a/c in P3D (ducking ;)).

I am underway TNCM-EGSS and so far allest gut. 

This seems the best arrangement so far, and with performance now where it usually is in P3D I am looking forward to winging my 744 around the world once more.

Thanks to all who jumped in to assist.  This is indeed a fora very different than the norm and I am grateful to belong.

Best- C


Carl,
I run PSX on a seperate machine, network using cable.
i don't know, but you run actualy 2 simulators on 1 machine, and these 2 simulators have to generate seperate video outputs on 1 screen.
Maybe this is a bit to much?
Have you tried to see what happenes when you assign one number in your layout  to the smallest PSX screen you can make?, filling the whole screen with P3D?
Vo
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 18 Jul 2016 19:37
hi Carl,
Glad you are happy
There is a small app  called Hardware Monitor, just google it.
This runs a small window that shows all resources your pc uses.
It has to be active to show up,
So you can try this, run your setup as normal, let PSX fly a holding patern, a small racetrack patern, lets say 2 mile legs, this way you get much turning.
Then run Hardware Monitor( if  you want). And look for the cpu cores values and the gpu values.
The gpu will have the most to do in turns, so if you get to 99% use of core, your gpu is streched to his limmits.

i used to use this to lower my settings to an aceptable setting on my previous card.
Ivo

edit; mistake, it is open hardware monitor
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 18 Jul 2016 21:17
I can confirm that 1.8.0 works flawless  for me.

Traffic enabled , (cars) does not force a reload of P3D,

Air traffic does.
ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 19 Jul 2016 08:58
1. both landing lights working to not operating properly.
It is means 'Not always as activated same landing lights switch for on or off'

2. If I turn on NAV lights switch that is corrected on NAV lights but also the both strobe lights on.
If I turn on STROBE lights switch then that is working on only end of a tail strobe light?

The issue is that the PSX external lighting model is more detailed than the P3D lighting model (which is generic).
Example: PSX has 4 landing light switches. P3D has 1 landing light input. Therefore I have to decide what combination of PSX switches turns on the single landing light input in P3D. In this example I went with:

Code: [Select]
lo.LightLANDING = (lightingModel->InboardLandingL && lightingModel->InboardLandingR) || (lightingModel->OutboardLandingL && lightingModel->OutboardLandingR);
There is also the further issue in that I've yet to see a decent P3D 747 model that has a complete set of good lights.

But I can tell that the landing lights in PSX and in real life may be slightly illuminated even when the landing light switches are off.

Hi Hardy,

P3D lighting inputs are booleans. PSX lighting outputs are from 0 to 9. So I have taken an arbitrary decision to treat numbers > 7 as TRUE. Please let me know if you think a different trigger level would be appropriate.
Title: Re: PSX.NET P3D ExternalSim
Post by: Hardy Heinlin on Tue, 19 Jul 2016 09:18
Hi Mark, ">6" would be better. 7 is the power level when the gear is up. 1 or 2 are the levels for heating.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 19 Jul 2016 09:29
Hi Mark, ">6" would be better. 7 is the power level when the gear is up. 1 or 2 are the levels for heating.

Done for the next release. Thanks :)

To all users: this change won't practically affect your cockpit views (unless you enjoy landing with no gear).
Title: Re: PSX.NET P3D ExternalSim
Post by: hunijjang on Thu, 21 Jul 2016 13:31
1. both landing lights working to not operating properly.
It is means 'Not always as activated same landing lights switch for on or off'

2. If I turn on NAV lights switch that is corrected on NAV lights but also the both strobe lights on.
If I turn on STROBE lights switch then that is working on only end of a tail strobe light?

The issue is that the PSX external lighting model is more detailed than the P3D lighting model (which is generic).
Example: PSX has 4 landing light switches. P3D has 1 landing light input. Therefore I have to decide what combination of PSX switches turns on the single landing light input in P3D. In this example I went with:

Code: [Select]
lo.LightLANDING = (lightingModel->InboardLandingL && lightingModel->InboardLandingR) || (lightingModel->OutboardLandingL && lightingModel->OutboardLandingR);
There is also the further issue in that I've yet to see a decent P3D 747 model that has a complete set of good lights.

But I can tell that the landing lights in PSX and in real life may be slightly illuminated even when the landing light switches are off.

Hi Hardy,

P3D lighting inputs are booleans. PSX lighting outputs are from 0 to 9. So I have taken an arbitrary decision to treat numbers > 7 as TRUE. Please let me know if you think a different trigger level would be appropriate.

Hello Mark

Thanks for your answers.

I'd like to ask you another question.

How long time needs to initialize of PSX.NET.P3D ExternalSim?

It is does not stop so just continues updates of ground elevations and etcs...

Elev=2890 is completed is means... ready for use to PSX.NET.P3D ExternalSim?

Because, there is not smooth works to me... very cutting out of the view screen.

Also there is not working to main gear retraction but your youtube videos working well.

What are you using the these testing model?

Best Regards,

Younghoon

Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Thu, 21 Jul 2016 20:23
PSX.NET.P3D ExternalSim runs continually and doesn't take long to initialise.

It sounds like you have a firewall issue, have you created firewall exceptions?

Does the PSX.NET.P3D ExternalSim Router show a status of Connected on the bottom 2 lines?



Title: Re: PSX.NET P3D ExternalSim
Post by: hunijjang on Thu, 21 Jul 2016 21:03
PSX.NET.P3D ExternalSim runs continually and doesn't take long to initialise.

It sounds like you have a firewall issue, have you created firewall exceptions?

Does the PSX.NET.P3D ExternalSim Router show a status of Connected on the bottom 2 lines?

Hello Mark

Thanks for your answers.

Yes that is both is connected as shown.

However, the all the numbers Counter is continue increase...

there are be generally, initialization completed then It is counter is stopped? or Counters keeping to increase?

Thanks

Best Regards,

Younghoon

Title: Re: PSX.NET P3D ExternalSim
Post by: hunijjang on Fri, 22 Jul 2016 08:07
PSX.NET.P3D ExternalSim runs continually and doesn't take long to initialise.

It sounds like you have a firewall issue, have you created firewall exceptions?

Does the PSX.NET.P3D ExternalSim Router show a status of Connected on the bottom 2 lines?

Hello Mark

at this moment, the only problems is not working landing gears retraction. but that is ok. because it is not very important with external view. and nose and main gears just keeping afloat these not fully touched down on the ground.

Best Regards,

Younghoon
Title: Re: PSX.NET P3D ExternalSim
Post by: 18hazelwood on Mon, 1 Aug 2016 08:04
Hello everyone,

I wonder if anyone can help with my problem.

1.8.0 is connected and working fine, no issues with the connections and all working fine as the previous version did., I only have 1 issues and that is;

1. When my 747 settles into its position, it settles too low and the fuselage is resting on the ground slightly sunk into the ground if you like.
I would say this is an elevation issue, I an using a standard 747 aircraft from FSX.

Is there a way to raise the aircraft back up to the correct height from the ground by editing something in 1.8.0. files OR in the aircraft config file itself ??
I an using the latest P3D version and a clean install, NO added scenery yet...

Any help would be appreciated.

Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 1 Aug 2016 09:35
Is there a way to raise the aircraft back up to the correct height from the ground by editing something in 1.8.0. files OR in the aircraft config file itself ??

Try using the example router XML config file from the 1.8.0 zip... you're missing config values. (Edit with correct IPs if needed).
Title: Re: PSX.NET P3D ExternalSim
Post by: 18hazelwood on Mon, 1 Aug 2016 11:03
Hello,

Thanks for the reply

""Try using the example router XML config file from the 1.8.0 zip... you're missing config values. (Edit with correct IPs if needed).""


I am still a bit confused...sorry...!!! Could you show me what it should look like, screen shot etc.....?

My IP for P3D is 192.168.1.12
My PSX IP is 192.168.1.20

Your help is much appreciated...


Title: Re: PSX.NET P3D ExternalSim
Post by: kwieser76 on Tue, 2 Aug 2016 17:39
HI,

I have a problem with my setup

Version 1.8

Two Computer
IMAC : PSX
PC: P3D here runs also your tool

in Router:
i get updates from PSX but no info about GearModel and FlapModel.
Connection Status says:
Router -> P3D Connected
Router -> P3D Connected

the altitude in P3D is not correct? Aircraft is higher
Firewalls are turned off on both Computer
Connection is via WLAN


may you have any idea?

thx
kurt

Title: Re: PSX.NET P3D ExternalSim
Post by: kwieser76 on Sun, 7 Aug 2016 13:52
Hi an update to my problem

- as soon i'm airborne the ALT is ok
- also on Approach everything is fine but
- as soon we are on ground the ALT jump and i'm to high in P3D

any idea ?

thx


Kurt
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sun, 7 Aug 2016 16:03
Hi,
I am baffled, the other day had a good flight, shut down the pc and yesterday problems, PSX.NET P3D made no connection with P3d on my other machine.
Nothing changed that I know of, it just did not work anymore.
When running PSX and P3d on the P3D  machine it works.
2 machines, it doesn't
So reinstalled PSX.NET.
tried every scenario in this thread. all  firewalls off on both machines, only private firewalls off, On both machines set incoming and outgoing rules to allow for P3D and PSX.NET.P3D.ExternalSim .router.
To this moment I got it working, at least, it moves the plane in P3D, but no field elevation update and the Router  status  message says Not connected.
All other  stuff works, like active sky, I can use Xview with no  problems, so guess it is not a network issue . Al files that are shared can be accessed by both pc's , Pinging works both ways.
I am afraid I can not find a solution for this problem.
If anyone got any idea, please  feel free ,
ivo

Title: Re: PSX.NET P3D ExternalSim
Post by: kiek on Sun, 7 Aug 2016 20:13
Hi Ivo,

If you are running on Windows 10 (and I believe you are), you no longer need any special Firewalls such as ZoneAlarm.  Just the Windows Firewall will do, with default settings. (My experience).

So remove any non-Windows fire walls.

Then upgrade your PC's to the Windows 10 Anniversary edition (http://www.zdnet.be/tips/184499/zo-installeer-je-de-windows-10-anniversary-update/).

Then start again.

Let's see  of this helps.

Groeten,
Nico
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sun, 7 Aug 2016 20:21
- as soon we are on ground the ALT jump and i'm to high in P3D

How much too high? A few ft or much more?
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sun, 7 Aug 2016 21:16
Hi,
I am baffled, the other day had a good flight, shut down the pc and yesterday problems, PSX.NET P3D made no connection with P3d on my other machine.
Nothing changed that I know of, it just did not work anymore.
When running PSX and P3d on the P3D  machine it works.
2 machines, it doesn't
So reinstalled PSX.NET.
tried every scenario in this thread. all  firewalls off on both machines, only private firewalls off, On both machines set incoming and outgoing rules to allow for P3D and PSX.NET.P3D.ExternalSim .router.
To this moment I got it working, at least, it moves the plane in P3D, but no field elevation update and the Router  status  message says Not connected.
All other  stuff works, like active sky, I can use Xview with no  problems, so guess it is not a network issue . Al files that are shared can be accessed by both pc's , Pinging works both ways.
I am afraid I can not find a solution for this problem.
If anyone got any idea, please  feel free ,
ivo

Vo-

I can tell you that occasionally I get the numbers NOT increasing.  I usually close and restart PSX.NET P3D and that restores the connection.  Not sure why, but 'tis so in my experience. 

FWIW I run PSX Server in "minimalist mode" with just the rudder trim knob and indicator showing.  That is as close to "headless" I can get.  With just the black square- the frame rates drop dramatically...  Then I run P3D FULL SCREEN on top of PSX server.  That way my USB controls stay with the one machine for when I run P3D alone.  With AM=84 my PSX Server stays at 72 fps... and my P3D stays locked at 32 fps.

Perhaps try that... see if it connects that way....

HTH

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sun, 7 Aug 2016 22:31
Hoi Nico
Don't have any external firewall program, only a firewall that came with Bitdefender internet sequrity, and it is disabled.
Will try the upgrade tommorow.
Thanks

What I find strange is the fact that the plane is moving in P3D, so the router is working,  and data is send to the P3D pc.
what  it does not do  is update the elevation, this would maybe  mean that  data from the P3D pc is blocked  to the PSX pc running the PSX . External.sim program.
How I do not understand , even with all firewall of and rules that alow this  to go through.

Will see tommorow after the update!
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sun, 7 Aug 2016 22:40
Hi Carl,
Thanks,  it is not just the numbers, the elevation is not updated, it is not usable in this way.
But what you do is in fact, if I understand it correct, run the  PSX server and boost on the P3D machine, also run the router.exe on that machine, so in fact as it would be when using only one pc and your other pc runs a PSX client in full screen or multy monitor setup?
This way there is no firewall issue  ofcourse , and like you say keep your stick, rudder, and throttle and whatever on the Prepard machine to use aircraft in Prepard .

I will give that a go tommorow
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Sun, 7 Aug 2016 22:47
Carl,
The way you set it up, is there no drain of recourses on that pc?
How much recources uses PSX running the main and boost server? The scenery pc is already stretched to it's limits.
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sun, 7 Aug 2016 22:56
Carl,
The way you set it up, is there no drain of recourses on that pc?
How much recources uses PSX running the main and boost server? The scenery pc is already stretched to it's limits.
Ivo

Vo-

ATM I am only flying the Dakota/C-47 v3 in P3D, so there is no issue.  It runs at 32 fps locked, and the stripped out 744 I use with PSX.NET P3D does the same.

When flying PMDG I do have to reduce my settings a wee bit, but that is easily done on the fly.

With the PSX Server running just for the backbone- not seen at all, with P3D running full screen with an Affinity Mask =84 that frees up Core 1 for PSX, and with my 6700K at 4.6 gHz.... I am satisfied with performance.  The issue will be when I go 4K later this year (but that will be with a 1080 Ti so hopefully the new card will take up any slack from x 4 pixels...).

Meanwhile, Mark is tinkering... so more performance may be possible...

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: kwieser76 on Mon, 8 Aug 2016 06:48
- as soon we are on ground the ALT jump and i'm to high in P3D

How much too high? A few ft or much more?


HI Mark,

I try it on 2 differnet Airports until now.
each time i saw the same result - the double altitude....
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 8 Aug 2016 13:33
hi Carl
I thought that with hyperthreading of, running 4 cores, there is no need for afinity mask setting?

I run I7  3770K at 4.4 gHz with a GtX 1080  driving  3 HD  40" tv.s , and all maxed out, except shadows ,and it's  a smooth ride!
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 8 Aug 2016 14:29
hi Carl
I thought that with hyperthreading of, running 4 cores, there is no need for afinity mask setting?

I run I7  3770K at 4.4 gHz with a GtX 1080  driving  3 HD  40" tv.s , and all maxed out, except shadows ,and it's  a smooth ride!
Ivo

Vo-

I've played with this quite a bit, and for me, I'm happiest with HT ON and AM=84. That leaves the first physical core for PSX. The only other setting that seems to work well is AM=252.  I, however, only use 1 1080p monitor on this machine- all other screens run as separate clients on separate computers.

Shadows are the KILLER- but too beautiful to live without :-0 . I sent back my 980 Ti waiting for the 1080 Ti, so once that releases (Xmas) I will increase shadows and go 4K.

Best- C

PS- Sorry about the thread segways Mark! It's PSX.NET P3D that inspires us to pursue visual perfection to complement PSX's abilities :)
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 8 Aug 2016 18:00
Yes,
No intent to hyjack this thread.
Carl I used your advise   and  run the main and boost server on the scenery pc, smallest window possible and on my second machine PSX as client with sound and usb  as normal.
I believe, but maybe it is whisfull thinking, that it even runs smoother because the data is not going over the network.
Anyhow, it works, so one glad customer here.
Nico, gonna hold off the last win 10 update for a moment, seems a lot of people having some troubles with it.
Thanks for your help
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: 18hazelwood on Fri, 19 Aug 2016 17:25
Hello everyone,

Could someone please explain how to adjust the "weightmodeloffset" in the external sim xml file....the default 747 puppet plane seems several meters below the ground when settled.

External sim is all working but as it should but the whole plane is sittng to low....

Any ideas... Any help would be appreciated.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Fri, 19 Aug 2016 17:33
Could someone please explain how to adjust the "weightmodeloffset" in the external sim xml file....the default 747 puppet plane seems several meters below the ground when settled.

External sim is all working but as it should but the whole plane is sittng to low....

Use the PSX instructor station to configure your aircraft to the minimum possible weight (a very small amount of fuel, etc) - you're aiming for minimum landing gear struct compression.

Guess a value for MinWeightModelOffsetM, make the change, and restart the Router app. P3D should fairly quickly reconnect to allow you to see the new height. Keep making adjustments until the gear is in full contact with the ground with no struct compression. That's it, try loading a standard .situ, land it and see how it looks.

Title: Re: PSX.NET P3D ExternalSim
Post by: 18hazelwood on Fri, 19 Aug 2016 19:07
Thanks for the reply,

The default "minweightmodel" is saying 4.4...what would be a good guess???

Many thanks...
Title: Re: PSX.NET P3D ExternalSim
Post by: jb747 on Sat, 20 Aug 2016 19:58
I finally got around to upgrading from Wideview and it is smooth as glass.  Using Hardy's latest update (version 10.9e and V1.80).  I found that FSGlobal Weather does work fine although there was an reference in the forum earlier that maybe it wasn't supported.  The only thing left to check is connection to VATSIM, etc and the COMM frequency selection and Transponder code stuff.

My configuration is PSX, the router and my P3D server on one PC and the three IG's on separate PCs.  Running 1920x1080 projectors on the three IGs and minimal settings on P3D on the server.  The only reason I am keeping the "server" is that's where I have my connectivity to Pilot Edge and VATSIM.

Thanks Mark,

Cheers,

Jon
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sun, 21 Aug 2016 11:47
the default 747 puppet plane seems several meters below the ground when settled.

Which P3D vehicle are you using? I couldn't find a default 747.
Title: Re: PSX.NET P3D ExternalSim
Post by: 18hazelwood on Wed, 24 Aug 2016 20:34
Hi Mark,

I am using Posky 747  as others have used on this forum.

Thanks.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Wed, 24 Aug 2016 21:15
Mark-

In addition to using POSKY I comment out the INTERNAL model in the model.cfg, and I change panel.cab to panel.cad to remove the VC so that I can still use EZCA to look left and right (esp. for taxiway maneuvering) and still have as streamlined (low-impact) an airframe as possible.

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: JRBarrett on Thu, 25 Aug 2016 16:53
I have just downloaded and configured the program, running with PSX 1.0.9g and P3D 3.3.5 on a single PC with dual monitors. All seems to be working very well indeed. I have not yet actually flown - I have just had time to do some preliminary taxi tests at KORD (using an updated Ray Smith AFCAD to give the correct current runway layout in P3D). So far, it is very smooth on the ground!

It does not appear that control of the radios and transponder is implemented at present? I note that when the externalism version of the P3D 747 (Posky model) is active, I can not power the aircraft using the standard "Master Battery" command (Shift-M), though if I bring up the radio stack in the 2D cockpit, the radios are "on", but the COM and transponder readouts do not respond to the frequencies set in PSX.

Control of external aircraft lighting is working, with the known issues that not all lights directly correspond to the switches in PSX, due to the simplified P3D lighting model.

EDIT: I just became of aware of the PSXseeconVPilot add-on which handles the PSX-to VPilot interface for online flights on VATSIM, so I guess it really does not matter if PSX.NET P3D ExternalSim has control of the radios in the P3D aircraft in any case!
Title: Re: PSX.NET P3D ExternalSim
Post by: 18hazelwood on Mon, 26 Sep 2016 11:42
Hello all,

Could someone please explain how to edit the following offset line, as I don't understand?:

 <MinWeightModelOffsetM>4.4</MinWeightModelOffsetM>

many thanks.
Title: Re: PSX.NET P3D ExternalSim
Post by: asboyd on Fri, 7 Oct 2016 06:24
Just thought I would let you know that after several weeks I have tried the add-on with P3D V2.5  and it does not work. The router "sees" PSX but never gets connection to P3D on a separate PC.
I have followed all the examples given before and still no luck.

Regards,
Alex B
Title: Re: PSX.NET P3D ExternalSim
Post by: SIMU-3G7 on Fri, 7 Oct 2016 10:16
Alex
Just thought I would let you know that after several weeks I have tried the add-on with P3D V2.5  and it does not work. The router "sees" PSX but never gets connection to P3D on a separate PC.
I have followed all the examples given before and still no luck.

Regards,
Alex B
 RTFM....RTFM....RTFM....
System requirements:
-Windows 7/8/10
- .NET 4.5.1
- P3D 3.3.5 or higher
- PSX 10.0.8 or higher

PDF instructions on installation and usage are contained within the ZIP file.

KEEP IT CALM READ IT CAREFULLY AND TAKE YOUR TIME We are all here to help each other but RTFM Please.

take care

Gilles-Gabriel
Title: Re: PSX.NET P3D ExternalSim
Post by: asboyd on Sat, 8 Oct 2016 06:50
I did read the "f" manual, but I also asked if the add on would work in P3D V2.5 and was told to try it, so I did.... That is what I was reporting on...

Regards,

Alex B

My background is in ICT and support... :)
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 8 Oct 2016 09:29
Just thought I would let you know that after several weeks I have tried the add-on with P3D V2.5  and it does not work.

Thank you for letting us know, that sounds like good confirmation that V2.5 does not support the External Sim API interface or does not have all the API calls required.

RTFM....RTFM....RTFM....

Thank you for your good intentions although it was misdirected this time (I understand why you did it though).

Anecdotally: It has been my experience that the PSX community is one of the best I've seen and is full of intelligent people who do read the manual.
Title: Re: PSX.NET P3D ExternalSim
Post by: jcomm on Sat, 8 Oct 2016 11:31
Anecdotally: It has been my experience that the PSX community is one of the best I've seen and is full of intelligent people who do read the manual.

What Manual ????
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Sat, 8 Oct 2016 11:46
Hi all, I have kinda got it working. PSX with P3D moves the 747 OK but Externalsim still says not connected, very odd. PSX and published count goes up, but P3D data count does not.

Both PCs are running Win 10 with firewall off and AV off.
Title: Re: PSX.NET P3D ExternalSim
Post by: asboyd on Mon, 10 Oct 2016 00:07
Strange, I could not get the 747 to move... which 747 are you using, I am using the FSX default. I have not tried the POSKY yet.

AlexB
Title: Re: PSX.NET P3D ExternalSim
Post by: frumpy on Sun, 16 Oct 2016 10:41
Hi Mark,

good program, I just wanted to try it out on my own! :)

When connexting, PSX sends data, however I do not
receive anything from P3D. Its all on one PC, so I took the default
values. I took the default Super Constellation as an aircraft and edited the aircaft.cfg
accordingly. Loaded the aircraft in P3D, but it does not communicate with PSX.
Firewall is windows 7 default, I am afraid to turn it off.

What to do?
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 17 Oct 2016 23:04
Mark:

If I wanted to start PSX.NET P3D ExternalSim with a Batch file command, that added affinity masking such as

start /B "" /affinity A0 "C:\PSX_NET_P3D\PSX.NET.P3D.ExternalSim.Router.exe"

I get some sort of error...
(http://i1240.photobucket.com/albums/gg491/cavaricooper/Untitled_zps6oxwvkwc.jpg)


Is there a way to start this with a batch file command allowing for Affinity Masking?

Ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 17 Oct 2016 23:24
Is there a way to start this with a batch file command allowing for Affinity Masking?

I have to admire all the inventive ways the community tries to break my software!

Try removing the '/B' option.

By the way, as the Router should normally use such a tiny amount of CPU (a few % at most), the overhead of context switching amongst CPU cores is negligible so I really struggle to understand the desire to set affinity. My guess is that you're trying to set it to *not* run on a core that is running at 100% for P3D or similar?
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 17 Oct 2016 23:28
Yes, trying to free up specific cores for P3D.  I got it to run fine on the second attempt..... the "monitor" portion of the display window shows the batch command, but the Boost and PSX numbers climb normally.

Sorry for the wild goose chase.... all's well.

Ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: frumpy on Tue, 18 Oct 2016 06:04
I put the .dll to the main P3D folder, still no luck. Is it okay to take the default
P3D Super Constellation?
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 18 Oct 2016 08:47
I put the .dll to the main P3D folder, still no luck. Is it okay to take the default
P3D Super Constellation?

Please refer to the instructions inside the 1.8.0 ZIP file for the correct location.

In both configuration XML files (also put these in the right place, described in the 1.8.0 ZIP file), try changing the bindings such that wherever you see an '*', change it to 'localhost'. Example: tcp://*:10760 becomes tcp://localhost:10760. This will make the router not bind to any network interfaces, just the local loopback, so no firewalls will get in the way (but everything has to run on the same PC).
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Thu, 12 Jan 2017 20:55
PSX.NET.P3D.ExternalSim 2.0.0 now released. See post 1 of this thread for download link.

Change log:
- Fix for landing gear state on VATSIM (tested with vPilot)
- All clients are now shown on the router console output which helps to see if any clients are misbehaving and not connecting to the router
- Beta functionality: spoiler positions and control surface positions are set on the P3D model

Note 1: The XML files have changed again so use the new files (& edit).
Note 2: The way the networking is done has been changed. Read the PDF carefully with regards to the XML setting files & where to put IP addresses if you're running a multi-PC setup.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Thu, 12 Jan 2017 22:21
Mark-

Most appreciated!  This bit of kit has been a game changer!

I can indeed confirm that control surfaces, spoilers and flap position work at my end.

If I'm not being a complete git, can I trouble you to please expound on the process for light control?  At the moment the P3D a/c strobes are constantly on.  The LOGO switch "appears" to control the taxi light and the turn-offs seem to be controlled by the TAXI switch. 

NONE of this detracts from the joy of smooth flight with your interface and I remain most obliged.

Ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: chaser on Fri, 13 Jan 2017 09:21
Thanks for the Release!

My observations with the lights are the same as coopers, plus my Landing Lights stopped working at all.
Also the Landing Gear stays down, i'll try with a native P3D-Model after this flight (i use a FSX model right now)
But those are only cosmetics.  :-X

Did you by chance change the way timesync works ? It seems it syncs now with my Clock not with PSX's anymore.  :o

Most importantly, right now it looks like this Version solved the crashing issue for me. (I mentioned that to Gary Yesterday)  ;D

Again, Thank You very much for this fantastic piece of software  :)

chase



Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Fri, 13 Jan 2017 09:57
Also the Landing Gear stays down, i'll try with a native P3D-Model after this flight (i use a FSX model right now)
But those are only cosmetics.  :-X

Did you by chance change the way timesync works ? It seems it syncs now with my Clock not with PSX's anymore.  :o

I should have added this to the troubleshooting section:

Under 'Published Counts' in the router console output, if there is a number remaining at 0, then you can expect the corresponding feature to not work properly. i.e. if GearModel = 0, then the gear won't be correct. The best way to fix this is to restart the router, give it a few minutes and see if the number starts increasing (or simply not 0). Repeat until working (but give up after 5 attempts and let me know with a screenshot of the router console output).
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Fri, 13 Jan 2017 10:05
If I'm not being a complete git, can I trouble you to please expound on the process for light control?

Here is the bare essential code extracts for the lighting logic:
https://gist.github.com/macaba/fba13e49a9a406dc0e44b4564599fb61

You'll see that it isn't a straightforward mapping of PSX to Simconnect, and to make matters worse, each model in P3D will behave differently (model designers can chose which lighting bit to trigger a light model from).
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Fri, 13 Jan 2017 11:08
All,

We use a customised P3D Aircraft which is why the lights are mapped a little funny.

I will zip this up and publish it here so you can use that.

Cheers
G
Title: Re: PSX.NET P3D ExternalSim
Post by: chaser on Fri, 13 Jan 2017 12:10
Also the Landing Gear stays down, i'll try with a native P3D-Model after this flight (i use a FSX model right now)
But those are only cosmetics.  :-X

Did you by chance change the way timesync works ? It seems it syncs now with my Clock not with PSX's anymore.  :o

I should have added this to the troubleshooting section:

Under 'Published Counts' in the router console output, if there is a number remaining at 0, then you can expect the corresponding feature to not work properly. i.e. if GearModel = 0, then the gear won't be correct. The best way to fix this is to restart the router, give it a few minutes and see if the number starts increasing. Repeat until working (but give up after 5 attempts and let me know with a screenshot of the router console output).

Well,

two restarts solved all of the problems i had, thank you !  :D :o

All,

We use a customised P3D Aircraft which is why the lights are mapped a little funny.

I will zip this up and publish it here so you can use that.

Cheers
G

Thats very kind of ya, i'll certainly try it out.


Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Fri, 13 Jan 2017 14:56
Hi Mark,

Thanks very much for the update! Smooth as a smooth silky thing...!
I am using the same 747 as Gary (I think) and it is working nicely - gear and flap a little jerky but they are configuring correctly. Lights as described above.
I am finding that the aircraft is sinking a few feet into the tarmac now however at most but not all airfields - mainly from saved scenarios, but not always - something it didn't do before - do I just need to amend the aircraft cfg file?
Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: tango4 on Sat, 14 Jan 2017 14:28
Hi Mark and Gary,


I am also interested in giving your add on another try for two reasons. First, obviously, to take advantage of a scenery generator. But also as it offers a solution to the "winds aloft" problem by using the other adequate programs.


Now, my question: were you able to solve the offset problem or do you have any solution in mind ?
The reason I ask is because it is kind of a deal breaker for me. To keep my P3d setup running smoothly (other than this potential use, I use it with Majestic Q400, some a2a aircraft and intend to use FSLABS A320) I do not use add on airports. I use orbx global products though to improve the global appearance (Ftx Global Base+OpenLc Europe + Vectors with very low settings). I update the global data using data from this site: http://www.aero.sors.fr/navaids3.html
So the problem I had was some frequent misalignment between P3d scenery and PSX runways... Kind of a problem.
I notably encountered this issue at LFPG which is where I fly most frequently. So how do you deal with it in simfest U.K. Sim ? Do you only use payware add-ons or is there a workaround ?


Besides that point, I was really impressed by the smoothness you achieved. This tells a lot on your skills obviously, and the simple fact that you share hours of work and effort here is much appreciated.


Charles
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sat, 14 Jan 2017 16:18
Mark-

As a further follow-up, this latest version seems to not "re-sync" immediately with P3D when changing time in PSX.  Prior to this, as soon as the time was changed, the sim would reload terrain data and scenery objects.  Now, I have to close PSX.NET P3D ExternalSim, and when I re-open it reloads P3D correctly (with the time change).

I also experience the "sinking" mentioned by Peter... I did change the ExternalSimData = 0 line back to = 0 from the initial values of 75, 75, 100 that I was using from Gary's a/c model..... should I go back to those?

To further complicate matters, there seems to be some type of interaction between vPilot and PSX.NET ExternalSim, where vPilot cannot enter the "Voice channel" when it is started after PSX.NET P3D ExternalSim is running.  I have confirmed my HOST & CLIENT vPilot v2 install works fine when using P3D standalone.

HTH... sorry for the issues... but perhaps they are also pointers....

Ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: kev32b on Mon, 16 Jan 2017 13:04
 I have recently added another computer to my system and updated to psx external 2

Computer one (windows 10) runs PSX Server with Psx External router once connected the valves go up on external.net and shows as a client on PSX

Computer two (windows 8) runs P3d v3 when running the plane sits in the middle of the ocean and does not move .

I have followed marks instructions to the letter but can not get it to work on networked machines.

I have turned off both firewalls to see if that helps but made no difference
Any ideas .
Kev

Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 16 Jan 2017 14:13
Kev-

In my case it came down to a couple of OLD files being left behind from one of the initial versions. Check to make sure the ONLY files present are the ones in this release.

HTH- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 16 Jan 2017 15:18
Any ideas .

Going forward, I think for all troubleshooting queries of this type, I would like to request the following things:

- A copy of the contents of PSX.NET.P3D.ExternalSim.xml (use the code tag in your post for this)
- A copy of the contents of PSX.NET.P3D.ExternalSim.Router.xml  (use the code tag in your post for this)
- A link to a screenshot of the Router console output (sadly this forum doesn't allow attachments)

This gives me a great headstart on being able to help you.  :)

Btw, if you've never come across the code tag, it does this:

Code: [Select]
<?xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <SettingsVersion>1</SettingsVersion>
  <RouterSubAddress>tcp://192.168.0.15:10760</RouterSubAddress>
  <FeedbackPubAddress>tcp://192.168.0.15:10761</FeedbackPubAddress>
  <DebugPubBind />
  <DebugLogToFile>false</DebugLogToFile>
</Settings>
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Mon, 16 Jan 2017 20:43
I have purchased P3D and set it up with PSX and PSX.NET all seems to connect fine. I am using the POSKY 747 as P3D does not come with a 747 aircraft. I am finding that the strobe light flashes about 5 ft behind the tail of the aircraft? Can this be modified somehow in the aircraft.cfg file?

John
Title: Re: PSX.NET P3D ExternalSim
Post by: Tigh on Tue, 17 Jan 2017 13:39
I have recently added another computer to my system and updated to psx external 2

Computer one (windows 10) runs PSX Server with Psx External router once connected the valves go up on external.net and shows as a client on PSX

Computer two (windows 8) runs P3d v3 when running the plane sits in the middle of the ocean and does not move .

I have followed marks instructions to the letter but can not get it to work on networked machines.

I have turned off both firewalls to see if that helps but made no difference
Any ideas .
Kev

Hi Kev,
Sounds like you've got one way traffic but not two way. Sounds a daft one but did you reboot both machines after you turned their firewalls off? (That's what caught me out) Are you running ExternalSim as Admin (another one that has given me better results in the past).

Cheers,
Dan.
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Tue, 17 Jan 2017 15:17
Kev,

Having been caught out before... With the windows firewall 'Off' isn't actually 'off'.

Try on all 3 profiles ensuring inbound and outbound default action is set to 'Allow' with the firewall mode to 'on'.

Cheers
Gary
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Tue, 17 Jan 2017 15:25
Let's see if phrasing it differently helps...
On computer one - in public documents - PSX.NET.P3D.ExternalSimRouter.xml (note this is the xml, not the router exe)
Just leave the default PSX (127.0.0.1) IPs in there. Don't change a thing...

On computer two - in public documents - PSX.NET.P3D.ExternalSim.xml
Change the RouterSubAddress to the local IP of your PSX machine.(computer 1).

On computer two - in your simobjects/airplanes/747 folder ..
Place PSX.NET.P3D.Externalsim.dll
In the Aircraft CFG file - make sure you have placed the THREE ExternalSim lines that Mark describes, and replace all instances of Category=Aircraft or Category=Airplane with Category=externalsim


It's probably a long shot but might be worth looking at different wording - also check that you can actually access each PC's public folder from the other PC - there might be a network sharing or firewall issue otherwise.

HTH

Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: Tigh on Tue, 17 Jan 2017 15:47
It's probably a long shot but might be worth looking at different wording...
As a non-techy I can cope with "Client" and "Server" or "FS machine" and "the other one"; must confess the phrase "router" confuses me.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Tue, 17 Jan 2017 18:28
Mark-

Just continuing to follow up... I am now having an issue with landing lights showing, and landing gear position syncing. The a/c still moves correctly, but there are no landing/taxi lights and no lowered landing gear. Additionally, vPilot works but DOES NOT join the voice channel. I can text but cannot communicate via voice. ATC can not see me in the voice "room".

The gear and lights have worked in the past, so there may be some sort of simconnect conflict issue (depending on if I start ASN before or after P3D and PSX.NET P3D)...

HTH- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 17 Jan 2017 18:32
I've just written an app that will configure windows firewall to open up the exact ports required for ExternalSim.

The app can be downloaded here:
PSX.NET.P3D.ExternalSim.Firewall 1.0.0 (https://github.com/macaba/PSX.NET-Binaries/raw/master/PSX.NET.P3D.ExternalSim.Firewall/PSX.NET.P3D.ExternalSim.Firewall%201.0.0.zip)

As this is an app that is changing system-level settings (which will worry some people), I've open sourced it so anyone can review it.
Source code (https://github.com/macaba/PSX.NET.P3D.ExternalSim.Firewall)

Before running this app, ensure that the XML configuration files in Public Documents are present & correctly configured.

If you're running a multiple machine setup (router on a different machine to P3D(s)) then run this app on every machine.
Title: Re: PSX.NET P3D ExternalSim
Post by: SIMU-3G7 on Wed, 18 Jan 2017 01:26
Thanks Mark

For you dedicated work for this community.
Is this possible to have the aircraft model and file you are using with your setup please.

Thanks a lot. :)

Gilles-Gabriel :D
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Wed, 18 Jan 2017 18:35
Aircraft model is here....

https://www.dropbox.com/s/dr0ubmcb2qvs8z6/PSX_747.zip?dl=0

Also just another reminder that the firewall when set to 'off' isn't actually off.  We fixed the issue with kev32bs setup tonight on Teamviewer by doing the following :-

1) Start > Run > mmc
2) Add 'Windows Firewall with Advanced Security'
3) Right click properties
4) In all 3 profiles (public, private, domain) set the 3 options to 'On','Allow','Allow'
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Wed, 18 Jan 2017 20:53
I was just trying your Aircraft model file and when running psx.net.ped.externalsim.router.exe I get No Clients message, however PSX network shows a client connected. I re-installed the default psx.net.p3d.externalsim.dll file and it connects ok. Could something in the new psx.net.p3d.externalsim.dll be causing a connection error?

John


Aircraft model is here....

https://www.dropbox.com/s/dr0ubmcb2qvs8z6/PSX_747.zip?dl=0

Also just another reminder that the firewall when set to 'off' isn't actually off.  We fixed the issue with kev32bs setup tonight on Teamviewer by doing the following :-

1) Start > Run > mmc
2) Add 'Windows Firewall with Advanced Security'
3) Right click properties
4) In all 3 profiles (public, private, domain) set the 3 options to 'On','Allow','Allow'
Title: Re: PSX.NET P3D ExternalSim
Post by: kev32b on Wed, 18 Jan 2017 21:28
Aircraft model is here....

https://www.dropbox.com/s/dr0ubmcb2qvs8z6/PSX_747.zip?dl=0

Also just another reminder that the firewall when set to 'off' isn't actually off.  We fixed the issue with kev32bs setup tonight on Teamviewer by doing the following :-

1) Start > Run > mmc
2) Add 'Windows Firewall with Advanced Security'
3) Right click properties
4) In all 3 profiles (public, private, domain) set the 3 options to 'On','Allow','Allow'

Just to say thanks to Gary  & Mark truly amazing skills these guys have got psx.external.net working a treat
Only issue got now is there is no outside lights taxi or runway on your model
Kev
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Wed, 18 Jan 2017 22:30
The lights only show from the virtual cockpit.
Title: Re: PSX.NET P3D ExternalSim
Post by: SIMU-3G7 on Thu, 19 Jan 2017 14:09
Thanks a lot Gary.

Cheers

Gilles-G@briel
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Thu, 19 Jan 2017 15:56
Ah yes the zip file is a few months old and contains an old externalsim.dll, just replace this with the latest one.
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Thu, 19 Jan 2017 16:13
Works great! Thanks alot for posting the file.

John

Ah yes the zip file is a few months old and contains an old externalsim.dll, just replace this with the latest one.
Title: Re: PSX.NET P3D ExternalSim
Post by: tango4 on Fri, 20 Jan 2017 10:50
Hi again guys,


Sorry for the double post but I think you might have missed my post above a few days ago.


I just tested the latest version which seems to be working fine. But as I use default scenery (just improved a bit by ORBX Global products) I have the offset problem. Depending on the airport, PSX scenery and P3d scenery won't agree and I will not be aligned with the runway, which is a bit of a no go for me at the moment.


Just wondered how you deal with it in your sim ? Do you only use payware scenery to ensure quality geo-referencing or is there a workaround ?


Charles
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Fri, 20 Jan 2017 11:16
Hi Charles,

Like you suggest most of the addon airports fix misplaced runways in P3D.

Most of the places we fly to the runways line up perfectly.  However we do run into problems at some airports. 

Unless doing approaches in bad weather we find we are just a little out requiring a bit of visual approaching and live with the problem.

I wonder if we could reuse the offset files generated by Visual PSX.  I will have a chat with Mark and Garry to check he doesn't mind.

The problem we found with visual PSX offsets was the random slewing of the aircraft on approach.

Cheers
G

Title: Re: PSX.NET P3D ExternalSim
Post by: tango4 on Fri, 20 Jan 2017 11:51
Hi Gary and thanks a lot for your answer.


Another strange thing is that it seems that this problem does not exist with X-View, using X-Plane as a scenery generator. Perhaps X-Plane handles scenery in a different way, or Mike has been able to figure out a clever solution.


Charles


PS: One reason I am highly interested in using P3D as a scenery generator is to take advantage of Active SKY to feed winds aloft through JP744 addon.
So I considered running P3D in the background to allow that connection and use only PSX internal scenery. But the problem is that using PSX.Net.P3d, Prepar3d is the "master" when it comes to ground elevation (logical of course). But for example at LFPG, the runway is lower in P3d than in PSX so I appear below the runway in PSX. Do you know if there would be any easy way to disable that feature ? Probably not, but just asking anyway !


Have a nice day !
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Fri, 20 Jan 2017 15:32

The problem we found with visual PSX offsets was the random slewing of the aircraft on approach.

Cheers
G

That was the biggest issue with Visual PSX, especially when flying online....

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Hardy Heinlin on Fri, 20 Jan 2017 17:40
Another strange thing is that it seems that this problem does not exist with X-View, using X-Plane as a scenery generator. Perhaps X-Plane handles scenery in a different way, or Mike has been able to figure out a clever solution.

The cause of those offsets isn't strange; it's simple:

FSX standard scenery designers didn't always place their runways according to public databases.

FSX add-on scenery designers mostly placed their runways correctly according to public databases.

X-Plane scenery designers always placed their runways correctly according to public databases.


Regards,

|-|ardy
Title: Re: PSX.NET P3D ExternalSim
Post by: tango4 on Fri, 20 Jan 2017 18:20
I was not aware of the 3rd point about X-Plane. That explains everything.
The good news is,for once, the explanation is simpler than I thought ! Usually, it's the other way round...
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Fri, 20 Jan 2017 19:10
Mark-

I have kept working at it and now the wheels are back!  I can connect to vPilot, however, there is NO voice still....
I updated vPilot to the latest beta- no joy

Next, as I run it in HOST and REMOTE mode, I changed the HOST and REMOTE connect port from the default 8009 to several others, without any success- I can still connect- but NOT join the voice channel....

Also- the FIRST start of PSX.NET P3D tends to have the TimeModel at 0.... if I restart it begins to climb.... and once THAT happens, I can control P3D visual time with PSX sim time....

Any thoughts?  Lest this be mistook for complaining, I want to reiterate my gratitude that you have taken on this arduous task...  Per Ardua ad Astra :)

Ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Fri, 20 Jan 2017 23:00
I too now hard to restart the router to get the time to update.  One for the issuettes list
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sun, 22 Jan 2017 10:38
I can still connect- but NOT join the voice channel....

I'm missing something here - why is this related to ExternalSim?
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sun, 22 Jan 2017 17:19
Mark-

Because it only occurs when using ExternalSim (with Gary's PSX744 aircraft).... with all others vPilot works correctly.

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Frans Spruit on Tue, 24 Jan 2017 15:27
Hi Mark,

ExternalSim2 is working fine. The smoothness is excellent,
for witch many thanks.

Regards,

Frans Spruit
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Fri, 27 Jan 2017 15:40
Hi Mark,

Still enjoying the wonderful smoothness, but am sadly finding that sometimes the aircraft wheels often don't tie up with the tarmac - they are usually in the air or deeply buried. (Yeah - like my landings, before the jokes start)
I have the ExternalSimData in the Aircraft.cfg file set to 75,75,100 but even changing that doesn't seem to make a difference. As far as I can tell this has only started happening with your recent update, but I'm not completely sure.
I wonder if you have any ideas?
Could this be something to do with flying to airfields with sloped runways?
Thanks!
Peter.
Title: Re: PSX.NET P3D ExternalSim
Post by: hunijjang on Fri, 27 Jan 2017 17:10
Hi Mark,

Still enjoying the wonderful smoothness, but am sadly finding that sometimes the aircraft wheels often don't tie up with the tarmac - they are usually in the air or deeply buried. (Yeah - like my landings, before the jokes start)
I have the ExternalSimData in the Aircraft.cfg file set to 75,75,100 but even changing that doesn't seem to make a difference. As far as I can tell this has only started happening with your recent update, but I'm not completely sure.
I wonder if you have any ideas?
Could this be something to do with flying to airfields with sloped runways?
Thanks!
Peter.

Hello Peter

When you look at tires, the tires are never moving and the upper and lower of Beacon lights and Tail nav lights are outside the fuselage of the Gary's PSX B747 aircraft file.

Also, If NAV lights are turned on, the Strobe lights will continue to operate. It is never stopped until be NAV lights are turned off.

Unfortunately, When I tested the PSX.NET P3D ExternalSim 2.0 or lower version to during the starting with the iFly B747-400 latest version,

Its makes to the Prepar3D V3(I am using of the lastest a Professional version) error occurs.

However, with the VisualPSX is working as well with the iFly B747-400 lastest version, At least If there are touch down of the runway, then smoke actions occurs.

Of course there are some have to problems too.

1. Flaps does not synchronized.

2. If turned to Left and right runway turnoff lights or Taxi lights,, then iFLY B747-400s only works to landing lights on only.

Another part I needs to be checked again.

Tomorrow. I will be capture's screen then upload the that video file.

exactly what parts working or what parts not working with the VisualPSX and iFly B747-400 V2 latest version of Combination works.

Anyway, I found this video at youtube, It is so amazing! https://www.youtube.com/watch?v=gyQLqycxlkQ : Landing at Amsterdam Schiphol Airport underneath a Boeing 747 - HiRes

Thanks

Best Regards,

Younghoon
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Fri, 27 Jan 2017 17:39
Hi Younghoon,

Mark can fix anything. He is a genius. But he is also a busy genius..
I'm happy to wait - envious of your smoking rubber though...
Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: hunijjang on Fri, 27 Jan 2017 17:56
Hi Younghoon,

Mark can fix anything. He is a genius. But he is also a busy genius..
I'm happy to wait - envious of your smoking rubber though...
Peter

Hello Peter

I just wanted to let you know my test results and I am not suggesting this case to here.

Yes, Mark is Genius of genius.  :) and It think Its not easy to free developing an without money.

so, I think it is necessary to Donationware, before.

Like you said, Maybe I'm thinking, Mark is updating the this add-on in a busy situation.

I think the minimum method for this add-on to will be updates longer, I think it is better to Donationware than only freeware.

Here's what I think about the idea.

Also that is really better way more than use to them(VisualPSX with the iFLY B747-400 V2 lastest version).

When I bought it, because, I went to use this add-on aircraft, before.

Best Regards,

Younghoon
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Fri, 27 Jan 2017 19:35
My problem is fixed. RTFM issue.
I hadn't assigned my network IP in the PSX.NET.P3D.ExternalSim.xml to the FeedbackPubAddress so the router wasn't getting any runway elevation updates.
Another genius - Gary O - helped with the fix. Many thanks and sorry for the senior moment..
Peter.
Title: Re: PSX.NET P3D ExternalSim
Post by: hunijjang on Mon, 30 Jan 2017 04:56
My problem is fixed. RTFM issue.
I hadn't assigned my network IP in the PSX.NET.P3D.ExternalSim.xml to the FeedbackPubAddress so the router wasn't getting any runway elevation updates.
Another genius - Gary O - helped with the fix. Many thanks and sorry for the senior moment..
Peter.

Peter

When you look at tires, the tires are never moving and the upper and lower of Beacon lights and Tail nav lights are outside the fuselage of the Gary's PSX B747 aircraft file? and Does the smoke to when you touch down? or Does everyone work well?

Ah, I checked this again : https://youtu.be/LGKsxEYhCxc There are not seems to like this...

Thanks

Best Regards,

Younghoon
Title: Re: PSX.NET P3D ExternalSim
Post by: Felix. on Sat, 11 Feb 2017 18:49
Hello,

I've got this up and running and it seems to be working Okay.
I have found however the landing gear wont retract (visually) and I have little control over the external lights. The strobe light is also a long way aft of the a/c. What am i missing?

Felix
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Sat, 11 Feb 2017 20:05
I find sometimes that after I run PSX.NET.P3D.ExternalSim.Router.exe some of the items listed in Published Counts show '0'. So I close it then re-start and check the items listed do not show a '0'

John

Hello,

I've got this up and running and it seems to be working Okay.
I have found however the landing gear wont retract (visually) and I have little control over the external lights. The strobe light is also a long way aft of the a/c. What am i missing?

Felix
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 11 Feb 2017 22:02
I find sometimes that after I run PSX.NET.P3D.ExternalSim.Router.exe some of the items listed in Published Counts show '0'. So I close it then re-start and check the items listed do not show a '0'

Absolutely right. I've just fixed this in my internal build so this should be a thing of the past in the next public release.
Title: Re: PSX.NET P3D ExternalSim
Post by: Felix. on Sat, 11 Feb 2017 22:24
Yes just tried it and you're correct. I'm using Gary's model and when switching views I can't get back to the original VC. Is there something I should know?

Lastly, I'm guessing external sim isn't compatible with GSX? Changing the cfg to external sim I guess changes how P3D handles it?

Felix
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Sat, 18 Feb 2017 11:35
how can i set the parking brake in p3D, so that the VA software can start?
Title: Re: PSX.NET P3D ExternalSim
Post by: Hessel Oosten on Sun, 19 Feb 2017 16:59
CTRL + . (period) in P3D itself (and FSX), or.. did you mean from PSX to P3D ?

Hessel
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 20 Feb 2017 12:30
PSX.NET.P3D.ExternalSim 2.1.0 now released. See post 1 of this thread for download link.

Change log:
- Transponder code now set in P3D
- Radio frequencies now set in P3D
- Parking brake now set in P3D

Note 1: If you're upgrading from 2.0.0, the XML files require no change.
Note 2: If you're upgrading from prior to 2.0.0, the XML files need to be replaced.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 20 Feb 2017 12:33
Mark-

DL NOW... this is the thread I spend the most time in.... thanks mate!
.
.
Ok, downloaded and tried with this latest version, and still I cannot connect.... I have rising numbers in each Published Count.  BTW the TimeModel still takes 2 starts to begin counting.  As far as P3D connectivity- nothing.

PSX, P3D and PSX.NET P3D ExternalSim all reside on the same machine.

I have done as Gary suggested-

1) Start > Run > mmc
2) Add 'Windows Firewall with Advanced Security'
3) Right click properties
4) In all 3 profiles (public, private, domain) set the 3 options to 'On','Allow','Allow'

I have even deleted all rules in the Windows Firewall, and then run your ExternalSim.Firewall Program again.  I saw it created 2 rules, and then when I ran PSX.NET P3D ExternalSim Windows Firewall popped up and asked for the third....

In every trial I can connect just fine with v1.8 and cannot with any v2.x .... I would very much appreciate any advice or pointers at this moment... it is beyond me.... and yet, having known what was possible in v1.8 I am thirsty for the waters of v2.1 :)

Ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Mon, 20 Feb 2017 14:23
Carl - are you absolutely sure you haven't got any legacy dll's hanging about on the drive from previous versions?
It might be worth a search?
This tended to be my problem..
Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 20 Feb 2017 14:27
Peter-

I did a search, and did not find any.... where were yours located?

Ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 20 Feb 2017 14:47
I did a search, and did not find any.... where were yours located?

There should not be any DLLs (with a name like PSX.NET.something.dll) in the main P3D folder:
C:\Program Files (x86)\Lockheed Martin\Prepar3D v3

If you're working on 1.8 and you're trying to use 2.1, are you aware that the 2 XML configuration files are not compatible between these versions?
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 20 Feb 2017 14:51
Mark-

Here is ALL I have installed.  The v2.1 installation uses ONLY v2.1 files- all others are DELETED before copying over.  FWIW I deleted and overwrote the 2 files in Public/documents after seeing the date in the screenie, and that date does not change...

(http://i.imgur.com/XMVBY7t.jpg?1)

Here is my MMC screenie-

(http://i.imgur.com/o9KlwCd.jpg?1)

Thanks for all your work!  I look forward to enjoying the fruits of YOUR labour soon! 

Ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Mon, 20 Feb 2017 15:31
Hi Carl,

Are you using the PSX_747 model? make sure you replace the file PSX.NET.P3D.ExternalSim.dll with the updated file.
The default location would be,,

C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\SimObjects\Airplanes\PSX_747\PSX.NET.P3D.ExternalSim.dll

John
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 20 Feb 2017 16:05
John-

Yes I am, and yes I have.... I still get the following... (makes no difference if I start with double-clicking the .exe or using the Affinity Setting Batch File....

(http://i.imgur.com/UsGcPq7.jpg)

Thanks for attempting to help, it is appreciated!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 20 Feb 2017 17:29
I think your image provides a clue - you're sat at the end of a runway.
If you had the external sim loaded, you'd be in the middle of the sea (Lat: 0, Lon: 0, Alt: 0).

For whatever reason (wrong aircraft selected? category=ExternalSim?), the External Sim is not loaded in P3D.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 20 Feb 2017 17:31
Mark-

I have tried enabling LOGGING by changing to TRUE but I get no log file.... I don't really know what else to do.... sorry!

I am using Gary's PSX_747 SimObjects folder and have deleted and then added your NEW .dll file.  This same folder works fine with v1.8 and the old .dll

I just downloaded the folder again, and deleted the contained .dll, added your new 2.1 .dll and selected the a/c- same outcome...

Here is my folder showing ONLY 1 (latest) .dll file
(http://i.imgur.com/udd1fE6.jpg)

Here is my .cfg file.... https://drive.google.com/file/d/0B6f5PP5O9uA6enJmVkdOVmRxWG8/view?usp=sharing

I would very much appreciate any thoughts....

Ta!

C

PS- reading Vo's post below, I went and got a new POSKY 744, edited the .cfg, added the dll and still the same result.... sat at the end of the default runway (now in the POSKY 744)....
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 20 Feb 2017 17:54
Hi Mark,
Version 2.10 works for me, to update the time I have to close the router and reopen again, after that it updates every time.
I use the Posky flightmodel in P3D , and upon landing I sink in the ground,
FeedBackmodel is 0 and  Ground Elevation is NaN
Thanks for all your effort !
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Mon, 20 Feb 2017 18:25
Mark-

I have tried enabling LOGGING by changing to TRUE but I get no log file.... I don't really know what else to do.... sorry!

I am using Gary's PSX_747 SimObjects folder and have deleted and then added your NEW .dll file.  This same folder works fine with v1.8 and the old .dll

I just downloaded the folder again, and deleted the contained .dll, added your new 2.1 .dll and selected the a/c- same outcome...



Here is my .cfg file.... https://drive.google.com/file/d/0B6f5PP5O9uA6enJmVkdOVmRxWG8/view?usp=sharing

I would very much appreciate any thoughts....

Ta!

C

PS- reading Vo's post below, I went and got a new POSKY 744, edited the .cfg, added the dll and still the same result.... sat at the end of the default runway (now in the POSKY 744)....

your aircraft.cfg file looks good
the only other 2 files to check are
psx.net.p3d.externalsim.router.xml
psx.net.p3d.externalsim.xml

they both go in the folder,,  C:\Users\Public\Documents

what is your setup? are you running all on 1 pc or are you running multiple pc's on a network

John


Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 20 Feb 2017 18:30
John-

They are both there correctly... as I mentioned to Mark- there is NO log being created...

(http://i.imgur.com/dcDXQe4.jpg?1)

Everything is on 1 PC....

Thank-you!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: lentik on Mon, 20 Feb 2017 18:47
Try this in PSX.NET.P3D.ExternalSim:

<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <RouterSubAddress>tcp://<ROUTER IP HERE>:10760</RouterSubAddress>
  <FeedbackPubAddress>tcp://<ROUTER IP HERE>:10761</FeedbackPubAddress>
  <RouterSubBind>tcp://<ROUTER IP HERE>:10760</RouterSubBind>
  <FeedbackPubBind>tcp://<ROUTER IP HERE>:10761</FeedbackPubBind>
  <DebugPubBind />
  <DebugLogToFile>false</DebugLogToFile>
</Settings>

RouterSubAddress vs RouterSubBind ...
FeedbackPubAddress vs FeedbackPubBind ...

Im not shure which one is correct, but i think i edited some stuff here. If you run all on one PC you have to fill in the <ROUTER IP HERE> with 127.0.0.1
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Mon, 20 Feb 2017 18:54
the default file works ok on one pc

<?xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <SettingsVersion>1</SettingsVersion>
  <RouterSubAddress>tcp://localhost:10760</RouterSubAddress>
  <FeedbackPubAddress>tcp://localhost:10761</FeedbackPubAddress>
  <DebugPubBind />
  <DebugLogToFile>false</DebugLogToFile>
</Settings>


When looking at your router.exe. clip it is not the same as mine, I don't have

/B "" /affinity A0 "C:\PSX.NET.P3D.External,,,

Not sure what that is, Mark would know.

John
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 20 Feb 2017 19:00
Lentik & John-

Thanks!

Yes, the default ought to work on 1 pc.... I'm considering taking up drinking heavily atm ;)

Here are my files....

(http://i.imgur.com/wliowRJ.jpg)

They "look" ok to me.... but I'm lost... obviously...

Ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Mon, 20 Feb 2017 19:03
Carl,

Mark is correct, of course...

You still have a category=airplane in your aircraft config - halfway down - you have to change all category= lines.
I suggest you do a "find"

Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 20 Feb 2017 19:52
Peter-

I began with the assumption that it was user error.... I still believe it to be so... however, I am adrift atm...

I deleted the PSX_747 folder, started fresh with a Cargloux POSKY SCD Freighter...
added the .dll from v 2.1 and edited the .cfg (finding both entries this time).

Restarted everything... still no connection. 

Re-downloaded Gary's PSX_747 folder, and reinstalled latest v2.1 .dll from a fresh DL from Mark

Edited the .cfg to add Category = externalsim (IN 2 LOCATIONS THIS TIME).

Still nada...

What baffles me is that I can work it all flawlessly with v1.8....

Thanks for helping, I'm at my wits end (albeit that's not very far)!

:)

C

Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 20 Feb 2017 20:43
Hi Carl,
Still struggling myself here, 1.80 worked for me also and 2.10 moves my aircraft, but ,
No FeedBack model, it is 0
No Ground Elevation, it reads NaN
No Elevation updates
No name for my P3D machine
And no client name

Tried every setting I can think off, sure it is a firewall thing, but do not find a solution.

In the end thinking of running PSX server minimized on the P3D machine, and the computer running the instrument screens as clients,

But you run  all on 1 machine, that is even more weird.
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 20 Feb 2017 20:45
Just thinking, does it has to be . NET 4.5.1?
i have version 6 installed

Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 20 Feb 2017 20:51
Ivo-

I have NO idea at the moment... spent all day trying various things without success. 

In re. your.... In the end thinking of running PSX server minimized on the P3D machine, and the computer running the instrument screens as clients" that's basically what I do... have PSX Boost Server and P3D on the SAME machine, with the PSX window tiny (only showing the elevator trim strip at a steady 72 FPS).

I am ready to kick the cat (and I don't have one) so I shall take Peter's advice and walk the dog (don't have one of those either)....

;)

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 20 Feb 2017 21:07
Carl,
Do you have .NET 4.5.1?
Or also a higher version?
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 20 Feb 2017 21:12
I'd be happy to use TeamViewer to log into your PC and take a look. You should be able to click on the envelope icon near my username on the left of this post to send me a message with your teamviewer login details.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 20 Feb 2017 21:19
Last message is for Carl or Ivo, but I'm only around for the next 30 minutes otherwise we'll pick this up another day.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 20 Feb 2017 21:49
Here- PM sent.... ta!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 20 Feb 2017 22:11
Thanks Mark,
Tried it on 1 machine and it works like a charm, so it is for sure a firewall thing.
thanks for  your offer,
If I can't resolve it I might take you up for it.
 Gonna write down the things I have done tommorow, and post them
In the mean time I hope you can help Carl.
For Carl, if you like I send you my Posky aircraft file, it works here.
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 20 Feb 2017 22:14
The next 2 days they gonna upgrade the internet connection in my street to glassfiber, possible for 2 days no internet , tv, and phone.
Back to the Flinstones.
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 20 Feb 2017 22:45
Well Chasps-

Some GOOD NEWS.... 15 minutes with the Master and I was good to go.... turns out the latest version of PSX.NET P3D ExternalSim needs the latest Simconnect version (contained in P3D v3.4) and I had rolled back to v3.3 for some VAS testing with another airframe.... as usual an 1D1_OT error.

Mark sorted it in no time... and allest gut once more..... I haven't flown the increased smoooooooothness of v2.1 so I am very much looking forward to the next PSX session.....

THANKS MARK- YOU'RE A STAR!

C

PS- For others with issues (Vo double check your P3D version)-
      Mark's Firewall Program does the trick
      Use P3D v 3.4x

PPS- Mark is aware of the time stamp issue (requiring 2 starts)
        Also, for some reason, the RA/TA selection does not squawk MODE C anymore (I did update vPilot today)

Title: Re: PSX.NET P3D ExternalSim
Post by: Hessel Oosten on Mon, 20 Feb 2017 22:46
One -one- PC all is functioning great here.
Very happy.

Thanks Mark !

Hessel
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Thu, 2 Mar 2017 14:06
PSX.NET.P3D.ExternalSim 2.1.1 now released. See post 1 of this thread for download link.

Change log:
- Fixed bug with incorrect radio frequency in vPilot at the 0.025 and 0.075 intervals
- Fixed bug with some router counts remaining at 0 (this should therefore mean you don't have to restart the router anymore)

Note 1: If you're upgrading from 2.0.0 onwards, the XML files require no change.
Note 2: If you're upgrading from prior to 2.0.0, the XML files need to be replaced.
Title: Re: PSX.NET P3D ExternalSim
Post by: Frans Spruit on Thu, 2 Mar 2017 15:18
Hi Marc,

Works in one go!
Thank you very much,

Regards

Frans
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Thu, 2 Mar 2017 22:48
Ta Mark- A flawless update!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Thu, 2 Mar 2017 23:15
Thanks for all your work Mark, the updates is working perfect!

John
Title: Re: PSX.NET P3D ExternalSim
Post by: Felix. on Fri, 3 Mar 2017 22:44
Works great but I seem to get a drastic drop in FPS when switching from the default 747 to Gary's PSX model set up as external sim. Im running on an i7 with a gtx1080 and usually find the sim runs at 40-60fps with my current settings using lets say the A2A Cherokee; when i load up Gary's PSX model the fps drop to between 20-30. Any ideas?

Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Fri, 3 Mar 2017 22:59
Do you still get the FPS drop if you use Gary's 747 whilst *not* in ExternalSim mode? If so, it sounds like a normal quirk of a complex visual model... not really ExternalSim related. If you do find a 747 model with a better FPS... I'd be interested to hear about it so I can test it with ExternalSim.
Title: Re: PSX.NET P3D ExternalSim
Post by: Felix. on Fri, 3 Mar 2017 23:31
I'll report back.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 4 Mar 2017 00:53
PSX.NET.P3D.ExternalSim 2.2.0 now released. See post 1 of this thread for download link.

Change log:
- vPilot Mode S and Ident now operable from PSX
(Mode S trigger = ALT RPTG ON and transponder switch not on STBY.)
(Ident trigger = IDNT button. 20 second timeout exists before IDNT can be pressed again.)
- Engine states now set in P3D
(Engine is ‘on’ when fuel flow > 300 kg/h)

Note 1: If you're upgrading from 2.0.0 onwards, the XML files require no change.
Note 2: If you're upgrading from prior to 2.0.0, the XML files need to be replaced.
Title: Re: PSX.NET P3D ExternalSim
Post by: Felix. on Sat, 4 Mar 2017 01:44
I am definitely seeing a drop in fps using externalsim. I may have got something set up incorrectly.

Same situation and exact replica aircraft see a drop in 15-18 fps. I have tried identical posky models one with and one without the modification:

Posky non modified: 61fps

exact same model but with externalsim: 44fps

I kept everything else the same included the view angles etc.

Strange?

F


**This was on the ground. My frames fluctuate somewhat when airbourne but they aren't as good as i would have expected considering i'm not rendering a VC or the like. I don't have this problem in complex integrated a/c like the pmdg for reference. In fact i get similar frames in the PMDG 777.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 4 Mar 2017 08:56
That's good to know Felix, thank you for doing the tests - I'll see what I can do to improve this.

Edit: By the way, it's my observation that frame rates in P3D tend to be limited by CPU for reasonable levels of GPU settings as you'll see that 1 CPU core's worth of processor is usually maxed out (but Task Manager may show this spread over multiple cores).
Title: Re: PSX.NET P3D ExternalSim
Post by: Felix. on Sat, 4 Mar 2017 15:21
Glad to be of some help.
For what it's worth: I'm finding that whichever model I use as soon as I configure it as an externalsim some of the light positions get mixed up: tail, logo light and beacon to be exact. They seem to move quite far aft once I enable a model with the mod; even if before hand they were all correctly positioned. Maybe something to do with the lighting model?

F
Title: Re: PSX.NET P3D ExternalSim
Post by: Hardy Heinlin on Sat, 4 Mar 2017 15:26
I have no idea, but might this be related to the fact that the PSX position data output for external scenery generators refers to the pilot's eye position, not to the aircraft center?
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 6 Mar 2017 14:17
Hi,
I still struggle to get it to work on a network.
On one pc it works flawless, over a network no deal.

All public and user files are shared and can be seen and altered from the other pc.
On both machines.
PSX and P3D folders also shared
PSX.NET.P3D  Externalsim map shared
Externalsim .xml code
192.168.0.152 is the ip address from the PSX router pc
[sxml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <SettingsVersion>1</SettingsVersion>
  <RouterSubAddress>tcp://192.168.0.152:10760</RouterSubAddress>
  <FeedbackPubAddress>tcp://localhost:10761</FeedbackPubAddress>
  <DebugPubBind />
  <DebugLogToFile>false</DebugLogToFile>
</Settings>
][/s]

ExternalSimRouter xml
192.168.0.151 is the P3D ip address

xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <SettingsVersion>1</SettingsVersion>
  <PsxBoostIP>127.0.0.1</PsxBoostIP>
  <PsxServerIP>127.0.0.1</PsxServerIP>
  <PsxServerPort>10747</PsxServerPort>
  <RouterPubBind>tcp://127.0.0.1:10760</RouterPubBind>
  <FeedbackSubBind>tcp://192.168.0.151:10761</FeedbackSubBind>
  <TimeSync>true</TimeSync>
  <MinWeightModelOffsetM>4.4</MinWeightModelOffsetM>
  <PrimaryP3DMachineName />
</Settings>


Used the firewall tool as described here.
Run MMC  and set to enable /allow/allow
Installed the simconnect.msi that comes with P3D , on both servercand client pc
Still no luck, what am I doing wrong?
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Mon, 6 Mar 2017 14:36
Hi Ivo,

I'm think this line also needs to be the IP address, instead of localhost.

 <FeedbackPubAddress>tcp://localhost:10761</FeedbackPubAddress>

John
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 6 Mar 2017 15:50
Hi John,
Thanks, but it makes no difference , still no luck.
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 6 Mar 2017 16:22
Gosh Ivo... your XML settings are so far off the defaults no wonder it doesn't work!

Try:

PSX.NET.P3D.ExternalSim.xml
Code: [Select]
<?xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <SettingsVersion>1</SettingsVersion>
  <RouterSubAddress>tcp://192.168.0.152:10760</RouterSubAddress>
  <FeedbackPubAddress>tcp://192.168.0.152:10761</FeedbackPubAddress>
  <DebugPubBind />
  <DebugLogToFile>false</DebugLogToFile>
</Settings>

PSX.NET.P3D.ExternalSim.Router.xml
Code: [Select]
<?xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <SettingsVersion>1</SettingsVersion>
  <PsxBoostIP>127.0.0.1</PsxBoostIP>
  <PsxServerIP>127.0.0.1</PsxServerIP>
  <PsxServerPort>10747</PsxServerPort>
  <RouterPubBind>tcp://*:10760</RouterPubBind>
  <FeedbackSubBind>tcp://*:10761</FeedbackSubBind>
  <TimeSync>true</TimeSync>
  <MinWeightModelOffsetM>4.4</MinWeightModelOffsetM>
  <PrimaryP3DMachineName />
</Settings>
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 6 Mar 2017 17:23
Hi Mark,
Ashamed, embarrassed, so sorry to take up your precious time.
It works like a charme now.
Strange, because I had version 1.8.0 working, on the same network,  realy messed up the xml files  here!

But again thank you verry much for your effort and help!
Much apreciated !
Ivo
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 6 Mar 2017 17:55
That is most excellent news, enjoy!
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sun, 12 Mar 2017 11:34
PSX.NET.P3D.ExternalSim 2.3.0 now released. See post 1 of this thread for download link.

Change log:
- FPS improvement
- XML setting files can now be placed next to the relevant binary file
Behaviour: If settings file can’t be found in Public Documents, it will now search in the folder containing the binary.
(Applicable to both PSX.NET.P3D.ExternalSim.dll and PSX.NET.P3D.ExternalSim.Router.exe)

As you can see from the change log this release contains no new features, only improving the existing code. The FPS improvement should be decent for everyone who is on 2.1.0 - 2.2.0.
(In my test case, an improvement from 110 to 170 FPS was observed. For those of you with scenery and addons installed, you'll obviously be running a much lower FPS, so the improvement should be more noticeable than it is for me!)

Note 1: If you're upgrading from 2.0.0 onwards, the XML files require no change.
Note 2: If you're upgrading from prior to 2.0.0, the XML files need to be replaced.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sun, 12 Mar 2017 16:43
Mark-

Vlying now from RPLL-RCTP.... cannot express enough gratitude for your continuing work....ta!  As far as performance, it was great before- and great now.  Unlike most, I have stopped looking for FPS, locked at 20FPS and ELIMINATED LONG FRAMES- smooth as silk...

C

PS- will comment on performance after, but connection was flawless.
Taxi and Landing Lights work correctly, whilst (wing) strobes are ALWAYS on (with the tail white showing still way behind the a/c when the switch is actuated).
Logo does not work.

Performance is superb- even 90 turns on the ground (the hardest to render IMHO) are great. Ta!

PPS- For those of us not using projectors, is there a way to feather the light beam differently (landing lights) so they dissipate without the clear delineation?
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Sun, 12 Mar 2017 18:33
Hi Mark,

I am running PSX and P3D on an iMac and my frames went from 50 to 70 with 2.3.0. As always thanks so much!

John
Title: Re: PSX.NET P3D ExternalSim
Post by: Derek Adam on Tue, 14 Mar 2017 21:10
Greetings Mark,

Trying very hard to get your program working but getting no feedback from P3D.

First quick question     your instructions say:-

Move the ExternalSim configuration file to Public Documents: File PSX.NET.P3D.ExternalSim.xml Location C:\Users\Public\Documents


My computer says C:\Users\Public\Public Documents.

Is this the correct file?

Cheers
Derek
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Tue, 14 Mar 2017 22:02
Derek

Yes, that's where my 2 files live.  All works well.

HTH- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Derek Adam on Wed, 15 Mar 2017 03:27
Thank you     what are the  TWO  files?
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Wed, 15 Mar 2017 10:01
Derek-  I hope this is more clear, sorry mate! 
(Keep in mind my PSX Server, P3D and ExternalSim are all on ONE PC) Forgive the MAC OS illustration (I work on a Mac, but FLY (mostly) on a PC network).

(http://i.imgur.com/XjfwQhV.jpg)

The remaining two files (the PDF and the Router.exe) can be placed on the C: drive in a folder of your naming (mine is ExternalSim)

Just don't forget to edit the aircraft.cfg in the SAME folder you put the .DLL

Once it all works it is NIRVANA... getting it to work is WORTH the effort (I have needed lot's of help from kind souls here (including Mark himself), but then I've never been bright.  Mark has really created something WONDERFUL!
I love Charles' "wonderful "British PSX Task Force" phrase- Gary's sim (just like Matt's has done with VisualPSX etc.) has benefitted us all here in so many amazing ways.  We are indeed fortunate!

Let us know how you get on....

Carl
Title: Re: PSX.NET P3D ExternalSim
Post by: Derek Adam on Wed, 15 Mar 2017 21:51
Hi Carl   Thank you for your response.  However I am using W7 on both the P3D and PSX computers.

My users directory is C:\Users\Public\Public Documents               (not documents)

I am still not getting feedback  from P3D but it is certainly filling in my days trying to solve my mistake which is stopping me from getting it to work.!

Mark Thank you for the file that sorts out Windows Firewall.

Cheers

Derek
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Wed, 15 Mar 2017 22:34
Derek-

The folder for those two files is indeed C:\Users\Public\Public Documents.

Are you using the LATEST version of P3D?  That version of Simconnect is needed for ExternalSim 2.x and was what prevented me from making the connection.  Updating to the latest Client fixed it for me....

HTH- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Derek Adam on Thu, 16 Mar 2017 20:00
Carl,

           Downloaded the latest P3D with no joy.  You say there should be two files in C:\users\Public\Public Documents.  One is PSX.Net.P3D.Externalsim.xml.
           

What is the second?

Also where should simconnect.xml reside?

Thanks

Derek
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Thu, 16 Mar 2017 22:22
Carl,

           Downloaded the latest P3D with no joy.  You say there should be two files in C:\users\Public\Public Documents.  One is PSX.Net.P3D.Externalsim.xml.
           

What is the second?

Also where should simconnect.xml reside?

Thanks

Derek


Hi Derek,

sorry to hear you are having problems, please try the following steps

you can re-install simconnect from the folder

Prepar3D\redist\interface\fsx-sp2-xpack\retail\lib

just double-click SimConnect.msi

simconnect.xml is in the folder

C:\Users\Username\AppData\Roaming\Lockheed Martin\Prepar3D v3\SimConnect.xml


this is how I have it setup when using 2 computers

try this,,

download the latest version of PSX.NET.P3D.ExternalSim to your PSX computer

as P3D doesn’t come with a 747
download one provided by Gary Oliver at
https://www.dropbox.com/s/dr0ubmcb2qvs8z6/PSX_747.zip?dl=0

place the PSX_747 in your P3D\SimObjects\Airplanes folder

move the file PSX.NET.P3D.ExternalSim.dll
to your P3D computer
C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\SimObjects\Airplanes\PSX_747\
replacing the existing   PSX.NET.P3D.ExternalSim.dll

open the aircraft.cfg file with notepad and add the following lines under ‘title=‘

ExternalSimID = {3E6B47E7-C706-4A10-BC88-6E7C199ED5A6}
ExternalSimData = 0
ExternalSimModule = PSX.NET.P3D.ExternalSim.dll

further down change the line

Category=airplane
to
Category=externalsim

move the file PSX.NET.P3D.ExternalSim.xml 
to your P3D computer
C:\Users\Public\Public Documents\

open the file with notepad and edit the IP address to your PSX computer IP address

move the file PSX.NET.P3D.ExternalSim.Router.xml 
to your PSX computer
C:\Users\Public\Public  Documents\

Edit, if you are just using 1 computer the file  PSX.NET.P3D.ExternalSim.Router.xml goes in
C:\Users\Public\Public Documents\  that is why you would have 2 files in that folder

open the file with notepad and edit the IP address to your PSX computer IP address

start PSX, load a situation file of your choice, enable network Boost server on the Instructor page, Network

start P3D switch to the PSX_747

double click on PSX.NET.P3D.ExternalSim.Router.exe


John
Title: Re: PSX.NET P3D ExternalSim
Post by: Derek Adam on Fri, 17 Mar 2017 20:55
Thank You for your suggestions Carl and John,

Quote
you can re-install simconnect from the folder

Prepar3D\redist\interface\fsx-sp2-xpack\retail\lib

just double-click SimConnect.msi

simconnect.xml is in the folder

C:\Users\Username\AppData\Roaming\Lockheed Martin\Prepar3D v3\SimConnect.xml
Quote


Since doing the above P3D on startup says  "can't initiate sim connect error" and then loads normally.

I have tried to follow your very fine instructions John both by letter and word (I think) but no joy.

Externalsim loads and I get increasing numbers from PSX but no feedback from P3D.

Will plug along tomorrow but today is a lovely day for golf so will get rid of my frustrations on a golf ball! 

I will keep in touch

Cheers

Derek
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sat, 18 Mar 2017 11:42
Derek-

Unfortunately, I'm my case, my golf game is just a good walk spoiled ;)

That was EXACTLY my problem....

"Since doing the above P3D on startup says  "can't initiate sim connect error" and then loads normally.

I have tried to follow your very fine instructions John both by letter and word (I think) but no joy.

Externalsim loads and I get increasing numbers from PSX but no feedback from P3D."

Are you SURE you are using the latest P3D version??

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Derek Adam on Sun, 19 Mar 2017 00:57
Hi Carl,
           I re downloaded P3D and re installed .

My Prepar3D  version is 3.4.9.18400 and simconnect version 3.4.0.0.

I have solved the "can't initiate sim connect error"by "fiddling"!

Still no joy.

Cheers

Derek
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Sun, 19 Mar 2017 12:19
I would try and re-run the firewall app that Mark provided (page 15), make sure you run it on both computer.

John
Title: Re: PSX.NET P3D ExternalSim
Post by: Derek Adam on Sun, 19 Mar 2017 19:50
Hi    Yes always run the firewall app on both computers, so back to the drawing board.

Cheers

Derek
Title: Re: PSX.NET P3D ExternalSim
Post by: Tigh on Mon, 20 Mar 2017 09:35
There are many SimConnect versions. I would recommend downloading the P3D SDK and installing all the relevant versions in there on both machines.

I have:-

(https://www.dropbox.com/s/6ylutuug8y92lu7/SimConnect%20Versions.JPG?raw=1)
Title: Re: PSX.NET P3D ExternalSim
Post by: Derek Adam on Wed, 22 Mar 2017 21:33
Hi Tigh

    Thank you for your advice  (also others)   I am still struggling to get things working and now have the warning again in P3D  that "simconnect.xml failed to init"    Would somebody be kind enough to copy and paste their working simconnect xml for P3D into a reply and I can get rid of that problem first.

Thank you

Derek
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Thu, 23 Mar 2017 15:34
I believe you are using PSXseeconTraffic, if you go to that folder you will find an example of a simconnect.xml file you can use, you may need to edit the IP address.
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Thu, 23 Mar 2017 22:38
Hi Mark,

I've just finished a very pleasant short trip using PSX.NET P3D ExternalSim with my 3-screen projector setup, which I haven't used for a while being busy with other things - your recent updates have made things beautifully smooth, including turns on the ground, and impressive frame rates..
Just to say thanks once again for such a marvellous add-on to PSX!

Peter.
Title: Re: PSX.NET P3D ExternalSim
Post by: Greg Hateley on Sun, 26 Mar 2017 10:39
Hi Mark,
Thank you for PSX.NET P3D ExternalSim.
I have been using 1.8 for quite a while (love it) and am in the process of upgrading to 2.3.0
Just a tip others upgrading is to reboot your computers after making changes to the xml flies and changing the dll files. I found that p3d did not like a version change being changed on the fly without a reboot.

On a 3 projector system, can you explain the xml settings for the side views, as i guess these are not primary and do not have a feedback IP set. Should it be *? I have tried * and an getting P3D crash with error NetMQ.netMQexception was thrown. I noticed I was also getting this error on the other computers when the xml setting were not set correctly.

Best Regards
Greg
Title: Re: PSX.NET P3D ExternalSim
Post by: Ivo de Colfmaker on Mon, 27 Mar 2017 21:03
Hi, 
A little clip to see how smooth it runs now, thanks to Mark, what a joy!
http://www.youtube.com/watch?v=pv6XhT16sVA
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 27 Mar 2017 21:09
On a 3 projector system, can you explain the xml settings for the side views, as i guess these are not primary and do not have a feedback IP set. Should it be *? I have tried * and an getting P3D crash with error NetMQ.netMQexception was thrown. I noticed I was also getting this error on the other computers when the xml setting were not set correctly.

All 3 instances should have an identical XML file, no need for '*' or empty settings.
(The default XML file in the zip, with the IP addresses changed, is fine.)
The router now receives feedback data from all instances. It'll automatically pick one as the primary instance (they should all report the same ground elevation anyway). There is the option in the router XML to force which one is primary but I've not found this to be necessary.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 27 Mar 2017 21:15
A little clip to see how smooth it runs now, thanks to Mark, what a joy!
http://www.youtube.com/watch?v=pv6XhT16sVA

Great video! I like your 2 large screens, and the (presumably) touchscreen between the 2 seats.
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Tue, 28 Mar 2017 11:00
Hi, in v 2.1.0 the parking brake synced in P3D. But v 2.30 it now does not. The parking brake model is counting up.
Title: Re: PSX.NET P3D ExternalSim
Post by: Derek Adam on Sat, 1 Apr 2017 23:52
Hi All,
        After three weeks of trying to get P3D and PSX to communicate  and after trying all the suggestions made to me
and nearly stuffing my computer completely, I have finally and reluctantly decided to revert to visual PSX.

I am absolutely convinced that the problem has been created by me and not as a result of the program which many happy simmers have installed correctly.

Thank you all for all your suggestion over the past 3 weeks, it has been very much appreciated.

Cheers

Derek
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sun, 2 Apr 2017 03:41
Derek-

Perhaps once normalized, and after a few weeks go by, try again. The performance difference is tangible... I went back during my angst, and wouldn't want to again....if you like... bin all your files and I will send you copies of what works at my end.....

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Sun, 2 Apr 2017 22:08
Updated from ExternalSim 1.8 to 2.3 in my sim this afternoon with no issues at all. Thanks again, Mark!
Title: Re: PSX.NET P3D ExternalSim
Post by: Derek Adam on Mon, 3 Apr 2017 02:11
Thank you for your kind offer C.  I think at the moment I will stick with what I know and works for me.

Cheers


Derek
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Tue, 9 May 2017 16:31
Hi Mark,
I was idly wondering if there I might be a fix for the continuous reloading on P3D when AI traffic is selected on?
Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Wed, 24 May 2017 11:32
Mark-

Hope all is well at your end? Have you made any refinements re. traffic and external light controls?  There are absolutely no complaints, just optimism about something good, getting better :).

As ever, I remain obliged.

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Wed, 24 May 2017 19:33
Mark,

P3D ver 4 is coming out on the 30th May. Any thoughts ?
Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Thu, 25 May 2017 11:02
Providing Lockheed Martin haven't retired the external sim functionality, and rumours are they haven't, it should just be a case of recompiliing the DLL and testing it in V4.

Fingers crossed

Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Thu, 25 May 2017 18:21
Gary-

Feel free to throw Mark into the cargo hold until he finishes compiling the thing for 64bit, I'll make room for him even if it means lending him a few blankets to overcome the lack of aft cargo heat! :-D
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Wed, 31 May 2017 21:37
I'm currently in the middle of the countryside with dial-up internet speeds... v4 compatibility TBD next week!
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Wed, 31 May 2017 23:38
Thanks Mark!
Peter.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Thu, 1 Jun 2017 02:09
Yay!!

Ta mate- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Thu, 1 Jun 2017 17:18
Thank you, Mark!
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Thu, 1 Jun 2017 19:39
Mark said "TBD" of course - not "TBA".....
I'm sure that being the genius he is, there won't be a problem!
Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Thu, 1 Jun 2017 20:49
Peter-

Surely gratitude can't be premature...?

 ;)

C
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Thu, 1 Jun 2017 20:58
I really appreciate all the positive support! I'll be returning back to civilisation tomorrow, I'm looking forwards to getting my hands on v4.

I've been reading through the developer documentation for v4... some very interesting possibilities, mostly behind the scenes improvements that I'll be looking into.

For any developers following this thread, check out this large change log for v4!
http://www.prepar3d.com/SDKv4/prepar3d/what_is_new/new_v40.html
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sun, 4 Jun 2017 22:51
Update:

I've got ExternalSim working in P3D v4 however it seems that a recent version of PSX has caused an issue with incorrect elevation (i.e. always 0) so I'm going to resolve this first.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sun, 4 Jun 2017 23:44
For those who like a bit of adventure to try the 64 bit version in P3D V4:

PSX.NET.P3D.ExternalSim 2.3.1 (https://github.com/macaba/PSX.NET-Binaries/raw/master/PSX.NET.P3D.ExternalSim/PSX.NET.P3D.ExternalSim%202.3.1.zip)

Install as usual but then go into Aircraft.cfg, locate this line:

Code: [Select]
ExternalSimModule = PSX.NET.P3D.ExternalSim.dll
change it to:

Code: [Select]
ExternalSimModule = PSX.NET.P3D.ExternalSim.x64.dll
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 5 Jun 2017 01:50
Mark-

Downloading now... TA MATE!

Just installed and it correctly positioned my a/c!  Just going for a couple of circuits and bumps at TNCM to check things out. 

I am only just starting to install all the bits and bobs that make up my world wide visuals and so I am hoping to keep v3 running for a bit longer..... While each sim version a/c .cfg file will be different, will this version of ExternalSim work with BOTH platforms (v3 & v4) or do we need to maintain 2 folders (one x32 and one x64)?

Thanks again- C

PS- Works a treat!  I shall have to work OT moving fully to v4 now!
Title: Re: PSX.NET P3D ExternalSim
Post by: evaamo on Mon, 5 Jun 2017 06:11
Mark, thanks so much! Great work!  The fluidity of ExternalSim in P3Dv4 is amazing.

Thank you!
cheers
-E

Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 5 Jun 2017 09:26
While each sim version a/c .cfg file will be different, will this version of ExternalSim work with BOTH platforms (v3 & v4) or do we need to maintain 2 folders (one x32 and one x64)?

The 2.3.1 package works with v3.4 and v4.0 - just change the line in the aircraft.cfg for v4.0. Forget the idea of maintaining any kind of x32/x64 folders, it simply isn't required.

(Lower than v3.4 is unsupported by myself for the sake of my sanity. It may work on v3.3 but certainly not any versions significantly lower than this.)

For anyone who is on a very low version of P3D - V4.0 will install side-by-side with V3.x, so this might be a good chance for you to update to V4.0 but still keep your V3.x install whilst you're getting everything working in V4.0.
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Mon, 5 Jun 2017 10:49
 That's brilliant!
Thanks Mark!
Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: SIMU-3G7 on Mon, 5 Jun 2017 16:32
Thanks Mark!
PSX.NET P3D ExternalSim for P3DV4 is working like a charm here. Like the Good wine you are getting better and better.
Keep the good work ahead and many thanks for our community.

Cheers....

Gilles-Gabriel :D
Title: Re: PSX.NET P3D ExternalSim
Post by: joergalv on Mon, 5 Jun 2017 18:22
+1 very happy User. Much smoother than with P3Dv3.
Thank you Mark!!

Joerg
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Mon, 5 Jun 2017 18:39
Phooey to all of the "much smoother!" commenters! Now I'm going to have to dive into this in the sim! :(
Title: Re: PSX.NET P3D ExternalSim
Post by: jb747 on Mon, 5 Jun 2017 19:00
Me too.  Let's see... $800 for 4 copies of P3DV4, upgrade to GTX1080 cards... $1200, upgrade memory to 16 GB.. the least expensive part.  Probably next month..
Title: Re: PSX.NET P3D ExternalSim
Post by: asboyd on Mon, 5 Jun 2017 21:50
I am actually getting great frame rates with a 770 4Gb card on P3Dv4 with Orbx and most sliders to the right...Of course I do have SSD's and 64Gb of Ram on my 8 core AMD 3+ CPU..... :)
Cheers,
AB
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Tue, 6 Jun 2017 00:16
I overbuilt my three visual PCs in anticipation of ultimately running a 64bit image platform. Each has a quad core i7 4790K, 32gb of RAM, and a 12GB Titan X. I'm really looking forward to seeing how much of that extra RAM P3Dv4 is able to take advantage of, and how much extra smoothness/lack of pauses/extra eye candy it will afford.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Tue, 6 Jun 2017 00:25
Mark-

Very pleased with performance. Is there any work afoot re syncing the logo lights and strobes? Perfectly useable now, but it's nice to have your cake and eat it too ;).

Again, I remain obliged.

C
Title: Re: PSX.NET P3D ExternalSim
Post by: asboyd on Tue, 6 Jun 2017 02:03
Chris, from what I have seen in test systems you should have waited for the 1080 11Gb card as it processes quicker than the titan x, also gives very smooth 4k results at higher fps. I borrowed my son's card and have now told him what I want for my 60th in August :) :)...

Cheers,
AB
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 6 Jun 2017 10:11
Is there any work afoot re syncing the logo lights and strobes?

Please could you link me to your post explaining the issue? (or provide a concise summary of the issue?)

Edit:
Found this -
Quote
Taxi and Landing Lights work correctly, whilst (wing) strobes are ALWAYS on (with the tail white showing still way behind the a/c when the switch is actuated).
Logo does not work.

Is that still an accurate description?
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Tue, 6 Jun 2017 11:35
Mark-

Affirm, on my install that is the current status. Flight control positions, including flaps work splendidly.

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: JP744 on Mon, 12 Jun 2017 15:59
Hello,

First of all congratulations to Mark for this amazing add-on ! The smoothness is great and the program rock stable. A great addition for our PSX experience. Thank you !

I hope my question isn't too "off-topic" but I have some troubles with the Opensky 747-400 v4 used with P3D v.3.4. With or without PSX.NET P3D ExtrenalSim connected, the landing lights do not illuminate ground (checkbox selected in P3D settings). I also have the exterior lights (nav, bcn, strobe,...) at the wrong place when I look the aircraft from outside view. I remember in FSX everything was ok with the same aircraft.

My question is : do you have the same issues and solutions ?

Cheers
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 12 Jun 2017 16:14
JP-

Yes, I can confirm light issues.... your recollections about FSX are with VisualPSX.... please see a question in the other thread (PSX Aloft II).

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: JP744 on Fri, 16 Jun 2017 14:40
Hello,

I found the solution for the Posky 747-400 v4 landing and taxi lights not illuminating ground in P3D v3. You need to update the model files to FSX version. Go to the link below and download FSX update. Then copy model and panel folders to your 747's and overwrite existing files.

http://www.poskyarchive.com/boeing/b747-400/b747-400-model-packages/ (http://www.poskyarchive.com/boeing/b747-400/b747-400-model-packages/)

Unfortunately there is still a lights (beacon, nav, landing,...) positions issue using PSX.NET.P3D.ExternalSim. Without add-on connected the lights are in good position. When the aircraft is loaded with add-on connected, they're not. Mark, do you know about this issue ? For now, the only solution I found is to edit the [Lights] section of the Aircraft.cfg file and modify lights positions. Here is a copy of my modified section :

Code: [Select]
[LIGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing 6=taxi, 7=recognition, 8=wing, 9=logo                   
light.0 = 1,  61.800, 0.450, 19.100,  Opensky_beacon , // BEACON UPR
light.1 = 1,  25.000, 0.600, -7.080,  Opensky_beacon , // BEACON LWR
light.2 = 3, -122.700,   -0.250,   11.800, fx_navwhi , // TAIL CONE LEFT NAV LT
light.3 = 3, -122.700,    0.250,   11.800, fx_navwhi , // TAIL CONE RIGHT NAV LT
light.4 = 2, -122.000,    0.000,   10.900, fx_strobeh , // TAIL CONE STROBE LT
//light.5 = 3,  -13.850,    0.000,   14.850, fx_vclighth ,
light.6 = 9, -125.500,   -4.500,   43.750, Opensky_wing_light , // LOGO LT LEFT
light.7 = 9, -125.500,    4.500,   43.750, Opensky_wing_light , // LOGO LT RIGHT
//light.8= 9,  -79.700,  -29.200,   -2.000, Opensky_nacelle_refl ,
//light.9= 9,  -79.700,   29.200,   -2.000, Opensky_nacelle_refl ,
light.10= 5,  27.700,  -18.000,    -0.700, Opensky_nacelle_refl , // LDG LT INBD LEFT
light.11= 5,  27.700,   18.000,    -0.700, Opensky_nacelle_refl , // LDG LT INBD RIGHT
light.12= 5,  26.000,  -19.850,    -0.600, Opensky_nacelle_refl , // LDG LT OUTBD LEFT
light.13= 5,  26.000,   19.850,    -0.600, Opensky_nacelle_refl , // LDG LT OUTBD RIGHT
//light.14= 5,  75.333,    0.000,   -2.000, Opensky_nacelle_refl ,
//light.15= 3,  -18.300,   -6.500,    6.000, Opensky_nacelle_refl ,
//light.16= 3,  -52.610,   -4.500,    6.000, Opensky_nacelle_refl ,
//light.17= 3, -144.510,    0.000,   -3.000, Opensky_wing_light ,

For the strobe wing tips lights alighting at the same time with the nav lights, it is an Opensky issue due to the flexing wings xml it is impossible (for me) to resolve for now.

Cheers
Title: Re: PSX.NET P3D ExternalSim
Post by: Steve - Browny on Tue, 27 Jun 2017 05:59
Hi Mark,

I have P3Dv4 installed and attempting to connect ExternalSim to it. I have PSX (Server + Boost), ExternalSim and P3D on the same computer. I have the firewall and antivirus software switched off.

I have followed all the instructions but I'm not getting a connection to P3D. ExternalSim is connecting to PSX correctly as all the PSX related numbers are increasing except PSX elevation updates.
I am persitently getting "No Clients" for the connection to P3D and P3D is not relocating or moving at all. Any ideas?
Title: Re: PSX.NET P3D ExternalSim
Post by: Markus Vitzethum on Fri, 30 Jun 2017 15:53
> I am persitently getting "No Clients" for the connection to P3D and P3D
> is not relocating or moving at all. Any ideas?

as long as it says "no clients" there is no connection and P3D won't move.

My error yesterdays was ... I loaded the wrong 747 paint (had externalsim only added to [flightsim.0], that is, to one paint job). Are you loading the correct airplane in P3D?

Is your externalsim entry in aircraft.cfg correct? Since you had P3D v4, do you have the x64.dll part (that is, the actual file name) written in aircraft.cfg (and not copy/pasted from the PDF document).

Just to name a few ideas.


Anyway, I flew Externalsim for the first time yesterday and it worked remarkably well - excellent work, Mark. I just need to adjust my eye point / camera position for the external sim aircraft (I'm using the default FSX 747-400 copied over to P3D).

Just one question from my side at the moment ... does Externalsim inject (e.g. VATSIM) AI traffic into PSX already? I noticed that the comm frequencies are exchanged, but it had TCAS traffic in PSX which was not coming from P3D (empty sky).

Markus
Title: Re: PSX.NET P3D ExternalSim
Post by: SIMU-3G7 on Sat, 1 Jul 2017 16:35
Hello Jean-philippe

Just try the light setup, it's working fine for me with PSX.Net P3D on P3Dv4

[LIGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing 6=taxi, 7=recognition, 8=wing, 9=logo                   
light.0 = 1,   61.500,    0.600,   19.100, Opensky_beacon ,
light.1 = 1,   13.500,    0.600,   -7.080, Opensky_beacon ,
light.2 = 3, -122.850,    0.383,   11.750, Opensky_nav_yellow ,
light.3 = 3, -122.850,   -0.383,   11.750, Opensky_nav_yellow ,
light.4 = 2, -123.850,    0.000,   11.045, fx_strobeh ,
light.5 = 3,  -13.850,    0.000,   14.850, fx_vclighth ,
light.6 = 9, -208.500,   -4.500,   43.750, Opensky_wing_light , // <-----3 previously
light.7 = 9, -208.500,    4.500,   43.750, Opensky_wing_light , // <-----3 previously
light.8 = 5,  -79.700,  -29.200,   -2.000, Opensky_nacelle_refl ,
light.9 = 5,  -79.700,   29.200,   -2.000, Opensky_nacelle_refl ,
light.10= 5,  -46.500,  -11.700,    0.000, Opensky_nacelle_refl ,
light.11= 5,  -46.500,   11.700,    0.000, Opensky_nacelle_refl ,
light.12= 5,  -40.500,  -13.700,    1.900, Opensky_nacelle_refl ,
light.13= 5,  -40.500,   13.700,    1.900, Opensky_nacelle_refl ,
light.14= 5,  -14.333,    0.000,   -2.000, Opensky_nacelle_refl ,
light.15= 3,  -18.300,   -6.500,    6.000, Opensky_nacelle_refl ,
light.16= 3,  -52.610,   -4.500,    6.000, Opensky_nacelle_refl ,
light.17= 3, -144.510,    0.000,   -3.000, Opensky_wing_light ,


The flight model for Project Opensky must be for FSX ( you can find them on this website : ssp.cyber-ninja.jp/


OSX744V4_CF6-80
OSX744V4_PW4000
OSX744V4_RB211-524G

enjoy  :D

Gilles-Gabriel  :)
Title: Re: PSX.NET P3D ExternalSim
Post by: Steve - Browny on Mon, 3 Jul 2017 03:19
> I am persitently getting "No Clients" for the connection to P3D and P3D
> is not relocating or moving at all. Any ideas?

as long as it says "no clients" there is no connection and P3D won't move.

My error yesterdays was ... I loaded the wrong 747 paint (had externalsim only added to [flightsim.0], that is, to one paint job). Are you loading the correct airplane in P3D?

Is your externalsim entry in aircraft.cfg correct? Since you had P3D v4, do you have the x64.dll part (that is, the actual file name) written in aircraft.cfg (and not copy/pasted from the PDF document).

Just to name a few ideas.


Anyway, I flew Externalsim for the first time yesterday and it worked remarkably well - excellent work, Mark. I just need to adjust my eye point / camera position for the external sim aircraft (I'm using the default FSX 747-400 copied over to P3D).

Just one question from my side at the moment ... does Externalsim inject (e.g. VATSIM) AI traffic into PSX already? I noticed that the comm frequencies are exchanged, but it had TCAS traffic in PSX which was not coming from P3D (empty sky).

Markus

Hi Markus,

Thanks for your reply.
I copied a 747 model and changed the title to externalsim 747 with just 1 paint job etc so I specifically wouldn't be dealt the wrong paint job card.Yes, I've got x64 in the file and tried doing it with my original 747 model/paint as well. and adding it to all paints. Are you able to zip up your aircraft's folder (cfg, paints etc) and send it to me? I can try it out and if it works use it as a reference?
Title: Re: PSX.NET P3D ExternalSim
Post by: Steve - Browny on Tue, 18 Jul 2017 03:24
Hi,

Can someone explain to me what I'm doing wrong?
I've attached an image of all the files to edit and the file locations.
The externalsim router is on the P3D machine with the PSX machine being on the network.

External sim connects to PSX fine but not P3D... I've checked that I've loaded the correct aircraft but can someone see a mistake? I've gone very carefully through the instructions but still can't see the issue. Tested with and without the firewall turned on as well.

(http://www.worldflight.com.au/hq/images/external sim.jpg)
Title: Re: PSX.NET P3D ExternalSim
Post by: JP744 on Tue, 18 Jul 2017 07:42

Just one question from my side at the moment ... does Externalsim inject (e.g. VATSIM) AI traffic into PSX already? I noticed that the comm frequencies are exchanged, but it had TCAS traffic in PSX which was not coming from P3D (empty sky).


Hi Markus,

For your information the next release of PSXTools will include a TCAS module and will do the task you request.

Cheers,
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 18 Jul 2017 08:40
Can someone explain to me what I'm doing wrong?

Hi Steve, please contact me. (There is an email icon under my username)
Title: Re: PSX.NET P3D ExternalSim
Post by: Steve - Browny on Wed, 19 Jul 2017 22:55
Can someone explain to me what I'm doing wrong?

Hi Steve, please contact me. (There is an email icon under my username)


Hi Mark,


Thanks
Email sent :)
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 22 Jul 2017 11:48
Email sent :)

Thanks for letting me know - sadly all emails from this forum go into my gmail Spam box and all my attempts to whitelist the forum email address have not worked thus far!
Title: Re: PSX.NET P3D ExternalSim
Post by: kwonho on Tue, 8 Aug 2017 04:35
I bought psx a few days ago. However, there was a problem when working with p3d v4 and external sim. When I run router.exe, both psx and p3d are not connected. Psx and p3d are on the same pc. Please describe the connection method in detail. I spent too much time. How do I set up a network in psx? bootserver start in netwotk menu? or server start?
Title: Re: PSX.NET P3D ExternalSim
Post by: Hardy Heinlin on Tue, 8 Aug 2017 11:43
How do I set up a network in psx? bootserver start in netwotk menu? or server start?

The server can be started manually and automatically:


Manual main server start:

Go to Instructor > Network > Main, select "The main server" and click the "Start" button.


Manual boost server start:

Go to Instructor > Network > Boost and click the "Start" button.


Automatic main server start during PSX start-up:

Go to Instructor > Preferences > Basics and select "Start with main server on". *


Automatic boost server start during PSX start-up:

Go to Instructor > Preferences > Basics and select "Start with boost server on". *


* To save these preferences for the next PSX start-up, go to Instructor > Preferences > Save and resave the pref file currently in use (e.g. Default.pref if PSX has been started with AerowinxStart.jar, or your special pref file that you set for this PSX instance when using AerowinxNetStart.jar and AerowinxNetStart.ini).


Regards,

|-|ardy
Title: Re: PSX.NET P3D ExternalSim
Post by: Hardy Heinlin on Thu, 24 Aug 2017 04:18
Hi Mark,

by the way, would you consider your ExternalSim a "post-beta phase" add-on now? I mean, how about putting it on the Add-ons (http://aerowinx.com/html/addons.html) page now? :-)


Cheers,

|-|ardy
Title: Re: PSX.NET P3D ExternalSim
Post by: kwonho on Sat, 2 Sep 2017 16:03
Hi, Mark

I am using externalsim with p3d v4, but when executing p3d, Continue loading every 2 seconds. So it keeps blinking.
Why is this happening? Please let me know how to fix it.
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Sat, 2 Sep 2017 17:59
Setting traffic to 0% on all road and ships should fix it in P3D.
Title: Re: PSX.NET P3D ExternalSim
Post by: Blake Hauswirth on Mon, 4 Sep 2017 04:17
Hi Mark,

Just wondering if there is a plan to fix the AI issue and will weather from PSX transfer to P3D v4 in the future.

I think P3D v4 reloads traffic AI every HH: maybe only send the time change at the hours e.g. HH:00 blocks. Not HH:MM. Over and over every second. The traffic senario then reloads to the next traffic senario over and over. Which I think is the reason why we see reloading over and over with time sych on and AI traffic above 0%.

Cheers,

Blake
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 4 Sep 2017 09:53
I could just do the time sync on a situation load and then monitor the P3D time for drift - if it drifts more than 1 minute; sync.
The worse RTC clock on a PC doesn't normally drift more than 1 minute every 24 hours, with the normal case being much longer.
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Mon, 4 Sep 2017 10:31
if it drifts more than 1 minute; sync.

I would challenge anyone to detect even a 10 minute drift, This may also stop those reloads at the 3 hours mark.

Cheers
G
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 4 Sep 2017 11:09
I would challenge anyone to detect even a 10 minute drift, This may also stop those reloads at the 3 hours mark.

The situation I had in mind for having a tight 1 minute sync is if someone like Peter was diligent enough to make a briefing along the lines of "The sun should rise at this delightful Caribbean airport at 06:38 local".
Title: Re: PSX.NET P3D ExternalSim
Post by: Captain_Crow on Mon, 11 Sep 2017 10:47
I´ll give up, set all as described for P3D v4 but can´t get it runing.
Boost is increasing PSX at 31 increasing
Feedback Model 0
Ground Elevation NaN
PSX Elevation updates 0
Clients: No Clients

Setup on one Computer running PSX and Externalsim.

Have no idea what I was missing.
So. I need a bit help...

Where is the debug file located ? I set it to true...

Thanks

Steffen
Title: Re: PSX.NET P3D ExternalSim
Post by: Toga on Sat, 14 Oct 2017 20:36
Has anyone been able to use a VC with External sim? Everytime I load it up the VC disappears?

Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 14 Oct 2017 22:07
Steffen - Does pressing 'Y' in P3D help? (if not, make sure you press it a 2nd time to exit Slew Mode)
Toga - What's a VC?
Title: Re: PSX.NET P3D ExternalSim
Post by: asboyd on Sat, 14 Oct 2017 22:45
Virtual Cockpit I think !!
He may want one to emulate windows frames on his view...

AlexB
Title: Re: PSX.NET P3D ExternalSim
Post by: Hardy Heinlin on Sun, 15 Oct 2017 01:32
Steffen - Does pressing 'Y' in P3D help?

I'm not an expert on this special topic; here's just a general hint: English programs requiring the Y key on German keyboards sometimes actually request the Z key.


|-|
Title: Re: PSX.NET P3D ExternalSim
Post by: Toga on Sun, 15 Oct 2017 01:52
Sorry, 'VC' - Virtual cockpit. As asboyd suggests.
Title: Re: PSX.NET P3D ExternalSim
Post by: Captain_Crow on Mon, 16 Oct 2017 06:45
Hi Guys,

I forgot to say that everything works now ! Thank to our buddy Markus who helped me out to get it running...

Best
Steffen
Title: Re: PSX.NET P3D ExternalSim
Post by: ScudRunner on Sat, 21 Oct 2017 00:30
Hi Steffen,

I am running P3Dv4 same PC and getting identical symptoms to yourself prior to you solving the problem.

Can you elaborate on what the fix was?

thanks
Scud
Title: Re: PSX.NET P3D ExternalSim
Post by: Captain_Crow on Sat, 21 Oct 2017 08:35
Hi Scud,
the problem was that I did not used the PSX.NET.P3D.ExternalSim.x64.dll to drive P3D v4. I found it in the forum under Accesoires after a hint of a friend.
Unfortunately I can´t remember  where it was. Try to do a search otherwise send your Email I will send it to you...

Hope this helps...

Best
Steffen
Title: Re: PSX.NET P3D ExternalSim
Post by: ScudRunner on Sat, 21 Oct 2017 09:37
thanks Steffen. Makes sense - will try it now.

chrs
Scud.
Title: Re: PSX.NET P3D ExternalSim
Post by: Markus Vitzethum on Sat, 21 Oct 2017 21:49
Hi Scud,

good luck. The x64.dll needed for P3D v4 can be found in Mark's reply #412 in this thread, about two pages back.

My other hint to Steffen was to use "localhost" or "127.0.0.1" as IP address when trying to interface other programs running on the same PC (and not the IP address assigned by e.g. the router).

Markus
Title: Re: PSX.NET P3D ExternalSim
Post by: ScudRunner on Sat, 21 Oct 2017 23:56
Gents,

thanks to all for your help. I've got it working now.  Incorporated the .x64 dll and the system is working just fine.

I'm running a POSKY 744 model in P3Dv4, the only other thing that has me puzzled now is that the animations of flight control movement seem to lag well behind PSX (particularly flap selection) and are quite jerky. 

For example, under FSX/VisualPSX responses to flap retraction/extension was immediate and smooth and matched the indications in PSX as the flaps rolled in/out. Using Externalsim if I extend/retract flaps nothing happens on the P3D model for about 10 seconds and then the movement is in the form of distinct, sudden movements every 5-10 seconds.  This is always the case. 

Not sure if anyone else has encountered this - Externalsim is obviously smooth as glass in terms of interface speeds between the PSX/P3D so not sure if I have to change an aircraft.cfg setting on the POSKY model?

I am running a new, high spec'd machine getting 72 FPS PSX and 60+ FPS in P3D running on same machine so I am confident that it is not a resource problems on the machine causing this, Any ideas/tips appreciated as always.

Best
Scud.
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Sun, 22 Oct 2017 10:09
Hi Scud. I have the same using POSKY, and I am sure Mark is aware.
Peter.
Title: Re: PSX.NET P3D ExternalSim
Post by: ScudRunner on Sun, 22 Oct 2017 10:55
Copied Peter.  Thanks.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sun, 22 Oct 2017 14:23
The flaps are jerky because they match the rate at which PSX generates those variables. VisualPSX applies further smoothing to the flap positions.

I'm focused on getting movement silky smooth (XYZ position and XYZ angular rate) and given that flaps aren't normally visible in a cockpit, the focus on nice-to-haves like this will be in a later version.

Latest news: I'm working on a 2.4.0 version at the moment that will have much smoother visuals during taxi and yaw turns. The beta testers are very happy, I'm just working through 1 last improvement before release.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sun, 22 Oct 2017 15:09

I'm focused on getting movement silky smooth (XYZ position and XYZ angular rate) and given that flaps aren't normally visible in a cockpit, the focus on nice-to-haves like this will be in a later version.

Latest news: I'm working on a 2.4.0 version at the moment that will have much smoother visuals during taxi and yaw turns. The beta testers are very happy, I'm just working through 1 last improvement before release.

Mark-

THAT IS INDEED VERY GOOD NEWS... thank-you for all you do for us.  Your software in INDISPENSABLE for my 744 simulation sessions, and I remain obliged.

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sun, 22 Oct 2017 21:48
PSX.NET.P3D.ExternalSim 2.4.0 now released. See post 1 of this thread for download link.

Change log:
- New yaw velocity algorithm (this makes turning whilst on the ground look much smoother)
- Tweaks to the positional velocity algorithm
- Algorithms are now active during ground handling (pre 2.4.0: it wasn’t active at speeds below 15 m/s)
- MSI installers, installed as P3D plugin
- New configuration application
- AI traffic issue now solved. Time sync is inhibited when Flaps > 0 and TAS > 1.
- Updated advice in installation instructions regarding PSX frame rate limit – it’s no longer required to run at 72, and in some cases, lower values can be advantageous

This is a completely different installation experience so it's worth reading the instructions. You can now turn AI traffic back on as the time sync is occurring much less frequently and is inhibited in some scenarios to prevent a P3D reload during critical flight phases.
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Sun, 22 Oct 2017 22:17
Brilliant! Thanks so much Mark.
Very good news about the traffic..

Peter..
Title: Re: PSX.NET P3D ExternalSim
Post by: Captain_Crow on Mon, 23 Oct 2017 08:00
No succes on my side... installed as described. Aircraft.cfg shows new data. But no Client in the router window occurs. PSX Boost numbers are increasing... deleted PSX.NET.P3d.Externalsim.x64.dll before Installation. No new *.dll in the aircraft folder after installation. With the version 2.3.0 the P3D aircraft stood at E0,W0 at startup, not now anymore. Its on a rwy 19 at KVPS

Seems I need help again...

Best
Steffen
Title: Re: PSX.NET P3D ExternalSim
Post by: ScudRunner on Mon, 23 Oct 2017 11:26
Hi Steffen,

I found that when this error occurred (launching in the middle of the ocean at N0, E0)  it was due to something being incorrect in the aircraft.cfg file.

1) Check that you have the 3 lines added correctly under the title=' (in the [fltsim.0] block)
ExternalSimID = {3E6B47E7-C706-4A10-BC88-6E7C199ED5A6}
ExternalSimData = 0
ExternalSimModule = PSX.NET.P3D.ExternalSim.dll (check you are using the .x64.dll reference however if using P3Dv4)

2) Make sure you have changed any lines in the .cfg file that read  Category=airplane to Category=externalsim. (I recall in my POSKY 744 .cfg file thre were 2 lines like this.)

3) Make sure that you DON'T change any lines in the .cfg file that read Category=aircraft. I did this by mistake initially and it took me a while to work out what I had done wrong.

4) Once you get the connection working check whether P3D seems to reload the scenery every few seconds. I f it does check that your AI object sliders are all `off'.

I hope this is of help.

chrs
Scud.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 23 Oct 2017 11:29
Scud,

Version 2.4.0 changes a lot of things, it's worth reading the instructions. A lot of what you describe is now automated by the Configuration app in 2.4.0.
Your advice is spot on for versions previous to 2.4.0 but is less applicable to 2.4.0.

AI objects can now be used too.
Title: Re: PSX.NET P3D ExternalSim
Post by: Captain_Crow on Mon, 23 Oct 2017 15:40
Hi Mark and Scud,

first of all a big thank to Mark to bring this stuff to us. And thank you Scud to jump in here.
I installed 2.4.0 strictly after the instructions. But did not delete the older files. Configuration asks for changing the old stuff anyway. But as I said, doesn´t work for me. Since I am total confident wit 2.3.0 I deinstalled 2.4.0 and it works as before..Sometimes its a question of time I have for fiddeling around...

Best as ever

Steffen
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 23 Oct 2017 17:13
Mark-

As the local git... first- THANK-YOU! 

Next, as normal, I am hopelessly lost and unable to connect once more.  v 2.3 works fine, v 2.4 does NOT.  Could I verify that this is all working with Prepar3D v4.1?  I will keep trying.

Thanks again!

C
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Mon, 23 Oct 2017 17:42
I am using version 2.4 with P3D v4.1 and it works perfect, however I did notice that if you have more than 1 livery in the aircaft.cfg file (example [fltsim.0] British Airways, [fltsim.1] Air Canada). The line ExternalSimID={3E6B47E7-C706-4A10-BC88-6E7C199ED5A6} only seems to get added after [fltsim.0] and not after [fltsim.1]. So if you select Air Canada as your 747 livery ExternalSim will not connect. Adding ExternalSimID={3E6B47E7-C706-4A10-BC88-6E7C199ED5A6} in the [fltsim.1] section seems to correct the problem.

John
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Mon, 23 Oct 2017 18:32
I can verify that there is a HUGE difference in the smoothness in azimuth compared to 2.3.
One, actually two, mistakes that I made were to not delete the externalsim.dll in the aircraft config file, and to amend the XML files correctly as described in the instructions, notably, you have to include the "10760"/"10761" bit.
Also make sure that you first uninstall 2.3.x, and remove all references to externalsim in your files before you install the new version.
Mark has done a great job simplifying the installation.
It is WELL worth the effort to get it right!

Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 23 Oct 2017 18:42
Hmm, I'm not too confident that the instructions I've bundled are perfectly clear, so here are some additional notes:

- Use the Configuration app on the P3D machine to set up the aircraft.cfg (JohnH has actually pointed out an interesting caveat)

- Use the Configuration app shortcut buttons for editing both of the XML files (so install the Configuration app on your boost/router machine too if this is seperate). This will ensure you're editing the right file.
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Mon, 23 Oct 2017 18:59
I also made the mistake of not running the configuration app on my boost machine to update the XML...

However with P3D locked at 30FPS and PSX locked at 60/2 I think somehow Mark has made External Sim run P3D smoother than P3D runs itself with a flight model...

Absolutely stunning Mark, I shall be standing by with a bottle of New Zealand Sauvignon Blanc and a takeaway next time you come over... Thanks Again!
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 23 Oct 2017 19:07
Adding ExternalSimID={3E6B47E7-C706-4A10-BC88-6E7C199ED5A6} in the [fltsim.1] section seems to correct the problem.

Spot on, good work on the self-diagnosis. I'll investigate how much effort is required for me to discover all the [fltsim.n] sections and add it to all of them.
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Mon, 23 Oct 2017 19:52
Wow! What a difference, especially on the ground making quick turns (which used to become a bit of a slideshow). Super smooth now with not even a hint of a stutter.  ;D

Thank you, Mark!!
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 23 Oct 2017 20:00
Running beautifully, once we sorted the ijut in the cockpit ;)

Router & BOOST on one PC and P3D on another- off to fly... Ta Mark!

C

PS- Noted the following-

-  Squawking C on the ground (vPilot) is not possible (box not ticked for auto) and that the
-  landing lights appear and disappear (but this may be related to the afcad....).
-  periodic FLASHING of the screen... I thought this might be Active Sky, however, occasionally it is full black...
-  strobe flashing is still constant in the POSKY a/c regardless of switch position
-  rear (tail) strobe still appears about 1/2 fuselage length behind a/c
-  when selecting x2 simulation speed- the display goes from day to night....? and back to day with x1
-  almost seems like there's some interaction between ExternalSim and AS14+ASCA... clouds popping out and
   morphing back in....

NONE of these are show stoppers, and I mention here, in case there are others seeing these issues. 

The SMOOTHNESS is many factors above the last build- WELL DONE and MANY THANKS!!!
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Tue, 24 Oct 2017 13:44
-  Squawking C on the ground (vPilot) is not possible (box not ticked for auto) and that the

Yes I noticed this too...
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 24 Oct 2017 14:21
-  Squawking C on the ground (vPilot) is not possible (box not ticked for auto) and that the

Odd.

-  periodic FLASHING of the screen... I thought this might be Active Sky, however, occasionally it is full black...

I'll keep an eye out for this.

-  strobe flashing is still constant in the POSKY a/c regardless of switch position
-  rear (tail) strobe still appears about 1/2 fuselage length behind a/c

Both can be fixed if you edit the aircraft.cfg.

-  when selecting x2 simulation speed- the display goes from day to night....? and back to day with x1

Is this the simulation rate in P3D? Why would you do this?
Title: Re: PSX.NET P3D ExternalSim
Post by: Greg Hateley on Tue, 24 Oct 2017 15:01
Hi Mark,
Sorry to be the odd man out here, but after installing v2.4 into p3d v3, I get a crash to desktop.
I can get p3d to boot again by setting the add-ons.cfg to disable the externalsim (Active=false)
Looking the the windows application log it appears to be a fault in the p3d api.dll causing the crash.
In the mean time, could you advise where is the externalsim.dll add-on so I can remove it for now.

Greg
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 24 Oct 2017 16:35
Sorry to be the odd man out here, but after installing v2.4 into p3d v3, I get a crash to desktop.
I can get p3d to boot again by setting the add-ons.cfg to disable the externalsim (Active=false)
Looking the the windows application log it appears to be a fault in the p3d api.dll causing the crash.
In the mean time, could you advise where is the externalsim.dll add-on so I can remove it for now.

Are you on v3.4.22.19868?
I tend to develop against the highest v3 and v4 available at time of release as it's easy to upgrade just the Prepar3D Client (it's only about 200MB).

Just remove ExternalSim using the Programs and Features interface in your Control Panel.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Tue, 24 Oct 2017 19:14
Mark-

The simulation rate in PSX.... is what causes the sudden change to darkness.  During extended flight at x2, there are momentary flashes where I see waves (sort of like when ExternalSim doesn't get connection) and then it goes back to dark sky with stars.  100% repeatable.  As soon as I go back to x1 simulation, allest gut.  This also occurs at x4 sim rate, which is the fastest I have ever used.  I will investigate further....

I copied the following over my [LIGHTS] section in the .cfg....

Code: [Select]
[LIGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing 6=taxi, 7=recognition, 8=wing, 9=logo                   
light.0 = 1,   61.500,    0.600,   19.100, Opensky_beacon ,
light.1 = 1,   13.500,    0.600,   -7.080, Opensky_beacon ,
light.2 = 3, -122.850,    0.383,   11.750, Opensky_nav_yellow ,
light.3 = 3, -122.850,   -0.383,   11.750, Opensky_nav_yellow ,
light.4 = 2, -123.850,    0.000,   11.045, fx_strobeh ,
light.5 = 3,  -13.850,    0.000,   14.850, fx_vclighth ,
light.6 = 9, -208.500,   -4.500,   43.750, Opensky_wing_light , // <-----3 previously
light.7 = 9, -208.500,    4.500,   43.750, Opensky_wing_light , // <-----3 previously
light.8 = 5,  -79.700,  -29.200,   -2.000, Opensky_nacelle_refl ,
light.9 = 5,  -79.700,   29.200,   -2.000, Opensky_nacelle_refl ,
light.10= 5,  -46.500,  -11.700,    0.000, Opensky_nacelle_refl ,
light.11= 5,  -46.500,   11.700,    0.000, Opensky_nacelle_refl ,
light.12= 5,  -40.500,  -13.700,    1.900, Opensky_nacelle_refl ,
light.13= 5,  -40.500,   13.700,    1.900, Opensky_nacelle_refl ,
light.14= 5,  -14.333,    0.000,   -2.000, Opensky_nacelle_refl ,
light.15= 3,  -18.300,   -6.500,    6.000, Opensky_nacelle_refl ,
light.16= 3,  -52.610,   -4.500,    6.000, Opensky_nacelle_refl ,
light.17= 3, -144.510,    0.000,   -3.000, Opensky_wing_light ,

and place it here in case some others find it helpful...  THANKS TO THE ORIGINAL POSTER (JP, not I).  This FIXES the rear strobe position, however, due to a POSKY limitation, the strobes and nav lights are still tied in together.  The logo is inop.

None of this light stuff is particularly troublesome, as I seldom peek outside.  Taxi and Landing Lights work well.

I remain obliged- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Kockie69 on Wed, 25 Oct 2017 06:02
When I run the configuration ExternalSimID={3E6B47E7-C706-4A10-BC88-6E7C199ED5A6} change is made to the aircraft.cfg file. But no dll added to the folder and no reference from the file to the dll anymore. I can manually update the cfg but I don't have the x64.dll to copy into the folder. Am I missing something? Is this correct?

The result is that the router is not connected to any clients, in my case P3dv4.

Kr Robert
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Wed, 25 Oct 2017 11:30
Is this correct?

It is correct. Now use the configuration app to edit the XML files.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Wed, 25 Oct 2017 11:56
the strobes and nav lights are still tied in together.

Have you tried changing the light type in aircraft.cfg?

Code: [Select]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing 6=taxi, 7=recognition, 8=wing, 9=logo   
The current mapping of Simconnect light to PSX flightdeck switch is:

Code: [Select]
Simconnect light  = PSX flightdeck switch

LIGHT BEACON      = BeaconLower AND BeaconUpper
LIGHT STROBE      = Strobe
LIGHT NAV         = NavL AND NavR
LIGHT CABIN       = Logo
LIGHT LANDING     = (InboardLandingL AND InboardLandingR) OR (OutboardLandingL AND OutboardLandingR)
LIGHT TAXI        = Taxi
LIGHT RECOGNITION = Logo
LIGHT WING        = Wing
LIGHT LOGO        = Logo
LIGHT PANEL       = Logo

Available PSX light switches from Qs443(ExtLts):
OutboardLandingL
OutboardLandingR
InboardLandingL
InboardLandingR
RunwayTurnoffL
RunwayTurnoffR
Taxi
BeaconUpper
BeaconLower
NavL
NavR
Strobe
Wing
Logo

I would consider making changes to this in future if a convincing case was made. Things like LIGHT PANEL and LIGHT CABIN could come from different PSX variables.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Wed, 25 Oct 2017 15:01
@Mark, will attempt to refine at my end.

@Gary- If you have a spiffy new G-BNLG ready for WorldFlight, incorporating all of Mark’s wizardry, would you do the village idiot a favor and drop a linky? Happy to make a donation again this year.

Ta- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Wed, 25 Oct 2017 17:52
@Mark, will attempt to refine at my end.

@Gary- If you have a spiffy new G-BNLG ready for WorldFlight, incorporating all of Mark’s wizardry, would you do the village idiot a favor and drop a linky? Happy to make a donation again this year.

Ta- C

On the case...
Title: Re: PSX.NET P3D ExternalSim
Post by: Kockie69 on Wed, 25 Oct 2017 20:00
Mark,

I run everything locally, so I made no changes to the xml's. The router is still not connecting to the client.

PSX.NET.P3D.ExternalSim.Router 2.4.0
Started at: 25/10/2017 18:55:49 (UTC)
Currently:  25/10/2017 18:59:42 (UTC)

---PSX Received Counts---------------------------
Boost:                    16161
PSX:                      87
---Published Counts------------------------------
FlightModel:              16160
TimeModel:                1
GearModel:                113
FlapModel:                113
LightingModel:            113
SpoilerModel:             112
ControlSurfaceModel:      112
TransponderModel:         113
BatteryModel:             113
ParkingBrakeModel:        113
RadioModel:               113
EngineModel:              111
---P3D Data-------------------------------------
FeedbackModel:            0
Ground Elevation(m):      NaN
---Misc-----------------------------------------
PSX elevation updates:    0
PSX time:                 25/10/2017 18:59:40
Primary P3D Machine Name:
Last 'load1'              25/10/2017 18:55:54 (UTC)

---Clients--------------------------------------
No clients.

It all worked fine with previous version of ExternalSim.

Any help appreciated.

Kr Robert
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Wed, 25 Oct 2017 20:44
Mark,

I run everything locally, so I made no changes to the xml's. The router is still not connecting to the client.

PSX.NET.P3D.ExternalSim.Router 2.4.0
Started at: 25/10/2017 18:55:49 (UTC)
Currently:  25/10/2017 18:59:42 (UTC)

---PSX Received Counts---------------------------
Boost:                    16161
PSX:                      87
---Published Counts------------------------------
FlightModel:              16160
TimeModel:                1
GearModel:                113
FlapModel:                113
LightingModel:            113
SpoilerModel:             112
ControlSurfaceModel:      112
TransponderModel:         113
BatteryModel:             113
ParkingBrakeModel:        113
RadioModel:               113
EngineModel:              111
---P3D Data-------------------------------------
FeedbackModel:            0
Ground Elevation(m):      NaN
---Misc-----------------------------------------
PSX elevation updates:    0
PSX time:                 25/10/2017 18:59:40
Primary P3D Machine Name:
Last 'load1'              25/10/2017 18:55:54 (UTC)

---Clients--------------------------------------
No clients.

It all worked fine with previous version of ExternalSim.

Any help appreciated.

Kr Robert

Which 747 model are you using in P3D?, do you have more than one livery installed in the 747 model?

John
Title: Re: PSX.NET P3D ExternalSim
Post by: Frans Spruit on Wed, 25 Oct 2017 21:16
Hi John,

I have the same problem as Robert I use the Posky: PSX_747

Frans Spruit
Title: Re: PSX.NET P3D ExternalSim
Post by: JohnH on Wed, 25 Oct 2017 21:22
Hi John,

I have the same problem as Robert I use the Posky: PSX_747

Frans Spruit

open the aircraft.cfg file in the Posky: PSX_747 folder, do you see the entry, ExternalSimID={3E6B47E7-C706-4A10-BC88-6E7C199ED5A6} in the [fltsim.0] section?
Title: Re: PSX.NET P3D ExternalSim
Post by: Frans Spruit on Wed, 25 Oct 2017 21:32
Hi John,

[fltsim.0]
title=Boeing 747-400 British Airways
sim=Project Opensky Boeing 747 Series
model=
panel=
sound=
texture=BAW
checklists=
ExternalSimID={3E6B47E7-C706-4A10-BC88-6E7C199ED5A6}







Title: Re: PSX.NET P3D ExternalSim
Post by: Frans Spruit on Wed, 25 Oct 2017 21:50

Open ExternalSim XML(P3D V4)

<?xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <SettingsVersion>1</SettingsVersion>
  <RouterSubAddress>tcp://localhost:10760</RouterSubAddress>
  <FeedbackPubAddress>tcp://localhost:10761</FeedbackPubAddress>
  <DebugPubBind />
  <DebugLogToFile>false</DebugLogToFile>
</Settings>


Open ExternalSim Router XML
 
<?xml version="1.0"?>
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <SettingsVersion>1</SettingsVersion>
  <PsxBoostIP>127.0.0.1</PsxBoostIP>
  <PsxServerIP>127.0.0.1</PsxServerIP>
  <PsxServerPort>10747</PsxServerPort>
  <RouterPubBind>tcp://*:10760</RouterPubBind>
  <FeedbackSubBind>tcp://*:10761</FeedbackSubBind>
  <TimeSync>true</TimeSync>
  <MinWeightModelOffsetM>4.4</MinWeightModelOffsetM>
  <PrimaryP3DMachineName />
</Settings>
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Wed, 25 Oct 2017 23:43
I think you have to put an IP in place of the asterisks in the External Router xml.
Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Thu, 26 Oct 2017 13:17
Hi all,

I use Slack for work and a few other common interest groups - it's a real time chat with rich media features (image/video/audio/note) sharing.

If anyone wishes to discuss their ExternalSim issues in a more real-time fashion, click here to sign up (https://join.slack.com/t/psxnet/shared_invite/enQtMjYxODI0MTQyOTI5LWE3YmM5N2Q4MGU2MjU0ZjUyZDA5Y2RmMTMyZTJkOGE4ZjAwN2IxZDNjODM4NTE5MDY4Mjc4ZDQ0M2UyM2RiYjI).

Otherwise please continue to use this thread.
Title: Re: PSX.NET P3D ExternalSim
Post by: simbro on Thu, 26 Oct 2017 19:42
I'm also experiencing the same problem as Robert and Frans.

Both XMLs are setup according to the docs and as shown in this thread,.
The aircraft.cfg file also contains the required 'ExternalSimID' entry.

However, P3D (v4.0) is not connecting to the router.  (no client is listed there)

Just a thought... I'm using a german version of Win7. Could this be an issue?
v2.31 worked perfectly so probably not!

regards, Simon


Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Fri, 27 Oct 2017 01:44
Mark-

Have you received any other reports of the TIME MODEL not climbing at the same rate as the others? Mine seems perpetually stuck at 1 or sometimes 2.... and the only way to "sync" time with P3d is to restart ExternalSim....

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: simbro on Fri, 27 Oct 2017 06:26
I've finally got it working after updating P3D to v4.1 (from v4.0)

Uninstalling the v4.0 Client and installing the v4.1 Client solved the problem instantly...  No need to reinstall/modify ExternalSim or anything else - it worked 'out of the box'!

Could it be that P3D v4.1 is a requirement for ExternalSim 2.4.0 ?

regards, Simon
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Fri, 27 Oct 2017 11:37
Could it be that P3D v4.1 is a requirement for ExternalSim 2.4.0 ?

Sounds like you've found the cause, thank you.

I'm always on the latest relevant version (and the corresponding SDK) so that's 4.1.7.22841 and 3.4.22.19868 currently. I'll keep these versions for longer - I don't think any new 4.x updates will add anything that I need in the SDK.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Fri, 27 Oct 2017 11:40
Have you received any other reports of the TIME MODEL not climbing at the same rate as the others? Mine seems perpetually stuck at 1 or sometimes 2.... and the only way to "sync" time with P3d is to restart ExternalSim....

That's intentional to allow AI traffic to work and stop P3D loading in critical phases such as takeoff/landing.
The best way to force a sync of the time is to load a new PSX situation or drag the 'Simulated UTC daytime' slider slightly on the Situation Time page.

Currently, the P3D time will be synced to PSX in these scenarios:
- Every 4 hours.
- If the PSX time changes by more than 30 seconds between subsequent updates (update rate is every few seconds).
- If a situation is loaded.
Title: Re: PSX.NET P3D ExternalSim
Post by: Frans Spruit on Fri, 27 Oct 2017 19:54
Simon and All,

P3D v4.1 did it for me too. Thank you all for your hints ect.
Mark, top job thanks for a great addon,

Frans Spruit
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Fri, 27 Oct 2017 23:17
I think you have to put an IP in place of the asterisks in the External Router xml.
Peter

IP of the PSX boot server or P3D?

Amazing update. Does the AI traffic get put into PSX?
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Sat, 28 Oct 2017 10:09
The boost server, I believe.
Peter.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 28 Oct 2017 10:26
I think you have to put an IP in place of the asterisks in the External Router xml.

Sorry Peter, that's not recommended:

- The ExternalSim client(s) XML should have the IP of the router PC.
(Replace "localhost" with the router IP, but only if the router is on a different PC)

- The ExternalSim Router XML should keep the "tcp://*:10760" and "tcp://*:10761" bindings.
(Just change the PSX related settings to point at your PSX instance)
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Sat, 28 Oct 2017 11:12
Does Externalsim inject traffic into PSX or do I need something else?

Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Sat, 28 Oct 2017 13:19
I am the LAST person you should ask about networking 😏
Title: Re: PSX.NET P3D ExternalSim
Post by: Tom_Borkert on Wed, 1 Nov 2017 19:08
Hi Mark,

thank you for this awesome piece of software. I'm using it since version 2.3.0 without any problems.
Yesterday I updated my P3D to version 4.1.7.22841 and the new ExternalSim 2.4.0 - everything is working perfect and smooth.

Greetings
Tom
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Wed, 1 Nov 2017 19:36
Thank you Tom.

I should note there is a new 2.5.0 on it's way ('Worldflight Edition') that fixes quite a few bugs.
Title: Re: PSX.NET P3D ExternalSim
Post by: ScudRunner on Mon, 6 Nov 2017 12:06
Hello All,

not sure if anyone else has encountered this issue, but when flying on-line with VATSIM, I am (consistently) seeing  a 0 groundspeed display - every flight for the entire flight. I'm running PSXExternalSim 2.4.0, vPilot 2.1.7 and P3Dv4 4.1.7.22841.

In every other way the system performs normally, position, altitude etc etc are all transmitted accurately and the P3D visuals are smooth as silk and correlate perfectly with the movement of PSX.

Now I am not sure that it is ExternalSim, but I have checked just running vPilot and P3D and the groundspeed display is correctly transmitted to VATSIM. 

Just wondering if anyone else has encountered this.
Thanks

Scud.
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Mon, 6 Nov 2017 12:08
Scud,

Yes we spotted this just before world flight started.  The problem is now fixed and Mark is working on packaging up the latest beta for everyone.

Thanks
Gary
Title: Re: PSX.NET P3D ExternalSim
Post by: ScudRunner on Mon, 6 Nov 2017 12:44
Thanks Gary (and Mark for continuing to improve this great utility!).  Scud.
Title: Re: PSX.NET P3D ExternalSim
Post by: Markus Vitzethum on Tue, 7 Nov 2017 09:46
Hi all,

just a quick report from my last flight yesterday evening (WF 2017 leg from KSAN to KAUS).

Just after Top of Climb I lost the P3D visuals - they kept reverting to the 0°N 0°E position, that is, have lost contact to the PSX data.

The interesting bit is that the culprit was not the P3D <--> router connection but the PSX <--> router connection.

After restarting Externalsim Router I still had the problem of P3D dropouts to the 0/0 position. When checking the Externalsim connection in the PSX Network tab, I found that Externalsim was now Client 41 (previously client 3) and continously disconnected and reconnected (client 42, disconnect, client 43, disconnect, dlient 44, .... ). 
I have not identified a cause for this behaviour yet, will try again tonight with a new flight.

On Sunday, the exactly same configuration of software and hardware was rock-stable for 14 hours and 5 worldflight legs.

I finally gave up and choose VisualPSX as a fallback. Just wanted to share the experience.

Markus

p.s.
And yes, I also have observed the GS 0 effect on Sunday.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 7 Nov 2017 11:00
Just after Top of Climb I lost the P3D visuals - they kept reverting to the 0°N 0°E position, that is, have lost contact to the PSX data.

Thank you for reporting this fact in particular, I've just done a tweak that should resolve this. ExternalSim 2.5.0 is coming very soon...
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 7 Nov 2017 11:23
PSX.NET.P3D.ExternalSim 2.5.0 now released. See post 1 of this thread for download link.

Change log:
- All 6 degrees of freedom are now velocity driven for maximum smoothness (i.e. Pitch & Bank added)
- Bug fixes
- vPilot Mode C now triggered in any active transponder state to allow use when on the ground
- Added feedback publish feature to Router for future use
- Updated advice about PSX frame rate limit – 72 now preferable
- Time sync is inhibited when Flaps are deployed. To force a sync, push the captain’s clock button
- Added ability to disable Radio and Transponder injection in the Router configuration
Title: Re: PSX.NET P3D ExternalSim
Post by: Markus Vitzethum on Tue, 7 Nov 2017 13:14
Excellent, thank you.

Quick question ... when I have 2.4 installed, do I need to uninstall first or should I just re-run the 2.5 installers?

Markus
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 7 Nov 2017 14:53
The 2.5 installers have a flag enabled to automatically remove older versions. If this doesn't work, removing from the Control Panel first is fine too.
Title: Re: PSX.NET P3D ExternalSim
Post by: Frans Spruit on Tue, 7 Nov 2017 16:11
Hi Mark,

Thank you for the 2.5 update, it works like a charm.

Regards,

Frans Spruit
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Tue, 7 Nov 2017 17:28
Mark,

2.5 is fantastic - even smoother than Beta 42344562341 as Gary would say.

Thank you so much!
Title: Re: PSX.NET P3D ExternalSim
Post by: Markus Vitzethum on Tue, 7 Nov 2017 18:41
Hi Mark,

seems to work very well here. Thanks a lot.

But sorry for asking this (long day in the office.... ) ... is there also a new externalsim.x64.dll? I don't think I was able to get the configurators also install a x64.dll in the aircraft folder. Is this still done manually?

Markus
Title: Re: PSX.NET P3D ExternalSim
Post by: Jeroen Hoppenbrouwers on Tue, 7 Nov 2017 23:50
- Time sync is inhibited when Flaps are deployed. To force a sync, push the captain’s clock button

Just curious... why is this?


Hoppie
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Wed, 8 Nov 2017 00:00
- Time sync is inhibited when Flaps are deployed. To force a sync, push the captain’s clock button

Just curious... why is this?

If the PSX time is different to the P3D time by more than a few minutes, upon injection P3D blacks out the screen and shows a loading bar for 10-30 seconds. This is quite bad during phases of flight where you typically have flaps deployed.

Being able to force a sync comes from Gary's multiple P3D instance setup - if one of the 3 P3D instances crashes (usually due to one of the 3rd party programs interfacing with P3D) and comes back up - you need a way to force a time sync if the crash occurred whilst flaps are deployed otherwise you can end up with the sky a different colour on one of the projectors.
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Fri, 10 Nov 2017 08:38
Thanks for the fantastic work! Just one question, does the parking brake get detected by GSX and virtual airline software, as mine does not?
Title: Re: PSX.NET P3D ExternalSim
Post by: Jeroen Hoppenbrouwers on Sat, 11 Nov 2017 00:46
Being able to force a sync comes from Gary's multiple P3D instance setup.

Engineering reality strikes again!   :-D
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Sun, 12 Nov 2017 13:17
Unfortuantely I've had to go back to the previous version. In the new one, my plane is underground and it is very very laggy on takeoff and landing, even though P3D is running at 30fps and PSX 70fps.

Also no clients are shown even though everything works.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sun, 12 Nov 2017 22:31
Unfortuantely I've had to go back to the previous version.

I'm sorry to hear this, version 2.5.0 ran for over 150 hours continuously last week on a complex setup. The only relevant difference I can think of is that it was installed by Gary who has worked very closely with me on External Sim so knows it inside out. It's possible that for others; my instructions aren't informative enough.

Please could you confirm that you followed the instructions and that they are clear at all points? I'm happy to accept there is scope for improvement there.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sun, 12 Nov 2017 23:18
As an aid to myself, being fairly addled, I have written these step-by-step instructions after Mark's patient ministrations.... hopefully this helps.... 

DELETE ALL PRIOR VERSIONS OF EXTERNALSIM- IF YOU ARE NETWORKED- CHECK EACH COMPUTER!

- Use Control Panel to delete ALL prior versions of ExternalSim.
- Manually ensure the ExternalSim program folder is deleted.
- Manually ensure that the 2 files in the Public Documents folder are deleted.
- Manually ensure that the .dll in your chosen ExternalSim aircraft are deleted.
- If you get any warnings when installing the NEW versions... go back to CP and RECHECK... something is lurking...

Download and unzip the latest ExternalSim version from Dropbox.


ON THE Prepar3D Computer-

CHOOSE WHICH VERSION YOU ARE INSTALLING AND COPY TO AND

- Run PSX.NET.P3D.ExternalSim.Installer.v3.msi OR Run PSX.NET.P3D.ExternalSim.Installer.v4.msi- NOT BOTH
- Then COPY TO AND RUN PSX.NET.P3D.ExternalSim.Configuration.Installer.msi
- Go to Start and run the P3D ExternalSim Configuration Program
- CAREFULLY SELECT THE SPECIFIC P3D 744 you want to use and CHOOSE THE aircraft.cfg
- TICK THE BOX for External Sim Enabled

- Open the dialogue box- Open ExternalSim.xml

  There- ONLY IF NEEDED (i.e. PSX Boost is on another computer) change the
  <RouterSubAddress> tcp://       and
  <FeedbackPubAddress> tcp://
  from default (same computer) to the correct IP of the chosen ROUTER COMPUTER

- SAVE and then close the P3D ExternalSim Configuration Program with the Red X box




ON THE PSX Boost Server Computer-

- COPY TO AND Run PSX.NET.P3D.ExternalSim.Router.Installer
- Then COPY TO AND RUN PSX.NET.P3D.ExternalSim.Configuration.Installer.msi

-THERE OUGHT TO BE NO CHANGES HERE AS THIS IS THE COMPUTER WITH THE PSX BOOST SERVER AND THE    ROUTER, but VERIFY the paths in the XML by selecting the Dialogue Box.
- SAVE and then close the P3D ExternalSim Configuration Program with the Red X box
- IF YOU NEED TO ADJUST THE MODEL'S HEIGHT ABOVE GROUND make changes to the 4.4 value in the
  <MinWeightModelOffsetM> I did not have to change this... but if you go the wrong way, just CLOSE, EDIT and       RESTART the ROUTER- no need to bother PSX or P3D.




TO RUN

- Start PSX Boost Server & select your SITU
- Start ALL Clients
- Start ALL PSX Ecosystem Support- AS14+ASCA, PSX.NET, BAACARS, PSXAloft- everything except PSXonMCP2 which must be started after P3D so as to override LINDA
- Start P3D ExternalSim Router (on the same machine as the PSX Boost Server)
- Start P3D
- Select the P3D ExternalSim aircraft- DO NOT CHANGE AIRPORT/TIME etc.
- Select FLY
- WAIT... there are usually 2 P3D loads and it all takes a bit of time... however, once sorted it's fabulous!

- NOW CONTROL EVERYTHING THROUGH PSX- Time, ZFW, Fuel, Etc.- YOU ARE MOVING A CAMERA THROUGH THE P3D WORLD- THAT'S IT.

PLEASE NOTE- ALL OF THIS is already in Mark's carefully created document. 
Being a Git... I made a ready reference for myself... hopefully it is useful to others as well, and not just extraneous.

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Mon, 13 Nov 2017 14:38
Just a thought, do we still have to rename instances of “aircraft” or “airplane” to EXTERNALSIM in the aircraft.cfg file?
Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Mon, 13 Nov 2017 19:12
Peter-

No MANUAL editing of the .cfg was needed (at this end at least).

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Mon, 13 Nov 2017 21:23
Just to add some balance to this thread..for the guys having difficulty getting it to work..please persevere..
I just flew SALZBURG-INNSBRUCK-SALZBURG with P3D4.1, ActiveSky V4, Envtex and Envshade with commercial ORBX/DDS scenery at both ends.
3 projectors running off a 6700PC, one GTX 1080Ti Card, with moderate settings, and ExternalSim running the connection.
Smooth as silk. It was the most fun I have had recently with or without my clothes on!
Mark’s ExternalSim has at last enabled stutter-free scenery generation, on the ground, in the air...
Thank you Mark!
Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: Chris Kilroy on Tue, 14 Nov 2017 02:53
It was the most fun I have had recently with or without my clothes on!

Even more fun than when Mavis went to reset the IFE?  ;D

I've gotta say, I've spent the past few days upgrading my sim to P3Dv4 (from 3.5) and the smoothness I'm seeing now with v4 and Mark's ExternalSim is like nothing I've ever seen in any iteration of MSFS/P3D, including the commonly accepted benchmark for smooth visual performance, a well-tuned FS9. I used the NVidia control panel to lock the projectors at 30Hz and run P3D with VSync on (triple buffering off) and frame rates set to unlimited. That combination locks the frames at a rock steady 30 FPS no matter what scenery/weather I throw at it. It's a thing of beauty.

Thanks again, Mark!
Title: Re: PSX.NET P3D ExternalSim
Post by: kwieser76 on Sun, 26 Nov 2017 17:45
HI all,

I have a question to Taxi light.
In my set up they are not working :-(

I use folloing model Project Opensky
- and this setting for lights.
-  i have the version 2.5.0 ExternalSim Router

Code: [Select]
[LIGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing 6=taxi, 7=recognition, 8=wing, 9=logo                   
light.0 = 1,   61.500,    0.600,   19.100, Opensky_beacon ,
light.1 = 1,   13.500,    0.600,   -7.080, Opensky_beacon ,
light.2 = 3, -122.850,    0.383,   11.750, Opensky_nav_yellow ,
light.3 = 3, -122.850,   -0.383,   11.750, Opensky_nav_yellow ,
light.4 = 2, -123.850,    0.000,   11.045, fx_strobeh ,
light.5 = 3,  -13.850,    0.000,   14.850, fx_vclighth ,
light.6 = 9, -208.500,   -4.500,   43.750, Opensky_wing_light , // <-----3 previously
light.7 = 9, -208.500,    4.500,   43.750, Opensky_wing_light , // <-----3 previously
light.8 = 5,  -79.700,  -29.200,   -2.000, Opensky_nacelle_refl ,
light.9 = 5,  -79.700,   29.200,   -2.000, Opensky_nacelle_refl ,
light.10= 5,  -46.500,  -11.700,    0.000, Opensky_nacelle_refl ,
light.11= 5,  -46.500,   11.700,    0.000, Opensky_nacelle_refl ,
light.12= 5,  -40.500,  -13.700,    1.900, Opensky_nacelle_refl ,
light.13= 5,  -40.500,   13.700,    1.900, Opensky_nacelle_refl ,
light.14= 5,  -14.333,    0.000,   -2.000, Opensky_nacelle_refl ,
light.15= 3,  -18.300,   -6.500,    6.000, Opensky_nacelle_refl ,
light.16= 3,  -52.610,   -4.500,    6.000, Opensky_nacelle_refl ,
light.17= 3, -144.510,    0.000,   -3.000, Opensky_wing_light ,

any idea?


thx

Kurt
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sun, 26 Nov 2017 17:55
You're probably missing the light effect files in the P3D effects folder.
Title: Re: PSX.NET P3D ExternalSim
Post by: kwieser76 on Sun, 26 Nov 2017 18:39
You're probably missing the light effect files in the P3D effects folder.

tell me more about this file (name)

thx
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Sun, 26 Nov 2017 22:18
got everything to work apart from taxi light :) I'm using gary's special 747 model he posted about previously.
Title: Re: PSX.NET P3D ExternalSim
Post by: farrokh747 on Mon, 27 Nov 2017 14:40
first of all, thanks Mark...!

Q: is there any ini file to control any parameters ? I ask because my radios don't seem to be talking to P3d - i read in the change log something about being able to switch the radio link (PSX > P3D) off/on -

are there any other user controlled options?

I'm Using P3D v 3

cheers,

FC
Title: Re: PSX.NET P3D ExternalSim
Post by: CarlBB on Wed, 29 Nov 2017 12:43
Apologies if I missed it - but is there a recommend 747 aircraft to use with the P3dv4 ?
Interested in trying out this add-on :)
Thanks
Carl
Title: Re: PSX.NET P3D ExternalSim
Post by: farrokh747 on Thu, 30 Nov 2017 06:25
Quote
is there a recommend 747 aircraft to use with the P3dv4


there is a download link on this page

http://aerowinx.com/board/index.php?topic=3629.380
Title: Re: PSX.NET P3D ExternalSim
Post by: CarlBB on Thu, 30 Nov 2017 12:38
Thank you  :)
Title: Re: PSX.NET P3D ExternalSim
Post by: Captain_Crow on Mon, 4 Dec 2017 15:25
Sorry guys, no luck on my side again.

Single computer system.

Did all as described in the manual. Version 2.5.0
Checked the entries in the public/Documents folder , no entries from Externalsim
Checked the aircraft.cfg from the Poskly PSX_NET 747F, no Externalsim entry and no .x64.dll installed there.
Configuration and the Router.ex are in the Start menu
Result: No Client...

I repeat: I did the installation as described, also the config stuff of course.
I am on my end..
Hours of deleting and installing, no success here.

Could be the german Win7 Pro version be the problem ? Or what else ?

Best

Steff


Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Mon, 4 Dec 2017 17:08
I’m not an expert but - you say there is no “Category=ExternalSim” entry in your config file for the Posky 747?
Or did you mean that there was no entry before you installed ExternalSim?
We needed to do that manually before the latest updates. I assume it is still required..
I’m sure Mark can help..
Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: Captain_Crow on Mon, 4 Dec 2017 17:39
Hi Peter,
thanks for jumping in. The entry Category:Externalsim is there, but not the important three lines after Title...
After all there is no entry in the public document, no "Three lines" in the aircraft.cfg. Just the Configuration program and the Router itself installed correctly. The rest vanished in the outer space..

Will tray to setup the 2.3.0 version later on...

Best
Steff
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 4 Dec 2017 20:34
With 2.5.0, the only lines added to aircraft.cfg by the configuration application is:
(shown with sections)

Code: [Select]
[fltsim.0]
ExternalSimID={3E6B47E7-C706-4A10-BC88-6E7C199ED5A6}
[General]
Category=ExternalSim

Note: There has been a comment previously that if you have multiple liveries, you have to add the ExternalSimID in multiple places (fltsim.1, fltsim.2, etc).
Title: Re: PSX.NET P3D ExternalSim
Post by: Captain_Crow on Mon, 4 Dec 2017 20:39
Hi Mark,
thanks to you for that. I just have fltsim.0, no other liveries installed. New to me is that there has to be just one line for Externalsim. Will check if this is the case..

Best
Steff
Title: Re: PSX.NET P3D ExternalSim
Post by: blatantdave on Thu, 7 Dec 2017 14:17
do i have to run the config tool for each aircraft i want this to work on?
Title: Re: PSX.NET P3D ExternalSim
Post by: farrokh747 on Thu, 14 Dec 2017 18:52
folks

is there anything i need to do / set to get the hardware PSX PTT (on the yoke, glare and ACP ) buttons to send a command to P3D / Vpilot TX?

IM using the ptt hardware buttons mapped to the correct Q vars and they move in PSX  - how do i tell Vpilot i'm trasmitting? Right now, I'm not seeing any TX in VPilot when i press any of the ptt buttons......  The Radio freq's are being sent to Vpilot OK....

cheers and thanks,

fc

fc
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Fri, 15 Dec 2017 02:25
Farrokh-

I have the same button assigned in PSX (via USB) and vPilot as Capt PPT... works flawlessly. Have you assigned in vPilot?

HTH- C
Title: Re: PSX.NET P3D ExternalSim
Post by: farrokh747 on Fri, 15 Dec 2017 05:10
hi - thanks....

Quote
Have you assigned in vPilot?

My Vpilot and PSX are on diff pc's  - i have assigned a keyboard ptt on the vpilot pc -

my hardware is mapped to these PSX values.... (via simstack)

Qh82="LcpPttCp"; Mode=DELTA; Min=0; Max=1;
Qh93="LcpPttFo"; Mode=DELTA; Min=0; Max=1;
Qh410="SwitchesAudioL"; Mode=ACP; Min=-1; Max=27; // Qh410=26(r/t) // Qh410=-1 (off)
Qh411="SwitchesAudioC"; Mode=ACP; Min=-1; Max=27; // Qh411=26(r/t) // Qh411=-1 (off)
Qh412="SwitchesAudioR"; Mode=ACP; Min=-1; Max=27; // Qh412=26(r/t) // Qh412=-1 (off)

as i said, it works fine within PSX, bit i dont think this is being carried forward to PSX > P3D > Vpilot/Vatsim

any thoughts?


fc




Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Fri, 15 Dec 2017 09:20
Farrohk - The frequencies are input into P3D but no PTT state currently, the primary reason we've not noticed this yet is that in Gary's sim we've got an complex audio subsystem dealing with it.

I could try setting the 'COM TRANSMIT:1' simconnect variable and get you to test it?
Title: Re: PSX.NET P3D ExternalSim
Post by: farrokh747 on Fri, 15 Dec 2017 11:32
Thanks mark - that would be great -

Unfortunately V pilot does not have an option to assign 2 separate soundcards for Com 1 and Com 2 - (squakbox did)

So for the time being, I wanted to have the audio in (Mic) from one of the boom sets (FO Side via a Flightsound Usb adapter) and the out (spkr) to the cockpit speakers....

of course, when taking the vatsim audio in/out from the PC directly (non PSX) , I don't have the vol / on / off controls from the PSX ACP...... I don't know of a way around this...  perhaps there is a way for a PC sound card volume to be controlled via software (PSX VHF1 VOL Qvar > patch > PC Soundcard Vol) -  just thinking.....

cheers,

fc

Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Fri, 15 Dec 2017 23:01
Quote
My Vpilot and PSX are on diff pc's  - i have assigned a keyboard ptt on the vpilot pc -
as i said, it works fine within PSX, bit i dont think this is being carried forward to PSX > P3D > Vpilot/Vatsim

any thoughts?

fc

Without the adequate programming skills, I am left to the USB solution.  I too run vPilot on a different PC (with the vPilot Server on the P3D PC and the vPilot Client on the PSX Boost PC).  I have assigned my choice for the PTT HW BUTTON within PSX USB and as the PTT in vPilot.... could you not just assign the PTT within vPilot also?  I frequently do not see the trees, just the forest... so apologies in advance if they are warranted ;)

C
Title: Re: PSX.NET P3D ExternalSim
Post by: farrokh747 on Sat, 16 Dec 2017 06:54
Quote
could you not just assign the PTT within vPilot also? 

I could, but i would have to rewire everything from Simstack to a Bodnar...  not practical at this time....  let's see what mark  comes up with. I think in Mark/Gary's setup, the ptt is handled by their audio system. There are several places in the deck where the pilots can press transmit (Glare, yoke, ACP) - each of these inputs (in my rig) are wired to Simstack / Arduino and trigger PSX vars -  I think it's best that everything goes through PSX anyway... And then onto the addons...

Having said that, Simstack Switch is versatile in that it can comminucate with P3D as well - but one or the other - not both (PSX and P3D) in the same instance...

Of course, the usb a final option...

cheers

fc
Title: Re: PSX.NET P3D ExternalSim
Post by: farrokh747 on Sat, 16 Dec 2017 09:53
Q: Does P3d / FSX have a Transmit Function, or does one have to send the value to VPilot directly..? If so, what offsets does VPilot use ( for ptt and everything else ) ?

There are some swuawkbox specific offsets listed here, but not sure if VPilot uses these...    http://www.squawkbox.ca/doc/sdk/fsuipc.php

c,

fc
Title: Re: PSX.NET P3D ExternalSim
Post by: jb747 on Sat, 16 Dec 2017 14:04
Freddie,

I assigned the PTT function in FSUIPC on the PC I have designated as the P3D Server (not needed for Mark's program and a holdover from Wideview days but still there).  It works fine.

Jon
Title: Re: PSX.NET P3D ExternalSim
Post by: farrokh747 on Sat, 16 Dec 2017 16:27
thanks jon -

where is your hardware trigger coming from ? InterfaceIT?

fc
Title: Re: PSX.NET P3D ExternalSim
Post by: jb747 on Sat, 16 Dec 2017 21:50
joystick controller
Title: Re: PSX.NET P3D ExternalSim
Post by: Jack love 744ERF on Mon, 8 Jan 2018 02:56
Hello simers.
After 3 days work. I finally make Psx.net external 2.50 work. I used to use x-plane11 with xview.
I got two PCs running all the system. One runs only P3D with router. The other one runs all the PSX instances and plug-ins.
I got a question: why can't psx.net sync and inject weather into P3D from PSX. While Xview did automatically. How can I setup correct? Or .net dose not function weather injection?
Sorry to trouble. Some one may already asked. But I still can't find in the forum.

Thank you and hope to get the answer.

Jack
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Mon, 8 Jan 2018 11:03
why can't psx.net sync and inject weather into P3D from PSX.

Jack,

When we challenged Mark to create external sim we deliberately didn't ask for a weather link from PSX to P3D.

The reason being is there are many weather programs around for P3D that inject wonderful looking weather, cloud and mist effects, which are good at working around the P3D restrictions in order to make the graphical weather look good.

The way we work in our simulator is to use FS Global Weather (or Rex or Active Sky if you prefer, we use FSGW as it supports multiple P3D instances).

This then makes the P3D graphics look good.

We then pull the upper winds from P3D into PSX to keep the PSX world winds in line with the real world upper winds.  PSX.NET.Weather does this for you by pulling out of external sim, and a new version will be released shortly with the dispatch center.

I hope this explains the concept that we use.  We see no use for a PSX to P3D weather sync.

Of course we still have the problem of PSX and P3D thundercells showing in different places, but are working on that.

Cheers
Gary
Title: Re: PSX.NET P3D ExternalSim
Post by: Jack love 744ERF on Tue, 9 Jan 2018 00:37
Thank you Gary. It is totally a new conception about the weather injection. I think this is the best way to get the eye candy runs perfectly. There is a bug in visualPsx and Xview that the weather always get a suddenly "jumping" change. I think that is because we got a different Matar as the location change. And this may be the way to fix it.
Looking forward to the new version to sync the thundercells.
Regards 
Jack
Title: Re: PSX.NET P3D ExternalSim
Post by: ScudRunner on Tue, 9 Jan 2018 12:44
Hello all,

just wondering if anyone is able to use the replay function in Prepar3d (V4.1) to replay sequences from flights undertaken using a PSX/Prepar3d linked via ExternalSim.

When I currently try to replay any flight I've undertaken the aircraft just sits at the most recent position.  Perhaps it is not possible to `record' flights while ExternalSim is linking the Prepar3D instance to PSX - just wanted to confirm if that is the case of if something was specifically amiss with my setup.

Best all
Scud.
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Sun, 21 Jan 2018 14:53
Unfortunately I still cannot get the taxi light to work. Using the same POSky model, visualPSX displays the taxi light, but externalsim does not. Any ideas?

LightingModel is counting up.
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Mon, 22 Jan 2018 10:18
The taxi light seems to work on the next build of ExternalSim so that should be coming in the near future.
Title: Re: PSX.NET P3D ExternalSim
Post by: Sebastian on Sun, 25 Feb 2018 08:32
Hi all,
I am new to ExternalSim, but not new with PSX. I've been using PSX & XPlane (both XP10 XP11) eversince I started PSX. I recently dug a lot deeper in some of the forum topics and updated all my PSX.NET features - duh me, that I've missed this for so long. Anyway, I also came across the ExternalSim and immediately became fascinated by the idea, especially as I've also had P3D since v2.5 with v4.2 now installed. That said - before I continue:
1. What an amazing add-on! Mark, indeed you are a genius! Thank you very much for creating this fine piece of art!!
2. It is even more amazing, how far this app has been developed, with every update including more features and ease. So, again, thank you very much, Mark, for this and also a huge thank you to all of you who helped in this.
3. It has been a major pleasure to zip through all the 500+ posts in this thread to read about the experiences of fellow PSXers.

Now to my topic:
I am running PSX and P3Dv4.2 on separate PCs, with the latest version of ExternalSim installed according to the manual and some hints in this thread. I also have Gary's 747 in use.
Now, after starting PSX then ExternalSim.Router then P3D, I am well connected with all the numbers rising and everything working as I want it to - except: it's not butter smooth... every 5-6 seconds I have a stutter, lasting for 1-3 seconds, followed by a slight position offset afterwards.
At first I thought it is related to traffic etc, as mentioned earlier in this topic, but everything was set to 0. Then I thought it's related to animations (I was at the Departure Sydney to LosAngeles.situ, lined up on 16R with FlyTampa YSSY) - switched them all of with the FlyTampa Configuator. Then, I set myself up in an area of P3D, where I don't have any 3rd party add-on installed, but the same thing happened.
The problem still exists, even when I'm running both on the same PC, with exactly the same behavior.

Any idea how this could happen? I haven't seen anyone posting w/ v4.2 yet - could this be the issue? Or did I miss something? Like I mentioned before, it's all nicely connected, all numbers rising and I can even taxi around and fly around - just with that major stutter every 5-6 seconds.

Thanks a lot for any ideas!
Sebastian
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sun, 25 Feb 2018 09:21
I've not tried 4.2 yet (mainly because there wasn't any features of interest in the release notes) but I will upgrade soon and check it out.

Have you got any plugins or addons that use simconnect?

Could you make a short video of the stutter and message me with a link?
Title: Re: PSX.NET P3D ExternalSim
Post by: Dirk Schepmann on Mon, 26 Feb 2018 01:01
Hi,


Now, after starting PSX then ExternalSim.Router then P3D, I am well connected with all the numbers rising and everything working as I want it to - except: it's not butter smooth... every 5-6 seconds I have a stutter, lasting for 1-3 seconds, followed by a slight position offset afterwards.


Do you have FSUIPC 5.23 installed? Many users reported stutters similar to those you described. The solution is to install the latest Version 5.23e, or go back to 5.22.


Best regards,
Dirk
Title: Re: PSX.NET P3D ExternalSim
Post by: Sebastian on Mon, 26 Feb 2018 14:35
Hi Dirk,

the FSUIPC did the trick. I had v5.123 installed. Took it out, works nicely smooth now, thank you very much for the hint!

Mark,
I have Simconnect for ProjectFly, uTlive (btw, above solution now works with uTlive as well) and something tracing to "squirrel" - I have to figure out, where that comes from.
Will send you a video of the stutter experience in the next few days.

Thanks a lot for your help, guys!
Best Regards,
Sebastian
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Tue, 27 Feb 2018 09:49
No need for the video now :) the fact there is an issue with FSUIPC is now nicely documented in this thread.
Title: Re: PSX.NET P3D ExternalSim
Post by: GodAtum on Wed, 28 Feb 2018 10:16
Hi,


Now, after starting PSX then ExternalSim.Router then P3D, I am well connected with all the numbers rising and everything working as I want it to - except: it's not butter smooth... every 5-6 seconds I have a stutter, lasting for 1-3 seconds, followed by a slight position offset afterwards.


Do you have FSUIPC 5.23 installed? Many users reported stutters similar to those you described. The solution is to install the latest Version 5.23e, or go back to 5.22.


Best regards,
Dirk

Where did you get 5.23e, I can only find 5.123?
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Wed, 28 Feb 2018 11:27
.124 is out.... http://forum.simflight.com/topic/80977-updated-modules/

HTH- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Garfield30 on Sun, 11 Mar 2018 12:15
Hello :-)

i need some help to get the PSX NET to work. Use P3D 4.2 with the PMDG 747 V3. Nothing happnends :/ PMDG become unusable when link the aircraft config file and in the external router window only elevation and Client data available. Section PSX received counts and published counts are all filled with "o"

thanks for helping me.

Alex
 
Title: Re: PSX.NET P3D ExternalSim
Post by: garys on Sun, 11 Mar 2018 20:13
Hi, The PMDG is an advanced simulation in its own right that uses its own custom files outside of the FSX/P3D directories in order to run.

On Page 15 of this thread Gary has provided an aircraft model that you should place into P3D. Pointing to this aircraft instead of the PMDG will fix your problem. If you get any errors follow Gary's advice in a post a few down from that one.

Gary
Title: Re: PSX.NET P3D ExternalSim
Post by: Garfield30 on Sun, 11 Mar 2018 22:43
Hello ,

thank you for your answer :) Will check tommow with this model.
Hopefully the scenery will then load :)
Alex
Title: Re: PSX.NET P3D ExternalSim
Post by: Garfield30 on Mon, 12 Mar 2018 09:27
So now i get it work after the Information from cavaricooper page 27. Also detect that my Network setting where an old config - therefore no Connection to the P3D world :-)
Title: Re: PSX.NET P3D ExternalSim
Post by: sakukio on Sat, 21 Apr 2018 15:34
Hi It is fresh for me to install this fantastic add-on. I tried many times but still failed to connect PSX to P3D V4.2
Very desperate.... I hope I could resolve this...
I follow the detailed manual but still could not accomplish.
download the new version externalsim and posky 747 mega package.
when I ran router, it always showed :
PSX server:127.0.0.1
Loaded config from:AppData
Feedback publish enabled: False

I wish someone could help me out :'(
Many Thanks
James
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sat, 21 Apr 2018 22:31
http://aerowinx.com/board/index.php?topic=3629.msg47820#msg47820
Title: Re: PSX.NET P3D ExternalSim
Post by: JRBarrett on Fri, 27 Apr 2018 06:15
I have just installed Version 2.5.0 in conjunction with P3D4.2. All programs (PSX and P3D) are on the same machine. I downloaded and installed the PSX747 model from the Dropbox link on Page 15 of this thread, and linked to it with the config program.

Everything seems to be working. The P3D aircraft appears at the proper location of the PSX aircraft. I started engines and taxied around, and the aircraft in P3D follows very smoothly. All control surface animations work. Landing lights work, but the taxi light does not. When I activate the strobes, the tail strobe appears to be detached and flashing a considerable distance behind the P3D model in spot view.

My primary question concerns the Public Documents folder. There are no files relating to external sim in that location. Should there be? Cavaricooper’s installation summary says that it is necessary to delete two files in that location when uninstalling externalsim prior to an upgrade, but there is nothing in that folder on my computer.
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Fri, 27 Apr 2018 19:30
JR-

Those are remenants from earlier versions. If you just started.... disregard that section.

HTH- Carl
Title: Re: PSX.NET P3D ExternalSim
Post by: JRBarrett on Fri, 27 Apr 2018 20:50
JR-

Those are remenants from earlier versions. If you just started.... disregard that section.

HTH- Carl

Thanks. I see things have changed since external sim now has installer programs for the various components, whereas previously the components were installed manually.

I found the external sim router xml file in APPDATA\ROAMING, and the main external sim xml in my P3DV4 "addons" folder (in accordance with Lockheed Martin's suggested best practices).

As mentioned before, I am using the modified POSKY BAW 747 that was linked several pages back in this thread.

I first start PSX, and enable the main and boost servers. I then start the external sim router program, and let it stabilize. I then start P3DV4, and load the POSKY 747 external sim aircraft from the scenario screen.

Eveything works great up to this point. When P3D loads, the 747 appears at the exact location as the PSX aircraft, and the PSX time of day transfers to P3D with no issues.

When the aircraft loads in P3D I find myself in the cockpit with no panel - just full screen forward view - which is exactly what I want. The current view text under the P3D view menu indicates "Virtual Cockpit00". So far, so good.

If I press the "S" key once. it takes me to external spot view, and I can pan around, zoom, etc.

The problem occurs when I try to go back to the full screen cockpit view. When I do so, the screen is completely black. Under the P3D View menu, the current view shows just "Cockpit", not Virtual Cockpit, as it did when the aircraft initially loaded.

EDIT: Disregard - I'm used to using the "A" key in P3D to cycle cockpit views - I found I could get back to the VC forward view by simply pressing F9...
Title: Re: PSX.NET P3D ExternalSim
Post by: Mark on Sat, 28 Apr 2018 16:32
When you get a black view - right click, and click 'Close'.
Title: Re: PSX.NET P3D ExternalSim
Post by: junkun459 on Sun, 29 Apr 2018 07:46
Hi
Another way to return from black screen is to push "W" key in P3D.

Jun
Title: Re: PSX.NET P3D ExternalSim
Post by: Greg Hateley on Sun, 20 May 2018 07:55
Hi Mark,
The radios and transponder work well back into P3D and then Vatsim. Cool.
Should I get TCAS on the ND?
Im using the latest version.

Regards
Greg
Title: Re: PSX.NET P3D ExternalSim
Post by: Swiso on Wed, 23 May 2018 10:00
Just a quick question...
Which plane you choose when running P3D.ExternalSim.Configuration ?
I see there is no "B744" on the P3D default Airplanes directory...

Thanks
Title: Re: PSX.NET P3D ExternalSim
Post by: jb747 on Wed, 23 May 2018 13:01
https://www.dropbox.com/s/dr0ubmcb2qvs8z6/PSX_747.zip?dl=0
Title: Re: PSX.NET P3D ExternalSim
Post by: Swiso on Wed, 23 May 2018 13:06
https://www.dropbox.com/s/dr0ubmcb2qvs8z6/PSX_747.zip?dl=0

Thank You very much !
Title: Re: PSX.NET P3D ExternalSim
Post by: Markus Vitzethum on Thu, 5 Jul 2018 14:49
Hi Mark,

Should I get TCAS on the ND?

I was about to ask the same question as Greg, so let me just push the question back up again.

I am happily running Externalsim 2.5 with P3D v4.2 and everything is working fine, with the exception of TCAS traffic injection (VATSIM tfc, via vPilot2.x) into PSX. Thought I had it running during last World flight but after a 3-month break from flying, I cannot get it to work.

So, I wonder, does Externalsim 2.5 currently inject P3D traffic into PSX? (Talked to Gary, if I'm not wrong he mentioned sort of a fix for this... ?)

Cheers,
  Markus
Title: Re: PSX.NET P3D ExternalSim
Post by: joergalv on Thu, 5 Jul 2018 18:24
This is what you're looking for, I think.

http://aerowinx.com/board/index.php?topic=4586.0

Regards,
Jörg
Title: Re: PSX.NET P3D ExternalSim
Post by: Markus Vitzethum on Thu, 5 Jul 2018 20:38
Great, thank you for the pointer.

I got it working (after some debugging) and found a bug in the beta ... will report in the other thread.

Thanks a lot,
  Markus
Title: Re: PSX.NET P3D ExternalSim
Post by: Tom_Borkert on Thu, 19 Jul 2018 10:46
Hi all,

does anybody of you tried out the actual ExternalSim in conjunction with P3D 4.3?

Greetings
Tom
Title: Re: PSX.NET P3D ExternalSim
Post by: Britjet on Thu, 19 Jul 2018 10:56
Yes. It works.
Peter
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Thu, 19 Jul 2018 11:30
... at home, AND in the Colonies ;)

Best- C
Title: Re: PSX.NET P3D ExternalSim
Post by: Tom_Borkert on Thu, 19 Jul 2018 12:33
Thanks Peter and Carl,

I will give it a try at the weekend.

Tom
Title: Re: PSX.NET P3D ExternalSim
Post by: Derek Adam on Thu, 19 Jul 2018 21:37
Hi   
With the marvellous PSX.NET P3D ExternalSim, P3d works flawlessly . However a request from anybody who uses GSX. Ground services will not start because the advice states that "Set Park Brake and Stop Engines"  Both are done but services will not commence.  Has anybody got a solution to this?
Cheers
Derek
Title: Re: PSX.NET P3D ExternalSim
Post by: ScudRunner on Thu, 19 Jul 2018 22:08
Hi Derek,

I have noticed this as well.

My layman's assumption on this is that when P3D is connected via ExternalSim purely as a scenery generator the functions within P3D that rely on having a calculated aircraft position cannot work as P3D is no longer generating aircraft position data for itself when connected with ExternalSim. Consequently when you arrive at a gate P3D does not actually `know' where it is and cannot therefore activate the GSX functions.

I assumed for the same reason I cannot get the replay function to work in P3D with ExternalSim - the aircraft just remains in last location before I hit replay.

I am sure Mark could confirm and I too would be interested to understand if there could be some way of getting these P3D capabilities to work when using ExternalSim. 

cheers
Sean
Title: Re: PSX.NET P3D ExternalSim
Post by: Gary Oliver on Thu, 19 Jul 2018 23:07
Same problem here with GSX, I will ask Mark to take a look next time we get together.  I would like to use GSX too :-)
Title: Re: PSX.NET P3D ExternalSim
Post by: Derek Adam on Fri, 20 Jul 2018 06:56
Hi All,
I am so delighted  with the response to my post. For weeks I have struggled to get GSX to work and for weeks i have been tempted to ask the question on the forum.
Obviously all participants on the forum use PSX for many different aspects of aviation and mine is to enjoy all non too technical aspects of flight simulation.
Once again it has proven that "the question is not asked .............."
Thank you Guys

Derek
Title: Re: PSX.NET P3D ExternalSim
Post by: cavaricooper on Sun, 22 Jul 2018 14:16
Mark/Gary-

Did something change with V4.3?  The squat visual I saw with ZFW changes has stopped occurring... any thoughts?

Ta- C
Title: Re: PSX.NET P3D ExternalSim
Post by: RogerH on Sun, 16 Sep 2018 20:23
Hi all,

Thanks for a great addon Mark

It works perfectly for me, using P3Dv4 as my scenery generator.

I know that misalignment between runways in PSX and those in scenery generators is an issue - can someone point me in the right direction to help solve this? I seem to remember seeing stuff about offsets but cannot find it again!

many thanks,

Roger.