Xar Waypoint Check Mod

Back

What the Mod Does

This mod goes through a list of locations in the world and makes sure that they all contain waypoints. This can be used to help detect when worldgen code has changed in a significant way. Feel free to copy this mod and create your own version to perform similar tests.

Interestingly enough, the world seed of your game does not affect the tests (because the xar worldgen code ignores the world seed).

How to Use It

First install the mod to Input/Packages. Then, make it so the xar package uses this mod. Then load a game in the standard xar package. Open the console and enter the command wp_check. Close the console and wait a few seconds for the tests to run. Then open the console again. If any tests failed, they will be printed to the console in red.


Download version 1.01.32

Here is the mod that checks the 1.01.32 version of the game. That is, if your saved game was created when the engine was 1.01.32 or lower, then all tests should succeed.

Note that floating point arithmetic is different on different computers, so there is a small chance of a problem from that.