Skip to content

iv4xr-project/iv4xr-se-plugin

Repository files navigation

iv4XR logo

iv4XR Space Engineers Plugin

A plugin providing integration of Space Engineers to the iv4XR framework.

The plugin is developed by GoodAI. GoodAI logo

Introduction

Space Engineers is a sandbox game by Keen Software House.

Space Engineers

The plugin exposes the game structured data, functionality and allows remote control.

How to run the game with plugin

  1. Clone this repository or download as zip.
  2. Install the plugin and 3rd party libraries by running install.bat file in the Scripts directory.
  3. Run the game by running start.bat file in the Scripts directory. You should see Steam popup Allow game launch?
  4. To make this permanent from Steam:
    • Right-click on the game title in the Steam library list and open its Properties.
    • Add the option -plugin Ivxr.SePlugin.dll to launch options.
  5. Use Kotlin or Python client to communicate with the game.

To get more detailed information about these steps, check manual installation, you can also build manually.

Troubleshooting

  • Check Space Engineers logs first at ~\AppData\Roaming\SpaceEngineers.

  • Make sure Windows is OK to run the libraries. Windows (10+) blocks "randomly" downloaded libraries. Typical error in log is: System.NotSupportedException: An attempt was made to load an assembly from a network location.... To fix them:

    • Right-click each of them and open file properties.
    • Look for Security section on the bottom part of the General tab.
    • You might see a message: This file came from another computer and might be blocked.... If so, check the Unblock checkbox.
  • If the plugin works correctly, a TCP/IP server is listening for JSON-RPC calls on the port 3333. (See the config file in user's AppData folder ~\AppData\Roaming\SpaceEngineers\ivxr-plugin.config for the current port number). You can safely delete this file if you think it's done incorrectly.

  • Another sign of life is the log file ivxr-plugin_xxxxx.log present in the same folder.

Game mechanics and functionality

This section links to specific, more detailed parts of the documentation which describe functionality relevant for the plugin:

Other links