XEarthLayer 0.5.1 released
No more kernel extension on the Mac. XEarthLayer 0.5.1 lights motorways and main roads at night, makes cities whiter, adds a network setting for home routers, keeps distant scenery bright, doubles the speed of the GPU encoder and moves to the GPL.
XEarthLayer 0.5.1 is available from the downloads page or the GitHub release.
No more kernel extension on the Mac
Until now, setting up XEarthLayer on an Apple Silicon Mac meant booting into Recovery, lowering the Mac’s security and approving macFUSE’s kernel extension. That is gone. XEarthLayer now mounts its scenery through macFUSE’s FSKit backend, which needs no kernel extension at all.
You install macFUSE and turn on macFUSE (local) once, under System Settings → General → Login Items & Extensions → File System Extensions. XEarthLayer 0.5.1 needs macOS 15.4 or later and macFUSE 5.3.3 or later. If X-Plane lives on an external drive, there are two more steps, and XEarthLayer checks the drive’s ownership setting at startup and prints the command that fixes it.
xearthlayer diagnostics now has a macFUSE section that shows the installed version and whether XEarthLayer’s volume is mounted, which is the first thing to include if you report a problem on a Mac.
The macOS guide walks through each step. Our thanks to @zodiac1214, who built and flew the first FSKit mount and found the step external drives need.
Roads and whiter cities at night
Night lighting now draws chains of street lamps along motorways and main roads, the roads X-Plane itself lines with lamps. They are read from the road overlays and airport packs X-Plane loads for each area, in your scenery_packs.ini order, so they follow the roads the simulator actually shows. X-World Pro’s roads are lit, as are those of other road overlays. In towns the lamps sit on top of the city light, and between towns they stay faint. An area with no road overlay has no road lights, just as it has no roads in the simulator.
Cities look closer to what you see from an airliner. Most neighbourhoods are now lit a warm neutral LED white, residential streets most of all, and the districts that remain sodium are a softer amber. Distant towns keep their light and colour instead of fading to orange. Close to the aircraft, the lit layer fades to a quarter of its light and then hands the ground beneath you to X-Plane’s own 3D lights.
Night textures are also generated in about half the time and are ready sooner during a scene load. See the night lighting guide for how road lights work.
A setting for home routers
XEarthLayer downloads every scenery tile as 256 image pieces at once and keeps many connections open. Some home routers and modems cannot keep track of that many connections and drop the whole network. The new network.connections setting fixes that:
maxopens every connection XEarthLayer is designed for, as 0.5.0 did. It needs prosumer or enterprise network hardware.high, the default, opens 80% as many and suits capable home routers.lowopens 65% as many, for older or low spec routers.
Because the default is high, XEarthLayer now opens a fifth fewer connections than before. xearthlayer setup asks for the level, and xearthlayer config set network.connections max brings back the old limits. See Network Connections. Thanks to @Fshrink for reporting the router that dropped out.
Sharper distant scenery
X-Plane draws distant terrain with smaller versions of each texture, and each was built by averaging the stored pixel values, which are not proportional to light. Every smaller version came out a little darker than the one above it, most of all in towns, on rock and along coasts. On 40 tiles of the San Francisco Bay Area, an eighth of the light was gone by the eighth level.
They are now averaged as light, so distant towns, hills and coastlines keep the brightness and detail they have up close. Forests, fields and water look as before. Our thanks to @mmaechtel, who measured the loss, wrote the fix and made it fast.
A faster GPU encoder
If you encode on a second GPU with texture.compressor = gpu, the encoder is about twice as fast. The GPU now builds each tile’s smaller levels itself and takes a whole tile in one step. On the laptop it was measured on, a tile X-Plane is waiting for is ready in about 9 ms instead of 17. Tiles X-Plane is waiting for no longer queue behind prefetch, and if the GPU fails mid-flight XEarthLayer carries on with the CPU encoder and says so on the dashboard.
A new license
XEarthLayer is now licensed under the GNU General Public License, version 3 or later. The GPL keeps XEarthLayer and the work built on it open, and lets it use GPL components such as those a Windows port needs. Nothing changes in how XEarthLayer works, and releases up to 0.5.1-beta.2 remain available under the MIT License. Thank you to @dlicudi, @mmaechtel and @zodiac1214, who agreed to the change.
Also in this release
xearthlayer cache cleardeletes only the cache, never the scenery indexes or a package being installed.xearthlayer run --no-cacheand--no-prefetchnow do what they say.- A bad answer from an imagery server no longer leaves a magenta square on a tile for good.
- An error XEarthLayer recovers from no longer takes the scenery away from X-Plane.
xearthlayer run --airportnow prepares the tiles along the edge of its area too.- The
.debpackage installs on Ubuntu 26.04 and Debian 13. - BC3 texture compression, which never produced usable scenery, is gone, along with
texture.formatandrun --dds-format.
Upgrading
Coming from 0.5.0, your configuration, packages and cache carry over. Install 0.5.1, then bring your configuration up to date:
xearthlayer config upgradeOn a Mac, turn on macFUSE (local) as described above, even if you approved the kernel extension for 0.5.0. Approving the kernel extension did not turn the file system extension on.
The first start downloads some imagery again, because each imagery provider now keeps its own, and night lighting saved by 0.5.0 is generated again the first time it is needed. Tiles already in your cache keep their older, darker distant levels until they are replaced. See Getting Started for the details.
Coming from 0.4.x, follow the 0.5.0 upgrade steps first: the rebuilt world replaces the old scenery.
The CHANGELOG has the full list of what changed, and bug reports are welcome on GitHub.
Credits
Night lighting is generated from NASA’s VIIRS nighttime lights:
NASA VIIRS Land Science Investigator-led Processing System. (2025). VIIRS/JPSS1 Lunar BRDF-Adjusted Nighttime Lights Yearly L3 Global 15 arc second Linear Lat Lon Grid Dataset. NASA Level 1 and Atmosphere Archive and Distribution System Distributed Active Archive Center. Date Accessed: 2026-10-16