Linux Distro | Install Instruction |
---|---|
Arch Linux | pacman -S dotnet-sdk dotnet-host dotnet-runtime |
Red Hat | yum install dotnet dotnet-host dotnet-sdk-6.0 |
Debian | Please refer to this documentation |
Fedora | Please refer to this documentation |
OpenSUSE | Please refer to this documentation |
SLES | Please refer to this documentation |
Ubuntu | apt-get install dotnet6 dotnet-runtime-6.0 |
CentOS | Please refer to this documentation |
You can install Visual Studio Code from this instruction
Generally if you have installed Steam on your Linux Distro, you may have a ".steam" directory symbolic link in your home folder IE /home/user/.steam
.
Depending on which version of the game you have, you may either have the actual Stardeus copy or the Stardeus Demo, so you will have to make a distinction here.
Your game folder may be in the following path, if not, please let us know which Linux distro you're on and where can it actually be found:
/home/{Your Username}/.steam/steam/steamapps/common/Stardeus/
Also for where you're going to put your mod folder at, it'll likely be under this folder:
/home/{Your Username}/.config/unity3d/Kodo Linija/Stardeus/Mods/
git clone https://github.com/kodolinija/stardeus-mod-template.git {Enter name of your mod with spaces replaced with underscores}
into your project folder.- Edit
ModInfo.json
and change theId
,Name
,Description
and other fields. - Remove the
SteamWorkshopItemId
file. - Edit
.vscode/mod.csproj
line 14 to set the name of the DLL file your mod will produce. - Edit
.vscode/mod.csproj
line 31 to work with your system. - Edit
.vscode/mod.csproj
to change the following lines:
<Reference Include="/home/{Your Username}/.local/share/Steam/steamapps/common/Stardeus/Stardeus_Data/Managed/Game.dll">
and
<Reference Include="/home/{Your Username}/.local/share/Steam/steamapps/common/Stardeus/Stardeus_Data/Managed/*.dll">
- Open the folder with your favorite editor.
- When done writing your mod program, brings up a terminal with mod folder set as current directory and run
dotnet build .vscode
, or pickTasks: Run Build Task
from Command Palette in Visual Studio Code editor.
Warning: If you attempt to modify launch.json
to have it run Stardeus executable after pressing F5
to compile the DLL file and run Stardeus, it may crash your window manager depending on the circumstances with Steam Runtime, it is a containerization for game applications. So it is advised to instead run Stardeus directly from Steam application. If debugging is needed, you can attach the debugger to the running Stardeus executable.
-
Make a symbolic link of your mod folder in Stardeus mod folder which can be done as followed:
ln -sv "/home/{Your Username}/{Your Mod Folder Name}" "/home/{Your Username}/.config/unity3d/Kodo Linija/Stardeus/Mods/{Your Mod Folder Name}"
-
Now run Stardeus from Steam.
-
Once Stardeus starts, you should see your mod listed and enabled in
Main Menu > Mods
.
The instruction is the same in README.md