games:windows:void_runescape_634

This is an old revision of the document!


Information

  • Void Client 1)

Prerequisites

Dependencies

Java

17

  • :!: All secondary features manually-marked unavailable

8

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

Download Source

"%ProgramFiles%\Git\bin\git.exe" clone --branch "main" --depth "1" --recurse-submodules "https://github.com/GregHib/void-client.git" "%UserProfile%\Projects\Void-Client\src"

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.18.8-hotspot" && "%UserProfile%\Projects\Void-Client\src\gradlew.bat" "classes" --no-daemon && SET "JAVA_HOME="

Scripts

MKDIR "%UserProfile%\Projects\Void-Client\scripts"
"%SystemRoot%\explorer.exe" "%UserProfile%\Projects\Void-Client\scripts"

Client Start

"%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\Void-Client\scripts\client-start.bat"
@echo off

CD "%Temp%"

START "" "%UserProfile%\Projects\Void-Client\ext\jre-8\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
"%UserProfile%\Projects\Void-Client\scripts\client-start.bat"

Client Update

"%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\Void-Client\scripts\client-update.bat"
@echo off

TITLE Void Client Updater
CD "%Temp%"

"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\Void-Client\src" reset --hard "origin/main"
"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\Void-Client\src" pull origin "main" --rebase

CD "%UserProfile%\Projects\Void-Client\src"

SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot"

CALL "%UserProfile%\Projects\Void-Client\src\gradlew.bat" "clean" --no-daemon
CALL "%UserProfile%\Projects\Void-Client\src\gradlew.bat" "classes" --no-daemon

SET "JAVA_HOME="
CD "%Temp%"

RMDIR /S /Q "%SystemRoot%\.jagex_cache_32"

"%SystemRoot%\System32\timeout.exe" /T "2"
"%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "Void Client update complete"

:: End
"%UserProfile%\Projects\Void-Client\scripts\client-update.bat"

Extras

Icon

GIMP

  • Convert source icon-256.png to icon-256.ico
  • Expects GIMP
  • Ctrl-Shift-E (Export As)
  • 32 bpp, 8-bit alpha, no palette
  • [x] Compressed (PNG)
MKDIR "%UserProfile%\Projects\Void-Client\ext"
"%LocalAppData%\Programs\GIMP 3\bin\gimp-3.exe" "%UserProfile%\Projects\Void-Client\src\client\resources\icon-256.png"
..\..\..\ext\icon-256.ico

Launcher Shortcuts

Desktop

Client

"%UserProfile%\Projects\Void-Client\scripts\client-start.bat"
Void

Icon

"%UserProfile%\Projects\Void-Client\ext\icon-256.ico"

Start Menu

MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\Void" & "%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Void"

Client

"%UserProfile%\Projects\Void-Client\scripts\client-start.bat"
Void (localhost)

Icon

"%UserProfile%\Projects\Void-Client\ext\icon-256.ico"

Update

"%UserProfile%\Projects\Void-Client\scripts\client-update.bat"
Client Updater

Install Notes

"https://wiki.realmofespionage.xyz/games;windows;void_runescape_634"
Install Notes (Client)

TODO

Java 17

  • :?: Seemingly last version with 32-bit Windows binaries; JEP 449
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

Firewall

Block

"%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="Void Java (javaw.exe)" dir="in" action="block" profile="any" program="%UserProfile%\Projects\Void-Client\ext\jre-8\bin\javaw.exe" & "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="Void Java (javaw.exe)" dir="out" action="block" profile="any" program="%UserProfile%\Projects\Void-Client\ext\jre-8\bin\javaw.exe"

Delete Rule

"%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="Void Java (javaw.exe)"
2)
non-Safe Mode renderers are 32-bit/don't run under 64-bit JVM; #927
/var/www/wiki/data/attic/games/windows/void_runescape_634.1775080178.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki