# Linux or Steam Deck installation

Setting up Raft Mod Loader is now easier than ever due to the proton compatibility layer built into Steam. This guide aims to show you how you can achieve this on your own Linux-based machine.

First, a starting note for the Steam Deck users:\
To access the Linux Desktop on the Steam Deck do the following: <https://help.steampowered.com/en/faqs/view/0872-C5FA-C31E-FE63>

Another general note:\
The install button on the Raftmodding website unfortunately does not work, so you will have to add the mods to the mod folder manually.

Now let's get started 😊

### 1. Setting up our game directory

First download the shim file from <https://github.com/FranzFischer78/proton-custom-exe-shim> and download the Raft Mod Launcher from <https://www.raftmodding.com/download>.

Next place both of the downloaded files into your Raft game folder usually located at /home/$USER/.steam/steam/steamapps/common/Raft.

{% hint style="info" %}
The .steam folder will be hidden if you have 'Show Hidden Files' disabled in your file manager so you will need to enable the setting.
{% endhint %}

The Raft folder should now look like this:

<figure><img src="https://352575278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmZ48Gg-hWqQWenxAnx%2Fuploads%2Fgit-blob-ddf87c206d6840c101daa59b3fda0e6f2ba95b86%2Fgrafik%20(37).png?alt=media" alt=""><figcaption></figcaption></figure>

Before moving to the next step, make sure the shim file is executable. The shim file can be set as executable by opening the file properties in your file manager or running the following command inside of your terminal.

```bash
chmod +x shim
```

### 2. Setting up the launch parameters inside of Steam

First open Steam. Next go into your Steam Library, go to Raft, right-click onto the game and click on properties.

On the general tab you'll find an input field called launch options. Add the following into that field:

```bash
./shim %command%
```

<figure><img src="https://352575278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmZ48Gg-hWqQWenxAnx%2Fuploads%2Fgit-blob-01a4542bbc7e90eec68499bff81a055771663813%2Fgrafik.png?alt=media" alt=""><figcaption></figcaption></figure>

### 3. Preparing the target file

Now startup Raft on Steam. The game should start up as usual. Close it once it is done starting.

Go back into your Raft game directory. There should now be a new file called 'target'. Open the file and replace Raft.exe with RMLLauncher.exe as seen below

```
/path/to/game/RMLLauncher.exe
```

### 4. Launching the game with mods

Startup Raft on Steam. You should now see the mod launcher coming up. Go through the setup process until you reach the following window.

<figure><img src="https://352575278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmZ48Gg-hWqQWenxAnx%2Fuploads%2Fgit-blob-adafc0310a467c894c567e86cac5f3b872e077e7%2F546481263-1e0ffd16-7560-440d-b260-3cee25507159.png?alt=media" alt=""><figcaption></figcaption></figure>

Press play and the game should start with mods! You should see this mod menu once the game reaches the main menu:

<figure><img src="https://352575278-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmZ48Gg-hWqQWenxAnx%2Fuploads%2Fgit-blob-d1ea612d2fdbc17637a1c52f05e3d3ac2b6b8cb8%2Fgrafik%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you encounter any issues or the guide doesn't seem to work for you, please visit the #support-tickets channel on our [Discord](https://www.raftmodding.com/discord).\
\
Our team is more than happy to assist you. 🙂
{% endhint %}

#### Credits

This guide was made with the help of @xenozma. Feel free to ask them for assistance on the Raftmodding Discord regarding this guide.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api.raftmodding.com/getting-started/installing-raft-mod-loader/linux-installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
