Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:old_school_runescape_runelite [2023/03/21 17:21] – [Java] Sean Rhone | games:old_school_runescape_runelite [2023/07/09 22:39] (current) – Sean Rhone |
---|
| |
* :!: 117 HD plugin caused ''amdgpu'' driver to crash (see [[https://github.com/RS117/RLHD/issues/307|#307]]) | * :!: 117 HD plugin caused ''amdgpu'' driver to crash (see [[https://github.com/RS117/RLHD/issues/307|#307]]) |
* If using RuneLite's built-in GPU plugin and GPU mining at the same time, disable **Compute Shaders** from the GPU plugin settings ((this is a //massive// speedup with a 6600 XT while OpenCL mining with [[mining:nsfminer|nsfminer]])) | * Disabling **Compute Shaders** with the built-in GPU plug-in improves performance, but may prevent increasing view distance beyond the default ''25'' |
* Disabling **Compute Shaders** for the built-in GPU plugin improves performance for Intel UHD 630 enough to maintain 74 FPS | * :!: **Anisotropic Filtering** with the built-in GPU plug-in set to any value other than ''0'' causes fishing spots in water to become significantly more subtle and harder to see, notably affects Tree textures, and seemingly is the cause for blurry things in-general |
* ''RuneLite.jar'' works fine with OpenJDK 19 on Fedora 37, but Steam launch script needs improved to handle launching and hooking into it | |
| ===== Worlds ===== |
| |
| ==== Lowest Latency ==== |
| |
| * Last checked: 2023/05/18 US East |
| |
| * 354 - Castle Wars 2 |
| * 362 - TzHaar Fight Pit |
| * 369 - Wilderness PK - Members |
| * 370 - Fishing Trawler |
| * 377 - Mort'ton temple, Rat Pits |
| |
| ==== Specific ==== |
| |
| * 344 - Pest Control |
| * 353 - 1250 skill total (US) |
| |
| ====== Ubuntu ====== |
| |
| * https://snapcraft.io/runelite |
| |
| sudo snap install 'runelite' && sync |
| |
====== Download ====== | ====== Download ====== |
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | * [[distros:fedora_workstation_gnome|Fedora Workstation]] |
* 2023/03/21: LWJGL reports ''Unsupported JNI version'' for Java 19, but seems to work fine | * 2023/03/21: LWJGL reports ''Unsupported JNI version'' for Java 19, but seems to work fine |
| * :!: If Steam hooking is wanted, use [[#appimage|the AppImage]] instead |
| |
sudo dnf install java-latest-openjdk wmctrl && sync | sudo dnf install java-latest-openjdk wmctrl && sync |
==== RuneLite ==== | ==== RuneLite ==== |
| |
* :!: This expects ''RuneLite.jar'' to be in the ''~/Downloads'' folder | * This expects ''RuneLite.jar'' to be in the ''~/Downloads'' folder |
| |
mkdir -p ~/'.local/bin/runelite' && mv --force --verbose ~/'Downloads/RuneLite.jar' ~/'.local/bin/runelite' && chmod +x ~/'.local/bin/runelite/RuneLite.jar' && sync | mkdir -p ~/'.local/bin/runelite' ~/'.runelite' && mv --force --verbose ~/'Downloads/RuneLite.jar' ~/'.local/bin/runelite' && chmod +x ~/'.local/bin/runelite/RuneLite.jar' && sync |
| |
===== AppImage ===== | ===== AppImage ===== |
| |
* :!: This expects ''RuneLite.AppImage'' from ''Linux (x64)'' to be in the ''~/Downloads'' folder ((easily adaptable for the ''Aarch64'' AppImage)) | * This expects ''RuneLite.AppImage'' from ''Linux (x64)'' to be in the ''~/Downloads'' folder |
| |
mkdir -p ~/'.local/bin/runelite' && mv --force --verbose ~/'Downloads/RuneLite.AppImage' ~/'.local/bin/runelite' && chmod +x ~/'.local/bin/runelite/RuneLite.AppImage' && sync | mkdir -p ~/'.local/bin/runelite' ~/'.runelite' && mv --force --verbose ~/'Downloads/RuneLite.AppImage' ~/'.local/bin/runelite' && chmod +x ~/'.local/bin/runelite/RuneLite.AppImage' && sync |
| |
===== SELinux ===== | ===== SELinux ===== |
====== Launcher ====== | ====== Launcher ====== |
| |
===== Java ===== | * :!: Adjust ''# Launch'' if using AppImage instead of Java |
| |
nano ~/'.local/bin/runelite/runelite.sh' && chmod +x ~/'.local/bin/runelite/runelite.sh' && sync | nano ~/'.local/bin/runelite/runelite.sh' && chmod +x ~/'.local/bin/runelite/runelite.sh' && sync |
| |
<code> | <code> |
#!/bin/sh | #!/bin/bash |
| |
# Working Directory | # Working Directory |
cd ~/'.runelite' | cd ~/'.runelite' |
| |
# Environment Variables | |
# Modern Open/Mesa Graphics | |
export MESA_SHADER_CACHE_DIR=~/'.runelite' | export MESA_SHADER_CACHE_DIR=~/'.runelite' |
export MESA_GL_VERSION_OVERRIDE='4.6FC' | export _JAVA_OPTIONS='-XX:+UseConcMarkSweepGC' |
export MESA_NO_ERROR='1' | |
export mesa_glthread='true' | |
export MESA_DISK_CACHE_SINGLE_FILE='1' | |
export MESA_DISK_CACHE_DATABASE='1' | |
| |
# Launch | # Launch |
java -jar ~/'.local/bin/runelite/RuneLite.jar' | |
| |
# End</code> | # Java |
| java -jar ~/'.local/bin/runelite/RuneLite.jar' --disable-telemetry |
| |
===== AppImage ===== | # AppImage |
| #~/'.local/bin/runelite/RuneLite.AppImage' --disable-telemetry --J=-XX:+UseConcMarkSweepGC |
| |
**** | # End</code> |
| |
echo "~/'.local/bin/runelite/RuneLite.AppImage'" | tee ~/'.local/bin/runelite/runelite.sh' && chmod +x ~/'.local/bin/runelite/runelite.sh' && sync | |
| |
====== Desktop Launcher ====== | ====== Desktop Launcher ====== |
[Desktop Action Screen] | [Desktop Action Screen] |
StartupNotify=false | StartupNotify=false |
Exec='/usr/bin/wmctrl' -r 'RuneLite' -b toggle,fullscreen -F | Exec='/usr/bin/wmctrl' -r 'net-runelite-client-RuneLite.net-runelite-client-RuneLite' -x -b 'toggle,fullscreen' |
Name=Toggle Fullscreen/Windowed | Name=Toggle Fullscreen/Windowed |
| |
[Desktop Action Cache] | [Desktop Action Cache] |
StartupNotify=false | StartupNotify=false |
Exec='/bin/bash' -c "rm -Rf '/home/CHANGEME/runescape/oldschool/jagexcache' '/home/CHANGEME/runescape/oldschool/jagexappletviewer.preferences' '/home/CHANGEME/runescape/oldschool/jagex_cl_oldschool_LIVE.dat' '/home/CHANGEME/runescape/oldschool/random.dat' '/home/CHANGEME/runescape/oldschool/'*'.log' '/home/CHANGEME/runescape/oldschool/.java' '/tmp/oldschool' && sync && notify-send 'The Old School RuneScape cache has been cleaned.'" | Exec='/bin/bash' -c "rm -Rf '/home/CHANGEME/.runelite/cache' '/home/CHANGEME/.runelite/jagexcache' '/home/CHANGEME/.runelite/mesa_shader_cache'* '/home/CHANGEME/.runelite/jagex_cl_oldschool_LIVE.dat' '/home/CHANGEME/.runelite/random.dat' '/home/CHANGEME/.runelite/'*'.log' '/tmp/oldschool' && sync && notify-send 'The RuneLite cache has been cleaned.'" |
Name=Cache Cleanup | Name=Cache Cleanup |
| |
| |
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/RuneLite.desktop' | sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/RuneLite.desktop' |
| |
====== Steam Launch ====== | |
| |
* Set as a launch option for Old School RuneScape on Steam | |
* This allows gametime tracking for Steam | |
| |
~/.local/bin/runelite/runelite.sh %command% | |
| |