openOMSI README

README проекта с github.com/openOMSI-org/openOMSI. Одним файлом markdown: README.md.

openOMSI

Version Playing now Build Docs Discord Buy me a coffee Ko-fi License

[!WARNING] Early development. Expect bugs. Things may be missing, broken or change between versions. Please report problems in Issues or on our Discord server.

openOMSI is a from-scratch recreation of the bus simulator OMSI 2, written in Rust: 64-bit, multithreaded, with a modern renderer (Metal / Vulkan / DirectX 12 through wgpu). It loads the existing OMSI 2 maps, buses, scenery and mods as they are.

[!IMPORTANT] openOMSI needs an installed copy of OMSI 2. It contains no game content of its own: it plays on the maps, vehicles and other files of your OMSI 2 and will not start without one.

What you get

The openOMSI family

Project What it is
openOMSI the game and its launcher (this repository)
openMapper a simple map editor: draw roads, place objects, shape the ground, drive the map in openOMSI (docs/MAPPER.md)
openOMSI Plugins the catalog of reviewed, open source Lua plugins
Development Tools the plugin workbench: projects, API docs, the .oop compiler
Add-ons list projects others make for openOMSI, shown on the launcher's Add-ons page

Download

The newest stable version is always at Releases → Latest and on the website. Newer, untested builds are published as Pre-release (beta) on the Releases page.

Platform File
Windows x64 / ARM64 openOMSI-<version>-windows-x64-setup.exe / -windows-arm64-setup.exe - installs openOMSI for you, no administrator rights (or the .zip: run openomsi.exe)
macOS (Apple silicon / Intel), macOS 11+ openOMSI-<version>-macos-arm64.dmg / -macos-x64.dmg - drag openOMSI.app onto Applications (or the .zip)
Linux x64 / ARM64 openOMSI-<version>-linux-x64.zip / -linux-arm64.zip - run openomsi
Android 8.0+ (arm64) openOMSI-<version>-android-arm64.apk - see docs/ANDROID.md
Dedicated server openOMSI-<version>-server-<linux|windows>-<x64|arm64>.zip - see docs/SERVER.md

SHA256SUMS in each release lists the checksums of all files.

The launcher keeps itself up to date: when a newer version is out it offers it at the start and installs it with your yes. Settings → General → Updates chooses the channel (Stable or Beta), turns the check off or installs without asking.

Installation

