# OMSIPresence An OMSI 2 Bus Simulator plugin which integrates Discord Rich Presence into the game.
[!NOTE] This is not a finished product. While stable enough for a public release, the plugin is still in development and further testing is required. It is highly recommended to regularly check for updates (the plugin already does it for you automatically) and use the latest version whenever possible. Please don't hesitate to give suggestions or report any bugs that might occur!
You must be running one of the following versions of OMSI 2 (you can check which version you have in your logfile.txt
):
2.3.004
- Latest Steam version2.2.032
- "Tram patch"OMSIPresence.zip
plugins
folder inside your OMSI 2 installation folder
If you encounter any issues during installation or usage, please refer to the issue tracker. If you haven't found your issue, feel free to create a new one; ideally submitting your OMSI 2 version (and OMSIPresence version, although I'd encourage only reporting issues regarding the latest version), your log file and a crash dump if any, as well as a general idea of what you were doing around the time of the issue (ie. spawning a bus, changing maps, freelooking etc...).
Please make sure your crash dumps and log file match the date and time of the incident, by comparing when the files have been last modified. Crash dumps (usually just one is made per crash, but there can be both (or neither) as well) can be found in these locations:
OMSIPresence_XXXXXX.dmp
(created by OMSIPresence)%USERPROFILE%\AppData\Local\CrashDumps
- as Omsi.exe.XXXXX.dmp
(created by Windows Error Reporting (WER))If you have any further questions about the project, or if (understandably) using the issue tracker is too confusing, feel free to add me on Discord (brokenphilip
) and I will try to get back to you as soon as possible. :)
OMSIPresence (originally named OMSI2Drpc, "OMSI 2 Discord Rich Presence", back in 2020) only displays important information about the game in order to provide sufficient context as to what the user is currently doing, such as the map being played, the bus being driven, as well as the current timetable/route information (line, terminus, delay and current bus stop).
In order to display said information in the most compact, universally comprehensible way possible, OMSIPresence uses emotes:
Additionally, the small icon contains additional information about the current state of the game:
Pause icons have priority over AI icons - that is, if the game is paused and the vehicle is controlled by AI, pause icons are shown. Additionally, hovering over the small icon displays a short explanation of these icons, as well as the current bus stop and timetable delay, if any.
Information that was previously shown in OMSI2Drpc, such as the current bus speed, fuel, passenger count, weather etc... is deemed mostly irrelevant and only serves to clutter the already limited space of Discord Rich Presence, thus it was removed.
Apart from the features listed above, the project has seen major improvements since its initial release as OMSI2Drpc:
TTimer
Delphi class to update Rich Presence (alongside Access*Variable
functions, but no longer solely relying on them)
-omsipresence_debug
launch option - the game will continue to run after exceptions and a console is created for live logging outputlogfile.txt
(unless -nolog
is active) using the game's own function, prefixed with [OMSIPresence]
logfile.txt
for an accurate measurement)-omsipresence_noupdate
launch option. This is not recommended, only use if you're having issues - please stay up-to-date