Docs / Reference
Content formats
Every OMSI 2 file format as openOMSI reads it.
The file formats of OMSI 2 content (maps, objects, vehicles, scripts, timetables …) as openOMSI reads them.
Chapters
| 1 | Text encoding | Map files (global.cfg, tile_x_y.map, Chrono *.map, *.chronoterrrelevant) are UTF-16LE with BOM (FF FE). Every other text file is read by OMSI in the s… | 1 min |
| 2 | The [keyword] block format (used by .bus .ovh .sco .sli .cfg .hof .ttp .ttl .ttr .owt .oop .odr .otp .osn .dsc .hum .txt …) | Quoting the original .bus header comment: the program ignores everything except keywords like [mesh] when they stand at the start of a line, alone on … | 2 min |
| 3 | Scripts (.osc) - unit mc_exprcalc | An 8-float working stack (st[0..8]) and a 10-float register file (l0..l9 load, s0..s9 store without popping; the exe's TCache is array[0..9] of Single… | 4 min |
| 4 | o3d (binary mesh) - unit mc_o3dfiles | 84 19 magic ver u8 (1,3,4,5,7 seen) [flags] u8 (ver >= 3) bit0: 32-bit triangle indices [key] u32 (ver >= 4) usually 0 sections, tagged by one byte, u… | 4 min |
| 5 | Map - units mc_mapclass, mc_terrain_2, mc_chrono | global.cfg keywords (from the exe): name friendlyname description/end version NextIDCode worldcoordinates dynhelperactive entrypoints realrail LHT map… | 9 min |
| 6 | Splines (.sli) - unit mc_splines | length texture scaleTexByLength patchwork_chain heightprofile profile profilepnt path path_2 rail_enh third_rail halfcantwidth onlyeditor terrainholep… | 1 min |
| 7 | Traffic paths of objects ([path] / [path_2] in .sco) | 12 lines (path_2: 14): start x, y, z in the object frame (x right, y forward, z up), heading (degrees, clockwise, relative to the object), radius (0 s… | 1 min |
| 8 | Timetables (TTData) | Busstops.cfg: [busstop] name tile-index object-id offset 0 0 (tile index = position of the tile in global.cfg's [map] list). .ttp trip: [trip] + 3 lin… | 1 min |
| 9 | Scenery objects (.sco) - unit mc_complMapObj | friendlyname groups onlyeditor complexity rendertype(presurface|surface|on_surface) LightMapMapping nomaplighting NightMapMode fixed absheight collisi… | 1 min |
| 10 | Model (.cfg) - unit mc_complobj | LOD VFDmaxmin detail_factor tex_detail_factor noDistanceCheck terrainhole CTC CTCTexture scripttexture texttexture texttexture_enh mesh item setvar me… | 12 min |
| 11 | Vehicles (.bus/.ovh) - unit mc_roadvehicle | type friendlyname friendlyname_inv ai_veh_type coupling_back/front control_cable_back/front couple_back/front coupling_front_character boogies sinus r… | 1 min |
| 12 | HOF - mc_station/mc_roadvehicle | name global_strings servicetrip stringcount_terminus stringcount_busstop addterminus_allexit addterminus addterminus_list {ALLEX} end addbusstop addbu… | 1 min |
| 13 | Timetable (TTData) - mc_timetable | Trains/*.zug: pairs of lines, vehicle file (or pool group name) and a reverse flag (1 = coupled with its rear end forward: its [couple_back] point mee… | 1 min |
| 14 | Misc | Weather .owt: name description end fog clouds precip groundwet snow snowOnRoad wind temp press. Options (.cfg/.oop): see [performance_*] table in the … | 4 min |
| 15 | Radio variables (plugins) | OMSI plays no music itself. The radios of the buses only set variables that plugins read: Snd_Radio - the cassette player (KR_play/KR_stop) of the sto… | 1 min |
| 16 | Textures on the GPU - unit mc_texMan | DDS files with DXT1-DXT5 data (and DX10 BC1-BC3) go to a GPU that takes block formats (every Apple silicon Mac does) as they are: sRGB BC1/BC2/BC3 wit… | 2 min |
| 17 | Lighting (envir.cfg, model lights) | envir.cfg: [sky_textures] day/twilight/night, [twilight_start_end] sun altitudes, [lightcolor_A/B/C] = 5 RGB stops (nadir, twilight start, sunrise, tw… | 3 min |
| 18 | Script textures and the IBIS callbacks | [scripttexture] w h (model.cfg) declares an RGBA image per index; [useScriptTexture] n puts it on a material, [matl_transmap] \S:n uses its alpha as t… | 3 min |
| 19 | Vehicle list and coupled parts | OMSI offers the .bus/.ovh files that have a [friendlyname] (all stock buses; the GN92's rear section, most _KI AI variants and the AI cars have none).… | 2 min |
| 20 | Humans (.hum) | [model], [seatheight], [humangeom] feetdist height, [links] = 22 numbers: hip xyz, knee xyz, waist yz, shoulder xyz, elbow xyz, neck yz, hand xyz, fin… | 7 min |
Something wrong or missing? Fix it on GitHub or open an issue.