Skip to content

Commit 6022528

Browse files
committed
readme 2.4.0
1 parent 5a8831c commit 6022528

7 files changed

Lines changed: 89 additions & 105 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525
- name: Rust Cache
2626
uses: Swatinem/rust-cache@v2
2727

28-
# 1. DLLs für 32-Bit (x86) bauen
28+
# DLLs für 32-Bit (x86) bauen
2929
- name: Build DLLs
3030
run: |
3131
cargo build --release --target i686-pc-windows-msvc
3232
cargo build --release --target i686-pc-windows-msvc --example omsilogger
3333
34-
# 2. Paketstruktur vorbereiten (Inklusive .opl Dateien)
34+
# Paketstruktur vorbereiten (Inklusive .opl Dateien)
3535
- name: Prepare Package Folder
3636
run: |
3737
mkdir release_pkg
@@ -42,12 +42,12 @@ jobs:
4242
cp omsi2komsi.opl release_pkg/
4343
cp omsilogger.opl release_pkg/
4444
45-
# 3. ZIP erstellen
45+
# ZIP erstellen
4646
- name: Create ZIP Archive
4747
run: |
4848
Compress-Archive -Path release_pkg/* -DestinationPath "omsi_2_komsi_${{ github.ref_name }}_x86.zip"
4949
50-
# 4. Release erstellen
50+
# Release erstellen
5151
- name: Create Release
5252
uses: softprops/action-gh-release@v2
5353
with:

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "omsi_2_komsi"
3-
version = "2.3.3"
3+
version = "2.4.0"
44
edition = "2024"
55
rust-version = "1.92"
66
authors = ["ThatZok <af@komplix.de>"]

README.en.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Omsi2Komsi
2+
3+
[Deutsche Vrsion](README.md)
4+
5+
Omsi2Komsi is a collection of tools for the "OMSI 2" bus simulator, written in Rust.
6+
7+
## Projects
8+
9+
### Omsi2Komsi (Main Plugin)
10+
11+
Omsi2Komsi is a plugin DLL that reads information (speed, lamps, etc.) from OMSI 2 and sends it to a serial port (USB) using the [KOMSI protocol](https://github.com/thatzok/Komsi-Protocol).
12+
13+
An Arduino/ESP32 or similar device connected to the USB port can then read these messages and display the data on a physical bus dashboard (e.g., speed on a speedometer, lamp lighting, etc.).
14+
15+
#### Usage
16+
17+
1. Copy both `omsi2komsi.dll` and `omsi2komsi.opl` into the `plugins` directory of OMSI 2.
18+
2. Edit the `omsi2komsi.opl` file and change the `portname` to the one where your Arduino/ESP32 is connected.
19+
3. Start OMSI 2.
20+
4. By default, press **F10** to toggle the logger window visibility.
21+
22+
The configuration is done via the `omsi2komsi.opl` file, which must be located in the same directory as the DLL.
23+
24+
25+
### OmsiLogger
26+
27+
OmsiLogger is a diagnostic tool that displays real-time values of OMSI 2 variables in an overlay window and logs them to a file.
28+
29+
#### Usage
30+
31+
1. Copy `omsilogger.dll` (compiled from the example) and `omsilogger.opl` into the `plugins` directory.
32+
2. Start OMSI 2.
33+
3. By default, press **F10** to toggle the logger window visibility.
34+
4. It will log the changed values defined in `omsilogger.opl` to a file named `omsilogger_YYYY-MM-DD.txt` in the OMSI 2 directory.
35+
36+
The configuration file `omsilogger.opl` allows you to define the variables to monitor and the hotkey:
37+
38+
39+
40+
**Have fun!**
41+
42+
43+
44+
## License
45+
46+
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
47+
48+
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [GNU General Public License](LICENSE) for more details.
49+
50+
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
51+

README.md

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,51 @@
11
# Omsi2Komsi
22

3-
Omsi2Komsi is a collection of tools for the "OMSI 2" bus simulator, written in Rust.
3+
[English version](README.en.md)
44

5-
## Projects
5+
Omsi2Komsi ist eine Sammlung von Werkzeugen für den Bussimulator "OMSI 2", geschrieben in Rust.
66

7-
### Omsi2Komsi (Main Plugin)
7+
## Omsi2Komsi (Haupt-Plugin)
8+
Omsi2Komsi ist eine Plugin-DLL, die Informationen (Geschwindigkeit, Lampen usw.) aus OMSI 2 liest und über eine serielle Schnittstelle (USB) mit dem KOMSI-Protokoll sendet.
9+
Infos zum Komso-Protokoll gibt es hier: https://github.com/thatzok/Komsi-Protocol
10+
Ein am USB-Anschluss angeschlossener Arduino/ESP32 oder ein ähnliches Gerät kann diese Nachrichten dann lesen und die Daten auf einem physischen Bus-Dashboard anzeigen (z. B. Geschwindigkeit auf einem Tachometer, Lampenbeleuchtung usw.).
811

9-
Omsi2Komsi is a plugin DLL that reads information (speed, lamps, etc.) from OMSI 2 and sends it to a serial port (USB) using the [KOMSI protocol](https://github.com/thatzok/Komsi-Protocol).
12+
### Verwendung
1013

11-
An Arduino/ESP32 or similar device connected to the USB port can then read these messages and display the data on a physical bus dashboard (e.g., speed on a speedometer, lamp lighting, etc.).
14+
1. Kopiere sowohl `omsi2komsi.dll` als auch `omsi2komsi.opl` in das Verzeichnis "`plugins`" von OMSI 2.
15+
2. Bearbeite die Datei `omsi2komsi.opl` und ändern den `portname` auf den Anschluss, an dem der Arduino/ESP32 angeschlossen ist.
16+
3. Starte OMSI 2.
17+
4. Standardmäßig drücke **F10**, um die Sichtbarkeit des Logger-Fensters umzuschalten und Diagnosemeldungen anzuzeigen.
1218

13-
#### Usage
19+
Die Konfiguration erfolgt über die Datei omsi2komsi.opl, die sich auch im Pluginverzeichnis "plugins" von OMSI 2 befinden muss.
20+
Aus der mitgelieferten Beispiel-Konfiguration sollten die Konfigurationsmöglichkeiten ersichtlich sein.
21+
Zum Debugging und Fehler suchen kann man das Programm auch ohne serielle Schnittstelle (serialportenabled = false) starten.
1422

15-
1. Copy both `omsi2komsi.dll` and `omsi2komsi.opl` into the `plugins` directory of OMSI 2.
16-
2. Edit the `omsi2komsi.opl` file and change the `portname` to the one where your Arduino/ESP32 is connected.
17-
3. Start OMSI 2.
18-
4. By default, press **F10** to toggle the logger window visibility.
1923

20-
The configuration is done via the `omsi2komsi.opl` file, which must be located in the same directory as the DLL.
24+
## OmsiLogger (Diagnosewerkzeug)
2125

26+
OmsiLogger ist ein Diagnosewerkzeug, das Echtzeitwerte von OMSI 2-Variablen in einem Overlay-Fenster anzeigt und in eine Datei protokolliert.
27+
Es kann dazu dienen herauszufinden, welche OMSI 2 Variablen überhaupt bei bestimmten Bussen eine Funktion haben um diese dann später in der omsi2komsi.opl-Konfiguration zu verwenden.
28+
Es können bis zu 100 Variablen in die [varlist] eingetragen werden. Werden mehr eingetragen, werden diese ignoriert.
2229

23-
### OmsiLogger
30+
### Verwendung
2431

25-
OmsiLogger is a diagnostic tool that displays real-time values of OMSI 2 variables in an overlay window and logs them to a file.
32+
1. Kopiere `omsilogger.dll` und `omsilogger.opl` in das Verzeichnis "plugins" von OMSI 2.
33+
2. Bearbeite die Datei omsilogger.opl und trage da die OMSI 2 Variablen ein, die geprüft werden sollen.
34+
3. Starte OMSI 2.
35+
4. Standardmäßig drücke **F10**, um die Sichtbarkeit des Logger-Fensters umzuschalten und Diagnosemeldungen anzuzeigen.
36+
5. Wenn sich Variablenwerte ändern werden diese auch in eine Datei namens omsilogger_JJJJ-MM-TT.txt im OMSI 2-Verzeichnis protokolliert.
2637

27-
#### Usage
38+
Die Konfiguration erfolgt über die Datei omsilogger.opl, die sich auch im Pluginverzeichnis "plugins" von OMSI 2 befinden muss.
39+
Aus der mitgelieferten Beispiel-Konfiguration sollten die Konfigurationsmöglichkeiten ersichtlich sein.
2840

29-
1. Copy `omsilogger.dll` (compiled from the example) and `omsilogger.opl` into the `plugins` directory.
30-
2. Start OMSI 2.
31-
3. By default, press **F10** to toggle the logger window visibility.
32-
4. It will log the changed values defined in `omsilogger.opl` to a file named `omsilogger_YYYY-MM-DD.txt` in the OMSI 2 directory.
41+
Omsi2Komsi und OmsiLogger sollten nicht gleichzeitig im Pluginverzeichnis "plugins" von OMSI 2 installiert sein.
3342

34-
The configuration file `omsilogger.opl` allows you to define the variables to monitor and the hotkey:
3543

44+
**Viel Spaß!**
3645

3746

38-
Have fun!
39-
40-
41-
42-
## License
43-
44-
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
45-
46-
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [GNU General Public License](LICENSE) for more details.
47-
48-
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
47+
## Lizenz
4948

49+
Dieses Programm ist freie Software: Sie können es unter den Bedingungen der GNU General Public License, wie von der Free Software Foundation veröffentlicht, entweder gemäß Version 3 der Lizenz oder (nach Ihrer Option) jeder späteren Version weitergeben und/oder modifizieren.
50+
Dieses Programm wird in der Hoffnung verteilt, dass es nützlich sein wird, aber OHNE JEDE GEWÄHRLEISTUNG; sogar ohne die implizite Gewährleistung der MARKTFÄHIGKEIT oder EIGNUNG FÜR EINEN BESTIMMTEN ZWECK. Siehe die GNU General Public License für weitere Details.
51+
Sie sollten eine Kopie der GNU General Public License zusammen mit diesem Programm erhalten haben. Wenn nicht, siehe <https://www.gnu.org/licenses/>.

SECURITY.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

liesmich.txt

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)