| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:windows:void_runescape_634 [2026/04/01 17:14] – [8] Sean Rhone | games:windows:void_runescape_634 [2026/05/30 19:49] (current) – Sean Rhone |
|---|
| ====== Information ====== | ====== Information ====== |
| |
| * Void Client ((https://github.com/GregHib/void-client)) | * Void Client |
| |
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| * [[windows:10|Windows 10 (21H2)]] | * [[windows:10|Windows 10 (21H2)]] |
| * [[programs;windows;git|Git]] | * [[programs;windows;git|Git]] |
| * [[servers;windows;games;void_localhost|Void]] | |
| | ===== Notes ===== |
| | |
| | * :!: This is for private server use |
| | * See [[servers:windows:games:void_localhost|Void localhost Server]] to set-up a server |
| |
| ====== Dependencies ====== | ====== Dependencies ====== |
| |
| * 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 |
| |
| ==== 8 ==== | === 32-bit === |
| |
| * https://adoptium.net/temurin | * https://adoptium.net/temurin |
| * https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-8 | * OpenGL/DirectX renderers require 32-bit JVM ([[https://github.com/GregHib/void/discussions/927|#927]]) |
| * 32-bit ((non-Safe Mode renderers are 32-bit/don't run under 64-bit JVM; [[https://github.com/GregHib/void/discussions/927|#927]])) | |
| * :?: TODO: ''17'' ((seemingly last version with 32-bit Windows binaries; [[https://openjdk.org/jeps/449|JEP 449]])) | |
| |
| MKDIR "%UserProfile%\Projects\Void-Client\ext" & DEL /Q "%Temp%\OpenJDK8U-jre_x86-32_windows_hotspot.zip" & RMDIR /S /Q "%UserProfile%\Projects\Void-Client\ext\jre-8" & MKDIR "%UserProfile%\Projects\Void-Client\ext\jre-8" && "%SystemRoot%\System32\curl.exe" --output "%Temp%\OpenJDK8U-jre_x86-32_windows_hotspot.zip" --location "https://api.adoptium.net/v3/binary/latest/8/ga/windows/x32/jre/hotspot/normal/eclipse" --progress-bar && "%SystemRoot%\System32\tar.exe" -xvf "%Temp%\OpenJDK8U-jre_x86-32_windows_hotspot.zip" --strip-components="1" -C "%UserProfile%\Projects\Void-Client\ext\jre-8" "jdk8u*/*" && DEL /Q "%Temp%\OpenJDK8U-jre_x86-32_windows_hotspot.zip" & "%UserProfile%\Projects\Void-Client\ext\jre-8\bin\java.exe" -version | MKDIR "%UserProfile%\Projects\Void-Client\ext" & DEL /Q "%Temp%\OpenJDK17U-jre_x86-32_windows_hotspot.zip" & RMDIR /S /Q "%UserProfile%\Projects\Void-Client\ext\jre-17" & MKDIR "%UserProfile%\Projects\Void-Client\ext\jre-17" && "%SystemRoot%\System32\curl.exe" --output "%Temp%\OpenJDK17U-jre_x86-32_windows_hotspot.zip" --location "https://api.adoptium.net/v3/binary/latest/17/ga/windows/x32/jre/hotspot/normal/eclipse" --progress-bar && "%SystemRoot%\System32\tar.exe" -xvf "%Temp%\OpenJDK17U-jre_x86-32_windows_hotspot.zip" --strip-components="1" -C "%UserProfile%\Projects\Void-Client\ext\jre-17" "jdk-17*/*" && DEL /Q "%Temp%\OpenJDK17U-jre_x86-32_windows_hotspot.zip" & "%UserProfile%\Projects\Void-Client\ext\jre-17\bin\java.exe" -version |
| | |
| ==== 17 Test ==== | |
| | |
| **** | |
| | |
| MKDIR "%UserProfile%\Projects\Void-Client\ext" & DEL /Q "%Temp%\OpenJDK17U-jre_x86-32_windows_hotspot.zip" & RMDIR /S /Q "%UserProfile%\Projects\Void-Client\ext\jre-17" & MKDIR "%UserProfile%\Projects\Void-Client\ext\jre-17" && "%SystemRoot%\System32\curl.exe" --output "%Temp%\OpenJDK17U-jre_x86-32_windows_hotspot.zip" --location "https://api.adoptium.net/v3/binary/latest/17/ga/windows/x32/jre/hotspot/normal/eclipse" --progress-bar && "%SystemRoot%\System32\tar.exe" -xvf "%Temp%\OpenJDK17U-jre_x86-32_windows_hotspot.zip" --strip-components="1" -C "%UserProfile%\Projects\Void-Client\ext\jre-17" "jdk-17*/*" && DEL /Q "%Temp%\OpenJDK8U-jre_x86-32_windows_hotspot.zip" & "%UserProfile%\Projects\Void-Client\ext\jre-17\bin\java.exe" -version | |
| |
| ====== Download Source ====== | ====== Download Source ====== |
| ====== Build ====== | ====== Build ====== |
| |
| CD "%UserProfile%\Projects\Void-Client\src" & SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot" && "%UserProfile%\Projects\Void-Client\src\gradlew.bat" "clean" --no-daemon && SET "JAVA_HOME=" | CD "%UserProfile%\Projects\Void-Client\src" & SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.19.10-hotspot" && "%UserProfile%\Projects\Void-Client\src\gradlew.bat" "clean" --no-daemon && SET "JAVA_HOME=" |
| |
| CD "%UserProfile%\Projects\Void-Client\src" & SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot" && "%UserProfile%\Projects\Void-Client\src\gradlew.bat" "classes" --no-daemon && SET "JAVA_HOME=" | CD "%UserProfile%\Projects\Void-Client\src" & SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.19.10-hotspot" && "%UserProfile%\Projects\Void-Client\src\gradlew.bat" "classes" --no-daemon && SET "JAVA_HOME=" |
| |
| ====== Scripts ====== | ====== Scripts ====== |
| CD "%Temp%" | CD "%Temp%" |
| |
| START "" "%UserProfile%\Projects\Void-Client\ext\jre-8\bin\javaw.exe" -cp "%UserProfile%\Projects\Void-Client\src\libs\clientlibs.jar";"%UserProfile%\Projects\Void-Client\src\client\resources";"%UserProfile%\Projects\Void-Client\src\client\build\classes\java\main" "Loader" --address "127.0.0.1" | START "" /D "%Temp%" "%UserProfile%\Projects\Void-Client\ext\jre-17\bin\javaw.exe" -XX:"+UseSerialGC" -cp "%UserProfile%\Projects\Void-Client\src\libs\clientlibs.jar";"%UserProfile%\Projects\Void-Client\src\client\resources";"%UserProfile%\Projects\Void-Client\src\client\build\classes\java\main" "Loader" --address "127.0.0.1" |
| |
| :: End</code> | :: End</code> |
| |
| "%UserProfile%\Projects\Void-Client\scripts\client-start.bat" | "%UserProfile%\Projects\Void-Client\scripts\client-start.bat" |
| | |
| | ==== Hide Cache Files ==== |
| | |
| | * Makes ''jagex_runescape_preferences.dat'' files in user folder hidden from Explorer |
| | |
| | "%SystemRoot%\System32\attrib.exe" +H "%UserProfile%\jagex_runescape_preferences.dat" & "%SystemRoot%\System32\attrib.exe" +H "%UserProfile%\jagex_runescape_preferences2.dat" |
| |
| ===== Client Update ===== | ===== Client Update ===== |
| CD "%UserProfile%\Projects\Void-Client\src" | CD "%UserProfile%\Projects\Void-Client\src" |
| |
| SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot" | SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.19.10-hotspot" |
| |
| CALL "%UserProfile%\Projects\Void-Client\src\gradlew.bat" "clean" --no-daemon | CALL "%UserProfile%\Projects\Void-Client\src\gradlew.bat" "clean" --no-daemon |
| |
| <code>..\..\..\ext\icon-256.ico</code> | <code>..\..\..\ext\icon-256.ico</code> |
| | |
| | ===== Firewall ===== |
| | |
| | ==== Block ==== |
| | |
| | * [[#section17|32-bit javaw.exe]] |
| | |
| | "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="Void Client (javaw.exe)" dir="in" action="block" profile="any" program="%UserProfile%\Projects\Void-Client\ext\jre-17\bin\javaw.exe" & "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="Void Client (javaw.exe)" dir="out" action="block" profile="any" program="%UserProfile%\Projects\Void-Client\ext\jre-17\bin\javaw.exe" |
| | |
| | === Delete Rule === |
| | |
| | **** |
| | |
| | "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="Void Client (javaw.exe)" |
| |
| ====== Launcher Shortcuts ====== | ====== Launcher Shortcuts ====== |
| |
| Install Notes (Client) | Install Notes (Client) |
| | |
| | ====== Quick Commands ====== |
| | |
| | ===== Hide Gradle Folder ===== |
| | |
| | **** |
| | |
| | "%SystemRoot%\System32\attrib.exe" +H "%UserProfile%\.gradle" |
| |