Skip to content

Instantly share code, notes, and snippets.

@sopa0
Last active August 10, 2023 13:50
Show Gist options
  • Save sopa0/1e8505c176850c80c7931552c401426a to your computer and use it in GitHub Desktop.
Save sopa0/1e8505c176850c80c7931552c401426a to your computer and use it in GitHub Desktop.
Running Lutemod on Linux with Proton

Running the Lutemod on Linux and Proton

Installing the Lutemod

Visit this page and download the clientside-mod-autoloader

You should receive a file named similarly to zz_clientmodloadingmap_425.zip

Unzip the contents of the archive, you should be getting a file named zz_clientmodloadingmap_425.pak

Copy this file to the Mordhau paks folder

cp zz_clientmodloadingmap_425.pak $HOME/.local/share/Steam/steamapps/common/Mordhau/Mordhau/Content/Paks

Open the Engine.ini file, which is located at:

$HOME/.local/share/Steam/steamapps/compatdata/629760/pfx/drive_c/users/steamuser/AppData/Local/Mordhau/Saved/Config/WindowsClient/Engine.ini

Add the following lines to it:

[/Script/EngineSettings.GameMapsSettings]
GameDefaultMap=/Game/Mordhau/Maps/ClientModMap/ClientMod_MainMenu.ClientMod_MainMenu

You can now visit this page, download the lutemod and unzip it. Add the lutemod to your paks folder:

cp LuteMod.pak $HOME/.local/share/Steam/steamapps/common/Mordhau/Mordhau/Content/Paks

Open the Game.ini file, which is located at:

$HOME/.local/share/Steam/steamapps/compatdata/629760/pfx/drive_c/users/steamuser/AppData/Local/Mordhau/Saved/Config/WindowsClient/Game.ini

Add the following lines to it:

[/Game/Mordhau/Maps/ClientModMap/BP_ClientModLoaderActor.BP_ClientModLoaderActor_C]
ClientMods=/Game/Mordhau/Maps/LuteMod/Client/BP_LuteModClientLoader.BP_LuteModClientLoader_C
ModListWidgetStayTime=5.0

Setting up the LuteBot to add songs

You can now launch, Mordhau pick up a Lute and press F. This will create the partition index. You can close Mordhau again.

Download the 3rd party Lutebot app here

You will received a file name similarly to Lutebot.3.1.5.zip. I generally unzip it near the Mordhau config files.

cp Lutebot.3.1.5.zip $HOME/.local/share/Steam/steamapps/compatdata/629760/pfx/

Once done, you can unzip the archive (make sure to keep all the dlls with it, they're necessary to run the LuteBot.exe)

Once this is done and the LuteBot is extracted, you can run it with the following commands:

cd $HOME/.local/share/Steam/steamapps/compatdata/629760/pfx
STEAM_COMPAT_DATA_PATH="$HOME/.local/share/Steam/steamapps/compatdata/629760" WINEPREFIX=$PWD STEAM_COMPAT_CLIENT_INSTALL_PATH="$HOME/.steam/steam" $HOME/.steam/root/steamapps/common/Proton\ 6.3/proton run $HOME/.local/share/Steam/steamapps/compatdata/629760/pfx/drive_c/LuteBot.exe

From here, the LuteBot should normally be launched. You can click on Lutemod Partitions to see your current partitions. The list should be empty. To add a song, click "Load Midi File", and load a midi file from your filesystem. To add it to your partitions, you can click on "Save Current Song" in the partitions window. If you close the LuteBot and open Mordhau, you should see your newly added songs in the list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment