Rust
Няма достатъчно оценки
Play Rust with Linux/Lutris
От Dott. Tweet [LINUX]
An alternative method to run rust on linux if proton doesn't work
   
Награда
Добавяне към любими
В любими
Премахване от любими
1. Install Lutris, Wine and DXVK
Lutris is a graphical tool that can be used to launch games using wine. You can follow the installation instructions for your distro here[lutris.net]

This game doesn't work well with OpenGL on Linux, so is better to run the game with Vulkan and the new DXVK (See the Requirements[github.com]). In order to complete our lutris installation you need to install:
  • Graphics Drivers and Vulkan support
    Check this page[github.com] to know how to install graphics drivers and vulkan for your distro.

  • Wine Dependencies
    Check this page[github.com] to know how to get wine and dependencies for your distro (the staging version of wine is the more updated).



Vulkan Verification
You can check your Vulkan installation with the command vulkaninfo or vkcube. If there are no errors everything should work

Ubuntu/Debian
sudo apt install vulkan-tools vulkaninfo vkcube

Arch/Manjaro
sudo pacman -Syu vulkan-tools vulkaninfo vkcube



To see which Vulkan implementations are currently installed on your system, use the following command:
ls /usr/share/vulkan/icd.d/
2. Install Steam Wine Runner
Start lutris and install the Wine Steam runner.

To show the Manage Runners window click near "Runners", then scroll down and install the Wine Steam runner:






After the installation of the runner select "Configure Runner" and make sure the option "Enable DXVK/VKD3D" is enabled






The steam interface with wine is very glitchy, you can optionally show only the mini version of the library of steam by clicking "Show advanced options" and adding the following text inside the "Arguments" field:
-no-browser +open steam://open/minigameslist


(Thank you TermNCR for the tip!)



Click the Save button and close the window.
3. Add Rust
Inside the main window of Lutris, click the Wine Steam Tab and select the Add Game option





Insert a Name and select the runner "Wine Steam", then move to the "Game options" tab and insert the Application ID of Rust: 252490
Enable the option "Do not launch game, only open Steam" if you want to show the Steam interface and don't start the game directly (after the installation you can uncheck this for a faster startup of the game)






You can now click the Save button
4. (Optional) Move Rust Game Files
If you have already downloaded Rust with Proton on Steam for Linux, you can copy the Rust game folder from the proton installation to the lutris/wine installation.

From your home directory, press on the keyboard CTRL+H to show hidden files, then go to the directory
.steam -> steam -> steamapps -> common
and copy the Rust folder.

Paste the Rust folder inside your steam lutris/wine installation usually located from your home directory to
.local -> share -> lutris -> runners -> winesteam -> prefix64 -> drive_c -> Program Files (x86) -> Steam -> steamapps -> common
(Create steamapps and common folders if they don't exist)

When you will start the installation of Rust, Steam will first check existing files and then download the missing ones.
5. Start/Install the game
Select Rust from Lutris and press Play.
Login into steam and search Rust from your library to install the game (if you are using the mini library mode of steam, use the View menu to see the Download progress). After the installation you can start the game from the steam interface.





Important
Inside the game menu don't press the Play button or the game will crash! Linux is not supported anymore, so you can't play on EAC protected servers. There are some linux servers with EAC disabled but you need to use the in-game console to connect.
Press the F1 key and type into the console:
connect SERVER_IP_OR_NAME:PORT
Example:




You can also explore servers without EAC using the steam server browser from the View -> Server Menu.


6. Final tips
  • Use Borderless window mode, Exclusive mode can give you problems

  • To reset the game options, if the game doesn't start, you can try deleting the file client.cfg inside the Rust/cfg game folder

  • With AMD graphics you can use "Enable ACO shader compiler" option of Lutris to get a more smooth experience

  • If you have a notebook/laptop with a nvidia graphics card and the optimus technology you can try the "Enable NVIDIA Prime render offload" option of Lutris
6 коментара
Huub 22 септ. 2020 в 23:51 
I'm running Fedora 32. Have a Geforce 1070 and it's also working like a charm
Dott. Tweet [LINUX]  [автор] 8 септ. 2020 в 17:59 
@SimonBot No, only on NON EAC protected servers, but the deadlock server have an active admin and we are trying to increase population (currently 5-10 daily)
Simon 8 септ. 2020 в 14:14 
Does this work for official servers?
Alpha_Goi 8 септ. 2020 в 7:02 
Thanks!:steamhappy:
Juri 6 септ. 2020 в 5:54 
Many thanks :steamhappy:
Dott. Tweet [LINUX]  [автор] 5 септ. 2020 в 12:12 
Tested on Kubuntu 20.04 with AMD Radeon RX 580 and on ArchLinux with Nvidia Geforce GTX 750 Ti