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:57] – Remove HiDPI (slow on Intel DDX) Sean Rhonegames:bsd:rt4_client_runescape_530 [2025/12/05 21:52] (current) – [Dependencies] Sean Rhone
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 openjdk17 openjdk25 wmctrl-fork+  pkg install git openjdk17 openjdk25 alsa-plugins wmctrl-fork
  
 ====== Download Source ====== ====== Download Source ======
Line 77: Line 78:
  
 export JAVA_HOME='/usr/local/openjdk25' export JAVA_HOME='/usr/local/openjdk25'
-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="-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' -Dsun.java2d.opengl='true'"
  
 java -DclientFps='60' -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json' java -DclientFps='60' -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json'
Line 84: Line 85:
  
   ~/'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 135: Line 154:
 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=Server;Saves;Server-Update;Client-Update;Notes;+Actions=HiDPI;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 171: Line 194:
   wmctrl -r 'rt4-client.rt4-client' -x -e '0,1130,250,780,510'   wmctrl -r 'rt4-client.rt4-client' -x -e '0,1130,250,780,510'
  
-  * Fullscreen+  * HiDPI fullscreen
  
   wmctrl -r 'rt4-client.rt4-client' -x -b 'toggle,fullscreen'   wmctrl -r 'rt4-client.rt4-client' -x -b 'toggle,fullscreen'
  
/srv/www/wiki/data/attic/games/bsd/rt4_client_runescape_530.1762185432.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