| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:windows:2004scape_localhost [2026/08/28 07:27] – [Bun Canary] 1.4.0 release seems fine; canary untested for now 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]] | |
| |
| 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 ==== | === Baseline === |
| |
| * Latest [[https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64-baseline.zip|bun-windows-x64-baseline.zip]] | * For older CPUs ([[https://www.bunjs.com.cn/runtime/installation.html#baseline-builds|info]]) |
| * For older CPUs ([[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-baseline.zip" --location "https://github.com/oven-sh/bun/releases/latest/download/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 | 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 ====== |
| "%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 |
| | * ''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/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 ===== | ===== Touchscreen TODO ===== |
| |
| * Needs to be batch file or command-prompt launched | ==== Script ==== |
| | |
| "%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge_proxy.exe" --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://192.168.1.150:80/rs2.cgi" | |
| | |
| <code>--user-agent="Android" --touch-events="enabled"</code> | |
| |
| "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\client-touch-start.bat" | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\client-touch-start.bat" |
| CD "%Temp%" | CD "%Temp%" |
| |
| START "2004Scape Server" /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" | 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> | :: End</code> |
| |
| "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\client-touch-start.bat" | "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\client-touch-start.bat" |
| | |
| | 2004Scape (touch) |
| | |
| | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\favicon.ico" |
| |
| ===== Firewall TODO ===== | ===== Firewall TODO ===== |