User Tools

Site Tools


games:old_school_runescape

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:old_school_runescape [2020/03/24 06:44]
Sean Rhone [Performance]
games:old_school_runescape [2020/09/24 16:42] (current)
Sean Rhone
Line 13: Line 13:
   * ''-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 8it 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
  
Line 27: Line 27:
   * ''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 2020/03/26, ''java-latest-openjdk'' at version ''14.0.0.36-2.rolling.fc32'' did not work, so going back to 11 LTS
  
-  sudo dnf install java-latest-openjdk wmctrl && sync+  sudo dnf install java-11-openjdk wmctrl && sync
  
 ==== Set Default Java ==== ==== Set Default Java ====
Line 61: Line 62:
 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]
Line 71: Line 72:
 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'
games/old_school_runescape.1585046643.txt.gz · Last modified: 2020/03/24 06:44 by Sean Rhone