You need OMSI 2 installed (Steam or retail) with its stock content.

  1. Install it. On Windows the -setup.exe installs openOMSI into your user folder (%LOCALAPPDATA%\Programs\openOMSI) with a Start menu entry; on macOS open the .dmg and drag openOMSI.app onto Applications. The .zip (Linux, or the portable Windows and macOS version) goes into a folder of its own that you can write to (your Documents, a games folder, or the OMSI 2 folder itself) - not Program Files, where the launcher cannot update itself.
  2. Start it.
    • Windows: openOMSI in the Start menu (or openomsi.exe). SmartScreen may warn about an unknown app: More info → Run anyway.
    • macOS: openOMSI.app. If macOS refuses an app from the internet: right-click → Open → Open, or run xattr -dr com.apple.quarantine /path/to/openOMSI.app once.
    • Linux: ./openomsi (chmod +x openomsi first if needed). It needs a Vulkan or OpenGL driver (Mesa: mesa-vulkan-drivers, or your GPU vendor's driver), and WebKitGTK 4.1 for the launcher window (libwebkit2gtk-4.1-0 on Debian/Ubuntu, webkit2gtk4.1 on Fedora, webkit2gtk-4.1 on Arch; for the Steam Deck see Troubleshooting).
    • Android: see docs/ANDROID.md - the OMSI 2 folder is copied onto the device first.
  3. Find OMSI 2. The launcher usually finds the installation by itself (Steam libraries and the usual folders). If not, open Setup, press Browse… beside OMSI 2 folder, pick the folder with Omsi.exe, maps and Vehicles in it (Steam: …\Steam\steamapps\common\OMSI 2) and press Save.
  4. Drive: choose a map, line, tour and bus on the Drive page and press Start the duty.

Mods are installed on the Mods page (a folder or an archive, or dropped onto the window) or put into the Mods folder next to the game.

When something goes wrong

Goals

  1. 1:1 behaviour. Every content format of the original loads and behaves as in OMSI 2.2.032. Existing maps and mods work unchanged.
  2. No original code or assets. Nothing from the original is copied; the formats are described in docs/FORMATS.md.
  3. A better engine. 64-bit, multithreaded, multiplayer, and every platform.

Documentation

The documentation is on the website, https://openomsi.org/, and in docs/:

Document What is in it
Getting started install, find OMSI 2, drive your first bus
Driving keys, cameras, service at the stops, photo mode
Launcher and settings every launcher page and every setting
Graphics renderers, presets, DLSS and FSR, mirrors
Mods the content folder, installing mods, the object editor
Troubleshooting performance, failed starts, logs, bug reports
Playing together hosting and joining a session
Android the mobile version: install, touch controls, building the APK
Virtual reality OpenXR headsets on Windows
Dedicated server hosting a multiplayer session without a window
Modding what openOMSI allows beyond OMSI 2: more lights, larger textures, additions OMSI 2 ignores
PBR materials normal, roughness, metalness and occlusion maps
Map packages optional surroundings a map can ship for the navigator and city map
Plugins Lua and WebAssembly plugins, .oop files, OMSI plugin DLLs (API reference)
openMapper the map editor: install and five tutorials
Trams, metros and trains rail vehicles, tracks and stations
Transport modes how a vehicle and a map say what kind of transport they are for
Trolleybuses the overhead wire and the poles
HTML textures web pages as textures in buses and on maps
Interface themes the look of the game's own screens
Voice chat talking to other players
Development Tools the plugin workbench: projects, API docs, the .oop compiler
Add-ons the launcher's directory of add-ons, and how to list yours
Content formats every OMSI 2 file format
Routes timetables, chrono, HOF files, IBIS
Building building from source on every platform
Architecture crates, threading, renderer
Debug switches environment variables for testing and bug reports
Versioning & releases version numbers, beta and stable releases
Changelog what changed in each version

Building from source

git clone https://github.com/openOMSI-org/openOMSI.git && cd openOMSI
scripts/build-macos.sh        # macOS   → dist/macos/openOMSI.app
scripts\build-windows.cmd     # Windows → dist\windows\openomsi.exe
scripts/build-linux.sh        # Linux   → dist/linux/openomsi
scripts/build-android.sh      # Android → dist/android/openOMSI-<version>.apk
scripts/build-server.sh       # server  → dist/server

Needs the latest Rust stable and the platform's C toolchain (on Linux also the WebKitGTK 4.1 headers for the launcher); details in docs/BUILDING.md.

Repository layout

openOMSI/
├── crates/        the game, one crate per subsystem (omsi-app is the program `openomsi`;
│                  formats, scripts, simulation, renderer, sound, network, plugins, launcher data)
├── launcher/      the launcher window (Tauri; web UI in launcher/ui)
├── android/       the Android app wrapper
├── apple/         the iPhone, iPad and Mac app wrapper (SwiftUI, not released yet)
├── services/      the "playing now" counter
├── tools/         omsi-check (format coverage), avatar and ambience pack builders, voice chat plugin
├── scripts/       build scripts for every platform, version.sh, release notes
├── assets/        fonts, icons, logos
├── docker/        container images of the dedicated server
├── docs/          documentation (also published on the website)
├── site/          the website
├── release/       health.json: released versions known to be broken
└── VERSION        MAJOR.MINOR of the next release

Contributing

Issues and pull requests are welcome - see CONTRIBUTING.md; how the project is run, reviewed and released is in GOVERNANCE.md.

Support

openOMSI is made in free time. If you enjoy it and want to help it along, you can buy me a coffee or support it on Ko-fi - thank you!

Buy me a coffee Support me on Ko-fi

Acknowledgements

Some ideas and fixes in openOMSI date back to the public work of neoOMSI: their reports and pull requests pointed at bugs and features that we then implemented in our own code. Thank you.

License

openOMSI is released under the GNU Affero General Public License, version 3 only (AGPL-3.0-only). The historical MIT copyright and permission notice is retained in LICENSE; earlier MIT releases keep their terms. Third-party files keep their own licenses. The launcher's bus preview encodes its pictures with jpeg-encoder: this software is based in part on the work of the Independent JPEG Group. The openOMSI name and original project logos are marks of usonskyyyy, who created the original codebase; see TRADEMARKS.md. The official organization is openOMSI.org (openOMSI-org). OMSI and OMSI 2 are trademarks of their respective owners. openOMSI is an independent project and is not affiliated with them.

openOMSI (openOMSI-org/openOMSI)

Ищем в базе…

Что это?openOMSI — воссоздание с нуля симулятора автобуса OMSI 2, написанное на Rust с современным рендерером wgpu (Metal/Vulkan/DirectX 12). Он загружает и запускает карты, автобусы и моды оригинального OMSI 2, но не содержит собственного игрового контента.
Это полная игра или лаунчер плюс движок?Это полный заменяющий игровой движок плюс лаунчер: лаунчер находит или задаёт папку OMSI 2, управляет модами и обновлениями, а затем сам запускает непосредственно симуляцию вождения, читая карты и файлы транспорта оригинала.
Как его запустить?Скачайте сборку для вашей платформы со страницы Releases, распакуйте её в папку с правом записи (не Program Files), запустите исполняемый файл и позвольте лаунчеру автоматически найти установку OMSI 2 (или укажите папку вручную в Setup). Затем выберите карту, автобус и задание — и в путь.
Нужно ли владеть оригинальным OMSI 2, чтобы пользоваться этим?Да, это обязательно. openOMSI нужна установленная копия OMSI 2 (Steam или дисковая версия) со штатными картами и автобусами — без неё он не запустится, а исходная папка установки никогда не изменяется.
Им уже можно пользоваться или он ещё сырой?Это ранний релиз: ждите багов, что-то может отсутствовать, ломаться или меняться между версиями. Проблемы проект отслеживает на GitHub Issues и в Discord.
На каких платформах он работает?Windows (x64/ARM64), macOS (Apple Silicon или Intel), Linux (x64/ARM64) и Android 8.0+ (arm64), плюс отдельная сборка выделенного сервера для Linux и Windows.
Какие данные реально отправляет экспорт диагностики?Экспортируемый пакет диагностики включает программу, систему, видеокарту/драйвер/настройки, сведения о контроллерах, а также карту и автобус последней игры, но явно исключает пути папок, имена, чат, LAN-коды или адреса — и ничего не отправляется автоматически: файл прикладываете вы сами.
Зачем переписывать OMSI 2, вместо того чтобы просто пользоваться оригиналом?Цели — современный 64-битный многопоточный движок со стримингом и загрузкой текстур в рабочих потоках (без лимита 2 ГБ и без затыков одного потока), плюс мультиплеер по LAN и выделенный сервер — при поведении, в точности повторяющем оригинал для существующего контента.
Можно ли играть по мультиплееру с существующими мод-картами?Да, но обоим игрокам нужна карта хоста: карта, положенная прямо в папку OMSI 2, не передаётся, а установленная через страницу Mods автоматически отправляется подключающимся игрокам.
Поддерживается ли VR?Да, есть режим виртуальной реальности на базе OpenXR с собственными настройками и управлением, документированный отдельно для Windows.
А если моя видеокарта не поддерживает Vulkan?openOMSI автоматически переключается с Vulkan на DirectX 12, а затем на OpenGL; API графики можно выбрать и вручную в Settings → Graphics.
Какие есть похожие проекты?bgfx, pt-pc, OpenRCT2, Yakumo, iw4L, luanti, JoltPhysics, LostOdysseyRecomp
Автор
openOMSI-org
Размер
134.7 MB
Звёзды
774
Возраст
2 мес
Коммиты · 90 дней