Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
games:old_school_runescape [2023/04/11 06:06] – Sean Rhone | games:old_school_runescape [2023/06/26 00:40] – Sean Rhone |
---|
===== Notes ===== | ===== Notes ===== |
| |
* ''-Dsun.java2d.opengl=true'' enables Hardware-acceleration via OpenGL ((This is known to be broken with Intel graphics on multiple computers as it does some weird tiling thing and is unplayable)) | * :!: 2023/06/19: There are no known configurations where ''-Dsun.java2d.opengl=true'' offers a performance benefit |
* :!: 2020/09/24: There are no known configurations where ''-Dsun.java2d.opengl=true'' offers a performance benefit | |
* :!: 2020/03/24: On macOS, using the official ''.dmg'' to install OSRS resulted in the worst possible performance due to a mix of forced GPU acceleration and Retina with Java 8; it was recommended to manually install OSRS and to use the latest OpenJDK package available instead to workaround this | * :!: 2020/03/24: On macOS, using the official ''.dmg'' to install OSRS resulted in the worst possible performance due to a mix of forced GPU acceleration and Retina with Java 8; it was recommended to manually install OSRS and to use the latest OpenJDK package available instead to workaround this |
* ''-Dsun.java2d.uiScale'' at 2 and higher increases all UI scale in-game, and improves performance with lowering texture resolution | * ''-Dsun.java2d.uiScale'' at 2 and higher increases all UI scale in-game, and improves performance with lowering texture resolution |
sudo dnf install java-11-openjdk wmctrl && sync | sudo dnf install java-11-openjdk wmctrl && sync |
| |
==== Set Default Java ==== | sudo apt install openjdk-11-jre wmctrl && sync |
| |
**** | ==== Show Java Paths ==== |
| |
| * Useful for specifying Java 11 in the launch script below instead of changing it system-wide |
| |
sudo update-alternatives --config 'java' | sudo update-alternatives --config 'java' |
===== Old School RuneScape ===== | ===== Old School RuneScape ===== |
| |
* :!: Change ''opengl'' and ''uiScale'' flags as-needed | * :!: ''Exec='''s Java path may need changed depending on the distro |
| * Change ''uiScale'' if-needed |
| |
mkdir -p ~/'.local/share/applications' && nano ~/'.local/share/applications/Old School RuneScape.desktop' | mkdir -p ~/'.local/share/applications' && nano ~/'.local/share/applications/Old School RuneScape.desktop' |
Comment=Relive the challenging levelling system and risk-it-all PvP of the biggest retro styled MMO. Play with millions of other players in this piece of online gaming heritage where the community controls the development so the game is truly what you want it to be! | Comment=Relive the challenging levelling system and risk-it-all PvP of the biggest retro styled MMO. Play with millions of other players in this piece of online gaming heritage where the community controls the development so the game is truly what you want it to be! |
Categories=Game;Java;AdventureGame;RolePlaying | Categories=Game;Java;AdventureGame;RolePlaying |
Exec='/usr/bin/java' -Duser.home='/home/CHANGEME/runescape/oldschool' -Djava.class.path='/home/CHANGEME/runescape/oldschool/jagexappletviewer.jar' -Dcom.jagex.config='http://oldschool.runescape.com/k=3/l=$(Language:0)/jav_config.ws' -Djdk.tls.client.protocols='TLSv1.3' -Dhttps.protocols='TLSv1.3' -Xms'768M' -Xmx'768M' -Dsun.java2d.opengl='false' -Dsun.java2d.uiScale='1' 'jagexappletviewer' 'oldschool' | Exec='/usr/lib/jvm/java-11-openjdk-amd64/bin/java' -Xmx512m -Xms512m -XX:+UseSerialGC -Duser.home='/home/CHANGEME/runescape/oldschool' -Djava.class.path='/home/CHANGEME/runescape/oldschool/jagexappletviewer.jar' -Dcom.jagex.config='http://oldschool.runescape.com/k=3/l=$(Language:0)/jav_config.ws' -Djdk.tls.client.protocols='TLSv1.3' -Dhttps.protocols='TLSv1.3' -Dsun.java2d.opengl='false' -Dsun.java2d.uiScale='1' 'jagexappletviewer' 'oldschool' |
Type=Application | Type=Application |
StartupNotify=true | StartupNotify=true |
[Desktop Action Screen] | [Desktop Action Screen] |
StartupNotify=false | StartupNotify=false |
Exec='/usr/bin/wmctrl' -r 'Old School RuneScape' -b toggle,fullscreen -F | Exec='/usr/bin/wmctrl' -r 'jagexappletviewer.jagexappletviewer' -x -b 'toggle,fullscreen' |
Name=Toggle Fullscreen/Windowed | Name=Toggle Fullscreen/Windowed |
| |