| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:windows:games:void_localhost [2026/03/29 21:41] – Sean Rhone | servers:windows:games:void_localhost [2026/04/16 17:12] (current) – [Settings] Sean Rhone |
|---|
| * Void Server ((https://github.com/GregHib/void)) | * Void Server ((https://github.com/GregHib/void)) |
| |
| * :!: 2026/03/29: WIP | ===== Resources ===== |
| | |
| | * [[https://rune-server.org/threads/void-634.697260/|Rune-Server]] |
| | * [[https://github.com/GregHib/void/wiki|Wiki]] |
| |
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| |
| RMDIR /S /Q "%UserProfile%\Projects\Void-Server\src\data\cache" & MKDIR "%UserProfile%\Projects\Void-Server\src\data\cache" && "%ProgramFiles%\7-Zip\7z.exe" x "%UserProfile%\Downloads\"*"-void-634-cache.7z" -o"%UserProfile%\Projects\Void-Server\src\data\cache" | RMDIR /S /Q "%UserProfile%\Projects\Void-Server\src\data\cache" & MKDIR "%UserProfile%\Projects\Void-Server\src\data\cache" && "%ProgramFiles%\7-Zip\7z.exe" x "%UserProfile%\Downloads\"*"-void-634-cache.7z" -o"%UserProfile%\Projects\Void-Server\src\data\cache" |
| | |
| | DEL /Q "%UserProfile%\Downloads\"*"-void-634-cache.7z" |
| |
| ====== Settings ====== | ====== Settings ====== |
| |
| * Last commit: [[https://github.com/GregHib/void/commit/a32ed0d4c346b225459b4a0d99a19d25e0116bc4|Mar 27, 2026]] ''a32ed0d'' | * Last commit: [[https://github.com/GregHib/void/commit/201eb448282c056edc45f2b8907027c033f2ea22|Apr 9, 2026]] ''201eb44'' |
| * [[https://github.com/GregHib/void/commits/main/game/src/main/resources/game.properties|New commits check]] | * [[https://github.com/GregHib/void/commits/main/game/src/main/resources/game.properties|New commits check]] |
| * [[https://github.com/GregHib/void/blob/main/game/src/main/resources/game.properties|Upstream Settings]] ([[https://raw.githubusercontent.com/GregHib/void/refs/heads/main/game/src/main/resources/game.properties|raw]]) | * [[https://github.com/GregHib/void/blob/main/game/src/main/resources/game.properties|Upstream Settings]] ([[https://raw.githubusercontent.com/GregHib/void/refs/heads/main/game/src/main/resources/game.properties|raw]]) |
| | * TODO: Disable server logging ((bot actions get logged to disk along with players)) |
| |
| COPY /Y "%UserProfile%\Projects\Void-Server\src\game\src\main\resources\game.properties" "%UserProfile%\Projects\Void-Server\src" | COPY /Y "%UserProfile%\Projects\Void-Server\src\game\src\main\resources\game.properties" "%UserProfile%\Projects\Void-Server\src" |
| @echo off | @echo off |
| |
| TITLE Void Server | CD "%Temp%" |
| CD "%UserProfile%\Projects\Void-Server\src" | |
| |
| "java.exe" -jar "%UserProfile%\Projects\Void-Server\src\game\build\libs\void-server-dev.jar" | START "Void Server" /MIN /D "%UserProfile%\Projects\Void-Server\src" "%JAVA_HOME%\bin\java.exe" -jar "%UserProfile%\Projects\Void-Server\src\game\build\libs\void-server-dev.jar" |
| |
| :: End</code> | :: End</code> |
| ===== Server Update ===== | ===== Server Update ===== |
| |
| "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat" | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\Void-Server\scripts\localhost-server-update.bat" |
| |
| <code> | <code> |
| @echo off | @echo off |
| |
| TITLE 2004Scape Updater | TITLE Void Updater |
| CD "%Temp%" | CD "%Temp%" |
| |
| "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\src" reset --hard "origin/225" | "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\Void-Server\src" reset --hard "origin/main" |
| "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\src" pull origin "225" --rebase | "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\Void-Server\src" pull origin "main" --rebase |
| |
| "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" reset --hard "origin/225" | CD "%UserProfile%\Projects\Void-Server\src" |
| "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" pull origin "225" --rebase | |
| |
| DEL /Q "%Temp%\bun-windows-x64.zip" | SET "_JAVA_OPTIONS=--enable-native-access=ALL-UNNAMED" |
| "%SystemRoot%\System32\curl.exe" --output "%Temp%\bun-windows-x64.zip" --location "https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64.zip" --progress-bar | |
| DEL /Q "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" | |
| "%SystemRoot%\System32\tar.exe" -xf "%Temp%\bun-windows-x64.zip" --strip-components="1" -C "%UserProfile%\Projects\LostCity-225-EngineTS\ext" "bun-windows-x64/bun.exe" | |
| DEL /Q "%Temp%\bun-windows-x64.zip" | |
| |
| SET "NODE=%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" | CALL "%UserProfile%\Projects\Void-Server\src\gradlew.bat" "clean" --no-daemon |
| SET "PATH=%PATH%;%UserProfile%\Projects\LostCity-225-EngineTS\ext" | CALL "%UserProfile%\Projects\Void-Server\src\gradlew.bat" "assemble" --no-daemon |
| |
| "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "clean" | SET "_JAVA_OPTIONS=" |
| "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" install | CD "%Temp%" |
| "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "setup" | |
| |
| SET "NODE=" | COPY /Y "%UserProfile%\Projects\Void-Server\src\game\src\main\resources\game.properties" "%UserProfile%\Projects\Void-Server\src" |
| | "%ProgramFiles%\Git\bin\sh.exe" -- "%UserProfile%\Projects\Void-Server\scripts\server-settings-sed.sh" |
| |
| :: Extras | "%SystemRoot%\System32\timeout.exe" /T "2" |
| | "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "Void localhost server update complete" |
| :: Extras End | |
| | |
| "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "2004Scape localhost server update complete" | |
| |
| :: End</code> | :: End</code> |
| |
| "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat" | "%UserProfile%\Projects\Void-Server\scripts\localhost-server-update.bat" |
| |
| ===== Save Data Back-up ===== | ===== Save Data Back-up ===== |
| |
| "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-save-backup.bat" | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\Void-Server\scripts\localhost-save-backup.bat" |
| |
| <code> | <code> |
| CD "%Temp%" | CD "%Temp%" |
| |
| "%SystemRoot%\System32\tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-2004Scape-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players" "localhost" | "%SystemRoot%\System32\tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-Void-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\Void-Server\src\data\saves" *".toml" |
| |
| "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "2004Scape Save Data Backed-up Successfully to Downloads" | "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "Void Save Data Backed-up Successfully to Downloads" |
| |
| :: End</code> | :: End</code> |
| |
| "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-save-backup.bat" | "%UserProfile%\Projects\Void-Server\scripts\localhost-save-backup.bat" |
| |
| ====== Launcher Shortcuts ====== | ====== Launcher Shortcuts ====== |
| ==== Server Start ==== | ==== Server Start ==== |
| |
| "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start.bat" | "%UserProfile%\Projects\Void-Server\scripts\localhost-server-start.bat" |
| |
| 2004Scape Server | Void Server |
| |
| ===== Start Menu ===== | ===== Start Menu ===== |
| **** | **** |
| |
| MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\2004Scape" & "%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\2004Scape" | MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\Void" & "%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Void" |
| |
| ==== Server Start ==== | ==== Server Start ==== |
| |
| "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start.bat" | "%UserProfile%\Projects\Void-Server\scripts\localhost-server-start.bat" |
| |
| Server Start | Server Start |
| ==== Update ==== | ==== Update ==== |
| |
| "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat" | "%UserProfile%\Projects\Void-Server\scripts\localhost-server-update.bat" |
| |
| Updater | Server Updater |
| |
| ==== Save Backup ==== | ==== Save Backup ==== |
| |
| "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-save-backup.bat" | "%UserProfile%\Projects\Void-Server\scripts\localhost-save-backup.bat" |
| |
| Save Back-up | Save Back-up |