runescape
from it's working directory instead of in /usr/share/..
This is an old revision of the document!
runescape-launcher-amd64.deb
package2.2.8
, and may need a URL update for updated packagescd ~ && 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.8_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
nano ~/'Jagex/updater/runescape-launcher'
#!/bin/sh if [ -z $1 ]; then configURI=http://www.runescape.com/k=5/l=\$\(Language:0\)/jav_config.ws else configURI=$1 shift fi export PULSE_PROP_OVERRIDE="application.name='RuneScape' application.icon_name='runescape' media.role='game'" export SDL_VIDEO_X11_WMCLASS="RuneScape" #export PULSE_LATENCY_MSEC=100 #export MESA_GL_VERSION_OVERRIDE=3.0 # Custom unset XMODIFIERS ./runescape --configURI $configURI $@
# Custom
but above unset XMODIFIERS
# Generic export MESA_GLSL_CACHE_DIR=~/'Jagex'
# Custom
but above unset XMODIFIERS
# Generic export MESA_GLSL_CACHE_DIR=~/'Jagex' # Modern AMD Graphics export MESA_GL_VERSION_OVERRIDE='4.6FC' export mesa_glthread='true'
# Custom
but above unset XMODIFIERS
MESA_GL_VERSION_OVERRIDE
is not required, but without it, the max OpenGL version reported is 3.0
, even though the hardware easily supports 4.5
2)# Generic export MESA_GLSL_CACHE_DIR=~/'Jagex' # Modern Intel Graphics export MESA_GL_VERSION_OVERRIDE='4.5FC' export mesa_glthread='true'
# Custom
but above unset XMODIFIERS
MESA_GLSL_VERSION_OVERRIDE
is required, and 130
is the lowest NXT will allow# Generic export MESA_GLSL_CACHE_DIR=~/'Jagex' # Old Intel Graphics export MESA_GLSL_VERSION_OVERRIDE='130' export MESA_GL_VERSION_OVERRIDE='3.0' export mesa_glthread='true'
# Custom
but above unset XMODIFIERS
# NVIDIA Proprietary export __GL_SHADER_DISK_CACHE_PATH=~/'Jagex' export __GL_THREADED_OPTIMIZATIONS='1'
# Custom
but above unset XMODIFIERS
# NVIDIA Proprietary export __GL_SHADER_DISK_CACHE_PATH=~/'Jagex' export __GL_THREADED_OPTIMIZATIONS='1' # NVIDIA Proprietary Optimus export __NV_PRIME_RENDER_OFFLOAD='1' export __GLX_VENDOR_LIBRARY_NAME='nvidia'
nano ~/'Jagex/updater/runescape-launcher-igpu' && chmod +x ~/'Jagex/updater/runescape-launcher-igpu'
#!/bin/sh if [ -z $1 ]; then configURI=http://www.runescape.com/k=5/l=\$\(Language:0\)/jav_config.ws else configURI=$1 shift fi export PULSE_PROP_OVERRIDE="application.name='RuneScape' application.icon_name='runescape' media.role='game'" export SDL_VIDEO_X11_WMCLASS="RuneScape" # Generic export MESA_GLSL_CACHE_DIR=~/'Jagex' # Modern Intel Graphics export MESA_GL_VERSION_OVERRIDE='4.5FC' export mesa_glthread='true' unset XMODIFIERS ./runescape --configURI $configURI $@
# Custom
but above unset XMODIFIERS
export MESA_GL_VERSION_OVERRIDE='4.5FC'
export MESA_DEBUG='1'
export LIBGL_DEBUG='verbose'
export vblank_mode='0'
export __GL_SYNC_TO_VBLANK='0'
export mesa_glthread='true'
export GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3,cpu4+cpu5+cpu6+cpu7;cpu8+cpu9+cpu10+cpu11,cpu12+cpu13+cpu14+cpu15;GPU-load,requested-VRAM+VRAM-usage;fps,API-thread-offloaded-slots+API-thread-direct-slots+API-thread-num-syncs'
export GALLIUM_HUD='fps'
export MESA_NO_ERROR='1'
export PULSE_LATENCY_MSEC='100'
export SDL_AUDIODRIVER='alsa'
Settings.jcache
sqlitebrowser ~/'Jagex/RuneScape/Settings.jcache'
Alt
+ ~
to access the console in-gamegsettings set 'org.gnome.desktop.wm.keybindings' 'switch-group' "['disabled']"
gsettings reset 'org.gnome.desktop.wm.keybindings' 'switch-group'
help
to see commandsdisplayfps
being displayed lowers performance noticeably, and it may be better to use GALLIUM_HUD
if possible for performance statisticshelp
displayfps
renderer
grep
, and Properties
will present Runescape
for the correct sinkpactl list sink-inputs | grep '#'
pactl set-sink-input-volume 'x' '155%'
nano '/tmp/rs3-ping.sh' && chmod +x '/tmp/rs3-ping.sh' && '/tmp/rs3-ping.sh'
for world in {1..141}; do res=$(ping world${world}.runescape.com -c 1 2>&0 | grep "time=" | cut -d' ' -f 8,9 | cut -d'=' -f 2) && echo World ${world}: ${res}; done
nano ~/'.local/share/applications/RuneScape.desktop'
[Desktop Entry] Name=RuneScape Comment=A unique MMO set in the vast, fantasy world of Gielinor, brimming with diverse races, guilds and ancient gods battling for dominion. RuneScape now features more ways to play, brand new skills and over 200 gripping story-driven quests. Categories=Game;AdventureGame;RolePlaying Exec='/home/CHANGEME/Jagex/updater/runescape-launcher' Type=Application StartupNotify=false Path=/home/CHANGEME/Jagex/updater Icon=runescape StartupWMClass=RuneScape Actions=Kill;Cache; [Desktop Action Kill] Exec='/bin/killall' -9 'rs2client' 'runescape' 'runescape-launcher' Name=Force-close [Desktop Action Cache] Exec='/bin/bash' -c "rm -Rf ~/'.runescape' ~/'Jagex/mesa_shader_cache' ~/'Jagex'/GLCache' ~/'Jagex/launcher/instance.lock' ~/'Jagex/RuneScape/ShaderManager.jcache' '/tmp/runescape' && sync && notify-send 'The RuneScape cache has been cleaned.'" Name=Cache Clean-up
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/RuneScape.desktop'
Actions=iGPU
[Desktop Action iGPU] Exec='/home/CHANGEME/Jagex/updater/runescape-launcher-igpu' Name=Launch RuneScape on Integrated Graphics
cd ~/'Jagex/updater' && ~/'Jagex/updater/runescape-launcher'
gio open ~/'Jagex'
runescape
from it's working directory instead of in /usr/share/..
nouveau
, adapt Intel or AMD environment variables4730