| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:windows:rt4_client_runescape_530 [2026/02/04 00:22] – Sean Rhone | games:windows:rt4_client_runescape_530 [2026/04/16 22:56] (current) – [Client Update] Sean Rhone |
|---|
| ===== Settings ===== | ===== Settings ===== |
| |
| MKDIR "%UserProfile%\Projects\RT4-Client\scripts" & "notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-settings-sed.sh" | MKDIR "%UserProfile%\Projects\RT4-Client\scripts" & "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-settings-sed.sh" |
| |
| <code> | <code> |
| "%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" | TYPE "%UserProfile%\Projects\RT4-Client\src\client\src\main\java\rt4\GlobalConfig.java" | "%SystemRoot%\System32\find.exe" "public static boolean" |
| |
| ===== Build ===== | ===== Build ===== |
| * [[https://gitlab.com/2009scape/rt4-client/-/blob/master/client/config.json?ref_type=heads|Upstream client/config.json]] ([[https://gitlab.com/2009scape/rt4-client/-/raw/master/client/config.json?ref_type=heads|raw]]) | * [[https://gitlab.com/2009scape/rt4-client/-/blob/master/client/config.json?ref_type=heads|Upstream client/config.json]] ([[https://gitlab.com/2009scape/rt4-client/-/raw/master/client/config.json?ref_type=heads|raw]]) |
| |
| MKDIR "%UserProfile%\Projects\RT4-Client\conf" & "notepad.exe" "%UserProfile%\Projects\RT4-Client\conf\localhost.json" | MKDIR "%UserProfile%\Projects\RT4-Client\conf" & "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\RT4-Client\conf\localhost.json" |
| |
| <code> | <code> |
| MKDIR "%UserProfile%\Projects\RT4-Client\scripts" "%UserProfile%\Projects\RT4-Client\cache" | MKDIR "%UserProfile%\Projects\RT4-Client\scripts" "%UserProfile%\Projects\RT4-Client\cache" |
| |
| "explorer.exe" "%UserProfile%\Projects\RT4-Client\scripts" | "%SystemRoot%\explorer.exe" "%UserProfile%\Projects\RT4-Client\scripts" |
| |
| ===== Client Start ===== | ===== Client Start ===== |
| |
| "notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-start.bat" | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-start.bat" |
| |
| <code> | <code> |
| @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=" |
| ==== High DPI ==== | ==== High DPI ==== |
| |
| "notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-hidpi-start.bat" | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-hidpi-start.bat" |
| |
| <code> | <code> |
| @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=" |
| ===== Client Update ===== | ===== Client Update ===== |
| |
| "notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-update.bat" | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-update.bat" |
| |
| <code> | <code> |
| |
| SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot" | SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot" |
| | SET "_JAVA_OPTIONS=--add-exports=java.base/sun.nio.ch=ALL-UNNAMED" |
| |
| CALL "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "clean" --no-daemon | CALL "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "client:clean" --no-daemon |
| CALL "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "jar" --no-daemon | CALL "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "client:jar" --no-daemon |
| |
| SET "JAVA_HOME=" | SET "JAVA_HOME=" |
| | 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" |
| **** | **** |
| |
| MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" & "explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" | MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" & "%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" |
| |
| ==== Client ==== | ==== Client ==== |