| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:windows:rt4_client_runescape_530 [2025/11/14 00:54] – [17] Sean Rhone | games:windows:rt4_client_runescape_530 [2025/12/11 20:32] (current) – [25] Sean Rhone |
|---|
| ==== 25 ==== | ==== 25 ==== |
| |
| * https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-25 | * https://aka.ms/download-jdk/microsoft-jdk-25-windows-x64.msi |
| * Last tested: ''microsoft-jdk-25.0.1-windows-x64.msi'' | * Last tested: ''microsoft-jdk-25.0.1-windows-x64.msi'' |
| |
| |
| ====== Scripts ====== | ====== Scripts ====== |
| |
| **** | |
| |
| MKDIR "%UserProfile%\Projects\RT4-Client\scripts" | |
| |
| ===== Client Start ===== | ===== Client Start ===== |
| CD "%UserProfile%\Projects\RT4-Client\src\client" | CD "%UserProfile%\Projects\RT4-Client\src\client" |
| |
| SET "_JAVA_OPTIONS=-Dsun.java2d.uiScale=1 -Djava.net.preferIPv6Addresses=false --add-exports=java.desktop/sun.awt=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 "" "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" |
| CD "%UserProfile%\Projects\RT4-Client\src\client" | CD "%UserProfile%\Projects\RT4-Client\src\client" |
| |
| SET "_JAVA_OPTIONS=-Dsun.java2d.uiScale=2 -Djava.net.preferIPv6Addresses=false --add-exports=java.desktop/sun.awt=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 "" "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" |
| TITLE RT4 Client Updater | 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 "origin/master" |
| "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\RT4-Client\src" pull origin "master" --rebase | "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\RT4-Client\src" pull origin "master" --rebase |
| |
| |
| CD "%UserProfile%\Projects\RT4-Client\src" | CD "%UserProfile%\Projects\RT4-Client\src" |
| SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.16.8-hotspot" | |
| | SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.17.10-hotspot" |
| CALL "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "clean" --no-daemon | CALL "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "clean" --no-daemon |
| CALL "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "jar" --no-daemon | CALL "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "jar" --no-daemon |
| ==== GIMP ==== | ==== GIMP ==== |
| |
| * https://www.gimp.org/downloads/ | * [[windows;10#gimp|Notes]] |
| * Convert source ''saradomin.png'' to ''saradomin.ico'' | * Convert source ''saradomin.png'' to ''saradomin.ico'' |
| * ''Ctrl-Shift-E'' (Export As) | * ''Ctrl-Shift-E'' (Export As) |
| | * 32 bpp, 8-bit alpha, no palette |
| |
| MKDIR "%UserProfile%\Projects\RT4-Client\ext" | MKDIR "%UserProfile%\Projects\RT4-Client\ext" |
| |
| "%LocalAppData%\Programs\GIMP 3\bin\gimp-3.exe" "%UserProfile%\Projects\RT4-Client\src\client\src\main\resources\saradomin.png" | "%ProgramFiles%\GIMP 3\bin\gimp-3.exe" "%UserProfile%\Projects\RT4-Client\src\client\src\main\resources\saradomin.png" |
| |
| <code>..\..\..\..\..\ext\saradomin.ico</code> | <code>..\..\..\..\..\ext\saradomin.ico</code> |