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 [2026/04/22 00:32] – [Client Start] Sean Rhonegames:bsd:rt4_client_runescape_530 [2026/04/24 04:45] (current) – [Build] Sean Rhone
Line 7: Line 7:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[bsd:freebsd_15.1_xfce|FreeBSD 15.(Xfce)]]+  * [[bsd:freebsd_15.0_xfce|FreeBSD 15.(Xfce)]]
  
 ===== Notes ===== ===== Notes =====
Line 17: Line 17:
  
   * https://gitlab.com/2009scape/rt4-client#instructions   * https://gitlab.com/2009scape/rt4-client#instructions
-  * :?: ''jogl'' was removed and eventually re-added for ''15.0'' (([[games;bsd;rt4_client_runescape_530?rev=1757587392|older rev]] has notes for HD)) 
  
   su -   su -
  
   pkg install git jogamp-jogl openjdk8 openjdk8-jre   pkg install git jogamp-jogl openjdk8 openjdk8-jre
- 
-  pkg install git openjdk17 openjdk25 alsa-plugins wmctrl-fork 
  
 ====== Download Source ====== ====== Download Source ======
Line 43: Line 40:
 **** ****
  
-  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 ~/'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 ===== ===== Gluegen Fix =====
Line 86: Line 83:
  
 export JAVA_HOME='/usr/local/openjdk8-jre' export JAVA_HOME='/usr/local/openjdk8-jre'
-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 -Xms1G -Xmx4G"+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' export vblank_mode='3'
  
-java -DclientFps='152' -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 ===== 
- 
-  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' -Dsun.java2d.opengl='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 119: 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 130: 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 136: 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 163: 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 192: 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.1776832334.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