Last active
September 30, 2025 14:03
-
-
Save Delivator/8cab44084b01e99607beb7b599fc4566 to your computer and use it in GitHub Desktop.
his script removes the Monster Hunter Wilds shader cache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script removes the Monster Hunter Wilds shader cache and then | |
# executes the command passed to it. | |
# Recommended to put this script somewhere in your PATH, for example: | |
# ~/.local/bin/mhwshadercleanup | |
# Remove the shader cache file. | |
# The '2>' part redirects standard error to /dev/null, so it doesn't | |
# complain if the file doesn't exist. | |
# IMPORTANT: Change the path below to where your Monster Hunter Wilds | |
rm /mnt/4TB/Games/Steam/steamapps/common/MonsterHunterWilds/shader.cache2 2> /dev/null | |
# Execute the rest of the command-line arguments. | |
# This allows you to run the game as you normally would, for example in steam: | |
# mhwshadercleanup %command% | |
"$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment