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 revisionPrevious revision
Next revision
Previous revision
games:runescape_native [2023/01/04 07:52] Sean Rhonegames:runescape_native [2024/03/24 20:52] (current) – [Jagex Launcher] Sean Rhone
Line 3: Line 3:
   * 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 ======
Line 8: Line 14:
 ===== 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.11_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.10'', 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: 2022/12/19 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.10_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 ======
Line 33: Line 32:
   * :!: 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
-  * :!: 2022/12/20: ''SDL_VIDEODRIVER=wayland'' caused the launcher to crash on Wayland, but using ''x11'' on Wayland works fine+
  
   nano ~/'Jagex/updater/runescape-launcher'   nano ~/'Jagex/updater/runescape-launcher'
Line 49: Line 47:
  
 export SDL_VIDEO_X11_WMCLASS="RuneScape" export SDL_VIDEO_X11_WMCLASS="RuneScape"
 +export PULSE_LATENCY_MSEC='100'
  
 # PulseAudio # PulseAudio
 #export SDL_AUDIODRIVER='pulseaudio' #export SDL_AUDIODRIVER='pulseaudio'
 #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 PULSE_LATENCY_MSEC=100 
  
 # PipeWire # PipeWire
Line 67: Line 65:
  
 unset XMODIFIERS unset XMODIFIERS
-./runescape --configURI $configURI $@</code>+~/Jagex/updater/runescape --configURI $configURI $@</code>
  
 ===== Modern Open/Mesa Graphics ===== ===== Modern Open/Mesa Graphics =====
Line 74: Line 72:
   * 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 =====
Line 91: Line 93:
 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 =====
Line 134: Line 134:
  
   * 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 ======
Line 190: Line 198:
   * 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 ====
Line 216: Line 225:
  
 ===== 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'
Line 241: Line 252:
  
   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 ======
/var/www/wiki/data/attic/games/runescape_native.1672836767.txt.gz · Last modified: 2023/01/04 07:52 by Sean Rhone