User Tools

Site Tools


games:bsd: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:bsd:rt4_client_runescape_530 [2025/11/03 10:52] – [TODO] Sean Rhonegames:bsd:rt4_client_runescape_530 [2026/04/24 04:45] (current) – [Build] Sean Rhone
Line 20: Line 20:
   su -   su -
  
-  pkg install git openjdk17 openjdk25 wmctrl-fork+  pkg install git jogamp-jogl openjdk8 openjdk8-jre
  
 ====== Download Source ====== ====== Download Source ======
Line 40: Line 40:
 **** ****
  
-  cd ~/'Projects/RT4-Client/src' && JAVA_HOME='/usr/local/openjdk17_JAVA_OPTIONS="--enable-native-access='ALL-UNNAMED'" ~/'Projects/RT4-Client/src/gradlew' 'clean' --no-daemon && JAVA_HOME='/usr/local/openjdk17_JAVA_OPTIONS="--enable-native-access='ALL-UNNAMED'" ~/'Projects/RT4-Client/src/gradlew' 'jar' --no-daemon+  cd ~/'Projects/RT4-Client/src' && JAVA_HOME='/usr/local/openjdk8' ~/'Projects/RT4-Client/src/gradlew' 'clean' --no-daemon && JAVA_HOME='/usr/local/openjdk8' ~/'Projects/RT4-Client/src/gradlew' 'jar' --no-daemon && cd - 
 + 
 +===== Gluegen Fix ===== 
 + 
 +**** 
 + 
 +  ln -s '/usr/local/lib/libgluegen2-rt.so' ~/'Projects/RT4-Client/src/client/libgluegen_rt.so'
  
 ====== Settings ====== ====== Settings ======
Line 76: Line 82:
 cd ~/'Projects/RT4-Client/src/client' cd ~/'Projects/RT4-Client/src/client'
  
-export JAVA_HOME='/usr/local/openjdk25+export JAVA_HOME='/usr/local/openjdk8-jre
-export _JAVA_OPTIONS="-Dsun.java2d.uiScale='1' --enable-native-access='ALL-UNNAMED' -Djava.net.preferIPv6Addresses='false' -Djava.io.tmpdir='$HOME/Projects/RT4-Client/cache/' -DclientHomeOverride='$HOME/Projects/RT4-Client/cache/' -Djogamp.gluegen.UseTempJarCache='false' -Djogl.disable.opengles='true'"+export _JAVA_OPTIONS="-Djava.net.preferIPv6Addresses='false' -Djogamp.gluegen.UseTempJarCache='false' -Djava.io.tmpdir='$HOME/Projects/RT4-Client/cache/' -DclientHomeOverride='$HOME/Projects/RT4-Client/cache/' -Djogl.disable.opengles='true' -XX:'+UseSerialGC' -Xms'1G' -Xmx'4G'" 
 +export vblank_mode='3'
  
-java -DclientFps='60' -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json'+java -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json'
  
 # End</code> # End</code>
  
   ~/'Projects/RT4-Client/scripts/client-start.sh'   ~/'Projects/RT4-Client/scripts/client-start.sh'
- 
-===== HiDPI ===== 
- 
-  * :!: 2025/10/27: Low-FPS on ''intel'' DDX, but fine on ''modesetting'' 
- 
-  mkdir -p ~/'Projects/RT4-Client/scripts' ~/'Projects/RT4-Client/cache' && ee ~/'Projects/RT4-Client/scripts/client-hidpi-start.sh' && chmod +x ~/'Projects/RT4-Client/scripts/client-hidpi-start.sh' 
- 
-<code> 
-#!/bin/sh 
- 
-cd ~/'Projects/RT4-Client/src/client' 
- 
-export JAVA_HOME='/usr/local/openjdk25' 
-export _JAVA_OPTIONS="-Dsun.java2d.uiScale='2' --enable-native-access='ALL-UNNAMED' -Djava.net.preferIPv6Addresses='false' -Djava.io.tmpdir='$HOME/Projects/RT4-Client/cache/' -DclientHomeOverride='$HOME/Projects/RT4-Client/cache/' -Djogamp.gluegen.UseTempJarCache='false' -Djogl.disable.opengles='true'" 
- 
-java -DclientFps='60' -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-start.sh' 
  
 ===== Client Update ===== ===== Client Update =====
Line 111: Line 98:
 <code> <code>
 #!/bin/sh #!/bin/sh
 +
 +cd '/tmp'
  
 git -C ~/'Projects/RT4-Client/src' reset --hard git -C ~/'Projects/RT4-Client/src' reset --hard
Line 122: Line 111:
 cd ~/'Projects/RT4-Client/src' cd ~/'Projects/RT4-Client/src'
  
-export JAVA_HOME='/usr/local/openjdk17'+export JAVA_HOME='/usr/local/openjdk8'
  
 ~/'Projects/RT4-Client/src/gradlew' 'clean' --no-daemon ~/'Projects/RT4-Client/src/gradlew' 'clean' --no-daemon
Line 128: Line 117:
  
 unset 'JAVA_HOME' unset 'JAVA_HOME'
 +cd '/tmp'
  
 notify-send -i ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' -t '3000' '2009Scape RT4 Client update complete' notify-send -i ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' -t '3000' '2009Scape RT4 Client update complete'
 +read -p 'Done. Press Enter to exit.' 'x'
  
 # End</code> # End</code>
Line 155: Line 146:
 StartupNotify=false StartupNotify=false
 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;Notes; +Actions=Server;Saves;Server-Update;Client-Update;Notes;
- +
-[Desktop Action HiDPI] +
-Exec='/bin/sh' -c "~/'Projects/RT4-Client/scripts/client-hidpi-start.sh'" +
-Name=Launch in High-DPI+
  
 [Desktop Action Server] [Desktop Action Server]
Line 184: Line 171:
  
   xfce4-panel -r   xfce4-panel -r
- 
-==== TODO ==== 
- 
-  * Left-side 
- 
-  wmctrl -r 'rt4-client.rt4-client' -x -e '0,0,250,780,510' 
- 
-  * Right-side 
- 
-  wmctrl -r 'rt4-client.rt4-client' -x -e '0,1130,250,780,510' 
- 
-  * HiDPI fullscreen 
- 
-  wmctrl -r 'rt4-client.rt4-client' -x -b 'toggle,fullscreen' 
  
/usr/local/www/wiki/data/attic/games/bsd/rt4_client_runescape_530.1762185138.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