Last active
August 29, 2015 14:03
-
-
Save danielkza/7bddeb279939d824ac3e to your computer and use it in GitHub Desktop.
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
REGEDIT4 | |
[HKEY_CURRENT_USER\Software\Wine\AppDefaults\League of Legends.exe\Direct3D] | |
"CSMT"="enabled" |
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 | |
[ "$PLAYONLINUX" = "" ] && exit 0 | |
source "$PLAYONLINUX/lib/sources" | |
export WINEPREFIX="/home/danielkza/.PlayOnLinux/wineprefix/lol32" | |
export WINEDEBUG="-all" | |
export LOGFILE="/home/danielkza/.PlayOnLinux/logs/lol.log" | |
LOL_PATH="/games/League of Legends/" | |
if [ $# -eq 0 ]; then | |
POL_Wine "$LOL_PATH/lol.launcher.exe" | |
else | |
GAME_RELEASE_PATH="RADS/solutions/lol_game_client_sln/releases" | |
GAME_RELEASE=$(ls -1 "$LOL_PATH/$GAME_RELEASE_PATH/" | sort -r | head -n 1) | |
LOL_EXE="$LOL_PATH/$GAME_RELEASE_PATH/$GAME_RELEASE/deploy/League of Legends.exe" | |
cd "$(dirname "$LOL_EXE")" | |
POL_Wine "$LOL_EXE" "$@" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment