Skip to content

Releases: TwinFan/XPMP2

v3.6.0 Thread-safe Logging, Audio Devices, Windows DLL

08 Mar 21:34
078e97c

Choose a tag to compare

  • Logging within XPMP2 is now thread-safe: Calls to LOG_MSG et al. from XPMP2's worker threads no longer call XPLM functions, which isn't allowed for some time already and might be enforced even more by X-Plane in upcoming releases. Instead, such messages are stored briefly and flushed out to Log.txt during the next flight model loop run.
  • Sound: Added functions to list and switch audio devices (if running a separate FMOD instance), see XPMPMultiplayer.h. Inspired and partly based on code by the xpilot-project.
  • Added possibility to build XPMP2 as a Windows DLL, though I added a few warnings to the usage documentation. Based on concepts by @JeanPhilippeLebel.

Note: One new header file inc/XPMPExport.h due to DLL support. No other changes required to your projects if you just want to continue building a static library.

v3.5.1 Fix for "Traffic plugin error...gave us target with no ID"

26 Feb 22:56
359ebd8

Choose a tag to compare

  • Fix to avoid X-Plane 12.4+ to complain "Traffic plugin error...gave us target with no ID"
  • Aligned Windows compile options
  • Updated Doc8643.txt

v3.5.0 `XPMPTransponderMode` fed to `.../targets/ssr_mode`

15 Feb 21:10
97fa0d4

Choose a tag to compare

  • The definition of XPMPTransponderMode has been changed to reflect the needs of X-Plane's sim/cockpit2/tcas/targets/ssr_mode and can distinguish modes A, C, and S Gnd, S TAOnly, S TA/RA. A plane's transponder mode as given in Aircraft.acRadar.mode is now forwarded to that dataRef, which allows TCAS implementations to learn the specific mode the plane operates under. Future X-Plane TCAS will take this information into account. Default remains to be xpmpTransponderMode_ModeC, which is what your planes will appear under if you don't set Aircraft.acRadar.mode in your implementation.
    If you used one of the following enums in your code you will need to adapt for it to compile:
    • xpmpTransponderMode_Mode3A: Replace with xpmpTransponderMode_ModeA
    • xpmpTransponderMode_ModeC_Low and xpmpTransponderMode_ModeC_Ident: Replace with xpmpTransponderMode_ModeC.
  • Properly clearing not used sim/cockpit2/tcas/targets... data Refs, noticeable when number of planes goes down.
  • Fixed a bug determining if a XPMP2-generated file .obj is to be loaded for a CSL model. This decision is now delayed to load time fixing an issue with some X-CSL models.

v3.4.0 Airline Mapping, Reworked Multicast

03 Feb 21:12
768fcb5

Choose a tag to compare

  • Added #64 airline mapping in new file relOp.txt, which allows to use same liveries for subsidaries of mother airline companies, like using EIN (Aer Lingus Ireland) liveries for EUK (Aer Lingus UK) flights.
  • Fixed #65 using all network interfaces for remote functionality. Also supports IPv6 now. For this to work perfectly both master (the plugins sending data) as well as the Remote Client need to be updates.
  • Added more options to the optional XPMP2.prf configuration file, see Resources/XPMP2.example.prf for documentation.
    • remoteSendIntf to set the multicast send interface for remote functionality
    • overrideLabelsDraw and overrideTCAS_Control to override display of labels and control of TCAS/AI
  • Updated Github Actions for checkin/out to latest and madatory v4, unfortunately requiring separate artifact files per platform

v3.3.1 Fixes: Freeze in XP12.0.8 / Sound Crackling

11 Nov 23:02
36db88d

Choose a tag to compare

  • Reduce audio crackling upon creation of planes by starting all sounds in a paused state. This code was in earlier but got removed when incorporating XP's Sound API. This fix only works with the FMOD library compiled/linked into XPMP2 as XP's Sound API doesn't provide (un)pause functionality.
  • Fix freeze in XP12.0.8 with TCAS on that was reported on Linux.

v3.3.0 Use X-Plane's Sound API

05 Nov 19:45
202792c

Choose a tag to compare

  • Use X-Plane's Sound API
    • If run under XP12.04 or later, this XPMP2 version makes full use of X-Plane's Sound API and plays sound fully integrated in X-Plane's sound system without even the need to provide FMOD libraries.
    • The ability to link with FMOD and have XPMP2 create its own FMOD instance is fully retained. If built with FMOD libraries then XPMP2 can produce sound also under XP11. Plugins remain binary compatible with both XP11 and XP12.
    • For more details see the updated XPMP2 Sound documentation.
  • Fix: TCAS Slot assignment / clear if not used: Fixes situation in which TCAS slots 20-63 aren't updated any longer for some time
  • MacOS 10.15 is minimum system requirement, in line with X-Plane 12 requirements

v3.1.1 Fix FMOD Error 36

07 Jan 22:25
5bfaa37

Choose a tag to compare

  • Fixed #54 FMOD Error 36 by correctly calculating the camera's normal vector

v3.1.0 Contrails

31 Dec 16:12

Choose a tag to compare

  • Contrails: XPMP2 can automatically or as per your configuration or implementation produce contrails. For this to work you need to ship the new Resources/Contrail folder with your plugin. See developer's documentation for more details.
  • Related to #54, log more error details, but avoid flooding Log.txt with repeated errors. The more detailed error directs users to report occurences here.

v3.0.2 Two workarounds for Mac/Linux

18 Dec 21:42
9dbc5a8

Choose a tag to compare

  • #54, ignore an error that on some Linux distros initiated a Sound system shutdown, which in turn froze the XP system
  • Workaround/Apple/XP12 for XPD-13332: Don't init AI positions

v3.0.1 Fix Audio Crackling When Creating New Aircraft

10 Dec 22:45
50309d3

Choose a tag to compare

  • Fixes audio crackling when new aircraft are created by starting sound in paused state and unpause only later