Various OMSI Tools [by jjb]

Willkommen in der OMSI-WebDisk!
Als Gast kannst du nur Inhalte in deiner ausgewählten Sprache sehen. Registrierte Nutzer können die Sichtbarkeit anderer Sprachen in ihrem Kontrollzentrum aktivieren, weitere Infos hier.
Alle Themen sind in den Foren mit einer Sprachflagge gekennzeichnet: = Englisch [EN], = Deutsch [DE], = Französisch [FR]. Wenn du die angegebene Sprache nicht beherrschst, schreibe auf Englisch!
  • Neues Update

    Download - WebDisk

    Zwei fatale Fehler wurden behoben. Vielen Dank an Brandenburger und Frankysmiles!

    Hier der Changelog:

    • behoben, dass beim Erststart die Sprache nicht geladen wurde und deshalb Fehler aufgetaucht sind
    • behoben, dass der Pfad zum Dokumentordner falsch war
    • eine Version wird nun nur als alt angezeigt, wenn die alte Versionsnummer wirklich kleiner ist (für die Übergangszeit zw. Hochladen und Freischaltung)
    • diverse Fehlerbehebungen

  • Neues Update für den OMSI Textures Manager

    Download - WebDisk

    Das Programm nutzt nun eine andere Bilderbibliothek. Dies bietet viele Vorteile. Ich freue mich auf Euer Feedback!

    Hier der Changelog:

    • unterstützt alle bekannte Bildtypen
    • verbesserte Fehlermeldungen
    • vor dem Schließen wird nur nach Bestätigung gefragt, wenn wirklich eine Aufgabe im Hintergrund ausgeführt wird
    • diverse Fehlerbehebungen
    • verkleinerte .jpeg-Dateien sollten nun wieder von OMSI geladen werden

  • Moderator

    Hat das Label Abgeschlossen hinzugefügt
  • jjb

    Hat den Titel des Themas von „OMSI Font Creator & Generator“ zu „Various OMSI Tools [by jjb]“ geändert.
  • Neues Update für den OMSI Textures Manager

    Download - WebDisk

    Das Programm hat einige neue Funktionen erhalten. Ich freue mich auf Euer Feedback!

    Unter anderem:

    • Texturen können nun auch zu *.dds konvertiert werden
    • verbesserte Fortschrittsleiste
    • diverse Fehlerbehebungen
    • Umstellung auf .NET 7

  • OMSI Script Console

    Download - WebDisk

    Führe OMSI-Skripte aus, ohne OMSI zu starten!

    • Ausführen von OMSI-Scripts
    • viele Debugmöglichkeiten, bspw.: Ausgabe von definierten Macros, Triggern, Variablen
    • Scriptdateien, Konstantendateien, Variablendateien laden und nutzen
    • einfache Befehle mit Erklärung
    • einige simulierte Systemvariablen

    ?key=afef81d29260fd7c2eaacf9cd4203bb92a953506ea7166985384726e1bd8763a-aHR0cHM6Ly9qamItcHJvZmVzc2lvbmFsaXR5LmNvbS9taXNjL29zYy5naWY%3D

  • Neues Update für den OMSI Textures Manager

    Das Programm hat endlich zwei wichtige Verbesserungen erhalten:

    • bei der Größenanpassung wird die Textur nicht mehr auf den Höchstwert vergrößert, wenn sie kleiner ist als dieser
    • wenn die Textur kleiner ist als der Höchstwert und auch kleiner als der Höchstwert für die Lowtextur, wird die Texturgröße der Lowtextur auf einen Wert unter die Texturgröße reduziert



    Neues Update für die OMSI Script Console

    Das Programm ermöglicht nun die Übergabe von Argumenten:

    • Scripts können nun im Explorer per OMSI Script Console gestartet werden
    • ein Argument kann beim Start an das Programm übergeben werden; z.B. in PowerShell:
    • Start-Process "OMSI Script Console.exe" -ArgumentList "1 2 + %stackdump%"
    • Start-Process "OMSI Script Console.exe" -ArgumentList "runMore C:\Program Files (x86)\Steam\steamapps\common\OMSI 2\Vehicles\MAN_NL_NG\MAN_EN92_main.bus"
  • I am really bad with command line type stuff, so i'm not sure how to use the Script Console,


    would it be possible to use it whilst Omsi is running, and read out things like the variable names / triggers for 'Mouseevents' ?


    or have i got the wrong idea of what this program can do.

  • OMSI Script Console cannot load variables from the running OMSI instance (although it would be possible to implement this). It's simply a console that can run OMSI Script. I.e. you enter e.g. 1 2 + and with %stackdump% you can see that there is a 3 on the stack. This means that it is no longer necessary for users to load OMSI and try out the script in it. This console allows the user to execute simple scripts in it. Here, as an example, is the calculation of the day of the week. This makes it easy to execute the code for that algorithm on the console, and (the result) can also be debugged with debugVar or $msg.

  • ahhh, it makes sense to me now, saves having to start omsi a million times whilst making changes to get a script running.


    The kind of thing i am looking for is a way to read what variables omsi is executing when the mouse is clicked on an item, i.e. if i click on one of the tickets on the pay table, it can tell me what the [mouseevent]' trigger name is, and i can try and make a script that can trigger that mouseevent with a key bind trigger.


    Or try and find a way to read variables that omsi does not let you have access to, like the red information text that displays what ticket the passenger wants, how much it costs and how much money they have given you.


    But as you can guess, coding is something i really struggle with, which is why i love the idea of your omsi script generator.


    thankyou for taking the time to explain the script console to me.