Repository navigation
openOMSI 0.3.42
Pre-releaseopenOMSI 0.3.42
Early release, expect bugs. openOMSI needs an original OMSI 2 installation to run; it contains no game content.
Changes since 0.3.37:
-
Enhanced has options of its own, and the quality presets cross the modes. Enhanced+ is no
longer a mode: it is Enhanced with Real-Time Ray Tracing switched on (ray_tracing=1; a
graphics=enhanced_plusfile reads as that, and--enhanced-plusstill asks for it for a run).
Graphics has Light has shadows (light_shadows: Off, Street lamps and vehicles, Every light),
Cloud shadows and light shafts (cloud_shadows), Glow of lights (light_glow),
Real-Time Reflections (the puddles' setting, now with the wet roads' and the water's) and
Reflective objects reflect (the reflection maps), next to the street light and the mirrors. The
presets are Low, Medium, High, Extra, Max and Ultra, and each sets the mode too: Low is Vanilla,
Medium Vanilla+ (what the game starts with), High to Max Enhanced with more switched on at each
step, Ultra Enhanced with ray tracing and everything on. The launcher, the game's options, the
Apple app and the quality optimiser follow it; every new text is translated into all the
languages. -
The clouds' shadow lies over the land (Enhanced): the sun is no longer one number for the
whole picture. A field of nine kilometres, worked out from the very heaps the sky shows and kept
in the sky table's texture, makes patches of sun and shade on the ground that the wind moves, and
the air scatters the sun's shafts through the gaps of a broken sky as far as seven kilometres. -
Lights shine and cast shadows in every direction (Enhanced, Light has shadows: Every
light): a spot that is no headlamp gets a map along its own axis, the two strongest lamps that
shine every way a cube map of six tiles (fifty-six lamp tiles now), and a lamp in the dark has a
glare round it that falls as the cube of the distance and a halo in the night air (Glow of
lights). -
Wet roads and water mirror the street (Enhanced): the sheen of a wet road and still water
trace what stands round them in screen space at their Fresnel share, not only the pools - the
lit windows and lamps of a street stream down a wet road at night. -
A flashlight (Alt+F): a hand lamp held beside the eye that shines where the view looks, a
warm white cone reaching 50 m with a soft edge, in the Vanilla and the Enhanced pictures, in
every view, by night in the dark or by day inside a dim cab.flashlightin keyboard.cfg's
[game](or a controller button) switches it as well. -
Choose where openOMSI keeps its data (Setup ›
.openomsifolder): settings, profiles,
logs and caches can live in another folder, on another disk. A game and its launcher find the
folder through a pointer file beside the program (beside the.appon a Mac, so an update of
the bundle keeps it); a first start, or an installation that cannot be written, uses~/.openomsi
as before. Moving copies the folder first, in the background (leaving the page does not stop it),
and switches only when the copy is whole; a copy that fails leaves the old folder as it was. The
default~/.openomsiis kept after a move, because other copies of openOMSI may still use it. -
A modern engine for HTML screens (opt-in): a page that puts
<meta name="omsi-engine" content="modern">in its head runs on a second engine with flexbox,
positionwithz-index, borders,calc()and custom properties, attribute selectors,
combinators, gradients, shadows, and a full JavaScript engine (Boa): classes,Promise,
async/await, ES modules,fetchof the page's own files and a fuller DOM. Pages without
the line keep the classic engine and are not touched;OMSI_HTML_ENGINE=modernruns every page
on the modern one for comparing. See docs/HTMLTEXTURE_MODERN.md. -
Transport modes in the launcher: maps and vehicles show their mode (tram, railway, metro,
trolleybus), the map and vehicle pickers can filter by it, and a vehicle that does not fit the
chosen map is marked with the reason and cannot be started (the game refuses it too). -
Signalling blocks, points and depot gates for the AI trains: blocks of
signals.cfg(given by
where they begin and end) hold AI trains one at a time, and the map's signal objects show
whether their block is free; the points ofswitches.cfgstay under a train, return to their
rest position, can bemanualor locked by a signal; the first departure of a service comes out
of its depot's gate. -
The overhead wire and the third rail power the player's rail vehicle: with a
catenary.cfgor
thirdrail.cfgin the map'stransportfolder a tram's pantograph or a metro's shoe needs a live
section under it (dead sections and breaks stop the drive, a sagging line weakens it), a vehicle
says[rail_power]where it gets its current.network.cfgsets the class, street, third rail,
tunnel and speed of the rail lanes, andswitches.cfgthe speed of a diverging branch. -
AI trams, trains and metro trains by services: the trips made from a map's
routes.cfgare
routed by the game over the whole map's network (the lanes of the mode's kind nearest each
station, the shortest way through them, with the direction of the lanes respected) and timed
from the stretch lengths, the segment speeds, acceleration and the standing at stops; their
departures wait until the track is found, and a trip that cannot be routed is named in the log. -
Scripts for vehicles and map objects: a vehicle can name Lua or
.oopscripts with
[vehicle_script]that start when it becomes the player's and stop when it is left, with the
permissions of vehicle content (ui,storage,vehicle_write,audio). A.scocan name
scripts for the objects placed from it ([lua_script],[lua_range],[lua_rate]); they hear
object_init,object_frame,object_clickandobject_goneand drive their own objects
through the newomsi.object.*functions: variables, strings,{trigger}s, and moving,
turning, scaling or hiding single meshes. Scripts are told apart by their whole path, so two
folders may each hold agate.lua. See docs/PLUGINS.md and
docs/OBJECT_SCRIPTS.md. -
Realistic rail physics (with the setting "Realistic road physics", or
OMSI_REALISTIC_ROAD=1;
off by default, so no existing tram, train or trolleybus drives differently without it):- Pantographs meet the wire: a raised pantograph rises until its head touches the contact
wire and no further (the head's travel is measured on the model's own meshes and animations;
the script's variable is left alone, only the animation is shown the travel at which the head
is on the wire), presses it with its static force, and brings current only while it lies on a
live wire. The wire is the standard height of the class over the rails (kept within the
pantograph's reach; it is not read from the map yet), staggered across the track, harder at
forks and rougher in the wet and the frost. Where the wire is uneven at speed the head leaves
it: a break under current strikes an arc, drawn as sparks and a flash; lowering under load does
the same.Panto_Height,Panto_Contact,Panto_Force,Panto_ArcandPanto_Poweredare
written for models and sounds. - Rail bodies ride on their springs: heave, pitch and roll on the secondary suspension answer
the lateral acceleration of a bend, the traction and the brake and the unevenness of the rails
at each bogie, with damping.rail_body_roll,rail_body_pitch,rail_body_heave,
rail_accel_sideandrail_accel_vertare written for scripts. - AI trams and trains pull as their class does: the pull falls with speed at the class's power.
- Legacy trolleybuses keep their script's traction, including its gear and door-brake
interlocks, even with realistic physics enabled. An inferred generic drive stays inactive
until a script adapter can honor those controls. Explicitly configured trolleybus drives
and pole simulation remain available.
- Pantographs meet the wire: a raised pantograph rises until its head touches the contact
-
Rail traction, brakes and couplings:
[rail_traction](a curve of pull against speed, a
power limit, an electric brake),[rail_brake](air with a brake pipe wave and filling
cylinders, electro-pneumatic or direct; the electric brake first, the friction brake the rest)
and[rail_coupler](free play, draft gear, strength; a train pulled apart breaks in two) for
pedal-driven trams, metro and railway vehicles. Without the blocks nothing changes. See
docs/RAIL.md. -
Scripts that belong to a vehicle:
[vehicle_script]in a.busor.ovhnames a Lua or
.oopscript that runs as a plugin while that vehicle is the player's, with the plugin API and
the permissions of vehicle content only (ui,storage,vehicle_write,audio). See
docs/PLUGINS.md. -
Suspension types: an axle can say
[suspension]withtype coil | leaf | air | progressive. Leaf springs stiffen and rub (dry friction between the leaves); air bellows hold
the ride height of the empty vehicle whatever the load, through a levelling valve; axles
without the block are OMSI 2's strut, unchanged. See docs/SUSPENSION.md. -
The
transportfolder of a map: stations with platforms, routes without tours (a
route is segments from station to station and the services that run over them: a line with a
branch, a short-turn or an express is more segments and another service), the overhead wire,
a third rail, switches, depots, signals and blocks, in plain text files. Check them with the
transit_checkexample. The data is read when the map opens and the problems are logged, and
every service runs as a timetable line (one tour per departure and direction) in the launcher,
the duty and the AI. See
docs/TRANSPORT_FORMATS.md. -
Transport modes: a vehicle and a map can say what kind of transport they are for with
[bus_transport],[tram_transport],[railway_transport],[metro_transport]and
[trolleybus_transport]. A bus does not start on a tram map and says why; a map with none of
them takes every vehicle, and a vehicle with none is judged by its shape as before, so nothing
that works now changes. The launcher lists the modes of maps and vehicles; timetable vehicles
and the AI pool respect them. See docs/TRANSPORT_MODES.md. -
AI Lists (Settings, the new AI Lists tab): choose, map by map, which AI cars, lorries and
buses the traffic is made of and which buses run on which line - only from what is installed
(the AI vehicles and the buses, with every repaint), nothing new is added. Traffic changes the
weighted lists of the random traffic (replace a car by another, add or remove one, set how often
it appears); Depot buses changes a depot's types, fleet numbers, plates and repaints; Lines
makes a line run only, or mostly, the types you choose (a type the line's depot lacks is added to
it with a few buses). Every list and the picker show the vehicle in the 3D preview of the Drive
page. The map's own files are never touched: the changes are kept in the content folder
(ailists_#user.cfgandcar_use/!openomsi-ai-lists-*.ocuof the map's folder, the format OMSI
itself reads), a group or a line can be reset on its own, and Reset the map deletes them, which
gives the map's defaults back. Translated into every language of the launcher. -
LAN protocol 15: a game of this version cannot join a session of an older one, nor the
other way round (the AI traffic goes as a table, see below). Update the game on both sides. -
Every light casts a shadow (Enhanced and Enhanced+): the lamps' shadow maps were four, now
there are forty-four, tiles of an eighth of the far shadow map's width (256 texels at the
default 2048) in six rows under it - only where the picture is an Enhanced one, so Vanilla and
Vanilla+ need no more than the far map itself - and smaller where the graphics card's textures are too low
for them. Twenty are the world's: the street lamps, floodlights and platform lights lighting
the view most keep their map while they stay among the strongest, and a lamp new to the set
takes a free one (six a frame at most). Eight look along the road from the headlamps of the
player's bus and of the cars in front of the camera (a car behind it that drives away has none),
a pair of lamps sharing a map, taken for a place to half a metre so that a car driving by draws
it every few frames, not every one; the car's own parts cast nothing into it. Sixteen are the
lamps of the player's saloon: they hang over the seats in the bus's own frame, so that the maps
hold still while the bus drives. They hold what stands still in the bus - the seats, the rails,
the panels, a shut door; the wheels, the steering wheel, a swinging door, the driver and the
passengers are left out until they have stood still for half a second - so that driving the
SD77 at night draws none of them again (a tile with a tree in the wind in it is drawn every
third frame, on its own turn). A handrail, a seat or a stanchion shades the floor, the seats
and the panels behind it - also where the model's light maps ([matl_lightmap]) lift a surface
to its texture's colour, which now stops where the lamps' light does not reach. The lamps name
their tile in their record, no more a search through four, and the beams in fog, rain and snow
of every lamp with a tile (the point lamps' too, not only the headlamps') are cut by it.
OMSI_NO_CABIN_SHADOWS=1leaves the saloon's lamps without shadows;OMSI_DEBUG_DRAWS=1logs
the tiles drawn each frame. A free camera high over the street chooses the lamps by their
distance along the ground, as the lamps round it are the ones that light what it sees. -
Mirrors drawn as the Enhanced picture show the sun's shadows too (Graphics: Mirror quality:
As the picture (Enhanced), which stays opt-in, Standard the default): they used to need
Shadows in the mirrors as well. They look up the window's shadow maps, no pass of their own. -
Shadows in the headlamps' beams (Enhanced): the light the fog, rain or snow scatters
from a headlamp or a street lamp's beam is cut where a pole, a car or a wall stands in
the beam, as the sun's shafts are cut by the shadow maps: the beam looks up the lamp's
shadow tile along its way (one filtered tap a step, no pass of its own).
OMSI_NO_BEAM_SHADOWS=1draws the old picture.OMSI_DEBUG_PAD=1logs every game
controller button event (the ones the assignment menu waits for), for a report that a
pad's buttons cannot be assigned.
On foot
- Walking is paced like a person's: 1.4 m/s walking and 3.8 m/s running, reached over about a
second and stopped over a few steps instead of at once, turns are curves, and the eyes glide
over kerbs and steps instead of following every footfall (OMSI_FOOT_WALKandOMSI_FOOT_RUN
set the paces).
Trolleybuses (docs/TROLLEYBUS.md)
-
A map can carry a real overhead wire (
trolley.txtbeside itsglobal.cfg): two wires of
opposite polarity, sections that are live or dead with an insulator between them, frogs
(switches) and the feeder's voltage drop. A vehicle's.buscan carry real poles
([trolley_pole]) and a modelled drive ([trolley_rheostat],[trolley_async]). OMSI 2
has no wire of its own (its trolleybuses run a plugin), so these formats are openOMSI's. -
A trolleybus only moves on current: both poles must be on live wire of opposite polarity. The
poles are real booms with a spring, a mass and a shoe that holds the wire: the shoe leaves the
wire where the wire rises faster than the boom can follow, and the pole comes off when the
wire lifts out of the shoe, when the bus stands too far off the wire's line (also at a switch
set the wrong way), when a bend is taken too fast, or when the wire ends. On a dead section
the bus rolls on and stops. -
Out of the cab, near the back of the bus (on foot, outside or free camera), hold R to take
a pole's rope and aim the boom at the wire, let go to put it on; T pulls a pole down;
Shift takes both. Modern poles with a motor go up and down from the cab with the same keys. -
The rheostat drive solves its series motor against the resistor stack with a stepping
controller, resistor heat and dynamic braking; the asynchronous drive is an inverter with
regenerative braking into the line where the section takes it, a brake chopper and an optional
battery for manoeuvring away from the wire. A vehicle with a scripted drive of its own keeps
it, and loses its torque without current. -
Frogs are set by the current the bus draws at the contact plate before them (power takes
the branch, coasting goes straight), or by its indicator. -
Arcs where current is broken (a shoe leaving the wire, a pole coming off, an insulator or a
frog crossed under power): a flash on the wire and the roof, sparks, a crack; the shoes
hiss on the wire with the current and the speed; contactors click, shoes and poles thud.
New variables for models:Trolley_Pole<k>_Elev,_Azim,_State,Trolley_Volts,
Trolley_Amps,Trolley_Powered,Trolley_Notch,Trolley_Arc,Trolley_Hiss. -
Real OMSI 2 trolleybus content runs as it is (docs/TROLLEY_MODS.md): a
map's wire splines (two thin strips high over a spline, as the Bronitsyn map draws its wire) are
the wire network, frogs where three of them meet; a trolleybus add-on that only shows folded and
raised pole meshes bycp_SHTANGALEV/cp_SHTANGAPRAVgets real poles from those meshes, keeps
its own script's drive (cut without current) and is read as rheostat or pulse-controlled from
its description. -
New environment variables:
OMSI_TROLLEY_DEAD_AT,OMSI_TROLLEY_FILE,OMSI_TROLLEY_DEAD,OMSI_TROLLEY_UP,
OMSI_TROLLEY_HANDS,OMSI_DEBUG_TROLLEY.
Phones and tablets -
The free camera (F4) on a touch screen: the cab panel's new "Free camera" button flies out
of the cab, a stick at the bottom left moves the camera (the further it is pushed, the faster:
fine control near the middle), a finger dragged on the picture looks round, two fingers zoom,
the buttons at the bottom right rise, sink and halve or double the speed, and "Exit free
camera" (always on the screen, also with the controls hidden, and in the cab panel) goes back
to the driver's seat. -
Photo mode for fingers: its own buttons (the shutter, leave, the settings sheet, hide the
panel, a stick and rise / sink / fast), a drag turns the camera, a tap focuses there, two
fingers zoom the lens. The settings come in a sheet from the bottom of an upright screen or a
panel at the right of a wide one, inside the screen's cut-outs, scrolled with a finger. -
The bus preview of the launcher draws two pictures ahead while it turns, the JPEG is made on
its own thread, and a turning bus is drawn smaller on a phone (the picture at rest is sharp),
so the preview keeps up with the screen instead of about 20 pictures a second.
Weather and light (Enhanced)
-
The eye adapts the way an eye does: a picture much darker than the light model expects
(a dark cab, an underpass) is made up for over some three seconds - five-sixths of it,
across six stops, where a bright surplus (snow, the sun in view) still only darkens the
picture a little - and a dazzle on coming out passes in about a second. This is for the
day: through the dusk it gives way to the old gentle metering, so the blue hour and the
twilight of a summer night are not shown brighter than the sun under the horizon makes
them (a white night comes only where the sun stays a few degrees below it). The
Enhanced+ picture takes the same metering. -
The sky's occlusion by houses, trees and hills is worked out on the street's scale (18 m),
not only the first two metres: a narrow street or the shade under a crown is darker than a
square, and the surfaces round a point light it with what they send back (the last
frame's picture, colour included: a sunlit wall lights the one across the street, lit
windows light the street at night). The light is read where the surface was in the last
frame's picture, so it follows a turning head and a moving bus, and not at all after a
cut (another view, a jump) or where a surface was hidden then; the cab's own dashboard
and pillars do not shade the street. It is the Enhanced picture's with the AO on: the
other pipelines pay nothing for it (two-channel targets, no history picture, the old
blur). A lamp or a lit sign among the surfaces does not stand in the picture as a bright
square. Thestreet_lightsetting (Graphics: Street light: Auto, On, Off) switches it.
It is off by default; On enables it, and Auto enables it except on a small or shared
graphics chip. The optimiser turns it off when the
GPU is the limit.OMSI_WIDE_AO=reach,strength,gain,maxtunes it. -
The physical weather model keeps the water of the grey deck (its optical depth, a thin
stratus to a raining nimbostratus), so a rainy or winter day is as bright or as dark as
its cloud is thick. It also gives the cumulus layer its own base (the condensation level)
and depth (a shallow sheet under a high, towers in moist rising air), altocumulus, and
thunderstorms. -
A thunderstorm has lightning: flashes of several strokes light the clouds from inside and
the street with a cold light, a cloud-to-ground stroke draws its crooked channel, and the
thunder is heard after the distance's delay, from the flash's direction. The flashes are
worked out for every pipeline from the day's seed (a replay of a day repeats them), so the
thunder of a storm is there without the Enhanced picture.OMSI_STORM=activity[,azimuth]
shows one. -
The sun's shafts between houses and trees are followed up to 420 m: the first 180 m in
the same steps as before, the rest in a few wider ones. -
The cumulus layer's height follows the ground under the player, so a map in the hills
keeps its clouds. -
Road markings on the map when zoomed in: lane lines and their dashes, edge lines, stop
lines, crossings and arrows, white and yellow, read off the road textures themselves (a
spline's texture laid by its own scale, an object's flat faces by their texture
coordinates), so a map maker's own textures work without a list. Light all-over textures
(concrete, cobbles), worn blotches and flecks are not taken for paint. -
The city map closes with its cross or Escape only: a click beside it no longer closes it.
-
The dark rim of a carriageway on the map is a kerb's breadth (it was a pavement's, and ate
the outer lanes of a road without pavements, so the lane lines seemed to drift towards its
edge); pavements stay dark all over. Paint that reaches past the paving is left out. -
Bends of wide roads on the map are round: a road of many profiles was cut in chords of
ten metres or more on a turn (the game's own limit on a spline type's cross-sections), now
at least every degree. Painted patches of ground (car parks, fields, sand) are read
at about a metre and a half instead of five, so their outlines are finer. -
Houses on the map are the models themselves: zoomed in (within 1500 m of the view, the
nearest 200 000 triangles; the in-game panel 30 000), a house is drawn in 3D from its model's
own faces without textures (gabled and ridged roofs, wings, stepped towers, canopies on
posts - a canopy or a bridge over a street is a roof in the air, no longer a solid block
that shuts the street), each model kept once however often it stands; farther out, and
past the budget, a house is its footprint with walls. Their flat outline is traced four
times finer. Hairline gaps between pieces of paving no
longer grow dark beads along a street's rim. -
More houses on the map: stations, railway halls and other buildings in folders with
road
in their name were never taken for houses; blocks of many buildings in one object (the
tower blocks, a swimming pool complex) were dropped for their yards and are now drawn, each
house with its own height; garages and greenhouses count too. -
Troubleshooting in the launcher's Help, below Tutorials: what is wrong with the
installed content, by the bus or pack it concerns - packs waiting for their bus, buses
taking parts from packs that are not installed, map HOF files that could not be added,
failed installs. "Scan again" looks afresh after installing what was missing and says how
many problems are gone; the menu entry shows how many are left. -
Model test (Troubleshooting's second tab, the launcher's former Model test page): any
content is loaded the way the game loads it and every warning of its files is listed - a
bus with the parts coupled behind it, a whole map (every tile, object and spline it places,
what of it is not installed, its ground textures and AI lists; optionally every model,
mesh and texture of it), an installed mod (picked from a searchable list), or any file or
folder: a scenery object, a spline, a human, a weather, a mesh, a mod not installed yet
(folder or zip). A folder's counts filter what it holds by kind. From the command line:
Multiplayer: public servers, the player list, machine bans -
A server can list itself in a public server list:
public_server = 1inserver.cfg.
It registers with a list service (services/serverlist, a Cloudflare Worker, which reads the
server's own status page for a challenge before listing it, forgets it three minutes after
its last word and limits abuse) and says it is alive every minute; Multiplayer -> Servers
in the launcher shows the Public servers with name, map, players, version and message,
and joins or adds one. The name, message and icon are checked by the same moderation on the
server before it registers (a name or message that is flagged is refused, with the reason in
the log) and in every launcher before it shows them (a flagged text is covered). A custom
icon is shown only when the viewer's own image check cleared it; none is bundled yet (the
library planned for it cannot be shipped, see docs/SERVER.md), so the public list shows the
default icon for now. -
The game menu has a Player list in every multiplayer session: everybody's name, number,
what they do and drive, and who is the host, an admin or a moderator. For the host of a game
and for the admins and moderators of a server it is also where to send a player away with a
reason, ban their machine - for this session or (admins) for all their sessions, for a
day, a week or for good - and lift bans. -
Machine bans: the game sends a hash of the machine's own id (never the id itself, no
serial numbers) when it joins, and a host turns away a banned machine whatever name, address
or game it comes back with. The session's list isbans.jsonbesideserver.cfg; "all my
sessions" is~/.openomsi/bans-owner.json, read by every session that account hosts
(owner_bansinserver.cfgto share one list between servers). The web panel has the
bans with the button to lift them. A player can switch the identifier off
(OMSI_NO_HARDWARE_ID=1), a server can turn such players away (require_hardware_id = 1).
This stops the player who comes back, not one who works at it (docs/SERVER.md says how).
Head tracking
-
Tobii eye trackers (the Eye Tracker 5, the 4C, the ones built into laptops) track the head
natively on Windows, without opentrack: the game reads the Tobii Experience's own Stream
Engine (Head tracking with: Automatic takes opentrack while it sends, else the Tobii).
F1 takes where the head is as the middle. The tracker's trembling is smoothed away while
big turns still follow at once (theSmoothingandDead zonesettings), and a look at
the screen's left or right edge can turn the view further (Look further at the screen's edges). Every tracker's poses are drawn frame by frame, and a lost tracker glides the
view home instead of snapping it there. -
An Add-ons page (Content > Add-ons; on a phone under More) lists projects others make
for openOMSI, each with its author, a short description and a button that opens its website
in the browser after saying which site it goes to. It is a list of links only: nothing is
downloaded or installed. A developer adds an add-on with a pull request of one entry, see
docs/ADDONS.md.
Launcher -
The timetable editor works on the map, as Drive does: every stop of the timetable stands on
the map (the depots as amber squares), a stop clicked says which trips call there and puts one
into the tour, and a stop found by name flies the map to it. A new trip is made by clicking its
stops: only the stops the map has a station link to are ringed, the route it would drive is drawn
as they are chosen, and it is saved as a.ttpbeside the line (the changed trip of a stop list
is saved as a new one, so the map's own stay as they are). The tours show their trips with a
departure field and a minute up and down; copies, repeats and the reset moved into small menus. -
The route preview no longer runs doubled: the timetable lists the lanes of a road side by side
(three lanes of the same stretch, one after another), which were all drawn, and a change of
lane showed as a step sideways. The route is one line now, with a smooth curve over where it
changes lane, as the game's own map draws it. -
No text of the launcher is set in capitals any more (the section titles, the menu's groups, the
destination sign); the stops under a trip in the roadbook have a rail and dots of their own
that no longer run over their times, a trip's depot-run label no longer sits on its stops, the
panels of the Drive page keep their width on a small window, and the menu folds to its icons
on a narrow one.
Trams, metros and trains (docs/RAIL.md)
- Rail vehicles have a class (tram, metro, train), from
[rail_class]in their file or from
what it declares (a[contact_shoe]is a metro, a car over 45 t a train), and rail lanes
a track kind (street or railway, third rail, tunnel, speed), from a map's new
openomsi-rail.cfg, from the names of its spline profiles (tram_*,metro_*,rail_*)
or from where the track lies. A road vehicle is never taken for a rail one. - A rail vehicle moves by the forces of railway engineering instead of the road tyres of a bus
and a made-up pull: running, air and curve resistance, the grade under it, wheel-rail
adhesion (less on wet rails, leaves, snow and ice), drive and brakes limited by it - the
driven wheels spin, the braked ones slide - and a tram's magnetic track brake. A vehicle
scripted for the AI only is driven by the pedals with the typical performance of its class. - Pantographs. A rail vehicle with a pantograph moves only with it raised. The game finds
it from[pantograph_var]/[pantograph_trigger]in the vehicle's file or, for a mod
without them, from its pantograph meshes and the variable they turn on (the Tatra T6B5's is
door_0, which is then no longer a door: no door key, no boarding, no "door open while
driving" penalty). Shift+P raises and lowers it. - Bogie frames of mods (the Tatra T6B5's
_trail.bus: no[boogies], one axle, one coupling
named) hang by their origin on the coupling of the car they belong to, as the mod is made for
OMSI 2, and stand on the track by their own wheelbase: they stood two to three metres out
of place, both under the middle of the car. - Cars of a train no longer jump back and forth by a few centimetres in bends: a part just
behind the vehicle was placed from the last 10 cm sample of the track behind it, a part just
ahead from the track itself. - The speed limit of a rail lane is brought down to what its curve allows (a tram loop, the
diverging branch of a turnout).
Road vehicles' physics (new setting Realistic road physics, off by default; Esc menu, Settings)
-
With it on the weather's wind leans and pushes a bus and a denser or thinner air changes the
drag (the vehicle's scripts already have their still-air drag on the brakes, so only the
difference is added); grip and rolling resistance depend on what each tyre rolls on, wet or
dry (cobbles, dirt, grass, gravel, snow), rolling resistance also rises with speed and load;
and the road is as uneven as ISO 8608 says its surface is, which shakes a bus on cobbles,
gravel and the joints of a concrete-slab road (#3069). -
Tyres hold across by slip angle, as real tyres do, instead of OMSI's rule that the body
follows its wheels exactly until the grip is passed: the contact patch lags behind the wheel
and pulls back by the cornering stiffness, up to the grip shared with the longitudinal force
by the friction ellipse. A bus follows its wheels at walking pace, turns in over 0.15-0.2 s at
50 km/h, understeers a little at 80 km/h (yaw rate 0.92-0.98 of the geometry's), loses its hold
across on a locked or spinning wheel.cargo run -p omsi-sim --example handling -- <file.bus>... --kmh 50 [--realistic]compares the two models;OMSI_REALISTIC_ROAD=1turns it on for one run. -
The navigator's map and the city map draw the whole ground again (#3266, #3301): the cap on
the map's geometry that came in with the out-of-memory fix (#3249) cut the ground off on large
maps, so the in-game map showed street names over an empty background. The cap is gone from the
panel and the city map; #3249 is open again for another fix. -
The launcher's bus preview shows what the repaint chooses: the showroom gives the bus
its paint scheme as the game does, so the scheme's[setvar]s are set again after the
scripts every frame (#3183). Set once when the bus was made, a script that writes them
itself overwrote them: the Kajosoft Jelcz M125M's JGSP Novi Sad repaint showed the
standard doors' white frames in the preview instead of the glazed doors. -
The headlights light the road as in OMSI 2 in Vanilla and Vanilla+: the player's
[spotlight]is Omsi.exe's Direct3D spot light - from the spotlight's own place, 0.3 x its
colour as diffuse and 0.1 x as ambient light, attenuation 1 / (0.2 + d / R + 40 d² / R²),
its cone with a falloff of 2 - lit at the vertices as Direct3D lights them. The old fit
(full strength out to an eighth of the range, never below 15 % at a grazing angle) left a
flat sheet reaching far down the road with some buses and lit kerbs, hedges and trees
hardly at all. Measured against OMSI 2 with the Kajosoft Citaro, headlights on less off:
the road +6 / +7 / +8 / +7 / +6 from the bumper out (OMSI 2: +5 / +4 / +5 / +7 / +6), the
kerb +26 / +15 (+21 / +15). AI vehicles' spots light the road no longer, as in OMSI 2. -
AI traffic: a bus waiting to move over a lane no longer jams the street for good: a car standing
in the lane a bus (or a car whose lane closes) waits to move over into took that vehicle for its
lead, so it stayed put even at a green light while the bus waited for it to move - both stood for
minutes, and the queue behind them with them (Spandau, the four-lane approach of the Altstadt
junction). The standing car now drives on after a few seconds. And a route's lane change that
the bus missed its window for (the two lanes no longer run side by side) is made all the same
after 12 s of waiting instead of never.OMSI_DEBUG_STUCKalso says why a lane change waits. -
The people boarding a timetable bus walk in to their seats: in any bus but the player's they
stood in their seats the moment they stepped through the door, a jump in the saloon of every bus
that passed a stop. They now walk along the bus's own paths to the place reserved, as in the
player's bus (a bus without paths to the place keeps the jump). -
Timetable buses no longer stand at the stops that have no time of their own: a bus that came to
such a stop early waited for the timetable's estimate (the running time shared out by distance)
up to two minutes, so a third of the buses stood over a minute with nobody getting on or off. They
now wait the length of a boarding at the most; the stops the timetable gives a time, the first and
the last stop keep their wait.OMSI_DEBUG_STOPSalso logs how long each bus stood and why. -
The launcher's bus preview is no longer misted over: the bus is made for it (the
showroom and--export-glb) on a mild day (22 °C) instead of at 0 °C, the temperature a
vehicle starts at without a weather. The
Kajosoft Citaro, Citaro Facelift and 628 fog every window up in their {init} below 10 °C,
so the preview always showed them misted; in the game the map's weather still decides. -
A bus's light cone on the road is a soft pool again in Vanilla and Vanilla+: a self-lit
blended layer (emissive white, such as the KVB Citaro'slichtkegel.o3d) is given the
alpha that matches Omsi.exe's mix of gamma-encoded colours. Mixed in linear light on the
sRGB target, the faint cone (alpha 0.14 on average) was a flat beige sheet over the road,
about 40 % brighter than in OMSI 2. -
Köln's houses on Engeldorfer Straße are back: a binary
.xstring ended by a WORD
token, as PAD-Labs' exporter writes it, no longer swallows the}after it. Read as the
documented DWORD, the house's material never closed, the model failed to load and its 25
binary houses were missing since 0.3.38. -
Bus shelters show through a bus's windows instead of a white shape in Enhanced and
Enhanced+, or nothing at all in Vanilla. Grundorf's shelter is drawn "after vehicles"
([rendertype] 4) and the bus's panes write depth, so it failed the depth test behind them,
and the houses behind it were already gone. The blended draws of[rendertype]3 and 4 are
now sorted far to near with the normal objects', after the opaque draws of all of them
(#2852). -
Destination displays light up at night in Enhanced and Enhanced+: a script's screen is
never taken for a pane. The EMT Citaro's Krueger matrix (Mallorca) is blended, writes no
depth and draws its letters through a\S:ntransparency map - the layout of a window - so
the Enhanced pictures shaded it as glass, which gives no light of its own: its light map was
left out and its letters stayed grey at night, where Vanilla+ lights them
(#2927). -
London's road markings and red bus lanes stay put when the camera moves away or around
the bus (#2853). A cut-out strip lying
just over the driving surface its spline declares ([heightprofile]) is paint, as one lying
just over the spline's line already was: Road-hog123's British markings lie 5 mm over a
10 cm surface. A spline laid on an earlier spline of its tile at the same height is drawn
over it, as Omsi.exe draws a tile's splines in order (the red lanes over the road fought it
for every pixel). And a spline laid on a[surface]object - Crystal Palace's carriageway is
one, its own tile's or the next one's - is pulled towards the eye as the object is, which
covered it from a few metres away or from above.OMSI_NO_DRAW_ORDER_DEPTH=1turns the
last two off. -
A paint scheme's
[setvar]is what the bus shows, also when a script writes the same
variable every frame: the scheme's values are set again after the scripts, as Omsi.exe
draws them. The Kajosoft Jelcz Vectus with the JGSP Novi Sad repaint chooses the glazed
doors (v_drzwi 1) and had the standard doors' white frames
(#3183). -
The MAN DN95 is no longer a mirror: a texture a model asks for as
.ddsthat is not
there is missing, as in OMSI, instead of being stood in for by a.bmpor another file of the
same name. The DN95's body asks for anenvmap.ddsit does not ship; itsenvmap.bmp(the
windows' sphere map) at the body's factor of 10 drew the paint over with the reflection, where
OMSI shows the paint without one. -
With the new setting Realistic road physics on, road damage shakes a vehicle again: cobbles, gravel, dirt, grass, snow and the joints of a concrete-slab road lift each tyre by what ISO 8608 gives such a road, where only the map's geometry did before (#3069).
-
A much lighter Enhanced frame by day: since 0.2.42 the AI cars were lent headlamp beams
whenever their lights were on, and in a grey winter noon (cars' lights on, no street lamp lit)
those twelve cars' beams cost 13 ms of a 25 ms frame on an M4 - any light at all in the
scene makes every pixel look through the lamp grid and has the weather's fog work the lamps'
air light out. They are lent only while the scene is dark enough for them to show (the sun's
height and the weather's gloom, the larger, is 0.12 or more): in a grey or rainy day the three
nearest cars within 60 m, in the dark the twelve within 200 m as before. In a clear day, 27.4
ms -> 13.0 ms of GPU a frame; in a heavy grey snow day 27.6 ms -> 19 ms; the night picture is
as before. -
AI cars and buses are drawn with their model's lower levels of detail (
[LOD], as
Omsi.exe picks them by the vehicle's size on the screen, and as the scenery's levels are):
only the first level was loaded, so each AI vehicle was all its meshes at any distance. A
model with interior lamps, displays, switched textures or a lit or animated lower level (a bus,
a tram) keeps its full meshes.
OMSI_FORCE_LOD=1draws the lower levels at any size, for a look at them. -
Timetable buses no longer stall the frame when they appear: a departure whose vehicle was
not on the graphics card yet (the clock set far ahead, a type nothing read ahead) had its
meshes and textures built on the frame it appeared on - 120 to 300 ms; it is tried again
once the vehicle is read ahead. A parallel loop's caller sleeps while it waits for the items
a helper has started instead of spinning. -
Enhanced: no more snow, or any ground, glowing orange from a small light far away. The ground took
the map's baked lamp pools on top of the lamps themselves, three times over, through walls and
roofs and with a tail sixteen radii long: the snow of a courtyard behind a building lit by the
depot's floodlights glowed yellow at night, and so did the ground round a lamp whose pool ended
long before. The ground is lit by the lamps alone now, with their shadows (Vanilla and
Vanilla+ keep OMSI's baked light maps). The floodlights and the canopies of petrol stations
(declared 10 to 20 m, held to 15 m and dimmed to a fifth as if they were a building's window
glow) are lights as declared in the Enhanced picture, with a light of their own beside the held
one the plain pictures keep. -
Review of the round:
hwban 3 session é(a multi-byte last character of a duration) no longer
stops a dedicated server; the hardware bans are given to every session a game hosts, not only
the first of a run; the host passes voice frames only to players that have voice chat on
(they askvoice?), the TACKs of the traffic table are rate limited and a player's open
microphone sends nothing while an administrator has silenced them; aserver.cfgwithout
voicehas voice chat off (the new file saysvoice = 1); the table of the AI traffic is
written only while the game hosts, and a bus's sign in it once a second; the seated people's
seat-back shift is worked out when the pose changes; the wire of a trolleybus map is read
once per map, drawn once per scene, and a bus's poles and frogs leave the scene with it; a
microphone that is gone is not opened again every few milliseconds; the beam shadows look up
their map only where a beam shines; a plain bus is a trolleybus only if its "pole" meshes are
long and thin; the server list does not let a registration take over another server's
address, counts an IPv6 sender by its /64, and compares a status page's name as the listing
has it; the glass of a dented body keeps the snow's coordinates; new texts in the options and
the player list have translations. -
Trolleybus poles stay on the wire over bumps and joints: a shoe that a bump lifts for
a moment no longer comes off (it has to stay out of its groove for 0.15 s, or leave it by
more than three groove depths), the groove is deeper and bends are taken faster. -
Trolleybus poles no longer come off at the map's frogs whatever the bus does: a map's
junctions are drawn with the three wires up to a metre apart or a branch started from the
middle of another wire, and only one frog in seventeen was found (on Bronitsyn), so the
shoe ran off a wire that simply ended. The ends of a junction within 1.2 m are now one
point, a branch from the middle of a wire cuts it into a frog, and the contact plate before
a frog is found over short spans and joints too (a toe cut shorter than 9 m never set its
frog). Power on takes the branch, coasting goes straight. -
The windows of Russian and other mod buses whose texture names are not plain ASCII (the
ZiU-682G, the Trolza Optima) are see-through again: the.o3dkeeps a texture's name in
the file's own bytes and the.cfgas text, so a mod's[matl_alpha]for its glass never
found the slot and the windows were opaque. Both names are now compared as the bytes
Omsi.exe sees. -
The snow on the windscreen and the cab's windows no longer comes out in swirls and bands,
with huge flakes beside tiny ones: the film's coordinates in metres were laid out by a
normal worked out at every corner, which turned the plane a little at each vertex of a
curved pane. A pane (the film triangles that meet) is unrolled on one plane now. -
A trolleybus's poles are taken with the mouse: a click on the cab's pole switch, or on a
pole from outside the cab, takes it in hand, it follows the cursor (the tip goes to the
wire the cursor points at, or where it points when there is none), and the next click lets
it go and it springs on to the wire. A pole on the wire can be taken off again the same way.
A plain trolleybus shows its own pole mesh turning with the pole (the raised mesh is turned
about its hinge by the pole's angles) instead of a drawn boom, and from the driver's seat one
click on the switch is enough: the motor takes the pole to the wire nearest its tip. -
Road markings no longer disappear and come back as the bus drives towards them
(#3085). The depth a road is pulled
towards the eye (so that it wins over the ground beside it) stopped growing 12 m out, and
across the long triangles of a straight road that turned its plane into a bowl: from a low
eye the road came in front of the lines on it from 25 m on. A flat surface keeps the same
share of the way to the eye all the way now; upright faces (a pole a mod tagged as a road)
keep the cap. A new graphics test lays a marking on a road of 200 m triangles and looks
at it from 4 to 100 m. -
The mirrors show the sun's shadows and the smoke and spray again
(#3051): they look up the shadow
maps the window last drew instead of drawing their own, and draw the particles the window
has. Settingsmirror_shadowsandmirror_particles(both off until switched on: they cost a
little in every frame, most in snow) turn them on for a slower
machine, as OMSI 2's "No PS in reflections" did. -
Rain on the glass follows the rain: a drizzle leaves small beads, a downpour full drops,
and the runners of a downpour are heavier, wider and quicker, with wider cleared tracks;
the drops on an upright side window are smaller than on the sloping windscreen
(#3076). -
A bus that declares air pressure variables it never sets (a shared varlist) no longer
says "Air pressure is low" and "keep the engine running"
(#3030): only a script that
assigns the spring brake or tank pressures counts as a bus with air brakes. -
A passenger on foot in a bus (another player's too) looks the way the bus does: the view
turns with the bus through a bend and keeps its own look as an offset
(#3093). -
Winsenburg's Hauptbahnhof 4 crossing (win-4.sco): a bus asking at the second bus light
alone gets its green. A point the program had just jumped to counted as a second visit
and sent the clock round for good
(#3092). -
Objects attached to a spline stand where the editor put them on maps with
[worldcoordinates](Shanghai and others): the chain distance of a spline was not scaled
with the tile like the lengths and the rows' start distances were, so the first object of
a row - and the whole row after it - stood off by that difference on tiles away from the
map's middle row (#3080). -
OMSI_PRESENT_MODE=fifo|fifo_relaxed|mailbox|immediate|autopicks the swapchain's present mode
for a test, when the surface has it (vsync staysAutoVsync, so a game just under the
refresh rate does not drop to half of it): Vulkan reports of vsync that tears
(#2838) can tryfifo. -
Passengers drawn with the high quality avatars no longer sit with their backs through the
seat back (robes and long hair on women's avatars): a seated avatar is moved forward on
the seat as far as its back needs. Waiting passengers stand with a phone in hand and arms
crossed less often. -
On a phone held upright an open page of the game menu (Options and the rest) takes the whole
width: beside the menu it was a strip of switches with no names. Its tabs go on a second row
instead of being cut off, and the cab panel's buttons fit a narrow screen (they ran off both
sides). The top row of buttons shrinks to fit instead of running into itself in the free
camera and on foot, and the cab panel's backdrop covers all its buttons. -
Photo mode no longer lies under the driving controls (the wheel and pedals were drawn over
its panel) and its pages are no longer a 40-pixel strip on a phone held on its side. -
Misted windows follow the bus's own cabin: a bus whose scripts keep their cabin air (
heizung.oscof
the stock buses and their descendants) fogs its glass from that air's temperature and humidity and
clears it by the heating, the fans and the vent windows, as its gauges say - they were misting from a
second, guessed cabin (always 20 degrees, three air changes an hour) that no control of the bus touched, so
at 17 inside and 7 outside the panes of a bus with a few people aboard stayed foggy for good. The
windscreen's defroster blows the heater's own air when its fan runs. Buses without such scripts keep
the built-in cabin, now with the fresh air a city bus brings in for each person (15 m3/h). -
Snow on windows is laid out in metres of glass, not in the layer's own texture coordinates: it came out
as long streaks on the rear windows of double-deckers and articulated buses (the rear window
shared a mask with the side windows and lay edge-on in it) and sparse on the small tilt windows and the
doors (their coordinates squeezed the snow picture into a few centimetres). Every window of a bus now
holds the same snow, in Vanilla, Vanilla+ and Enhanced. -
Headlights and lamps in fog and rain: a bright beam no longer carries a pattern of stripes (the soft
light the fog scatters is upsampled with a weight that did not tell a road's rows from a step in depth),
and the picture of a beam's cone and of a lamp's glare is smoothed between its texels, so a large cone
has no stair of small squares along its edge. The classic picture's lamp glare ends softly at its sprite's
edge, whatever the bitmap does there. -
Tyre spray comes only from puddles: the stock cars' and buses' wheel spray no longer sprays
on every wet road from the first drops, and it stops as the puddles dry out after the rain
instead of lingering until the road is quite dry. In snow the scripts' own slush is kept. -
The frame rate no longer collapses after half an hour on DirectX 12 and Vulkan: the game
kept its own total under the video memory setting while the card filled up anyway - the room
wgpu's allocator keeps free in its 128-256 MB blocks was left out of the bound, and a block
goes back to the driver only once it is empty. Far textures made smaller left holes, the
textures coming back needed bigger ones, so new blocks opened: on a 12 GB card set to 6 GB the
driver held 11.5 GB after 18 minutes (5.7 GB of it holes), the card paged, 10 fps. The holes
now count against the bound, so textures come back only into room the card really has, and
every card gets the allocator's small blocks (8-64 MB), which empty and go back to the driver
(#2295). -
Voice chat, built in - off until switched on (Settings → Sound → Voice chat, or the game
menu's Sound page). Hold a talk key to speak: nearby (V) is heard by the players within
the session's range (75 m by default) from where you stand, quieter with the distance and
muffled when one of you is in a bus and the other is not; the radio (B) is heard by the
whole session, in a small speaker's voice with a click when the key goes down and up.
Both keys are in Controls (and bindable on a controller button; on a touch screen the cab
panel has two talk buttons). The microphone is opened only while a key is held (or with the
open microphone setting), the system asks for it the first time voice chat is switched on,
and nothing is recorded or stored. Opus at 24 kbit/s with a jitter buffer and loss
concealment; the host only relays the frames (LAN datagram0xBC, session-bound, rate
limited) and needs no audio device, so dedicated servers carry voice too. The screen shows
when you transmit and who talks; every other player can be muted in the game menu's
Player list (kept by name), or all voices at once; an admin can silence a player for the
whole session (vmute/vunmute, a button on the player's page). Newserver.cfgkeys
voice,voice_radioandvoice_range, see docs/VOICE.md and
docs/SERVER.md. Removed: the GreenTeaSpeak plugin and its settings
(voice_chat, andvoice_server_uid,voice_channel,voice_channel_passwordin
server.cfg, which an old file may keep: they are ignored and the log says so). -
The AI traffic goes over the LAN as a table of vehicles under ids of their own (LAN
protocol 15, docs/TRAFFIC_TABLE.md): the host's traffic writes it after
each step and every player is told the cars within 650 m of it as changes of what it
acknowledged, the nearer ones more often, within 40 KB/s. A car that stands costs nothing, a
moving one 6-7 bytes ten times a second (the old frames took 17 and told every car in
range every time), lost datagrams are told again, and the clients draw the cars between and
past the host's poses. A car's id is not reused for 30 s. A game of the older protocol is turned away
with the usual message. The script context of the host's cars goes to each client often at
first and then now and then, not every tenth of a second for every car in range. -
Every player sees another player's bus exactly as its driver has it — the same files,
the same paint — fetched from the server by its content when they lack it; a dedicated
server keeps every version its players send (accept_uploads,uploads_keep_days) and may
leave the map for the players to install (share_maps: a newserver.cfgsays 0; one
without the key goes on passing the map on, as before). -
Behaviour change: a bus that cannot be had as its driver has it (the server takes no
uploads, the upload failed, it is too large to fetch) is drawn with another bus — the
viewer's copy of that path, else their own — and labelled under the player's name.
Before, the viewer saw their own copy of that path without being told it was not the
driver's. While a bus is still arriving, a neutral box of its size stands in. -
Voice chat in sessions through an outside voice program (replaced since by the game's own, see Unreleased), players heard where they are #1102 - with a
Downloads
| Platform | Download |
|---|---|
| Windows x64 | openOMSI-0.3.42-windows-x64-setup.exe (installer) or openOMSI-0.3.42-windows-x64.zip |
| Windows ARM64 | openOMSI-0.3.42-windows-arm64-setup.exe (installer) or openOMSI-0.3.42-windows-arm64.zip |
| macOS (Apple silicon) | openOMSI-0.3.42-macos-arm64.dmg (disk image) or openOMSI-0.3.42-macos-arm64.zip |
| macOS (Intel) | openOMSI-0.3.42-macos-x64.dmg (disk image) or openOMSI-0.3.42-macos-x64.zip |
| Linux x64 | openOMSI-0.3.42-linux-x64.zip |
| Linux ARM64 | openOMSI-0.3.42-linux-arm64.zip |
| Android (arm64, 8.0+) | openOMSI-0.3.42-android-arm64.apk |
| Dedicated server, Linux | openOMSI-0.3.42-server-linux-x64.zip, openOMSI-0.3.42-server-linux-arm64.zip |
| Dedicated server, Windows | openOMSI-0.3.42-server-windows-x64.zip, openOMSI-0.3.42-server-windows-arm64.zip |
The SHA-256 of every file is in SHA256SUMS: sha256sum -c SHA256SUMS --ignore-missing checks the ones downloaded.