User Tools

Site Tools


games:linux:rt4_client_runescape_530

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:linux:rt4_client_runescape_530 [2025/08/17 08:09] – [Benchmark] Sean Rhonegames:linux:rt4_client_runescape_530 [2025/09/17 13:21] (current) – [Java Priority] Sean Rhone
Line 18: Line 18:
   * https://gitlab.com/2009scape/rt4-client#instructions   * https://gitlab.com/2009scape/rt4-client#instructions
  
-  sudo zypper install git-core java-17-openjdk-headless java-24-openjdk+  sudo zypper install git-core java-17-openjdk-headless java-21-openjdk
  
 ===== Java Priority ===== ===== Java Priority =====
  
-  * ''jre-24-openjdk''+  * ''jre-21-openjdk''
  
   sudo update-alternatives --config 'java'   sudo update-alternatives --config 'java'
Line 44: Line 44:
 **** ****
  
-  cd ~/'Projects/RT4-Client/src' && JAVA_HOME='/usr/lib64/jvm/jre-17-openjdk' ~/'Projects/RT4-Client/src/gradlew' 'clean' --no-daemon && JAVA_HOME='/usr/lib64/jvm/jre-17-openjdk' ~/'Projects/RT4-Client/src/gradlew' 'jar' --no-daemon+  cd ~/'Projects/RT4-Client/src' && JAVA_HOME='/usr/lib64/jvm/java-17-openjdk-17' ~/'Projects/RT4-Client/src/gradlew' 'clean' --no-daemon && JAVA_HOME='/usr/lib64/jvm/java-17-openjdk-17' ~/'Projects/RT4-Client/src/gradlew' 'jar' --no-daemon
  
 ====== Settings ====== ====== Settings ======
Line 85: Line 85:
  
 cd ~/'Projects/RT4-Client/src' cd ~/'Projects/RT4-Client/src'
-JAVA_HOME='/usr/lib64/jvm/jre-17-openjdk' ~/'Projects/RT4-Client/src/gradlew' 'clean' --no-daemon + 
-JAVA_HOME='/usr/lib64/jvm/jre-17-openjdk' ~/'Projects/RT4-Client/src/gradlew' 'jar' --no-daemon+export JAVA_HOME='/usr/lib64/jvm/java-17-openjdk-17' 
 + 
 +~/'Projects/RT4-Client/src/gradlew' 'clean' --no-daemon 
 +~/'Projects/RT4-Client/src/gradlew' 'jar' --no-daemon 
 + 
 +unset 'JAVA_HOME'
  
 zenity --title '2009Scape Updater' --text 'RT4 Client update complete' --icon ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' --timeout '1' --info zenity --title '2009Scape Updater' --text 'RT4 Client update complete' --icon ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' --timeout '1' --info
Line 104: Line 109:
 Name=2009Scape Name=2009Scape
 Categories=Game; Categories=Game;
-Exec='/bin/bash' -c "cd ~/'Projects/RT4-Client/src/client' && mesa_glthread='false' vblank_mode='3' java -Dsun.java2d.uiScale='1' --add-exports='java.desktop/sun.awt=ALL-UNNAMED' -DclientFps='140' -DclientHomeOverride=$HOME'/Projects/RT4-Client/cache/' -Djava.io.tmpdir=$HOME'/Projects/RT4-Client/cache/' -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json'"+Exec='/bin/bash' -c "cd ~/'Projects/RT4-Client/src/client' && mesa_glthread='false' vblank_mode='3' '/usr/lib64/jvm/java-24-openjdk-24/bin/java' -Dsun.java2d.uiScale='1' --add-exports='java.desktop/sun.awt=ALL-UNNAMED' --enable-native-access='ALL-UNNAMED' -DclientFps='120' -DclientHomeOverride=$HOME'/Projects/RT4-Client/cache/' -Djava.io.tmpdir=$HOME'/Projects/RT4-Client/cache/' -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json'"
 Type=Application Type=Application
 StartupNotify=false StartupNotify=false
 +StartupWMClass=rt4-client
 Icon=/home/CHANGEME/Projects/RT4-Client/src/client/src/main/resources/saradomin.png Icon=/home/CHANGEME/Projects/RT4-Client/src/client/src/main/resources/saradomin.png
 Actions=HiDPI;Server;Saves;Server-Update;Client-Update;Client-Notes;Server-Notes; Actions=HiDPI;Server;Saves;Server-Update;Client-Update;Client-Notes;Server-Notes;
  
 [Desktop Action HiDPI] [Desktop Action HiDPI]
