| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:windows:2004scape_localhost [2026/07/15 21:38] – [Server Update] disable bun update (1.3.14 last-known good) Sean Rhone | games:windows:2004scape_localhost [2026/09/19 22:30] (current) – Sean Rhone |
|---|
| * https://bun.com/ | * https://bun.com/ |
| * https://github.com/oven-sh/bun | * https://github.com/oven-sh/bun |
| * Latest [[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|baseline]] for older CPU, [[https://bun.com/docs/installation#baseline-builds|more info]])) | |
| |
| MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "%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 && "%SystemRoot%\System32\tar.exe" -xvf "%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" & "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" -v | ==== 1.3.14 ==== |
| | |
| | * [[https://github.com/oven-sh/bun/releases/tag/bun-v1.3.14|1.3.14]] |
| | * ''bun-windows-x64.zip'' |
| | |
| | MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "%SystemRoot%\System32\curl.exe" --output "%Temp%\bun-windows-x64.zip" --location "https://github.com/oven-sh/bun/releases/download/bun-v1.3.14/bun-windows-x64.zip" --progress-bar && "%SystemRoot%\System32\tar.exe" -xvf "%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" & "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" -v |
| | |
| | === Baseline === |
| | |
| | * For older CPUs ([[https://www.bunjs.com.cn/runtime/installation.html#baseline-builds|info]]) |
| | |
| | MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "%SystemRoot%\System32\curl.exe" --output "%Temp%\bun-windows-x64-baseline.zip" --location "https://github.com/oven-sh/bun/releases/download/bun-v1.3.14/bun-windows-x64-baseline.zip" --progress-bar && "%SystemRoot%\System32\tar.exe" -xvf "%Temp%\bun-windows-x64-baseline.zip" --strip-components="1" -C "%UserProfile%\Projects\LostCity-225-EngineTS\ext" "bun-windows-x64-baseline/bun.exe" && DEL /Q "%Temp%\bun-windows-x64-baseline.zip" & "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" -v |
| |
| ====== Download Source ====== | ====== Download Source ====== |
| "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" reset --hard "origin/225" | "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" reset --hard "origin/225" |
| "%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 |
| |
| "%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 | |
| "%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" | SET "NODE=%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" |
| SET "PATH=%PATH%;%UserProfile%\Projects\LostCity-225-EngineTS\ext" | 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 "%UserProfile%\Projects\LostCity-225-EngineTS\src\tools\pack\Clean.ts" | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "%UserProfile%\Projects\LostCity-225-EngineTS\src\tools\pack\Clean.ts" |
| ::"%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" install | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" install |
| ::"%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "%UserProfile%\Projects\LostCity-225-EngineTS\src\tools\server\setup.ts" | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "%UserProfile%\Projects\LostCity-225-EngineTS\src\tools\server\setup.ts" |
| |
| SET "NODE=" | SET "NODE=" |
| "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run |
| |
| ===== Bun Canary ===== | ===== Bun Versions ===== |
| | |
| | ==== Release ==== |
| | |
| | * Latest [[https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64.zip|bun-windows-x64.zip]] |
| | |
| | MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "%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 && "%SystemRoot%\System32\tar.exe" -xvf "%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" & "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" -v |
| | |
| | ==== Canary ==== |
| |
| * https://github.com/oven-sh/bun/releases/tag/canary | * https://github.com/oven-sh/bun/releases/tag/canary |
| * Last tested revision: ''v1.4.0-canary.1+09703da1a'' | * ''bun-windows-x64.zip'' |
| * 2026/06/10: Failed ''bun clean'' (and ''Clean.ts'') | |
| |
| MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "%SystemRoot%\System32\curl.exe" --output "%Temp%\bun-windows-x64.zip" --location "https://github.com/oven-sh/bun/releases/download/canary/bun-windows-x64.zip" --progress-bar && "%SystemRoot%\System32\tar.exe" -xvf "%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" & "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" -v | MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "%SystemRoot%\System32\curl.exe" --output "%Temp%\bun-windows-x64.zip" --location "https://github.com/oven-sh/bun/releases/download/canary/bun-windows-x64.zip" --progress-bar && "%SystemRoot%\System32\tar.exe" -xvf "%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" & "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" -v |
| | |
| | ===== Touchscreen TODO ===== |
| | |
| | ==== Script ==== |
| | |
| | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\client-touch-start.bat" |
| | |
| | <code> |
| | @echo off |
| | |
| | CD "%Temp%" |
| | |
| | START "" /D "%Temp%" "%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge_proxy.exe" --proxy-server="localhost:80" --kiosk --edge-kiosk-type="public-browsing" --kiosk-idle-timeout-minutes="0" --new-window --window-size="815,600" --user-agent="Android" --touch-events="enabled" --app="http://localhost:80/rs2.cgi" |
| | |
| | :: End</code> |
| | |
| | "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\client-touch-start.bat" |
| | |
| | 2004Scape (touch) |
| | |
| | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\favicon.ico" |
| |
| ===== Firewall TODO ===== | ===== Firewall TODO ===== |