Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding linux client support #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Ventilador
Copy link

@Ventilador Ventilador commented Jan 14, 2023

Current Behavior On linux:

  1. Without running the patcher, nothing really happens, the game loads as if nothing was done
  2. After running the original patcher:
    An error occurs trying to load the Stationeers.Addons.dll saying basically that Assembly.LoadFile requires an absolute path (this is code generated by cecil, also this happens inside the game, in the F3 console)

New Behavior:

  1. Without running the patcher, nothing really happens, the game loads as if nothing was done
  2. After running the new patcher:
    Starting the game now shows 2 loading bars (for the Loading scene, removing prefabs, etc), not sure why.
    Once on the menu the addon compiles the plugins (the progress bar is shown in the menu)
    Loading a world should load plugins installed (tested with network painter)

What this change does:
It Path.Combines the runtime Environment.CurrentDirectory (meaning while running the game), and with the Stationeers.Addons.dll to get the full path.

It also copies all the required assemblies (from Stationeers.Addons project) to the rocketstation_Data/Managed folder, which seems to be auto loaded be mono, so all dlls there become available to the mods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants