Created
January 29, 2015 19:33
-
-
Save nelsam/16e5c94a2924273dbaeb to your computer and use it in GitHub Desktop.
Temperary Dying Light Performance Fix
This file contains 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 | |
set -e | |
# Change this if your steam root is elsewhere | |
steam_root=~/.local/share/Steam | |
options_file="data/scripts/varlist_performance.scr" | |
cd "${steam_root}/SteamApps/common/Dying Light/DW/out" | |
unzip ../Data0.pak $options_file | |
sed -i 's|\(VarFloat("f_lighting_range", \)5\(0.0)\)|\1\2|' $options_file | |
sed -i 's|\(VarInt("i_shadows_sun_on", \)1\()\)|\10\2|' $options_file | |
cd - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment