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/09/17 13:21] – [Java Priority] Sean Rhonegames:linux:rt4_client_runescape_530 [2025/10/15 21:55] (current) Sean Rhone
Line 68: Line 68:
  
 ====== Scripts ====== ====== Scripts ======
 +
 +===== Client Start =====
 +
 +  mkdir -p ~/'Projects/RT4-Client/scripts' ~/'Projects/RT4-Client/cache' && nano ~/'Projects/RT4-Client/scripts/client-start.sh' && chmod +x ~/'Projects/RT4-Client/scripts/client-start.sh'
 +
 +<code>
 +#!/bin/bash
 +
 +cd ~/'Projects/RT4-Client/src/client'
 +
 +export _JAVA_OPTIONS="-Dsun.java2d.uiScale='1' -Djava.net.preferIPv6Addresses=false --add-exports='java.desktop/sun.awt=ALL-UNNAMED' -Djogamp.gluegen.UseTempJarCache='true' -Djava.io.tmpdir='$HOME/Projects/RT4-Client/cache/' -DclientHomeOverride='$HOME/Projects/RT4-Client/cache/' -Djogl.disable.opengles='true' -XX:+UseSerialGC -Xms1G -Xmx4G"
 +export vblank_mode='3'
 +
 +'/usr/lib64/jvm/java-21-openjdk-21/bin/java' -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'
 +
 +# End</code>
 +
 +  ~/'Projects/RT4-Client/scripts/client-start.sh'
 +
 +===== High-DPI =====
 +
 +  mkdir -p ~/'Projects/RT4-Client/scripts' ~/'Projects/RT4-Client/cache' && nano ~/'Projects/RT4-Client/scripts/client-hidpi.sh' && chmod +x ~/'Projects/RT4-Client/scripts/client-hidpi.sh'
 +
 +<code>
 +#!/bin/bash
 +
 +cd ~/'Projects/RT4-Client/src/client'
 +
 +export _JAVA_OPTIONS="-Dsun.java2d.uiScale='2' -Djava.net.preferIPv6Addresses=false --add-exports='java.desktop/sun.awt=ALL-UNNAMED' -Djogamp.gluegen.UseTempJarCache='true' -Djava.io.tmpdir='$HOME/Projects/RT4-Client/cache/' -DclientHomeOverride='$HOME/Projects/RT4-Client/cache/' -Djogl.disable.opengles='true' -XX:+UseSerialGC -Xms1G -Xmx4G"
 +export vblank_mode='3'
 +
 +'/usr/lib64/jvm/java-21-openjdk-21/bin/java' -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'
 +
 +# End</code>
 +
 +  ~/'Projects/RT4-Client/scripts/client-hidpi.sh'
  
 ===== Client Update ===== ===== Client Update =====
Line 93: Line 129:
 unset 'JAVA_HOME' 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 '2' --info
  
 # End</code> # End</code>
  
   ~/'Projects/RT4-Client/scripts/client-update.sh'   ~/'Projects/RT4-Client/scripts/client-update.sh'
 +
 +====== Settings ======
 +
 +  * Main Menu -> ''[x]'' High detail
 +
 +  * Graphics Options -> High detail (fullscreen): 1920 x 1080
 +  * Graphics Options -> Roofs (in-game only): Always
 +  * Graphics Options -> Water detail: Low
  
 ====== Desktop Launcher ====== ====== Desktop Launcher ======
Line 103: Line 147:
 ===== 2009Scape (localhost) ===== ===== 2009Scape (localhost) =====
  
-  mkdir -p ~/'.local/share/applications' ~/'Projects/RT4-Client/cache' && nano ~/'.local/share/applications/2009Scape-localhost.desktop' && sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/2009Scape-localhost.desktop' && update-desktop-database --quiet ~/'.local/share/applications'+  mkdir -p ~/'.local/share/applications' && nano ~/'.local/share/applications/2009Scape-localhost.desktop' && sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/2009Scape-localhost.desktop' && update-desktop-database --quiet ~/'.local/share/applications'
  
 <code> <code>
Line 109: Line 153:
 Name=2009Scape Name=2009Scape
 Categories=Game; Categories=Game;
-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'"+Exec='/bin/bash' -c "~/'Projects/RT4-Client/scripts/client-start.sh'"
 Type=Application Type=Application
 StartupNotify=false StartupNotify=false
 StartupWMClass=rt4-client 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;Notes;
  
 [Desktop Action HiDPI] [Desktop Action HiDPI]
-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'"+Exec='/bin/bash' -c "~/'Projects/RT4-Client/scripts/client-hidpi.sh'"
 Name=Client (HiDPI) Name=Client (HiDPI)
  
 [Desktop Action Server] [Desktop Action Server]
-Exec='/bin/bash' -c "kgx -T '2009Scape Server' -e ~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh'"+Exec='/bin/bash' -c "kgx -T '2009Scape Server' -e ~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh'"
 Name=Server - Start Name=Server - Start
  
Line 129: Line 173:
  
 [Desktop Action Server-Update] [Desktop Action Server-Update]
-Exec='/bin/bash' -c "kgx -T '2009Scape Server Updater' -e ~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh'" +Exec='/bin/bash' -c "kgx -T '2009Scape Updater' -e ~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh'" 
-Name=Update Server+Name=Server Update
  
 [Desktop Action Client-Update] [Desktop Action Client-Update]
-Exec='/bin/bash' -c "kgx -T '2009Scape RT4 Client Updater' -e ~/'Projects/RT4-Client/scripts/client-update.sh'" +Exec='/bin/bash' -c "kgx -T 'RT4 Client Updater' -e ~/'Projects/RT4-Client/scripts/client-update.sh'" 
-Name=Update Client+Name=Client Update
  
-[Desktop Action Client-Notes] +[Desktop Action Notes] 
-StartupNotify=false +Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/servers:linux:games:2009scape_localhost' '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=Install Notes
-Name=Client - Install Notes +
- +
-[Desktop Action Server-Notes] +
-StartupNotify=false +
-Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/servers:linux:games:2009scape_localhost'" +
-Name=Server - Install Notes+
  
 # End</code> # End</code>
- 
-====== Quick Commands ====== 
- 
-===== Benchmark ===== 
- 
-  * ''GALLIUM_HUD'' 8 CPU 
-  * ''vblank_mode=0'' 
-  * ''-DclientFps=999'' 
- 
-  mkdir -p ~/'Projects/RT4-Client/cache' && cd ~/'Projects/RT4-Client/src/client' && GALLIUM_HUD='cpu0+cpu1+cpu2+cpu3;cpu4+cpu5+cpu6+cpu7;fps' mesa_glthread='false' vblank_mode='0' '/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='999' -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' 
  
/usr/local/www/wiki/data/attic/games/linux/rt4_client_runescape_530.1758129700.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki