Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:runescape_native [2023/03/12 12:27] – Sean Rhone | games:runescape_native [2024/03/24 20:52] (current) – [Jagex Launcher] Sean Rhone |
---|
* RuneScape ((http://www.runescape.com)) | * RuneScape ((http://www.runescape.com)) |
* NXT ((https://runescape.wiki/w/NXT)) | * NXT ((https://runescape.wiki/w/NXT)) |
| |
| ====== Dependencies ====== |
| |
| **** |
| |
| sudo dnf install 'openssl1.1.x86_64' && sync |
| |
====== Install ====== | ====== Install ====== |
===== Version Check ===== | ===== Version Check ===== |
| |
* https://github.com/flathub/com.jagex.RuneScape/blob/master/com.jagex.RuneScape.json#L72 | * https://github.com/flathub/com.jagex.RuneScape/blob/master/com.jagex.RuneScape.json#L87 |
| |
* https://content.runescape.com/downloads/ubuntu/pool/non-free/r/runescape-launcher/runescape-launcher_2.2.12_amd64.deb | * https://content.runescape.com/downloads/ubuntu/pool/non-free/r/runescape-launcher/runescape-launcher_2.2.12_amd64.deb ((this should ''404''; if it doesn't then there's an updated package and the notes are referencing an older version number)) |
| |
===== RuneScape ===== | ===== RuneScape ===== |
* This extracts the necessary files out of the latest official ''runescape-launcher-amd64.deb'' package, and should work fine on most Linux distros | * This extracts the necessary files out of the latest official ''runescape-launcher-amd64.deb'' package, and should work fine on most Linux distros |
* :!: This currently expects the launcher package to be version ''2.2.11'', and may need a URL update for updated packages | * :!: This currently expects the launcher package to be version ''2.2.11'', and may need a URL update for updated packages |
* :!: 2022/09/30: This didn't work as-is on Ubuntu 22.04 because of ''libssl.so.1.1'' missing; [[https://snapcraft.io/runescape|the Snap]] worked fine | |
| |
* Last tested: 2023/02/22 on Fedora 37 | * Last tested: 2023/06/07 on Fedora 38 |
* TODO: restorecon | * TODO: restorecon |
| |
cd ~ && rm -Rf ~/'.runescape' ~/'Jagex/launcher' ~/'Jagex/updater' ~/'Jagex/RuneScape/GlobalSettings.jcache' ~/'Jagex/RuneScape/Settings.jcache' ~/'Jagex/RuneScape/ShaderManager.jcache' ~/'.local/share/icons/hicolor/'*'/apps/runescape.png' ~/'.local/share/applications/RuneScape.desktop' '/tmp/runescape' && mkdir -p ~/'Jagex/updater' '/tmp/runescape' && wget -O '/tmp/runescape/runescape-launcher-amd64.deb' 'https://content.runescape.com/downloads/ubuntu/pool/non-free/r/runescape-launcher/runescape-launcher_2.2.11_amd64.deb' && unar -o '/tmp/runescape' '/tmp/runescape/runescape-launcher-amd64.deb' && unar -o '/tmp/runescape' '/tmp/runescape/runescape-launcher-amd64/data.tar.xz' && cp '/tmp/runescape/data/usr/bin/runescape-launcher' '/tmp/runescape/data/usr/share/games/runescape-launcher/runescape' ~/'Jagex/updater' && cp -R '/tmp/runescape/data/usr/share/icons' ~/'.local/share' && ls ~/'Jagex/updater/runescape' ~/'Jagex/updater/runescape-launcher' > '/dev/null' && rm -Rf '/tmp/runescape' && sync | cd ~ && rm -Rf ~/'.runescape' ~/'Jagex/launcher' ~/'Jagex/updater' ~/'Jagex/RuneScape/GlobalSettings.jcache' ~/'Jagex/RuneScape/Settings.jcache' ~/'Jagex/RuneScape/ShaderManager.jcache' ~/'.local/share/icons/hicolor/'*'/apps/runescape.png' ~/'.local/share/applications/RuneScape.desktop' '/tmp/runescape' && mkdir -p ~/'Jagex/updater' '/tmp/runescape' && wget -O '/tmp/runescape/runescape-launcher-amd64.deb' 'https://content.runescape.com/downloads/ubuntu/pool/non-free/r/runescape-launcher/runescape-launcher_2.2.11_amd64.deb' && unar -o '/tmp/runescape' '/tmp/runescape/runescape-launcher-amd64.deb' && unar -o '/tmp/runescape' '/tmp/runescape/runescape-launcher-amd64/data.tar.xz' && cp '/tmp/runescape/data/usr/bin/runescape-launcher' '/tmp/runescape/data/usr/share/games/runescape-launcher/runescape' ~/'Jagex/updater' && cp -R '/tmp/runescape/data/usr/share/icons' ~/'.local/share' && ls ~/'Jagex/updater/runescape' ~/'Jagex/updater/runescape-launcher' > '/dev/null' && rm -Rf '/tmp/runescape' && sync |
| |
===== pk-gtk-module ===== | |
| |
* https://github.com/mypiaware/virtual-radar-server-installation/issues/10 | |
| |
echo '/usr/lib64/gtk-3.0/modules' | sudo tee '/etc/ld.so.conf.d/gtk3.conf' > '/dev/null' && cat '/etc/ld.so.conf.d/gtk3.conf' && sudo ldconfig | |
| |
====== Launcher ====== | ====== Launcher ====== |
* :!: Minor changes to the current ''runescape-launcher'' from ''2.2.10'' ((the launcher is changed to run ''runescape'' from it's working directory instead of in ''/usr/share/..'')) | * :!: Minor changes to the current ''runescape-launcher'' from ''2.2.10'' ((the launcher is changed to run ''runescape'' from it's working directory instead of in ''/usr/share/..'')) |
* :!: If PipeWire doesn't work, change the config to PulseAudio ((PW works on F36 but not openSUSE TW)) | * :!: If PipeWire doesn't work, change the config to PulseAudio ((PW works on F36 but not openSUSE TW)) |
* Any ''MESA_GL_VERSION_OVERRIDE''s should be occasionally checked with [[https://mesamatrix.net/|The Mesa driver matrix]] to see if they can be increased depending on the driver support | |
* :!: 2023/02/22: ''SDL_VIDEODRIVER=wayland'' caused the launcher to crash on Wayland, but using ''x11'' on Wayland works fine | * :!: 2023/02/22: ''SDL_VIDEODRIVER=wayland'' caused the launcher to crash on Wayland, but using ''x11'' on Wayland works fine |
| |
| |
export SDL_VIDEO_X11_WMCLASS="RuneScape" | export SDL_VIDEO_X11_WMCLASS="RuneScape" |
export PULSE_LATENCY_MSEC=100 | export PULSE_LATENCY_MSEC='100' |
| |
# PulseAudio | # PulseAudio |
| |
unset XMODIFIERS | unset XMODIFIERS |
./runescape --configURI $configURI $@</code> | ~/Jagex/updater/runescape --configURI $configURI $@</code> |
| |
===== Modern Open/Mesa Graphics ===== | ===== Modern Open/Mesa Graphics ===== |
* Intel UHD Graphics 630 | * Intel UHD Graphics 630 |
* :!: Add under ''# Custom'' but above ''unset XMODIFIERS'' | * :!: Add under ''# Custom'' but above ''unset XMODIFIERS'' |
| |
| * TODO: Test ''4.6FC'' |
| |
<code> | <code> |
# Modern Open/Mesa Graphics | # Modern Open/Mesa Graphics |
export MESA_SHADER_CACHE_DIR=~/'Jagex' | export MESA_SHADER_CACHE_DIR=~/'Jagex' |
export MESA_GL_VERSION_OVERRIDE='4.6FC' | export MESA_GL_VERSION_OVERRIDE='4.6COMPAT' |
export MESA_NO_ERROR='1' | export MESA_NO_ERROR='1' |
export mesa_glthread='true'</code> | export mesa_glthread='true' |
| export MESA_DISK_CACHE_SINGLE_FILE='1' |
| export MESA_DISK_CACHE_DATABASE='1'</code> |
| |
===== Zink ===== | ===== Zink ===== |
export MESA_SHADER_CACHE_DIR=~/'Jagex' | export MESA_SHADER_CACHE_DIR=~/'Jagex' |
export MESA_LOADER_DRIVER_OVERRIDE='zink' | export MESA_LOADER_DRIVER_OVERRIDE='zink' |
export GALLIUM_DRIVER='zink' | export GALLIUM_DRIVER='zink'</code> |
export ZINK_DEBUG='gpl' | |
export ZINK_DESCRIPTORS='lazy'</code> | |
| |
===== Old Intel Graphics ===== | ===== Old Intel Graphics ===== |
| |
* See [[notes:wine]] | * See [[notes:wine]] |
| * https://docs.mesa3d.org/envvars.html |
| |
| ===== Jagex Launcher ===== |
| |
| * See [[games:wine:jagex_launcher|Jagex Launcher]] |
| * TODO: This should probably link to [[games:wine:runescape_jagex_launcher]] instead? |
| |
| ln --backup --symbolic --force ~/'Jagex/updater/runescape-launcher' ~/'.wine/Jagex Launcher/drive_c/Program Files/Jagex Launcher/Games/RuneScape/RuneScape.exe' |
| |
====== Settings ====== | ====== Settings ====== |
* The following commands boosts RS's volume past 100% | * The following commands boosts RS's volume past 100% |
* :!: This expects PulseAudio to be used ((PipeWire on Fedora 36 seems to have expected volume by-default)) | * :!: This expects PulseAudio to be used ((PipeWire on Fedora 36 seems to have expected volume by-default)) |
| * 2023/08/24: This was required on openSUSE TW |
| |
==== Get Index ==== | ==== Get Index ==== |
| |
===== RuneScape ===== | ===== RuneScape ===== |
| |
| * :!: Should likely be using [[games:wine:jagex_launcher|Jagex Launcher]] instead |
| |
nano ~/'.local/share/applications/RuneScape.desktop' | nano ~/'.local/share/applications/RuneScape.desktop' |
| |
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/RuneScape.desktop' | sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/RuneScape.desktop' |
| |
===== Steam Launcher ===== | |
| |
nano ~/'Jagex/runescape-steam-launcher.sh' && chmod +x ~/'Jagex/runescape-steam-launcher.sh' | |
| |
<code> | |
#!/bin/sh | |
| |
# Working Directory | |
cd ~/'Jagex/updater' | |
| |
# Launch | |
~/'Jagex/updater/runescape-launcher' | |
| |
# End</code> | |
| |
~/Jagex/runescape-steam-launcher.sh %command% | |
| |
====== Quick Commands ====== | ====== Quick Commands ====== |