add stuff, i don't even know anymore man
This commit is contained in:
parent
cd0a564d9a
commit
98a561fa5a
16 changed files with 555 additions and 56 deletions
24
utils/patch-eldenring.sh
Executable file
24
utils/patch-eldenring.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/usr/bin/env bash
|
||||
# https://old.reddit.com/r/linux_gaming/comments/td14yg/elden_ring_wont_launch_protonlinux/
|
||||
# Move $ELDEN_RING_DIR/elden_ring.exe to $ELDEN_RING_DIR/start_protected_game.exe
|
||||
|
||||
ELDEN_RING_DIR="$HOME/.steam/steam/steamapps/common/ELDEN RING/Game"
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# Assert $ELDEN_RING_DIR/elden_ring.exe exists
|
||||
# if it doesn't exist, exit successfully
|
||||
|
||||
if [ ! -f "$ELDEN_RING_DIR/elden_ring.exe" ]; then
|
||||
echo "Already patched"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
## Move $ELDEN_RING_DIR/start_protected_game.exe to $ELDEN_RING_DIR/start_protected_game.exe.bak
|
||||
|
||||
mv "$ELDEN_RING_DIR/start_protected_game.exe" "$ELDEN_RING_DIR/start_protected_game.exe.bak"
|
||||
|
||||
# Move $ELDEN_RING_DIR/elden_ring.exe to $ELDEN_RING_DIR/start_protected_game.exe
|
||||
|
||||
mv "$ELDEN_RING_DIR/elden_ring.exe" "$ELDEN_RING_DIR/start_protected_game.exe"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue