Docs / Playing / User guide
Running
On this page
openomsi --root "/path/to/OMSI 2"--root is only needed once: the path is remembered, so afterwards the program can be
started with no arguments at all. Without it the installation is looked for in $OMSI_ROOT,
next to the program (an OMSI 2 Original or OMSI 2 folder beside openOMSI) and in the
usual Steam locations.
Started without arguments the program opens the launcher (see below). --menu shows the
in-game start menu instead, which asks for map, vehicle, time, traffic, passengers, the
timetable, the weather and the date (arrow keys change values, Enter starts, Esc quits).
Everything can also be given on the command line, which then skips both:
| Flag | Meaning |
|---|---|
--map maps/Grundorf/global.cfg |
map to load |
--weather Weather/Schmuddelwetter.owt --date 1989-01-15 |
weather, and the date that decides the season |
--bus Vehicles/MAN_SD200/MAN_SD80.bus |
player vehicle (--paint name, --hof name, --plate "B-AB 1234") |
--entry N / --spawn x,y,heading |
where the vehicle starts |
--time HH:MM --date YYYY-MM-DD --weather Weather/x.owt |
time, date, weather |
--traffic N --schedule --line 76 --tour 1 --passengers |
AI cars, timetable buses, the player's tour, people at the stops |
--radius N / --all |
tiles around the start / the whole map |
--view-distance M |
how far around the camera the window keeps tiles loaded (m, 1200 by default) |
--content-zip mod.zip |
read an archive in place as a content root (repeatable; OMSI_CONTENT_ZIP does the same) |
--offscreen out.png --cam x,y,z,yaw,pitch --drive secs |
render one frame to a file |
--snapshots 7,9,11 / --follow auto|bus|moving|type:X |
more pictures during a --drive run, camera behind an AI vehicle |
--riders N --refuel --wash --repair --dirt 0..1 |
passengers already aboard, the depot services, how dirty the bus starts |
--driver Drivers/OMSI-Fan.odr |
the driver's personnel file; the run is added to it |
--drive-keys simple|wasd|arrows|omsi |
the control preset (drive_keys below; simple by default) |
--autostart |
put the bus into service before the run (as Shift+U does) |
--click x,y[,dx,dy] |
press (and drag) the cockpit switch at that pixel, offscreen |
--season winter (autumn-late, spring-early, …) / --situation x.osn / --physics simple |
season override, a saved situation, the kinematic dynamics instead of the rigid body |
--enhanced / --export-glb bus.glb |
the physically based renderer; write the bus as glTF (the launcher's preview) and quit |
--enhanced-plus |
Enhanced+: the physically based renderer with ray-traced shadows, ambient occlusion and reflections |
--menu / --no-menu |
the in-game start menu instead of the launcher (which a start without arguments opens), or neither |
Passenger animations. Settings → Gameplay → Passengers → Passenger animations chooses
how the people move: Original OMSI (the default) or Natural (procedural), with
procedurally placed feet and limbs (IK). OMSI_PAX_ANIMATION=enhanced or =original
overrides the setting for one session.
Character models. Settings → Gameplay → Passengers → Character models chooses how the people look. Original (the default) draws the people of OMSI's content.
High quality (improved) draws them with the Microsoft Rocketbox avatars (91 of them: everyday people, office workers, workers, nurses, pilots, police officers, children): each person an avatar of the same kind, with a living face - they blink, look about, smile when they pay, now and then raise their brows, frown in thought or yawn late at night, and their lips move with what they say.
This is drawn on your computer only: the passengers themselves (where they go, sit and pay, their tickets) are not changed, and in multiplayer the others see their own people.
The avatars are downloaded once, the first time
the setting is on (about 310 MB, into ~/.openomsi/avatars); until they are there the people
stay the content's own. OMSI_CHARACTER_MODELS=improved or =original overrides the setting
for one session, OMSI_AVATARS_DIR names another folder of avatars.
Keys in the window: W throttle, S brake, A/D steering, and Up/Down throttle and brake as well (Left/Right keep OMSI's job of stepping through the interior cameras).
Every vehicle key of Inputs/keyboard.cfg works as it does in OMSI: throttle
Shift+Num 8, brake Shift+Num 2, steering Shift+Num 4/6, E battery and ignition, M
starter, N/R the automatic, . the parking brake.
W, S and D are OMSI's wiper,
viewpoint and D of the automatic gearbox, so hold shift for those: Shift+D selects D.
Settings → Driving → Driving keys (drive_keys, --drive-keys) changes this: W A S D +
arrows (the default, as described here), W A S D only, Arrow keys only (all four arrows drive and W/A/S/D are left to OMSI) or Custom
controls (only the layout of the Controls page).
To start a stock SD200: E (battery - it puts the ignition key in as well), M held for a
second (starter), Shift+D (drive), . (parking brake off), then throttle. Shift+U does the
whole start-up by itself (main switch, ignition, starter, gearbox to neutral); --autostart
is the same thing for an offscreen run.
Updates. When the launcher starts it asks github.com/openOMSI-org/openOMSI for the latest release and, when there is a newer one, offers it in a dialog: Update now downloads it (checked against the SHA-256 GitHub lists), puts the new program in place of the old one and starts the launcher again; mods, content and settings stay.
On Android the system's installer asks whether to update the app; Update replaces openOMSI and starts it again, Cancel leaves it as it was. No update is installed while a game runs.
Settings → General → Updates: Look for updates when the launcher starts (on by default), Update channel (Stable, the tested releases, by default; Beta, every beta as soon as it is published, for testers), Install updates without asking (off by default), and the version line with Check now.
A folder openOMSI cannot write to (Program Files, an app opened straight from Downloads on macOS) is reported with what to do.
A download that breaks goes on where it stopped (up to four times), a request that fails is tried again after 3 and 10 s, and when the GitHub API does not answer (or says its hourly limit is reached) the latest version is taken from github.com itself. A new release can always be downloaded by hand from the latest release page as well.
While it is open the launcher looks again every 30 minutes, and shortly after a game it started ends. During a session the game looks a minute in and every hour after: a newer version is downloaded in the background and a card over the navigator says so ("openOMSI X is out");
when the session ends the launcher installs the file already downloaded (by itself with "Install updates without asking", else it offers it), and never while a game runs. "Tell me about a new version during a session" switches the cards off (the download goes on).
OMSI_NO_UPDATE=1 switches the checks off; OMSI_UPDATE_URL points them at another
release description (GitHub's format; file:// works, for testing - the game then looks after
3 s).
When a version does not start. openOMSI heals a start that breaks on its own, before anything that could break has run: when it is started (a double click, the launcher) it first starts a small watcher without a window.
If the launcher crashes, ends on an error or has not drawn its first frames after two minutes (it is then ended), the watcher steps in - when that version never started on this computer, or failed twice in a row:
- a newer release, when there is one, is downloaded and installed (its program must start before it replaces anything) and openOMSI starts again;
- else the version the last update replaced - kept beside it until the new version has started well once - is put back, and openOMSI starts again;
- else openOMSI starts once more in safe mode (the basic render pipelines, no plugins);
- else a message says what to do (download the latest release, where the log is).
Each step is told in a message box. A version that failed is never installed again on this
computer, only a newer one. The project can also list a released version as broken
(release/health.json); such a version goes back to the one before, or on to a fixed one, at
the next start even when it starts well.
A crash in the middle of a drive is not a broken
start: nothing is changed then. The guard keeps its own record in ~/.openomsi/guard/
(guard.log, starts.json, bad-versions). OMSI_NO_GUARD=1 switches it off.
On Android the next start after one that never reached the launcher looks for an update at once (the system's installer asks); going back is the system's business there.
Playing now. While a session runs the game tells the project's counter (a Cloudflare
Worker, services/presence/) every ten minutes that it is being played, and says goodbye
when it ends; the website and the README show how many play right now.
What goes out is a
random id made new for each session, the version and the kind of system - nothing else, and
the counter keeps no addresses. Settings → General → "Count me in the website's "playing
now"" (on by default) or OMSI_NO_PRESENCE=1 switch it off; a dedicated server is never
counted.
O switches mouse steering on and off, as in OMSI (Omsi.exe's own formula): the cursor's
place across the whole window is the steering from full left to full right lock
([inv_min_turnradius] of the bus), from the middle up to the top edge is the throttle and
down to the bottom edge the brake (with The mouse works the pedals off, in Settings →
Driving, the mouse only steers and the pedals stay on the keys).
Above 10 km/h the same hand movement turns the wheels less and less (at 50 km/h a fifth as far), so the wheel feels heavier the faster the bus goes; for the first second after switching it on the wheel and the pedals ease towards the cursor.
Settings → Driving → Mouse steering sensitivity makes it more or less sensitive (100 % = OMSI). Mouse pedal strength sets how much cursor travel is needed to reach full accelerator or braking: above 100 % the pedal reaches full sooner and below 100 % it takes more travel.
Mouse steering works in the driver's, the passenger and the outside view; the wheel follows the cursor smoothly (a short easing, no steps). With Smooth mouse steering off (Settings → Driving) the wheel and the pedals are where the cursor says at once, as in OMSI.
While the mouse steers the cursor is held, so the wheel reaches its full lock past the window's edges and a cross shows where it steers;
with Hold the cursor while the mouse steers off the system's crosshair is shown (it follows the hand without the frame's delay, and a graphics tablet's pen works with it), kept inside the window while the mouse steers, and the window's edges are the lock, as in OMSI (on Windows and Linux: macOS does not let a game keep the cursor inside its window).
Three switches there change the steering keys (all off by default): Steering linearity turns
the wheel at OMSI's own steady pace (the curvature grows by the same amount every millisecond
the key is held, whatever the bus), Old Steering is OMSI's wheel that stays where you
leave it - turn it back yourself - and Dynamic steering makes the keys turn the wheel more
slowly at speed (OMSI's redSteerSpd).
Num 5 (steering_neutral) brings the wheel back to the
middle in a straight line, as in OMSI at the pace the keys turn it (never slower than the
wheel comes back by itself). The clutch key works as in OMSI: the pedal goes down at once
and comes up slowly (0.7 per second) when the key is released.
On a force-feedback wheel the bus is felt all the time, not only when it hits something: the steady road under the tyres and the engine's buzz come up as a tremble that is strongest at speed and on a wet or snowy road, and the engine's is there even at a standstill, as a real one is.
Settings → Driving turns each of them off or up to four times as strong, and sets how long a jolt or a scripted shake takes to ease away (off = it stops at once).
Left-click a cockpit switch to operate it, hold the button and move the mouse to turn a knob,
or roll the mouse wheel over it (that is the <event>_drag OMSI fires); the name of the switch
under the cursor is shown in the HUD.
Right-drag the mouse (or drag with the wheel pressed, OMSI's pan) to look around in any view
(the head turns inside, the camera swings around the bus outside), I/J/K/L does the same from
the keyboard, and Shift+right-drag zooms - this is OMSI's [altView] mode, the Camera setting
"Right mouse button turns the view".
Switched off, the right button zooms as in OMSI's default (up: the outside camera backs away, the view inside widens up to the seat's own) and only the wheel button turns the view;
each view keeps its own
direction (turning the outside camera leaves the driver's head where it was), Space looks
ahead again in every view (OMSI's view_reset_all_directions), Home recentres the view shown
where keyboard.cfg does not make it the ticket desk camera.
The mouse wheel (and = / -, a pinch on a phone) zooms: outside the camera comes closer, inside the bus the view narrows, as in OMSI; Ctrl+wheel outside narrows the view instead (a telephoto, the camera stays where it is).
F1-F4 driver / passenger / outside / map (free) camera, F5-F8 the destination
sign and roller blind keys as in OMSI, Ctrl+S quick save (OMSI's quicksave; Alt+S works too), Alt+F the flashlight (a lamp at the eye that shines where the view looks; plain F is the bus's high beam), F9 write the
run into the personnel file, WASD+QE in the free camera (Ctrl+click on the ground there
moves the bus to the nearest street), left click on cockpit elements, the chat key (/ by default, see Controls) opens the chat line in a
LAN session.
Esc opens the game menu, drawn in the launcher's style: its lines on a rail on the left, the picture of the game beside it with a card of what is being driven, Resume. Its lines:
- Options
- the settings, as in the launcher
- Camera
- the seat, the field of view, the view and mirror editor
- Skip the next stop
- also Ctrl+Shift+H: for a stop the bus cannot reach or never registers at
- Save to a slot
- a new slot, one under a name you type, or one to save over
- Load a situation
- the quicksave or any save of the map, by its name
- Photo mode
- below
Vehicle options has the destination display the depot file, the fleet number, the driver, driving another placed vehicle, placing any vehicle of the installation, coupling, uncoupling, getting out, swapping or reloading the vehicle, the service - refuel, wash (only at a petrol station or in the depot's wash yard, as in OMSI), repair, putting the bus back on its wheels, moving it on the map. World options has the clock, the date, the weather (and a custom weather), temperature, wind, the traffic, the passengers, the object editor (below).
On a server the menu is shorter: the clock, the weather are the server's. The mouse works the menu, so do Up/Down, Enter, with Left, Right stepping a value, the settings are kept for the next game.
Home is the ticket desk camera and Insert the timetable view (as OMSI's keyboard.cfg binds them), the change keys of keyboard.cfg hand out or take back the change.
The HUD shows time, speed, line, next stop, delay, what the workshop just did (and why the bus stands: the parking brake, low air pressure, a line the date's chrono takes off), the controls for the first seconds.
Photo mode#
Photo mode in the game menu (or Ctrl+F12, the photo_mode key) stops the game and hands
over a camera of its own, as the racing games' photo modes do.
WASD fly it (level over the ground whichever way it looks), Q/E (or Space) go down and up, the right mouse button held - or the left one over the picture - looks round (the arrows too), the wheel and +/- zoom the lens, Z/X roll it and R levels it again, Shift is faster and Alt slower, Tab steps through the panel's pages, H hides the panel, Enter (or F12) takes the photo and Esc leaves.
A gamepad: the left stick moves, the right one looks, the triggers go down and up, the shoulder buttons roll, the d-pad zooms, A takes the photo, Y hides the panel, X levels, B leaves. The camera stays within a distance of the bus (25 m to unlimited) and above the ground; Orbit turns it round the bus instead.
The panel has five pages. Camera: free or orbit, the focal length (10-400 mm, a full-frame camera's), the roll, the speed, the distance allowed, the frame (the window's or 16:9, 21:9, 3:2, 4:3, 1:1, 4:5, 9:16 - the photo is cut to it) and the guides (thirds, golden ratio, centre). Lens: depth of field with the aperture (f/1.2-f/22), the focus on the bus or at a distance set by hand and the bokeh's shape (round, 5, 6 or 8 blades);
motion blur for a rolling shot with the shutter speed (the bus stays sharp, the street passes - it needs the bus moving when the game was stopped);
how many samples a photo is made of. Colour: exposure, contrast, highlights, shadows, saturation, vibrance, temperature, tint. Effects: a film look (vivid, warm, cool, vintage, sepia, black and white, noir, bleach bypass, teal and orange, faded film) and its strength, film grain, vignette, colour fringes, sharpening. Scene: the clock an hour or a quarter on or back, and the photo's size (the window's or double).
Depth of field and motion blur are real: the photo is the average of many pictures,
each taken through another point of the aperture and at another moment of the shutter, so
what is shown sharpens over a second or two once the camera stands still (the panel shows
how far). What is shown is the photo as it is saved - a PNG in the Screenshots folder.
Settings → General → Photo mode → Advanced (for photographers) gives the panel a camera body instead, on six pages (Body, Exposure, Lens, Colour, Develop, Scene): sensor size, P/A/S/M exposure with ISO and metering, white balance in kelvin, tilt-shift, a histogram, focus peaking, bracketing and 16-bit PNG.
On a duty the game keeps a journey log in the content folder's Journeys (one text file
a duty, named by the real date and time it began and the line and tour): each trip driven
with its stops, their planned and actual arrival and departure and how far off those were,
and whether the bus came late (over 3 minutes), left early (over 2 minutes, as the personnel
file counts them) or missed a stop.
It is written again at every stop, so a crash loses nothing - what virtual bus companies ask their drivers for.
Trolleybuses#
A map with an overhead wire (trolley.txt) and a bus with poles ([trolley_pole]) make a trolleybus
that moves only on current.
Put the poles on the wire from outside the bus: get out (Ctrl+Shift+G, the
get_up setting) or use the outside camera (F3), go to the back of the bus, hold R and look at the
wire (the pole nearest to you rises and follows your look), let go of R when the boom is under the wire.
T pulls the nearest pole down; Shift with R or T takes both poles. Poles with a motor go up and down from the cab with R and T. Details, the formats and the checks: TROLLEYBUS.md.
Something wrong or missing? Fix it on GitHub or open an issue.