Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
games:old_school_runescape [2020/03/24 06:44] – [Performance] Sean Rhone | games:old_school_runescape [2022/05/08 08:10] – Sean Rhone |
---|
* ''-Dsun.java2d.opengl=true'' enables Hardware-acceleration via OpenGL | * ''-Dsun.java2d.opengl=true'' enables Hardware-acceleration via OpenGL |
* :!: This is known to be broken with Intel graphics on multiple computers ((does some weird tiling thing and is unplayable)) | * :!: This is known to be broken with Intel graphics on multiple computers ((does some weird tiling thing and is unplayable)) |
* :!: There is no known configuration where ''-Dsun.java2d.opengl=true'' offers a performance benefit | * :!: As of 2020/09/24 is no known configuration where ''-Dsun.java2d.opengl=true'' offers a performance benefit |
* :!: On macOS, using the official ''.dmg'' to install OSRS results in the worst possible performance due to a mix of forced GPU acceleration and Retina with Java 8, and it is recommended to manually install OSRS and to use the latest OpenJDK package available instead to workaround this | * :!: On macOS, using the official ''.dmg'' to install OSRS results in the worst possible performance due to a mix of forced GPU acceleration and Retina with Java 8; it is recommended to manually install OSRS and to use the latest OpenJDK package available instead to workaround this |
* ''-Dsun.java2d.uiScale'' at 2 and higher improves performance, along with lowering overall texture quality | * ''-Dsun.java2d.uiScale'' at 2 and higher improves performance, along with lowering overall texture quality |
| |
* ''wmctrl'' is used to toggle between windowed and fullscreen states | * ''wmctrl'' is used to toggle between windowed and fullscreen states |
* ''p7zip-plugins'' is needed to extract ''jagexappletviewer.jar'' from ''OldSchool.dmg'' later ((only ''7z'' can do this properly and **not** ''7za'', ''cabextract'', nor ''unar'')) ((this is expected to already be installed from the Fedora prerequisite)) | * ''p7zip-plugins'' is needed to extract ''jagexappletviewer.jar'' from ''OldSchool.dmg'' later ((only ''7z'' can do this properly and **not** ''7za'', ''cabextract'', nor ''unar'')) ((this is expected to already be installed from the Fedora prerequisite)) |
| * :!: As of 2022/05/08, Java 17 nor 18 worked on Fedora 36, but 11 is still fine |
| |
sudo dnf install java-latest-openjdk wmctrl && sync | sudo dnf install java-11-openjdk wmctrl && sync |
| |
==== Set Default Java ==== | ==== Set Default Java ==== |
Icon=/home/CHANGEME/runescape/oldschool/OSRS.icns | Icon=/home/CHANGEME/runescape/oldschool/OSRS.icns |
StartupWMClass=jagexappletviewer | StartupWMClass=jagexappletviewer |
Actions=Screen;Cache; | Actions=Screen;Cache;Notes; |
| |
[Desktop Action Screen] | [Desktop Action Screen] |
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/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.'" |
Name=Cache Cleanup</code> | Name=Cache Cleanup |
| |
| [Desktop Action Notes] |
| StartupNotify=false |
| Exec=gio open 'https://wiki.realmofespionage.xyz/games:old_school_runescape' |
| Name=Installation Notes</code> |
| |
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/Old School RuneScape.desktop' | sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/Old School RuneScape.desktop' |