Skip to content
Matthew edited this page Sep 2, 2023 · 11 revisions

Did you know that there is a Nightly Updater so that you can automatically update? Things to note:

  • Nightly Updater requires Java 9 or higher. If you are on Windows, you can get a suitable version here. On Linux, get it from your distro.
  • It will update to wherever it is run, so it is very important that you run it in the same directory as the Simutrans-Extended executables (otherwise it will put ~2GB of files into some other directory).
  • The command to run it in Linux is
java -jar "./Nightly Updater V2.jar"
  • For Windows:
java -jar "Nightly Updater V2.jar"

You might need to change java to javaw too.

  • By default it displays a pop-up window with information. To show the information on the command line, or to use the Updater on a server without X11, run
java -jar "./Nightly Updater V2.jar" -cl

The default download appears to be "Nightly Updater V2.jar" with spaces rather than hyphens.

This works: java -jar ./'Nightly Updater V2.jar' -cl

For advanced users on Linux

To run it in the Sim-Ex directory, as user simutrans in group simutrans (-u option has not yet been tested because there is not yet a user 'simutrans'): sudo -D /home/simutrans/simutrans-extended -g simutrans -u simutrans java -jar ./'Nightly Updater V2.jar' -cl

To run it in the Sim-Ex directory as group simutrans: sudo -D /home/simutrans/simutrans-extended -g simutrans -u simutrans java -jar ./'Nightly Updater V2.jar' -cl