How to install RaftModLoader on Linux
This Tutorial aims to show you how to install RaftModLoader on other OSes (not Windows).
The person who wrote this guide loves Linux, free-and-open-source stuff, he uses Bash instead of PowerShell and Clangd+Vim instead of Visual Studio. After installing Ubuntu and playing some other games on it, he discovered a unique piece of software: Wine. This made him able to run Raft...
Going on, the first thing you need to do is:
Go to your Windows PC, find the Raft installation folder (explained here) and copy it over to your Linux computer. On my desktop it's placed in
~/Desktop/Raft, so change the paths accordingly to where yours is located.
First of all, if you haven't already, install
winetricks. On Ubuntu it's just
sudo apt install winetricks.
Then download Mono 5.0 .MSI from this link and run
wine uninstallerto launch the Add & Remove Software dialog. Point it to the downloaded installer and wait until it completes. After installing Mono, you need another thing: .NET 4.6. It can be installed from Terminal using
winetricks dotnet46. It'll warn you about Windows Modules Installation Service missing but that's not a problem.
If your graphics card supports Vulkan rendering then you shouldn't skip this step. Grab a release from here, unpack the archive to
~/Downloads/and run this in Terminal from the
~/Downloads/dxvk_x.y.zdirectory where x.y.z is the version:
WINEPREFIX="$(dirname ~/.wine)/.wine" ./setup_dxvk.sh install
Run RMLLauncher via Wine:
wine64 ~/Downloads/RMLLauncher.exe. It'll ask you for your Raft folder. From what I've checked, updating is fine, injections work and Raft starts. If you have issues, contact @null#0170 on Discord.
There's nothing I can do to that - it's a issue that happens on many other Unity games, especially when they're running on Wine. From what I've seen, changing focus to a window on another monitor doesn't trigger this.
Wait a second, Raft will open and mods will still work.
I think this can be fixed by using Mono's
cscbut that would probably involve changes in RML's code.