mirror of
https://github.com/tcsenpai/UWINE.git
synced 2025-06-06 19:45:20 +00:00
make gamelauncher: make sure the user specifies a game id. this will be used in protonfixes
This commit is contained in:
parent
7214f4f358
commit
e8f1389e1b
@ -31,9 +31,9 @@ When you use `gamelauncher.sh` to run a game, it uses the specified WINEPREFIX,
|
|||||||
# HOW DO I USE IT?
|
# HOW DO I USE IT?
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
`WINEPREFIX=/path-to-prefix ./gamelauncher.sh <proton-path> <executable-path> <arguements>`
|
`WINEPREFIX=/path-to-prefix GAMEID=makeoneup ./gamelauncher.sh <proton-path> <executable-path> <arguements>`
|
||||||
Ex:
|
Ex:
|
||||||
`WINEPREFIX=$HOME/Games/epic-games-store ./gamelauncher.sh "$HOME/.steam/steam/compatibilitytools.d/GE-Proton8-28" "$HOME/Games/epic-games-store/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe" "-opengl -SkipBuildPatchPrereq"`
|
`WINEPREFIX=$HOME/Games/epic-games-store GAMEID=egs ./gamelauncher.sh "$HOME/.steam/steam/compatibilitytools.d/GE-Proton8-28" "$HOME/Games/epic-games-store/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe" "-opengl -SkipBuildPatchPrereq"`
|
||||||
|
|
||||||
# WHAT DOES THIS MEAN FOR OTHER LAUNCHERS (lutris/bottles/heroic/legendary,etc):
|
# WHAT DOES THIS MEAN FOR OTHER LAUNCHERS (lutris/bottles/heroic/legendary,etc):
|
||||||
|
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
if [[ -z $1 ]] || [[ -z $2 ]] || [[ -z $WINEPREFIX ]]; then
|
if [[ -z $1 ]] || [[ -z $2 ]] || [[ -z $WINEPREFIX ]] || [[ -z $GAMEID ]]; then
|
||||||
echo "Usage: WINEPREFIX=/path-to-prefix ./gamelauncher.sh <proton-path> <executable-path> <arguements>"
|
echo "Usage: WINEPREFIX=/path-to-prefix GAMEID=makeoneup ./gamelauncher.sh <proton-path> <executable-path> <arguements>"
|
||||||
echo 'Ex: WINEPREFIX=$HOME/Games/epic-games-store ./gamelauncher.sh "$HOME/.steam/steam/compatibilitytools.d/GE-Proton8-28" "$HOME/Games/epic-games-store/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe" "-opengl -SkipBuildPatchPrereq"'
|
echo 'Ex: WINEPREFIX=$HOME/Games/epic-games-store GAMEID=egs ./gamelauncher.sh "$HOME/.steam/steam/compatibilitytools.d/GE-Proton8-28" "$HOME/Games/epic-games-store/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe" "-opengl -SkipBuildPatchPrereq"'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if [[ $WINEPREFIX ]]; then
|
if [[ $WINEPREFIX ]]; then
|
||||||
@ -15,7 +15,7 @@ if [[ $WINEPREFIX ]]; then
|
|||||||
touch "$WINEPREFIX"/tracked_files
|
touch "$WINEPREFIX"/tracked_files
|
||||||
fi
|
fi
|
||||||
export PROTONPATH="$1"
|
export PROTONPATH="$1"
|
||||||
export STEAM_COMPAT_APP_ID='egs'
|
export STEAM_COMPAT_APP_ID="$GAMEID"
|
||||||
export SteamAppId="$STEAM_COMPAT_APP_ID"
|
export SteamAppId="$STEAM_COMPAT_APP_ID"
|
||||||
export STEAM_COMPAT_TOOL_PATHS=''
|
export STEAM_COMPAT_TOOL_PATHS=''
|
||||||
export STEAM_COMPAT_LIBRARY_PATHS=''
|
export STEAM_COMPAT_LIBRARY_PATHS=''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user