Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:windows:rt4_client_runescape_530 [2025/04/03 02:36] – [Settings] Sean Rhone | games:windows:rt4_client_runescape_530 [2025/04/12 20:40] (current) – [Settings] Sean Rhone |
---|
| |
* These notes provide a game client for 2009Scape | * These notes provide a game client for 2009Scape |
* Last tested commit: [[https://gitlab.com/2009scape/rt4-client/-/commit/5cf2f18786dab256da75a4c6f70bdc0330f24e2a|~5cf2f187]] | * Last tested commit: [[https://gitlab.com/2009scape/rt4-client/-/commit/cd081deb896dc7280da547220074375bb9150a21|cd081deb]] |
| |
===== Prerequisites ===== | ===== Prerequisites ===== |
| |
* [[windows:10|Windows 10]] | * [[windows:10|Windows 10 (21H2)]] |
| * [[windows;11_ltsc|Windows 11 (24H2)]] ((:!: 2025/04/03: Known issue with HD Fullscreen causing out-of-range resolution switch)) |
| |
===== Resources ===== | ===== Resources ===== |
===== Git ===== | ===== Git ===== |
| |
* https://www.git-scm.com/download/win | * https://gitforwindows.org/ |
* Last tested: ''Git-2.47.1.2-64-bit.exe'' | * Last tested: ''Git-2.49.0-64-bit.exe'' |
| |
* No components required | * No components required |
* 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.14-windows-x64.msi'' | * Last tested: ''microsoft-jdk-17.0.14-windows-x64.msi'' |
* 2025/01/14: Required for [[#build1|building]] ((17 for [[https://gitlab.com/2009scape/rt4-client/-/blob/master/gradle/wrapper/gradle-wrapper.properties?ref_type=heads#L3|Gradle]] 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 ((only need the binary files present)) |
====== Download Source ====== | ====== Download Source ====== |
| |
* https://gitlab.com/2009scape/rt4-client/-/commits/master?ref_type=heads | * https://gitlab.com/2009scape/rt4-client/-/commits/master?ref_type=HEADS |
| |
"%ProgramFiles%\Git\bin\git.exe" clone --branch "master" --depth "1" --recurse-submodules "https://gitlab.com/2009scape/rt4-client.git" "%UserProfile%\Projects\RT4-Client\src" | "%ProgramFiles%\Git\bin\git.exe" clone --branch "master" --depth "1" --recurse-submodules "https://gitlab.com/2009scape/rt4-client.git" "%UserProfile%\Projects\RT4-Client\src" |
====== Build ====== | ====== Build ====== |
| |
===== Disable Tweening ===== | ===== Settings ===== |
| |
* Aka: Animation Smoothing | * ''USE_TWEENING'' = Animation Smoothing (disabling fixes certain animations) |
* Fixes certain animations ((Lumbridge grain mill and nearby sign animation loops)) | |
| |
"notepad.exe" "%UserProfile%\Projects\RT4-Client\src\client\src\main\java\rt4\GlobalConfig.java" | "notepad.exe" "%UserProfile%\Projects\RT4-Client\src\client\src\main\java\rt4\GlobalConfig.java" |
| |
<code>public static boolean USE_TWEENING = false;</code> | <code> |
| public static boolean USE_SHIFT_CLICK = false; |
| public static boolean USE_TWEENING = false; |
| public static boolean BILINEAR_MINIMAP = false; |
| public static boolean MOUSEWHEEL_ZOOM = false; |
| </code> |
| |
| false; |
| |
===== Build ===== | ===== Build ===== |
===== Client Start ===== | ===== Client Start ===== |
| |
notepad "%UserProfile%\Projects\RT4-Client\scripts\client-start.bat" | "notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-start.bat" |
| |
<code> | <code> |
| |
:: End</code> | :: End</code> |
| |
| "%UserProfile%\Projects\RT4-Client\scripts\client-start.bat" |
| |
==== High DPI ==== | ==== High DPI ==== |
| |
notepad "%UserProfile%\Projects\RT4-Client\scripts\client-hidpi-start.bat" | "notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-hidpi-start.bat" |
| |
<code> | <code> |
:: End</code> | :: End</code> |
| |
===== Client Update ===== | "%UserProfile%\Projects\RT4-Client\scripts\client-hidpi-start.bat" |
| |
* https://gitlab.com/2009scape/rt4-client/-/commits/master?ref_type=heads | ===== Client Update ===== |
| |
notepad "%UserProfile%\Projects\RT4-Client\scripts\client-update.bat" | "notepad.exe" "%UserProfile%\Projects\RT4-Client\scripts\client-update.bat" |
| |
<code> | <code> |
@echo off | @echo off |
| |
git -C "%UserProfile%\Projects\RT4-Client\src" reset --hard | "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\RT4-Client\src" reset --hard |
git -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 |
| |
notepad "%UserProfile%\Projects\RT4-Client\src\client\src\main\java\rt4\GlobalConfig.java" | "notepad.exe" "%UserProfile%\Projects\RT4-Client\src\client\src\main\java\rt4\GlobalConfig.java" |
| |
CD "%UserProfile%\Projects\RT4-Client\src" | CD "%UserProfile%\Projects\RT4-Client\src" |
| |
:: End</code> | :: End</code> |
| |
| "%UserProfile%\Projects\RT4-Client\scripts\client-update.bat" |
| |
====== Launcher Shortcuts ====== | ====== Launcher Shortcuts ====== |
===== Icon ===== | ===== Icon ===== |
| |
* Convert source ''saradomin.png'' to ''saradomin.ico'', save to ''ext'' folder ((Windows 10 can't use ''.png'' as icons; [[https://www.gimp.org/|GIMP]] converts easily)) | * Convert source ''saradomin.png'' to ''saradomin.ico'', save to ''ext'' folder ((Windows can't use ''.png'' as icons; [[https://www.gimp.org/|GIMP]] converts easily)) |
* Start Menu and Desktop shortcuts expect ''saradomin.ico'' | * Start Menu and Desktop shortcuts expect ''saradomin.ico'' |
| |
MKDIR "%UserProfile%\Projects\RT4-Client\ext" | MKDIR "%UserProfile%\Projects\RT4-Client\ext" |
| |
explorer "%UserProfile%\Projects\RT4-Client\ext" | "explorer.exe" "%UserProfile%\Projects\RT4-Client\ext" |
| |
explorer "%UserProfile%\Projects\RT4-Client\src\client\src\main\resources" | "explorer.exe" "%UserProfile%\Projects\RT4-Client\src\client\src\main\resources" |
| |
"%UserProfile%\Projects\RT4-Client\ext\saradomin.ico" | "%UserProfile%\Projects\RT4-Client\ext\saradomin.ico" |
MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" | MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" |
| |
explorer "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" | "explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" |
| |
==== Client ==== | ==== Client ==== |
| |
Client Updater | Client Updater |
| |
| ==== Commits Check ==== |
| |
| "https://gitlab.com/2009scape/rt4-client/-/commits/master?ref_type=HEADS" |
| |
| Updates Check (Client) |
| |
==== Install Notes ==== | ==== Install Notes ==== |
| |
https://wiki.realmofespionage.xyz/games;windows;rt4_client_runescape_530 | "https://wiki.realmofespionage.xyz/games;windows;rt4_client_runescape_530" |
| |
Install Notes (Client) | Install Notes (Client) |
===== Update ===== | ===== Update ===== |
| |
* https://gitlab.com/2009scape/rt4-client/-/commits/master?ref_type=heads | * https://gitlab.com/2009scape/rt4-client/-/commits/master?ref_type=HEADS |
| |
git -C "%UserProfile%\Projects\RT4-Client\src" reset --hard && git -C "%UserProfile%\Projects\RT4-Client\src" pull origin "master" --rebase | "%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 |
| |
notepad "%UserProfile%\Projects\RT4-Client\src\client\src\main\java\rt4\GlobalConfig.java" | "notepad.exe" "%UserProfile%\Projects\RT4-Client\src\client\src\main\java\rt4\GlobalConfig.java" |
| |
CD "%UserProfile%\Projects\RT4-Client\src" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.14.7-hotspot" && "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "clean" --no-daemon && "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "jar" --no-daemon | CD "%UserProfile%\Projects\RT4-Client\src" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.14.7-hotspot" && "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "clean" --no-daemon && "%UserProfile%\Projects\RT4-Client\src\gradlew.bat" "jar" --no-daemon |
**** | **** |
| |
explorer "%UserProfile%\Projects\RT4-Client\src" | "explorer.exe" "%UserProfile%\Projects\RT4-Client\src" |
| |
==== Plugins ==== | ==== Plugins ==== |
* [[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)) | * [[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 "%UserProfile%\Projects\RT4-Client\src\client\plugins" | "explorer.exe" "%UserProfile%\Projects\RT4-Client\src\client\plugins" |
| |