User Tools

Site Tools


games:runescape_native

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
games:runescape_native [2020/01/12 16:26]
Sean Rhone
games:runescape_native [2020/04/15 17:03] (current)
Sean Rhone
Line 5: Line 5:
  
 ====== Install ====== ====== Install ======
 +
 +===== Version Check =====
 +
 +  * 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.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+  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'' ((''MESA_GL_VERSION_OVERRIDE'' is removed, and 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'
Line 31: Line 37:
 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
  
  
Line 39: Line 51:
 ===== 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>
  
Line 51: Line 60:
  
   * :!: 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'
Line 65: Line 71:
   * 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'
Line 100: Line 103:
  
 # 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
Line 114: Line 114:
  
   * 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?   * :!: 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?
Line 120: Line 121:
 <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.5FC' export MESA_GL_VERSION_OVERRIDE='4.5FC'
-export AMD_DEBUG='unsafemath,sisched,gisel,nir'+export AMD_DEBUG='unsafemath,nir' 
 +#export R600_DEBUG='unsafemath,nir'
  
 # Benchmarking # Benchmarking
Line 136: Line 135:
   * 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))
Line 142: Line 141:
 <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'
  
Line 152: Line 149:
  
   * 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
Line 161: Line 158:
 <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'
  
Line 171: Line 166:
 ===== 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>
Line 184: Line 179:
  
 <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;GPU-load,requested-VRAM+VRAM-usage;fps'</code>
 +
 +<code>export MESA_NO_ERROR='1'</code>
 +
 +<code>export NIR_VALIDATE='0'</code>
 +
 +<code>export PULSE_LATENCY_MSEC='100'</code>
  
 ====== Settings ====== ====== Settings ======
Line 252: Line 253:
 **** ****
  
-  pactl set-sink-input-volume 'x' '135%'+  pactl set-sink-input-volume 'x' '155%'
  
 ===== Ping ===== ===== Ping =====
Line 285: Line 286:
 [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]
games/runescape_native.1578864388.txt.gz · Last modified: 2020/01/12 16:26 by Sean Rhone