This is a placeholder shim library for all known X-Plane® third party scenery libraries.
It is based on ideas and work by Chris K and subsequently Richard Elliott.
There is a solution!
This file creates a "backup" shim library for all of the known public libraries in X-Plane®. This file will allow you to load most sceneries which reference 3rd party libraries, even though you may not have the library installed. It will prevent X-Plane® from throwing an error (and in older versions of X-Plane®, quitting) if it cannot find the library.
To see which libraries are included, take a look at this folder listing.
If you find a library that isn't included, please get in touch - either create an issue in the GitHub project or contact me on x-plane.org.
As an end-user of X-Plane®, simply unzip the backup library into your X-Plane/Custom Scenery/
folder.
IMPORTANT
This package does not include any actual objects. It does not replace actually having the true library. It will simply insert a blank object or art asset in case you do not have the actual library, and thus allowing scenery to load without error.
This file also does not interfere if you have the actual library. X-Plane® will simply ignore this file if you have the real library installed.
Feel free to include this in any scenery you produce for the end-user.
This works the same as the OpenSceneryX shim library. However, since many of the other libraries never included their own 'ready to use' shim library for developer distribution, it wasn't easy to add. Now, you have an "easy button".
Note: If you include this Backup Library in your scenery package, you don't also need to include the OpenSceneryX Placeholder from the OpenSceneryX Developer Pack.
The library is built by running python3 build.py
from within the bin
folder. It trawls the libraries
folder, expecting one subfolder per 3rd party library, containing a library.txt
file and a version.txt
file. In addition, it looks for an optional versions
subfolder and scans that for previous versions of the library.
It outputs a folder into builds
which includes the version number.
Note: There is also an option to build 'For OpenSceneryX', which should only be used by the maintainer of the OpenSceneryX Library. Using this option produces a text file rather than a library file, which is ready for inclusion in an OpenSceneryX build, omits OpenSceneryX itself, and uses special OpenSceneryX-specific versions for libraries that are partially or fully integrated into OpenSceneryX.
libraries
folder with a suitable name.version.txt
file in the new library folder (copy one from another library) and update the details, including the author and a URL to the original library.library.txt
file into the new library folder.CHANGELOG.md
.libraries
folder.library.txt
found in the existing library folder into the versions
subfolder (create the subfolder if it doesn't already exist). Rename this old library.txt
with the previous version number.library.txt
into the existing library folder.version.txt
file, found in the existing library folder, with the new version number.CHANGELOG.md
.The library is distributed by zipping the built version folder and uploading to the Downloads page on x-plane.org. Also create a Release here on GitHub, include the latest changes from the CHANGELOG
in the description and upload the zip to the release.