Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Quake 2 shell scripts - fix backwards bind_dirs entries #816

Merged
merged 1 commit into from
Oct 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions ports/quake.2/Quake 2 - Capture The Flag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,10 @@ else
fi
fi

bind_directories $GAMEDIR/conf/.yq2 ~/.yq2
bind_directories ~/.yq2 $GAMEDIR/conf/.yq2

$GPTOKEYB "quake2" -c "$GAMEDIR/quake2.gptk" &
pm_platform_helper "$GAMEDIR/quake2"
./quake2 +set vid_renderer $YQ2RENDERER +set r_mode -2 +set r_customwidth $DISPLAY_WIDTH +set r_customheight $DISPLAY_HEIGHT +set r_gunfov $GUNFOV +set r_hudscale $SSCALE +set r_menuscale $SSCALE +set game ctf

pm_finish
printf "\033c" > /dev/tty1
printf "\033c" > /dev/tty0
4 changes: 1 addition & 3 deletions ports/quake.2/Quake 2 - Ground Zero.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ else
fi
fi

bind_directories $GAMEDIR/conf/.yq2 ~/.yq2
bind_directories ~/.yq2 $GAMEDIR/conf/.yq2

if [[ ! -f "$GAMEDIR/rogue/pak0.pak" ]]; then
./text_viewer -f 25 -w -t "Missing gamedata" -m "Please place your pak0.pak into the ports/quake2/rogue directory and, optionally, the music tracks in ports/quake2/rogue/music and the .cin cutscenes in ports/quake2/rogue/video!"
Expand All @@ -90,5 +90,3 @@ pm_platform_helper "$GAMEDIR/quake2"
./quake2 +set vid_renderer $YQ2RENDERER +set r_mode -2 +set r_customwidth $DISPLAY_WIDTH +set r_customheight $DISPLAY_HEIGHT +set r_gunfov $GUNFOV +set r_hudscale $SSCALE +set r_menuscale $SSCALE +set game rogue

pm_finish
printf "\033c" > /dev/tty1
printf "\033c" > /dev/tty0
4 changes: 1 addition & 3 deletions ports/quake.2/Quake 2 - The Reckoning.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ else
fi
fi

bind_directories $GAMEDIR/conf/.yq2 ~/.yq2
bind_directories ~/.yq2 $GAMEDIR/conf/.yq2

if [[ ! -f "$GAMEDIR/xatrix/pak0.pak" ]]; then
./text_viewer -f 25 -w -t "Missing gamedata" -m "Please place your pak0.pak into the ports/quake2/xatrix directory and, optionally, the music tracks in ports/quake2/xatrix/music and the .cin cutscenes in ports/quake2/xatrix/video!"
Expand All @@ -90,5 +90,3 @@ pm_platform_helper "$GAMEDIR/quake2"
./quake2 +set vid_renderer $YQ2RENDERER +set r_mode -2 +set r_customwidth $DISPLAY_WIDTH +set r_customheight $DISPLAY_HEIGHT +set r_gunfov $GUNFOV +set r_hudscale $SSCALE +set r_menuscale $SSCALE +set game xatrix

pm_finish
printf "\033c" > /dev/tty1
printf "\033c" > /dev/tty0
4 changes: 1 addition & 3 deletions ports/quake.2/Quake 2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,10 @@ else
fi
fi

bind_directories $GAMEDIR/conf/.yq2 ~/.yq2
bind_directories ~/.yq2 $GAMEDIR/conf/.yq2

$GPTOKEYB "quake2" -c "$GAMEDIR/quake2.gptk" &
pm_platform_helper "$GAMEDIR/quake2"
./quake2 +set vid_renderer $YQ2RENDERER +set r_mode -2 +set r_customwidth $DISPLAY_WIDTH +set r_customheight $DISPLAY_HEIGHT +set r_gunfov $GUNFOV +set r_hudscale $SSCALE +set r_menuscale $SSCALE

pm_finish
printf "\033c" > /dev/tty1
printf "\033c" > /dev/tty0
Loading