| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:windows:rt4_client_runescape_530 [2026/02/13 05:34] – Sean Rhone | games:windows:rt4_client_runescape_530 [2026/06/10 01:47] (current) – [Prerequisites] Sean Rhone |
|---|
| ====== Information ====== | ====== Information ====== |
| |
| * RT4 Client ((https://gitlab.com/2009scape/rt4-client)) | * RT4 Client |
| |
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| |
| * [[windows:10|Windows 10 (21H2)]] | * [[windows:10|Windows 10 (21H2)]] ((:!: 2026/05: Client doesn't fullscreen on [[windows:11_ltsc|Windows 11]]; long-standing issue)) |
| * [[programs;windows;git|Git]] | * [[programs;windows;git|Git]] |
| * [[servers:windows:games:2009scape_localhost|2009Scape]] | |
| | ===== Notes ===== |
| | |
| | * :!: This is for private server use |
| | * See [[servers:windows:games:2009scape_localhost|2009Scape localhost Server]] to set-up a server |
| |
| ====== Dependencies ====== | ====== Dependencies ====== |
| |
| * https://aka.ms/download-jdk/microsoft-jdk-25-windows-x64.msi | * https://aka.ms/download-jdk/microsoft-jdk-25-windows-x64.msi |
| * Last tested: ''microsoft-jdk-25.0.2-windows-x64.msi'' | * Last tested: ''microsoft-jdk-25.0.3-windows-x64.msi'' |
| |
| * Entire feature install of ''Microsoft Build of OpenJDK'' | * Entire feature install of ''Microsoft Build of OpenJDK'' |
| |
| * https://aka.ms/download-jdk/microsoft-jdk-17-windows-x64.msi | * https://aka.ms/download-jdk/microsoft-jdk-17-windows-x64.msi |
| * Last tested: ''microsoft-jdk-17.0.18-windows-x64.msi'' | * Last tested: ''microsoft-jdk-17.0.19-windows-x64.msi'' |
| |
| * :!: All secondary features manually-marked unavailable | * :!: All secondary features manually-marked unavailable |
| "%ProgramFiles%\Git\bin\sh.exe" -- "%UserProfile%\Projects\RT4-Client\scripts\client-settings-sed.sh" | "%ProgramFiles%\Git\bin\sh.exe" -- "%UserProfile%\Projects\RT4-Client\scripts\client-settings-sed.sh" |
| |
| TYPE "%UserProfile%\Projects\RT4-Client\src\client\src\main\java\rt4\GlobalConfig.java" | FIND "public static boolean" | ==== Check ==== |
| | |
| | **** |
| | |
| | "%SystemRoot%\System32\findstr.exe" "USE_TWEENING BILINEAR_MINIMAP USE_SHIFT_CLICK MOUSEWHEEL_ZOOM" "%UserProfile%\Projects\RT4-Client\src\client\src\main\java\rt4\GlobalConfig.java" |
| |
| ===== Build ===== | ===== Build ===== |
| |
| CD "%UserProfile%\Projects\RT4-Client\src" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot" && "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "clean" --no-daemon && SET "JAVA_HOME=" | CD "%UserProfile%\Projects\RT4-Client\src" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.19.10-hotspot" && "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "clean" --no-daemon && SET "JAVA_HOME=" |
| |
| CD "%UserProfile%\Projects\RT4-Client\src" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot" && "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "jar" --no-daemon && SET "JAVA_HOME=" | CD "%UserProfile%\Projects\RT4-Client\src" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.19.10-hotspot" && "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "jar" --no-daemon && SET "JAVA_HOME=" |
| |
| ====== Settings ====== | ====== Settings ====== |
| @echo off | @echo off |
| |
| CD "%UserProfile%\Projects\RT4-Client\src\client" | CD "%Temp%" |
| |
| SET "_JAVA_OPTIONS=-Dsun.java2d.uiScale=1 -Djava.net.preferIPv6Addresses=false --add-exports=java.desktop/sun.awt=ALL-UNNAMED --enable-native-access=ALL-UNNAMED -Djava.io.tmpdir=..\..\cache" | SET "_JAVA_OPTIONS=-Dsun.java2d.uiScale=1 -Djava.net.preferIPv6Addresses=false --add-exports=java.desktop/sun.awt=ALL-UNNAMED --enable-native-access=ALL-UNNAMED -Djava.io.tmpdir=..\..\cache" |
| |
| 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" | START "" /D "%UserProfile%\Projects\RT4-Client\src\client" "%JAVA_HOME%\bin\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" |
| |
| SET "_JAVA_OPTIONS=" | SET "_JAVA_OPTIONS=" |
| "%UserProfile%\Projects\RT4-Client\scripts\client-start.bat" | "%UserProfile%\Projects\RT4-Client\scripts\client-start.bat" |
| |
| ==== High DPI ==== | ===== High DPI ===== |
| |
| "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-hidpi-start.bat" | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-hidpi-start.bat" |
| @echo off | @echo off |
| |
| CD "%UserProfile%\Projects\RT4-Client\src\client" | CD "%Temp%" |
| |
| SET "_JAVA_OPTIONS=-Dsun.java2d.uiScale=2 -Djava.net.preferIPv6Addresses=false --add-exports=java.desktop/sun.awt=ALL-UNNAMED --enable-native-access=ALL-UNNAMED -Djava.io.tmpdir=..\..\cache" | SET "_JAVA_OPTIONS=-Dsun.java2d.uiScale=2 -Djava.net.preferIPv6Addresses=false --add-exports=java.desktop/sun.awt=ALL-UNNAMED --enable-native-access=ALL-UNNAMED -Djava.io.tmpdir=..\..\cache" |
| |
| 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" | START "" /D "%UserProfile%\Projects\RT4-Client\src\client" "%JAVA_HOME%\bin\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" |
| |
| SET "_JAVA_OPTIONS=" | SET "_JAVA_OPTIONS=" |
| CD "%UserProfile%\Projects\RT4-Client\src" | CD "%UserProfile%\Projects\RT4-Client\src" |
| |
| SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot" | SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.19.10-hotspot" |
| SET "_JAVA_OPTIONS=--add-exports=java.base/sun.nio.ch=ALL-UNNAMED" | SET "_JAVA_OPTIONS=--add-exports=java.base/sun.nio.ch=ALL-UNNAMED" |
| |
| CALL "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "client:clean" --no-daemon -q 1> NUL | CALL "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "client:clean" --no-daemon |
| CALL "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "client:jar" --no-daemon -q > NUL 2>&1 | CALL "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "client:jar" --no-daemon |
| |
| SET "JAVA_HOME=" | SET "JAVA_HOME=" |
| SET "_JAVA_OPTIONS=" | SET "_JAVA_OPTIONS=" |
| | CD "%Temp%" |
| |
| MSG %USERNAME% /TIME:"2" "2009Scape RT4 Client update complete" | "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "2009Scape RT4 Client update complete" |
| |
| :: End</code> | :: End</code> |
| * ''Ctrl-Shift-E'' (Export As) | * ''Ctrl-Shift-E'' (Export As) |
| * 32 bpp, 8-bit alpha, no palette | * 32 bpp, 8-bit alpha, no palette |
| * ''[ ]'' Compressed (PNG) | * ''[x]'' Compressed (PNG) |
| |
| MKDIR "%UserProfile%\Projects\RT4-Client\ext" | MKDIR "%UserProfile%\Projects\RT4-Client\ext" |
| |
| <code>..\..\..\..\..\ext\saradomin.ico</code> | <code>..\..\..\..\..\ext\saradomin.ico</code> |
| | |
| | ====== Commands ====== |
| | |
| | ::commands |
| | |
| | ::fpson |
| |
| ====== Launcher Shortcuts ====== | ====== Launcher Shortcuts ====== |
| |
| 2009Scape | 2009Scape |
| |
| === Icon === | |
| |
| **** | |
| |
| "%UserProfile%\Projects\RT4-Client\ext\saradomin.ico" | |
| |
| ==== High DPI ==== | ==== High DPI ==== |
| |
| 2009Scape (HiDPI) | 2009Scape (HiDPI) |
| | |
| | === Icon === |
| | |
| | **** |
| | |
| | "%UserProfile%\Projects\RT4-Client\ext\saradomin.ico" |
| |
| ===== Start Menu ===== | ===== Start Menu ===== |
| |
| 2009Scape (localhost) | 2009Scape (localhost) |
| |
| === Icon === | |
| |
| **** | |
| |
| "%UserProfile%\Projects\RT4-Client\ext\saradomin.ico" | |
| |
| ==== High DPI ==== | ==== High DPI ==== |
| |
| 2009Scape (HiDPI) | 2009Scape (HiDPI) |
| | |
| | === Icon === |
| | |
| | **** |
| | |
| | "%UserProfile%\Projects\RT4-Client\ext\saradomin.ico" |
| |
| ==== Update ==== | ==== Update ==== |
| |
| Install Notes (Client) | Install Notes (Client) |
| | |
| | ====== Quick Commands ====== |
| | |
| | ===== Hide Gradle Folder ===== |
| | |
| | **** |
| | |
| | "%SystemRoot%\System32\attrib.exe" +H "%UserProfile%\.gradle" |
| |