-Exec='/bin/bash' -c "cd ~/'Projects/RT4-Client/src/client' && mesa_glthread='false' vblank_mode='3' java -Dsun.java2d.uiScale='2' --add-exports='java.desktop/sun.awt=ALL-UNNAMED' -DclientFps='140' -DclientHomeOverride=$HOME'/Projects/RT4-Client/cache/' -Djava.io.tmpdir=$HOME'/Projects/RT4-Client/cache/' -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json'"+Exec='/bin/bash' -c "cd ~/'Projects/RT4-Client/src/client' && mesa_glthread='false' vblank_mode='3' '/usr/lib64/jvm/java-24-openjdk-24/bin/java' -Dsun.java2d.uiScale='2' --add-exports='java.desktop/sun.awt=ALL-UNNAMED' --enable-native-access='ALL-UNNAMED' -DclientFps='120' -DclientHomeOverride=$HOME'/Projects/RT4-Client/cache/' -Djava.io.tmpdir=$HOME'/Projects/RT4-Client/cache/' -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json'"
 Name=Client (HiDPI) Name=Client (HiDPI)
  
 [Desktop Action Server] [Desktop Action Server]
-Exec='/bin/bash' -c "ptyxis --standalone --title='2009Scape Server — ' -~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh'" +Exec='/bin/bash' -c "kgx -'2009Scape Server' -~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh'" 
-Name=Launch Local Server+Name=Server - Start
  
 [Desktop Action Saves] [Desktop Action Saves]
Line 123: Line 129:
  
 [Desktop Action Server-Update] [Desktop Action Server-Update]
-Exec='/bin/bash' -c "ptyxis --standalone --title='2009Scape Server Updater — ' -~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh'" +Exec='/bin/bash' -c "kgx -'2009Scape Server Updater' -~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh'" 
-Name=Update Local Server+Name=Update Server
  
 [Desktop Action Client-Update] [Desktop Action Client-Update]
-Exec='/bin/bash' -c "ptyxis --standalone --title='2009Scape RT4 Client Updater — ' -~/'Projects/RT4-Client/scripts/client-update.sh'"+Exec='/bin/bash' -c "kgx -'2009Scape RT4 Client Updater' -~/'Projects/RT4-Client/scripts/client-update.sh'"
 Name=Update Client Name=Update Client
  
Line 133: Line 139:
 StartupNotify=false StartupNotify=false
 Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/games:linux:rt4_client_runescape_530'" Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/games:linux:rt4_client_runescape_530'"
-Name=Client Notes+Name=Client - Install Notes
  
 [Desktop Action Server-Notes] [Desktop Action Server-Notes]
 StartupNotify=false StartupNotify=false
 Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/servers:linux:games:2009scape_localhost'" Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/servers:linux:games:2009scape_localhost'"
-Name=Server Notes+Name=Server - Install Notes
  
 # End</code> # End</code>
Line 144: Line 150:
 ====== Quick Commands ====== ====== Quick Commands ======
  
-===== Execute ===== +===== Benchmark =====
- +
-**** +
- +
-  mkdir -p ~/'Projects/RT4-Client/cache' && cd ~/'Projects/RT4-Client/src/client' && mesa_glthread='false' vblank_mode='3' '/usr/lib64/jvm/java-24-openjdk-24/bin/java' -Dsun.java2d.uiScale='1' --add-exports='java.desktop/sun.awt=ALL-UNNAMED' --enable-native-access='ALL-UNNAMED' -DclientFps='120' -DclientHomeOverride=$HOME'/Projects/RT4-Client/cache/' -Djava.io.tmpdir=$HOME'/Projects/RT4-Client/cache/' -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json' +
- +
-==== High DPI ==== +
- +
-  * ''-Dsun.java2d.uiScale=2'' +
- +
-  mkdir -p ~/'Projects/RT4-Client/cache' && cd ~/'Projects/RT4-Client/src/client' && mesa_glthread='false' vblank_mode='3' '/usr/lib64/jvm/java-24-openjdk-24/bin/java' -Dsun.java2d.uiScale='2' --add-exports='java.desktop/sun.awt=ALL-UNNAMED' --enable-native-access='ALL-UNNAMED' -DclientFps='120' -DclientHomeOverride=$HOME'/Projects/RT4-Client/cache/' -Djava.io.tmpdir=$HOME'/Projects/RT4-Client/cache/' -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json' +
- +
-====== Benchmark ======+
  
   * ''GALLIUM_HUD'' 8 CPU   * ''GALLIUM_HUD'' 8 CPU
/srv/www/wiki/data/attic/games/linux/rt4_client_runescape_530.1755432546.txt.gz · Last modified: by Sean Rhone