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/12/17 15:03] Sean Rhonegames:linux:rt4_client_runescape_530 [2026/01/04 11:34] (current) – [2009Scape (localhost)] Sean Rhone
Line 7: Line 7:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[linux:distros:ubuntu|Ubuntu]]+  * [[linux:distros:opensuse_tumbleweed_xfce|openSUSE Tumbleweed (Xfce)]]
  
 ===== Notes ===== ===== Notes =====
Line 18: Line 18:
   * https://gitlab.com/2009scape/rt4-client#instructions   * https://gitlab.com/2009scape/rt4-client#instructions
  
-  sudo apt install git openjdk-17-jdk-headless openjdk-25-jre+  sudo zypper install git-core java-17-openjdk-headless java-25-openjdk
  
 ===== Java Priority ===== ===== Java Priority =====
  
-  * ''/usr/lib/jvm/java-25-openjdk-amd64/bin/java''+  * ''/usr/lib64/jvm/jre-25-openjdk/bin/java''
  
   sudo update-alternatives --config 'java'   sudo update-alternatives --config 'java'
Line 30: Line 30:
   * https://gitlab.com/2009scape/rt4-client/-/commits/master?ref_type=heads   * https://gitlab.com/2009scape/rt4-client/-/commits/master?ref_type=heads
  
-  cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/RT4-Client/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://gitlab.com/2009scape/rt4-client.git' ~/'Projects/RT4-Client/src' && sync+  cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/RT4-Client/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://gitlab.com/2009scape/rt4-client.git' ~/'Projects/RT4-Client/src'
  
 ====== Build ====== ====== Build ======
Line 44: Line 44:
 **** ****
  
-  cd ~/'Projects/RT4-Client/src' && JAVA_HOME='/usr/lib/jvm/java-17-openjdk-amd64' ~/'Projects/RT4-Client/src/gradlew' 'clean' --no-daemon && JAVA_HOME='/usr/lib/jvm/java-17-openjdk-amd64' ~/'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 && unset 'JAVA_HOME'
  
 ====== Settings ====== ====== Settings ======
Line 81: Line 81:
 export vblank_mode='3' export vblank_mode='3'
  
-'/usr/lib/jvm/java-25-openjdk-amd64/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'+'/usr/lib64/jvm/java-25-openjdk-25/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'
  
 unset '_JAVA_OPTIONS' 'vblank_mode' unset '_JAVA_OPTIONS' 'vblank_mode'
Line 101: Line 101:
 export vblank_mode='3' export vblank_mode='3'
  
-'/usr/lib/jvm/java-25-openjdk-amd64/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'+'/usr/lib64/jvm/java-25-openjdk-25/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'
  
 unset '_JAVA_OPTIONS' 'vblank_mode' unset '_JAVA_OPTIONS' 'vblank_mode'
Line 126: Line 126:
 cd ~/'Projects/RT4-Client/src' cd ~/'Projects/RT4-Client/src'
  
-export JAVA_HOME='/usr/lib/jvm/java-17-openjdk-amd64'+export JAVA_HOME='/usr/lib64/jvm/java-17-openjdk-17'
  
 ~/'Projects/RT4-Client/src/gradlew' 'clean' --no-daemon ~/'Projects/RT4-Client/src/gradlew' 'clean' --no-daemon
Line 133: Line 133:
 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 '2--info+notify-send -'2000' -~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' '2009Scape RT4 Client update complete'
  
 # End</code> # End</code>
Line 149: Line 149:
  
 ===== 2009Scape (localhost) ===== ===== 2009Scape (localhost) =====
- 
-  * :!: TODO: Ubuntu 
  
   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'   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'
Line 167: Line 165:
 [Desktop Action HiDPI] [Desktop Action HiDPI]
 Exec='/bin/bash' -c "~/'Projects/RT4-Client/scripts/client-hidpi.sh'" Exec='/bin/bash' -c "~/'Projects/RT4-Client/scripts/client-hidpi.sh'"
-Name=Client (HiDPI)+Name=Launch in High-DPI
  
 [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 "xfce4-terminal --minimize -T '2009Scape [Server]' -I ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' -e ~/'Projects/2009Scape-Server/scripts/localhost-server-start.sh'" 
-Name=Server - Start+Name=Launch Local Server
  
 [Desktop Action Saves] [Desktop Action Saves]
Line 178: Line 176:
  
 [Desktop Action Server-Update] [Desktop Action Server-Update]
-Exec='/bin/bash' -c "kgx -T '2009Scape Updater' -e ~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh'"+Exec='/bin/bash' -c "xfce4-terminal -T '2009Scape [Updater]' -I ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' -e ~/'Projects/2009Scape-Server/scripts/localhost-server-update.sh'"
 Name=Server Update Name=Server Update
  
 [Desktop Action Client-Update] [Desktop Action Client-Update]
-Exec='/bin/bash' -c "kgx -T 'RT4 Client Updater' -e ~/'Projects/RT4-Client/scripts/client-update.sh'"+Exec='/bin/bash' -c "xfce4-terminal -T 'RT4 Client [Updater]' -I ~/'Projects/RT4-Client/src/client/src/main/resources/saradomin.png' -e ~/'Projects/RT4-Client/scripts/client-update.sh'"
 Name=Client Update Name=Client Update
  
 [Desktop Action Notes] [Desktop Action Notes]
-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' 'https://wiki.realmofespionage.xyz/servers:linux:games:2009scape_localhost'"
 Name=Install Notes Name=Install Notes
  
 # End</code> # End</code>
 +
 +  xfce4-panel -r
  
/usr/local/www/wiki/data/attic/games/linux/rt4_client_runescape_530.1766001811.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