Scenery tiles that AutoOrtho's scenery releases lack, for
OrthoStreamXP. OrthoStreamXP adds them to the region they belong to
(North America's tiles to OrthoStream_NA, and their overlays to OrthoStream_Overlays). There is no extra scenery
package to install.
- New installs of a region download its tiles from here together with AutoOrtho's mesh.
- Regions already installed get them the next time OrthoStreamXP starts (for example, the first start after an update), or from Update on the Packages page.
- AutoOrtho's files always win. A file the region already has is never replaced. When AutoOrtho's own release adds one of these tiles, AutoOrtho's version is the one installed, and the tile can be removed from here.
regions/
<region>/ eur, na, sa, afr, asi or aus_pac (AutoOrtho's regions)
region.json { "version": 1 } (raise it whenever this region's files change)
mesh/
Earth nav data/+40-130/+44-122.dsf
textures/*.png the tiles' sea masks (<row>_<col>_ZL<zoom>.png)
overlays/
Earth nav data/+40-130/+44-122.dsf
check.ps1 checks regions/ (below)
pack.ps1 regions/ -> the release's zips and supplements.json
.github/workflows/check.yml check.ps1 + pack.ps1 on every push and pull request
.github/workflows/release.yml a v* tag publishes the release
There are no terrain/*.ter files: OrthoStreamXP builds them from the tile names as X-Plane reads them.
The DSFs are plain, not 7-Zip compressed, as AutoOrtho's are. OrthoStreamXP reads two things from them: the roads in
the overlay DSFs, to paint the night lights, and the terrain list in the mesh DSFs, to prepare textures ahead of the
aircraft. It can't read either from a compressed DSF, so a compressed tile would be dark at night and load slower.
Ortho4XP compresses DSFs when 7-Zip is set up in it; unpack such a file with 7z e <file> before adding it.
The tiles are plain files in git, without Git LFS. Every file is under GitHub's 100 MB limit (the largest DSF is about 53 MB, so pushes print a warning about files over 50 MB, which is harmless). OrthoStreamXP never clones the repository: it downloads release assets only. Consider moving to release-only storage if the repository grows past about 1 GB.
- Put each tile's files in the region it belongs to:
- the mesh DSF (plain, see above) in
mesh/Earth nav data/<10° folder>/ - its overlay DSF in
overlays/Earth nav data/<10° folder>/ - its sea-mask PNGs in
mesh/textures/The 10° folder is the tile's latitude and longitude rounded down to tens:+44-122goes in+40-130, and-19-174in-20-180.
- the mesh DSF (plain, see above) in
- Raise
versionin that region'sregion.json. Regions you did not touch keep their version, so their users download nothing. - Run
./check.ps1, then./pack.ps1 -Tag vNto see the result inout/. Both run on Windows PowerShell 5.1 or PowerShell 7. - Commit and push. Check runs on the push.
check.ps1 refuses:
- a folder that is not one of AutoOrtho's regions
- a tile without both a mesh DSF and an overlay DSF
- a DSF in the wrong 10° folder
- a DSF that is 7-Zip compressed, or isn't a DSF at all (no
XPLNEDSFheader) - a tile that is in two regions
- any other file
- a file of 100 MB or more (GitHub refuses those)
git tag v2
git push origin v2
The Release workflow:
- downloads
supplements.jsonof the newest release - runs
pack.ps1(which stops if a region's files changed but its version did not) - publishes a release with
out/*, marked as the latest one
You can add release notes in release-notes/<tag>.md; they go above GitHub's generated notes.
Each release has these assets, per region:
| Asset | What it is |
|---|---|
z_<region>_supplement.zip (+ .sha256) |
the mesh: Earth nav data/ and textures/ under a top folder z_<region>_supplement/ |
y_<region>_supplement_overlays.zip (+ .sha256) |
the overlays: Earth nav data/ under y_<region>_supplement_overlays/ |
supplements.json |
the list OrthoStreamXP reads, one for the whole release |
OrthoStreamXP reads
https://github.com/flysimdev/orthostreamxp-scenery/releases/latest/download/supplements.json, so the newest release
must not be a pre-release or a draft.
{
"schema": 1,
"tag": "v1",
"regions": {
"na": {
"version": 1,
"tiles": ["+44-122", "+44-123"],
"contentHash": "<sha256 of the region's file names and contents>",
"mesh": { "name": "z_na_supplement.zip", "url": "https://github.com/.../releases/download/v1/z_na_supplement.zip",
"size": 188225125, "sha256Url": "https://.../z_na_supplement.zip.sha256" },
"overlays": { "name": "y_na_supplement_overlays.zip", "url": "...", "size": 13725266, "sha256Url": "..." }
}
}
}How OrthoStreamXP treats this list:
- An installed region records the
versionit has. It downloads the files again only when that number goes up. schemachanges only when the format does. OrthoStreamXP ignores a schema it does not know.- It also ignores a region it does not know, and any entry whose file name is a path or whose address is not HTTPS.
- Every zip is checked against its
.sha256after download.
Released under the GNU General Public License v3 (GPL-3.0), the same as OrthoStreamXP: see LICENSE.