Releases: TwinFan/XPMP2
Releases · TwinFan/XPMP2
v3.6.0 Thread-safe Logging, Audio Devices, Windows DLL
- Logging within XPMP2 is now thread-safe: Calls to
LOG_MSGet 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 toLog.txtduring 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"
- 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`
- The definition of
XPMPTransponderModehas been changed to reflect the needs of X-Plane'ssim/cockpit2/tcas/targets/ssr_modeand can distinguish modes A, C, and S Gnd, S TAOnly, S TA/RA. A plane's transponder mode as given inAircraft.acRadar.modeis 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 bexpmpTransponderMode_ModeC, which is what your planes will appear under if you don't setAircraft.acRadar.modein 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 withxpmpTransponderMode_ModeAxpmpTransponderMode_ModeC_LowandxpmpTransponderMode_ModeC_Ident: Replace withxpmpTransponderMode_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
.objis 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
- 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.prfconfiguration file, seeResources/XPMP2.example.prffor documentation.remoteSendIntfto set the multicast send interface for remote functionalityoverrideLabelsDrawandoverrideTCAS_Controlto 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
- 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
- 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
- Fixed #54 FMOD Error 36 by correctly calculating the camera's normal vector
v3.1.0 Contrails
- Contrails: XPMP2 can automatically or as per your configuration or implementation produce contrails. For this to work you need to ship the new
Resources/Contrailfolder with your plugin. See developer's documentation for more details. - Related to #54, log more error details, but avoid flooding
Log.txtwith repeated errors. The more detailed error directs users to report occurences here.
v3.0.2 Two workarounds for Mac/Linux
- #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
- Fixes audio crackling when new aircraft are created by starting sound in paused state and unpause only later