Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:windows:rt4_client_runescape_530 [2025/06/21 16:35] – Sean Rhone | games:windows:rt4_client_runescape_530 [2025/08/04 08:05] (current) – [GIMP] Sean Rhone |
---|
===== Prerequisites ===== | ===== Prerequisites ===== |
| |
* [[windows;11_ltsc|Windows 11 (24H2)]] | * [[windows;10|Windows 10 (21H2)]] |
* [[programs;windows;git|Git]] | * [[programs;windows;git|Git]] |
| * [[servers:windows:games:2009scape_localhost|2009Scape localhost Server]] |
===== Notes ===== | |
| |
* :!: This is for private server use | |
* See [[servers:windows:games:2009scape_localhost|2009Scape localhost Server]] to set-up a server | |
| |
====== Dependencies ====== | ====== Dependencies ====== |
| |
* https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-21 | * https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-21 |
* Last tested: ''microsoft-jdk-21.0.7-windows-x64.msi'' | * Last tested: ''microsoft-jdk-21.0.8-windows-x64.msi'' |
| |
* Entire feature install of ''Microsoft Build of OpenJDK'' | * Entire feature install of ''Microsoft Build of OpenJDK'' |
| |
* https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-17 | * https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-17 |
* Last tested: ''microsoft-jdk-17.0.15-windows-x64.msi'' | * Last tested: ''microsoft-jdk-17.0.16-windows-x64.msi'' |
* 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+)) |
| |
===== Build ===== | ===== Build ===== |
| |
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.16.8-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" "jar" --no-daemon | CD "%UserProfile%\Projects\RT4-Client\src" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.16.8-hotspot" && "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "jar" --no-daemon |
| |
====== Settings ====== | ====== Settings ====== |
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 -Djava.io.tmpdir=..\..\cache" | SET "_JAVA_OPTIONS=-Dsun.java2d.uiScale=1 -Djava.net.preferIPv6Addresses=false --add-exports=java.desktop/sun.awt=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=true --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 -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" | CD "%UserProfile%\Projects\RT4-Client\src" |
SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.15.6-hotspot" | SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.16.8-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 |
===== Icon ===== | ===== Icon ===== |
| |
* Convert source ''saradomin.png'' to ''saradomin.ico'', save to ''ext'' folder ((Windows can't use ''.png'' as icons)) | ==== GIMP ==== |
* [[https://www.gimp.org/downloads/|GIMP]] | |
| * https://www.gimp.org/downloads/ |
| * Convert source ''saradomin.png'' to ''saradomin.ico'' |
* ''Ctrl-Shift-E'' (Export As) | * ''Ctrl-Shift-E'' (Export As) |
| |