Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:windows:2004scape_localhost [2025/06/10 12:41] – [Bun] Sean Rhone | games:windows:2004scape_localhost [2025/06/19 18:26] (current) – old revision restored (2025/06/14 22:04) Sean Rhone |
---|
===== Prerequisites ===== | ===== Prerequisites ===== |
| |
* [[windows:10|Windows 10 (21H2)]] | * [[windows;11_ltsc|Windows 11 (24H2)]] |
* [[programs;windows;git|Git]] | * [[programs;windows;git|Git]] |
* [[windows;notes;edge_tweaks|Microsoft Edge]] | * [[windows;notes;edge_tweaks|Microsoft Edge]] |
| |
* [[https://lostcity.rs/t/singleplayer-main-branch-scripts-and-desktop-start-launchers-on-windows-linux-freebsd/54|Lost City Forums]] | * [[https://lostcity.rs/t/singleplayer-main-branch-scripts-and-desktop-start-launchers-on-windows-linux-freebsd/54|Lost City Forums]] |
* [[games;windows;2004scape_localhost_node|Node.js version]] | |
| |
====== Dependencies ====== | ====== Dependencies ====== |
| |
* [[https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64.zip|bun-windows-x64.zip]] | * [[https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64.zip|bun-windows-x64.zip]] |
* [[https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64-baseline.zip|bun-windows-x64-baseline.zip]] ((Nehalem/Bulldozer, [[https://bun.sh/docs/installation#cpu-requirements-and-baseline-builds|info]])) | * [[https://github.com/oven-sh/bun/releases|oven-sh/bun]] |
| |
MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" | MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" |
| |
DIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" | DIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" |
| |
| ===== Node.js ===== |
| |
| * [[https://nodejs.org/download/release/latest/win-x64/node.exe|node.exe]] |
| * [[https://nodejs.org/download/release/latest/|nodejs.org]] latest |
| |
| "%UserProfile%\Projects\LostCity-225-EngineTS\ext\node.exe" |
| |
| DIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext\node.exe" |
| |
====== Download Source ====== | ====== Download Source ====== |
| |
TITLE 2004Scape - Server | TITLE 2004Scape - Server |
| |
| SET "NODE=%UserProfile%\Projects\LostCity-225-EngineTS\ext\node.exe" |
| |
"%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --env-file="%UserProfile%\Projects\LostCity-225-EngineTS\conf\localhost.env" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "quickstart" | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --env-file="%UserProfile%\Projects\LostCity-225-EngineTS\conf\localhost.env" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "quickstart" |
"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" reset --hard | "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" reset --hard |
"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" pull origin "225" --rebase | "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" pull origin "225" --rebase |
| |
| SET "NODE=%UserProfile%\Projects\LostCity-225-EngineTS\ext\node.exe" |
| SET "PATH=%PATH%;%UserProfile%\Projects\LostCity-225-EngineTS\ext" |
| |
"%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "clean" | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "clean" |
| |
# End</code> | # End</code> |
| |
| "%ProgramFiles%\Git\bin\sh.exe" -- "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-autologin-sed.sh" |
| |
==== Update Script ==== | ==== Update Script ==== |