Ortho4XP Tile Validator
- Built dozens if not hundreds of Ortho4XP tiles, but now get mysterious crashes when scenery tries to load?
- Had your Ortho4XP process crash during the night and don’t know which tiles completed successfully?
I have. So I wrote a utility to scan through all the Ortho4XP tiles and validate them, reporting any tiles that have errors so I can fix them in Ortho4XP.
If you already have Python(v3) installed and working, you can use pip3 to install:
$ pip3 install otv
There are three ways to run the program:
If you installed via the pip3 installer, you’ll have an executable named otv available, so you should be able to:
- cd into your Ortho4XP directory
- run otv
python3 bin/otv YourOrtho4XPdir
(Obviously; change “YourOrtho4XPdir” to wherever you’ve stored your Ortho Tiles)
- Extract the package (anywhere on your filesystem)
- Create a shortcut from bin/otv.exe on your desktop (must be a shortcut).
- Go to the Properties of the shortcut and change the “Start In” field to point to your Ortho4XP directory.
Then you can simply double click the shortcut to run the utility anytime.
Running otv without any additional arguments will give you a help message:
usage: Ortho4XP Tile Validator [-q | -v] [-p | --no-pause] [--no-progress] [-h] [--version] [tile_directory] Scan all Ortho4XP Tiles and report any problems positional arguments: tile_directory Directory where Tiles are stored (usually your Ortho4XP dir) - If not provided; will use the current directory display output: -q, --quiet Suppresses all output; exit value indicates errors found -v, -V, --verbose Increase verbosity (repeat to increase verbosity more) alter defaults: -p, -P, --pause Pause the program before exiting (default for Windows) --no-pause Disable auto-pause --no-progress Disables the progress bar display help and information: -h, --help show this help message and exit --version show program's version number and exit
Currently, it checks for things like:
- missing or empty data directories (Earth Nav Data, Terrain, Textures)
- missing references to textures from each terrain file
- textures which exist but aren’t referenced from a terrain
OTV is currently in beta, so if you’re interested, please try it out and let me know how it works for you. I would appreciate any feedback and/or bug reports.
- On Windows, the utility will pause after each run, even if running from a command line. This is done because most Windows users will be running the util from a Shortcut, so the pause is necessary without having to specifically add it. You can use the --no-pause option to disable this functionality
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|otv-1.0.1-py3-none-any.whl (10.7 kB) Copy SHA256 hash SHA256||Wheel||py3||Feb 7, 2018|
|otv-1.0.1.tar.gz (5.7 MB) Copy SHA256 hash SHA256||Source||None||Feb 7, 2018|