Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
games:runescape_native [2020/02/22 15:19] – Sean Rhone | games:runescape_native [2020/09/25 20:30] – Sean Rhone |
---|
* https://github.com/flathub/com.jagex.RuneScape/blob/master/com.jagex.RuneScape.json#L56 | * https://github.com/flathub/com.jagex.RuneScape/blob/master/com.jagex.RuneScape.json#L56 |
| |
* https://content.runescape.com/downloads/ubuntu/pool/non-free/r/runescape-launcher/runescape-launcher_2.2.6_amd64.deb | * https://content.runescape.com/downloads/ubuntu/pool/non-free/r/runescape-launcher/runescape-launcher_2.2.8_amd64.deb |
| |
===== RuneScape ===== | ===== RuneScape ===== |
| |
* This extracts the necessary files out of the latest official ''runescape-launcher-amd64.deb'' package | * This extracts the necessary files out of the latest official ''runescape-launcher-amd64.deb'' package |
* :!: This currently expects the launcher package to be version 2.2.6, and may need a URL update for updated packages | * :!: This currently expects the launcher package to be version 2.2.7, and may need a URL update for updated packages |
| |
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.6_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 | * Last tested: 2020/09/25 on openSUSE Tumbleweed |
| |
| 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.7_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 |
| |
====== Launcher ====== | ====== Launcher ====== |
| |
* :!: Minor changes to the current ''runescape-launcher'' from ''2.2.6'' ((''MESA_GL_VERSION_OVERRIDE'' is removed, and 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.7'' ((''the launcher is changed to run ''runescape'' from it's working directory instead of in ''/usr/share/..'')) |
| |
nano ~/'Jagex/updater/runescape-launcher' | nano ~/'Jagex/updater/runescape-launcher' |
export PULSE_PROP_OVERRIDE="application.name='RuneScape' application.icon_name='runescape' media.role='game'" | export PULSE_PROP_OVERRIDE="application.name='RuneScape' application.icon_name='runescape' media.role='game'" |
export SDL_VIDEO_X11_WMCLASS="RuneScape" | export SDL_VIDEO_X11_WMCLASS="RuneScape" |
| #export PULSE_LATENCY_MSEC=100 |
| |
| # Some older graphics drivers may require this to be uncommented, but it will restrict the available graphics settings and performance. |
| #export MESA_GL_VERSION_OVERRIDE=3.0 |
| |
| # Custom |
| |
| |
===== Generic ===== | ===== Generic ===== |
| |
* :!: Add between ''SDL_VIDEO_X11_WMCLASS'' and ''unset XMODIFIERS'' | * :!: Add under ''# Custom'' but above ''unset XMODIFIERS'' |
* ''PULSE_LATENCY_MSEC'' fixes a possible audio issue with PulseAudio, and may need adjusted | |
| |
<code> | <code> |
# Generic | # Generic |
export MESA_NO_ERROR='1' | |
export PULSE_LATENCY_MSEC='100' | |
export MESA_GLSL_CACHE_DIR=~/'Jagex'</code> | export MESA_GLSL_CACHE_DIR=~/'Jagex'</code> |
| |
| |
* :!: Expects use of the NVIDIA proprietary driver, and not ''nouveau'' ((if using ''nouveau'', adapt Intel or AMD environment variables)) | * :!: Expects use of the NVIDIA proprietary driver, and not ''nouveau'' ((if using ''nouveau'', adapt Intel or AMD environment variables)) |
* :!: Add between ''SDL_VIDEO_X11_WMCLASS'' and ''unset XMODIFIERS'' | * :!: Add under ''# Custom'' but above ''unset XMODIFIERS'' |
| |
<code> | <code> |
# Generic | |
export PULSE_LATENCY_MSEC='100' | |
| |
# NVIDIA Proprietary | # NVIDIA Proprietary |
export __GL_SHADER_DISK_CACHE_PATH=~/'Jagex' | export __GL_SHADER_DISK_CACHE_PATH=~/'Jagex' |
* Optimus ((Intel/AMD iGPU primary + NVIDIA dGPU on-demand secondary)) | * Optimus ((Intel/AMD iGPU primary + NVIDIA dGPU on-demand secondary)) |
* :!: Expects //PRIME Render Offload//, but may work with the old //Offloading Graphics Display with RandR// method | * :!: Expects //PRIME Render Offload//, but may work with the old //Offloading Graphics Display with RandR// method |
* :!: Add between ''SDL_VIDEO_X11_WMCLASS'' and ''unset XMODIFIERS'' | * :!: Add under ''# Custom'' but above ''unset XMODIFIERS'' |
| |
<code> | <code> |
# Generic | |
export PULSE_LATENCY_MSEC='100' | |
| |
# NVIDIA Proprietary | # NVIDIA Proprietary |
export __GL_SHADER_DISK_CACHE_PATH=~/'Jagex' | export __GL_SHADER_DISK_CACHE_PATH=~/'Jagex' |
| |
# Generic | # Generic |
export MESA_NO_ERROR='1' | |
export PULSE_LATENCY_MSEC='100' | |
export MESA_GLSL_CACHE_DIR=~/'Jagex' | export MESA_GLSL_CACHE_DIR=~/'Jagex' |
| |
# Modern Intel Graphics | # Modern Intel Graphics |
export MESA_GL_VERSION_OVERRIDE='4.5FC' | export MESA_GL_VERSION_OVERRIDE='4.5FC' |
export MESA_LOADER_DRIVER_OVERRIDE='iris' | |
| |
unset XMODIFIERS | unset XMODIFIERS |
| |
* AMD Radeon RX 580 | * AMD Radeon RX 580 |
* :!: Add between ''SDL_VIDEO_X11_WMCLASS'' and ''unset XMODIFIERS'' | * :!: If using a non-GCN or Legacy GPU, use ''R600_DEBUG'' instead |
| * :!: Add under ''# Custom'' but above ''unset XMODIFIERS'' |
* :!: Using ''nir'' (last checked 2019/08/03) was assumed to prevent black-screen issues, but it happened once even with that option; maybe it reduces the frequency of them? | |
| |
<code> | <code> |
# Generic | # Generic |
export MESA_NO_ERROR='1' | |
export PULSE_LATENCY_MSEC='100' | |
export MESA_GLSL_CACHE_DIR=~/'Jagex' | export MESA_GLSL_CACHE_DIR=~/'Jagex' |
| |
# Modern AMD Graphics | # Modern AMD Graphics |
export NIR_VALIDATE='0' | export MESA_GL_VERSION_OVERRIDE='4.6FC' |
export MESA_GL_VERSION_OVERRIDE='4.5FC' | |
export AMD_DEBUG='unsafemath,sisched,gisel,nir' | |
| |
# Benchmarking | # Benchmarking |
#export GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;GPU-load,requested-VRAM+VRAM-usage;fps'</code> | #export GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;GPU-load,requested-VRAM+VRAM-usage;fps' |
| |
| </code> |
| |
===== Modern Intel Graphics ===== | ===== Modern Intel Graphics ===== |
* Intel Iris Graphics 5100 | * Intel Iris Graphics 5100 |
* Intel HD Graphics 6000 | * Intel HD Graphics 6000 |
* :!: Add between ''SDL_VIDEO_X11_WMCLASS'' and ''unset XMODIFIERS'' | * :!: Add under ''# 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'' ((this allows selecting MSAA, but GPU performance for MSAA is unideal; outside of this there's no known benefit)) | * ''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'' ((this allows selecting MSAA, but GPU performance for MSAA is unideal; outside of this there's no known benefit)) |
<code> | <code> |
# Generic | # Generic |
export MESA_NO_ERROR='1' | |
export PULSE_LATENCY_MSEC='100' | |
export MESA_GLSL_CACHE_DIR=~/'Jagex' | export MESA_GLSL_CACHE_DIR=~/'Jagex' |
| |
| |
* Intel GMA 4500MHD | * Intel GMA 4500MHD |
* :!: Add between ''SDL_VIDEO_X11_WMCLASS'' and ''unset XMODIFIERS'' | * :!: Add under ''# Custom'' but above ''unset XMODIFIERS'' |
| |
* The graphics-related environment variables are for a Intel GMA 4500MHD GPU that barely reports OpenGL 2.0 | * The graphics-related environment variables are for a Intel GMA 4500MHD GPU that barely reports OpenGL 2.0 |
<code> | <code> |
# Generic | # Generic |
export MESA_NO_ERROR='1' | |
export PULSE_LATENCY_MSEC='100' | |
export MESA_GLSL_CACHE_DIR=~/'Jagex' | export MESA_GLSL_CACHE_DIR=~/'Jagex' |
| |
===== Debugging ===== | ===== Debugging ===== |
| |
* :!: Append after ''PULSE_LATENCY_MSEC'' | * :!: Add under ''# Custom'' but above ''unset XMODIFIERS'' |
| |
<code>export MESA_GL_VERSION_OVERRIDE='4.5FC'</code> | <code>export MESA_GL_VERSION_OVERRIDE='4.5FC'</code> |
<code>export __GL_SYNC_TO_VBLANK='0'</code> | <code>export __GL_SYNC_TO_VBLANK='0'</code> |
| |
<code>export GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;cpu4+cpu5+cpu6+cpu7;GPU-load,requested-VRAM+VRAM-usage;fps'</code> | <code>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'</code> |
| |
| <code>export MESA_NO_ERROR='1'</code> |
| |
| <code>export PULSE_LATENCY_MSEC='100'</code> |
| |
====== Settings ====== | ====== Settings ====== |
**** | **** |
| |
pactl set-sink-input-volume 'x' '135%' | pactl set-sink-input-volume 'x' '155%' |
| |
===== Ping ===== | ===== Ping ===== |
[Desktop Action iGPU] | [Desktop Action iGPU] |
Exec='/home/CHANGEME/Jagex/updater/runescape-launcher-igpu' | Exec='/home/CHANGEME/Jagex/updater/runescape-launcher-igpu' |
Name=Use Integrated GPU (Optimus) | Name=Launch RuneScape on Integrated Graphics |
| |
[Desktop Action Kill] | [Desktop Action Kill] |