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

Quake3 -- update libGL/libEGL, use bind_directories, update .sh #1199

Merged
merged 2 commits into from
Jan 15, 2025
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
10 changes: 2 additions & 8 deletions ports/quake3/Quake 3.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ else
fi

source $controlfolder/control.txt
source $controlfolder/device_info.txt
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt"

get_controls
Expand All @@ -23,8 +22,7 @@ GAMEDIR="/$directory/ports/quake3"

cd $GAMEDIR

$ESUDO rm -rf ~/.q3a
ln -sfv $GAMEDIR/conf/.q3a ~/
bind_directories ~/.q3a $GAMEDIR/conf/.q3a

export DEVICE_ARCH="${DEVICE_ARCH:-aarch64}"

Expand All @@ -42,12 +40,8 @@ fi
export LD_LIBRARY_PATH="$GAMEDIR/libs:$LD_LIBRARY_PATH"
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig"

$ESUDO chmod 666 /dev/tty1
$ESUDO chmod 666 /dev/uinput

$GPTOKEYB "quake3e.aarch64" -c "$GAMEDIR/quake3e.aarch64.gptk" &
./quake3e.aarch64

$ESUDO kill -9 $(pidof gptokeyb)
$ESUDO systemctl restart oga_events &
pm_finish
printf "\033c" >> /dev/tty1
Binary file modified ports/quake3/quake3/gl4es.aarch64/libEGL.so.1
Binary file not shown.
Binary file modified ports/quake3/quake3/gl4es.aarch64/libGL.so.1
Binary file not shown.