All guides

Real weather for players

How to set up your own Tomorrow.io key and what the game does with weather while driving.

  1. Create your own Tomorrow.io account and key. Do not give the key to anyone and do not put it on a website or in a map.
  2. Save the key as plain text in ~/.openomsi/tomorrow-api-key.txt (Windows: %USERPROFILE%\.openomsi\tomorrow-api-key.txt). The file contains only the key; documentation and examples use only a placeholder such as YOUR_KEY_HERE. Alternatively set the environment variable OMSI_TOMORROW_API_KEY or OMSI_TOMORROW_KEY_FILE.
  3. Put openomsi_weather.cfg (from the map author or from the editor) into the map folder, beside global.cfg.
  4. In openOMSI 0.3.34 or newer, choose Drive → Day & weather → Tomorrow.io in the launcher (or start the game with --weather tomorrow), select the map and start the game. Without a config or key the fallback weather stays in force and a message is shown.

The key is sent only to Tomorrow.io in the apikey header. Free-plan limits may change, check them with the provider.

How the game picks weather