User Tools

Site Tools


games:windows: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:windows:rt4_client_runescape_530 [2025/06/01 01:17] Sean Rhonegames:windows:rt4_client_runescape_530 [2025/06/21 16:39] (current) Sean Rhone
Line 2: Line 2:
  
   * RT4 Client ((https://gitlab.com/2009scape/rt4-client))   * RT4 Client ((https://gitlab.com/2009scape/rt4-client))
- 
-  * These notes provide a game client for 2009Scape 
  
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[windows:10|Windows 10 (21H2)]] +  * [[windows;10|Windows 10 (21H2)]] 
- +  * [[programs;windows;git|Git]] 
-===== Notes ===== +  * [[servers:windows:games:2009scape_localhost|2009Scape localhost Server]]
- +
-  * :!: This is for private server use +
-  * See [[servers:windows:games:2009scape_localhost|2009Scape localhost Server]] to set-up a server+
  
 ====== Dependencies ====== ====== Dependencies ======
Line 18: Line 13:
   * https://gitlab.com/2009scape/rt4-client#instructions   * https://gitlab.com/2009scape/rt4-client#instructions
  
-===== Git =====+===== Java =====
  
-  * https://git-scm.com/downloads/win +==== 21 ====
-  * Last tested: ''Git-2.49.0-64-bit.exe'' +
- +
-===== Java =====+
  
   * https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-21   * https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-21
Line 36: Line 28:
   * 2025/04/03: Required for [[#build1|building]] ((17 for [[https://gitlab.com/2009scape/rt4-client/-/blob/master/gradle/wrapper/gradle-wrapper.properties?ref_type=heads#L3|Gradle 7.4.2]] requirement; client runs 21+))   * 2025/04/03: Required for [[#build1|building]] ((17 for [[https://gitlab.com/2009scape/rt4-client/-/blob/master/gradle/wrapper/gradle-wrapper.properties?ref_type=heads#L3|Gradle 7.4.2]] requirement; client runs 21+))
  
-  * All secondary features manually-marked unavailable ((only need the binary files present))+  * All secondary features manually-marked unavailable
  
 ====== Download Source ====== ====== Download Source ======
Line 61: Line 53:
  
 # End</code> # End</code>
- 
-  "%ProgramFiles%\Git\bin\sh.exe" -- "%UserProfile%\Projects\RT4-Client\scripts\client-settings-sed.sh" 
  
 ===== Build ===== ===== Build =====
 +
 +  "%ProgramFiles%\Git\bin\sh.exe" -- "%UserProfile%\Projects\RT4-Client\scripts\client-settings-sed.sh"
  
   CD "%UserProfile%\Projects\RT4-Client\src" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.15.6-hotspot" && "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "clean" --no-daemon   CD "%UserProfile%\Projects\RT4-Client\src" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.15.6-hotspot" && "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "clean" --no-daemon
Line 100: Line 92:
  
 ===== Client Start ===== ===== Client Start =====
 +
 +  MKDIR "%UserProfile%\Projects\RT4-Client\cache"
  
   "notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-start.bat"   "notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-start.bat"
Line 108: Line 102:
 CD "%UserProfile%\Projects\RT4-Client\src\client" CD "%UserProfile%\Projects\RT4-Client\src\client"
  
-SET "_JAVA_OPTIONS=-Dsun.java2d.uiScale=1 -Djava.net.preferIPv6Addresses=true --add-exports=java.desktop/sun.awt=ALL-UNNAMED -XX:+UseSerialGC"+SET "_JAVA_OPTIONS=-Dsun.java2d.uiScale=1 -Djava.net.preferIPv6Addresses=true --add-exports=java.desktop/sun.awt=ALL-UNNAMED -Djava.io.tmpdir=..\..\cache"
  
-START "" "javaw.exe" -jar "%UserProfile%\Projects\RT4-Client\src\client\build\libs\client-1.0.0.jar" --config "%UserProfile%\Projects\RT4-Client\conf\localhost.json"+START "" "javaw.exe" -DclientHomeOverride="..\..\cache" -jar "%UserProfile%\Projects\RT4-Client\src\client\build\libs\client-1.0.0.jar" --config "%UserProfile%\Projects\RT4-Client\conf\localhost.json"
  
 :: End</code> :: End</code>
Line 125: Line 119:
 CD "%UserProfile%\Projects\RT4-Client\src\client" CD "%UserProfile%\Projects\RT4-Client\src\client"
  
-SET "_JAVA_OPTIONS=-Dsun.java2d.uiScale=2 -Djava.net.preferIPv6Addresses=true --add-exports=java.desktop/sun.awt=ALL-UNNAMED -XX:+UseSerialGC"+SET "_JAVA_OPTIONS=-Dsun.java2d.uiScale=2 -Djava.net.preferIPv6Addresses=true --add-exports=java.desktop/sun.awt=ALL-UNNAMED -Djava.io.tmpdir=..\..\cache"
  
-START "" "javaw.exe" -jar "%UserProfile%\Projects\RT4-Client\src\client\build\libs\client-1.0.0.jar" --config "%UserProfile%\Projects\RT4-Client\conf\localhost.json"+START "" "javaw.exe" -DclientHomeOverride="..\..\cache" -jar "%UserProfile%\Projects\RT4-Client\src\client\build\libs\client-1.0.0.jar" --config "%UserProfile%\Projects\RT4-Client\conf\localhost.json"
  
 :: End</code> :: End</code>
Line 139: Line 133:
 <code> <code>
 @echo off @echo off
- 
-TITLE RT4 Client Updater 
  
 "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\RT4-Client\src" reset --hard "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\RT4-Client\src" reset --hard
Line 227: Line 219:
  
   Install Notes (Client)   Install Notes (Client)
- 
-====== Quick Commands ====== 
- 
-===== Execute ===== 
- 
-**** 
- 
-  CD "%UserProfile%\Projects\RT4-Client\src\client" && "java.exe" -Dsun.java2d.uiScale="1" --add-exports="java.desktop/sun.awt=ALL-UNNAMED" -jar "%UserProfile%\Projects\RT4-Client\src\client\build\libs\client-1.0.0.jar" --config "%UserProfile%\Projects\RT4-Client\conf\localhost.json" 
- 
-==== High DPI ==== 
- 
-**** 
- 
-  CD "%UserProfile%\Projects\RT4-Client\src\client" && "java.exe" -Dsun.java2d.uiScale="2" --add-exports="java.desktop/sun.awt=ALL-UNNAMED" -jar "%UserProfile%\Projects\RT4-Client\src\client\build\libs\client-1.0.0.jar" --config "%UserProfile%\Projects\RT4-Client\conf\localhost.json" 
- 
-==== Java 17 ==== 
- 
-**** 
- 
-  CD "%UserProfile%\Projects\RT4-Client\src\client" && "%ProgramFiles%\Microsoft\jdk-17.0.15.6-hotspot\bin\java.exe" -XX:+"UseSerialGC" -Xms"2G" -Xmx"2G" -Dsun.java2d.uiScale="1" --add-exports="java.desktop/sun.awt=ALL-UNNAMED" -jar "%UserProfile%\Projects\RT4-Client\src\client\build\libs\client-1.0.0.jar" --config "%UserProfile%\Projects\RT4-Client\conf\localhost.json" 
- 
-==== Flags ==== 
- 
-**** 
- 
-<code>-DclientFps="120"</code> 
- 
-===== Build Settings ===== 
- 
-**** 
- 
-  "notepad.exe" "%UserProfile%\Projects\RT4-Client\src\client\src\main\java\rt4\GlobalConfig.java" 
- 
-===== Update ===== 
- 
-  * https://gitlab.com/2009scape/rt4-client/-/commits/master?ref_type=HEADS 
- 
-  "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\RT4-Client\src" reset --hard && "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\RT4-Client\src" pull origin "master" --rebase && "%ProgramFiles%\Git\bin\sh.exe" -- "%UserProfile%\Projects\RT4-Client\scripts\client-settings-sed.sh" && CD "%UserProfile%\Projects\RT4-Client\src" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.15.6-hotspot" && "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "clean" --no-daemon && "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "jar" --no-daemon 
- 
-===== gradlew ===== 
- 
-  * Lists available ''gradlew'' commands 
-  * ''tasks --all'' for more Tasks 
-  * ''gradlew.bat --stop'' to stop Gradle daemons in-lieu of ''--no-daemon'' 
- 
-  CD "%UserProfile%\Projects\RT4-Client\src" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.15.6-hotspot" && "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "tasks" --no-daemon 
- 
-===== Bookmarks ===== 
- 
-  * https://gitlab.com/2009scape/rt4-client/-/commits/master?ref_type=HEADS 
- 
-===== File Manager ===== 
- 
-==== Root ==== 
- 
-**** 
- 
-  "explorer.exe" "%UserProfile%\Projects\RT4-Client\src" 
- 
-==== Plugins ==== 
- 
-  * [[https://gitlab.com/2009scape/rt4-client/-/tree/master/plugin-playground/src/main?ref_type=heads|Upstream Plugins]] 
- 
-  * [[#build1|Compiled]] with Client 
-  * Enable by setting ''pluginsFolder'' to ''plugins'' in [[#settings|json conf]] 
-  * [[https://gitlab.com/2009scape/rt4-client/-/blob/master/plugin-playground/src/main/kotlin/BasicInputQOL/plugin.kt?ref_type=heads|BasicInputQOL]] provides mouse-wheel control ((both zoom (hold Ctrl or Shift) **and** camera rotation movement (wheel-hold); neither are available by-default without the plugin enabled, but Bank mouse wheel scroll seemingly doesn't rely on this plugin)) 
- 
-  "explorer.exe" "%UserProfile%\Projects\RT4-Client\src\client\plugins" 
  
/srv/www/wiki/data/attic/games/windows/rt4_client_runescape_530.1748755072.txt.gz · Last modified: by Sean Rhone