Skip to content

Instantly share code, notes, and snippets.

@vsTerminus
Last active April 9, 2025 03:51
Show Gist options
  • Save vsTerminus/5aeb58c229cb3c00e9a16c46120e941f to your computer and use it in GitHub Desktop.
Save vsTerminus/5aeb58c229cb3c00e9a16c46120e941f to your computer and use it in GitHub Desktop.
Toggle Mods and Mesh Streamer for Darktide on Linux

Darktide Mesh Streamer Disabler and Mod Enabler for Linux

Note: This script is useful for people who run modded Darktide on Linux. If you aren't using mods then you can delete lines 7 and 8 from toggle_darktide_mods.sh so you just toggle the mesh streamer off.


Explanation

Darktide on Linux runs great - for the most part. Sometimes you will notice that the game has gotten stuck with low level of detail meshes loaded. These are most noticeable on your weapon, but also railings and other things will stand out to you.

The fix is to disable the Mesh Streamer in Warhammer 40,000 DARKTIDE/bundle/application_settings/settings_common.ini by setting disable = true in the mesh_streamer_settings block.

The downside is you have to do this every time the game gets updated, and if you're like me you forget until you launch the game and your gun has 5 polygons.

However, since you also need to re-enable mods by running the toggle_darktide_mods.bat file every time there is a patch, why not just have a wrapper which runs that script and disables the mesh streamer at the same time?

Instructions

  1. Put toggle_darktide_mods.sh in your Warhammer 40,000 DARKTIDE folder alongside the toggle_darktide_mods.bat file from the modding framework.
  2. Put disable_mesh_streamer.patch in the Warhammer 40,000 DARKTIDE/bundle/application_settings folder alongside the settings_common.ini file.
  3. Every time Darktide gets updated, run toggle_darktide_mods.sh instead of the bat file.

You should see two confirmation popups - One for enabling mods, the other for disabling mesh streamer.

Now launch your game.

--- settings_common.ini 2024-12-18 08:58:58.391823145 -0600
+++ settings_common2.ini 2024-12-18 08:53:02.069562906 -0600
@@ -54,7 +54,7 @@
enabled = false
}
mesh_streamer_settings = {
- disable = false
+ disable = true
eviction_timeout = 5
frame_time_budget = 1
io_buffer_budget = 10240
#!/bin/bash
# Start where the script is located
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd $SCRIPT_DIR
echo "Toggling Mods..."
$(which wine) toggle_darktide_mods.bat
echo "Disabling Mesh Streamer..."
cd bundle/application_settings
patch settings_common.ini < disable_mesh_streamer.patch
zenity --info --text="Mesh Streamer Disabled" --ok-label="Ok" --title="Darktide Mod Patcher"
cd $SCRIPT_DIR
echo "Done."
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment