[mod] EmpyrionModHost

Discussion in 'Empyrion API' started by ASTIC, Nov 11, 2018.

  1. ASTIC

    ASTIC Captain

    Joined:
    Dec 11, 2016
    Messages:
    993
    Likes Received:
    707
    Empyrion ModLoader/Client/Host
    Ziel
    Entkoppeln der MOD.DLLs um diese:
    1. im laufenden Spiel starten/stoppen zu können.
    2. Mods hinzuzufügen/deaktivieren zu können
    3. Mods mit >= .NET 4.6 schreiben zu können
    4. Mods dürfen aus mehreren DLLs bestehen
    5. Mods können einfach per Debugger inspiziert werden.

    Konfiguration
    • ModLoader: "DllNames.txt" mit dem Pfad zur ClientDLL
    • Client: "Configuration.xml" Konfiguration des Hostprozesses, der Pipenamen und des Start/Stopverhaltens
    • Wenn eine "stop.txt" Datei in dem Verzeichnis existiert in dem auch die "Configuration.xml" liegt, wird der Host-Prozess heruntergefahren und nicht (automatisch) erneut gestartet.
    • Host: "DllNames.txt" Pfade zu den MOD.DLLs welche geladen werden sollen

    Download:
    https://github.com/GitHub-TC/EmpyrionModHost/releases

    Source:
    https://github.com/GitHub-TC/EmpyrionModHost

    Version 1.2:
    • Umstellung auf SharedMemory und verbessertes ExceptionHandling

    English version
    Empyrion ModLoader / Client / Host

    Goal
    Decoupling the MOD.DLLs by:
    1. to be able to start / stop in the current game.
    2. Add / disable mods
    3. be able to write mods with> = .NET 4.6
    4. Mods may consist of several DLLs
    5. Mods can be easily inspected by debugger.

    Configuration
    • ModLoader: "DllNames.txt" with the path to the ClientDLL
    • Client: "Configuration.xml" Configuration of the host process, the pipe names and the start / stop behavior
    • If there is a "stop.txt" file in the directory in which also the "Configuration.xml" is located, the host process becomes Shut down and not (automatically) restarted.
    • Host: "DllNames.txt" paths to the MOD.DLLs which should be loaded

    Download:
    https://github.com/GitHub-TC/EmpyrionModHost/releases

    Source:
    https://github.com/GitHub-TC/EmpyrionModHost

    Version 1.2:
    • Changeover to SharedMemory and improved exception handling
     
    #1
    Last edited: May 16, 2019
    Ephoie likes this.

Share This Page