| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:bsd:2004scape_localhost [2026/05/28 16:53] – Bun! Sean Rhone | games:bsd:2004scape_localhost [2026/05/31 23:20] (current) – [Information] Sean Rhone |
|---|
| |
| * Lost City Server + Client | * Lost City Server + Client |
| | * ''225'' |
| * [[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]] |
| |
| * 2025/08/20: ''bun'' isn't compatible with FreeBSD ([[https://github.com/oven-sh/bun/issues/1524|#1524]]) ((commits locked at last ''npm'' support around May/June 2025 (before [[https://2004.lostcity.rs/news/216|244]]/no Special Attacks/Elemental Workshop); no update script)) | * 2025/08/20: ''bun'' wasn't compatible with FreeBSD ([[https://github.com/oven-sh/bun/issues/1524|#1524]]) ((commits locked at last ''npm'' support around May/June 2025 (before [[https://2004.lostcity.rs/news/216|244]]/no Special Attacks/Elemental Workshop); no update script)) ((2026/05/28: WIP [[games:bsd:2004scape_localhost?rev=1780001582#dependencies|Bun notes]]; had too-large body error in browser with stock ''SCC1_Florestan.sf2'' and no audio; TODO: ''--max-http-header-size='')) |
| * :?: 2026/04/26: ''bun'' might have FreeBSD support ([[https://forums.freebsd.org/threads/folks-lets-get-claude-code-native-installer-working-for-freebsd.101901/page-3#post-757378|post]]) | |
| | |
| * :!: 2026/05/28: WIP | |
| | |
| ===== Media ===== | |
| | |
| * [[https://media.realmofespionage.xyz/index/category/2|Progress Pics]] | |
| |
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| |
| * [[bsd:freebsd_15.0_xfce|FreeBSD 15.0 (Xfce)]] | * [[bsd:freebsd_16.0_xfce|FreeBSD 16.0 (Xfce)]] |
| |
| ====== Dependencies ====== | ====== Dependencies ====== |
| su - | su - |
| |
| pkg install git npm-node22 python315 | pkg install git openjdk26-headless npm-node22 python315 |
| | |
| ===== bun ===== | |
| | |
| * [[https://github.com/oven-sh/bun/releases|oven-sh/bun]] | |
| * Last tested version: ''1.3.14'' | |
| | |
| rm -Rf '/tmp/bun-freebsd-x64'* && mkdir -p ~/'Projects/LostCity-225-EngineTS/ext' && wget -O '/tmp/bun-freebsd-x64.zip' 'https://github.com/oven-sh/bun/releases/latest/download/bun-freebsd-x64.zip' && unzip '/tmp/bun-freebsd-x64.zip' -d '/tmp' && mv -f '/tmp/bun-freebsd-x64/bun' ~/'Projects/LostCity-225-EngineTS/ext' && ~/'Projects/LostCity-225-EngineTS/ext/bun' --version && rm -Rf '/tmp/bun-freebsd-x64'* | |
| |
| ====== Download Source ====== | ====== Download Source ====== |
| ===== Engine-TS ===== | ===== Engine-TS ===== |
| |
| * https://github.com/LostCityRS/Engine-TS/commits/225/ | * https://github.com/LostCityRS/Engine-TS/commit/0fb09fb0506fd884d82b8fec556a822e69d25e14 |
| |
| cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/LostCity-225-EngineTS/src' && git clone --branch '225' --depth '1' --recurse-submodules 'https://github.com/LostCityRS/Engine-TS.git' ~/'Projects/LostCity-225-EngineTS/src' | cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/LostCity-225-EngineTS/src' && git clone --rev '0fb09fb0506fd884d82b8fec556a822e69d25e14' --depth '1' --recurse-submodules 'https://github.com/LostCityRS/Engine-TS.git' ~/'Projects/LostCity-225-EngineTS/src' |
| |
| ===== Content ===== | ===== Content ===== |
| |
| * https://github.com/LostCityRS/Content/commits/225/ | * https://github.com/LostCityRS/Content/commit/69a88f534e9f43dcfe651d62467f9760ad021428 |
| |
| cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/LostCity-225-EngineTS/content' && git clone --branch '225' --depth '1' --recurse-submodules 'https://github.com/LostCityRS/Content.git' ~/'Projects/LostCity-225-EngineTS/content' | cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/LostCity-225-EngineTS/content' && git clone --rev '69a88f534e9f43dcfe651d62467f9760ad021428' --depth '1' --recurse-submodules 'https://github.com/LostCityRS/Content.git' ~/'Projects/LostCity-225-EngineTS/content' |
| |
| ====== Initial Build ====== | ====== Initial Build ====== |
| **** | **** |
| |
| NODE_GYP_FORCE_PYTHON='/usr/local/bin/python3.15' ~/'Projects/LostCity-225-EngineTS/ext/bun' --cwd=$HOME/'Projects/LostCity-225-EngineTS/src' install | NODE_GYP_FORCE_PYTHON='/usr/local/bin/python3.15' node '/usr/local/lib/node_modules/npm/bin/npm-cli.js' --prefix ~/'Projects/LostCity-225-EngineTS/src' install --verbose |
| |
| ====== Set-up ====== | ====== Set-up ====== |
| * Set up as a development world | * Set up as a development world |
| |
| PATH=$PATH:~/'Projects/LostCity-225-EngineTS/ext' ~/'Projects/LostCity-225-EngineTS/ext/bun' --cwd=$HOME/'Projects/LostCity-225-EngineTS/src' run 'setup' | node '/usr/local/lib/node_modules/npm/bin/npm-cli.js' --prefix ~/'Projects/LostCity-225-EngineTS/src' run 'setup' |
| |
| ====== Settings ====== | ====== Settings ====== |
| |
| * Last commit: [[https://github.com/LostCityRS/Engine-TS/commit/de5fa4db73add4e7277f0a9045d6eeb3a0800f59|Jun 25, 2025]] ''de5fa4d'' | * Last commit: [[https://github.com/LostCityRS/Engine-TS/commit/143ff378c5843b200927b976ae31b9d774de26ed|Mar 6, 2025]] ''143ff37'' |
| * [[https://github.com/LostCityRS/Engine-TS/commits/225/.env.example|New commits check]] | |
| * [[https://github.com/LostCityRS/Engine-TS/blob/225/.env.example|Upstream Settings]] ([[https://raw.githubusercontent.com/LostCityRS/Engine-TS/refs/heads/225/.env.example|raw]]) | |
| |
| mkdir -p ~/'Projects/LostCity-225-EngineTS/conf' && ee ~/'Projects/LostCity-225-EngineTS/conf/localhost.env' | mkdir -p ~/'Projects/LostCity-225-EngineTS/conf' && ee ~/'Projects/LostCity-225-EngineTS/conf/localhost.env' |
| cd '/tmp' | cd '/tmp' |
| |
| export PATH=$PATH:~/'Projects/LostCity-225-EngineTS/ext' | export JAVA_HOME='/usr/local/openjdk26-headless' |
| | export _JAVA_OPTIONS="--sun-misc-unsafe-memory-access='allow'" |
| |
| ~/'Projects/LostCity-225-EngineTS/ext/bun' --env-file=$HOME/'Projects/LostCity-225-EngineTS/conf/localhost.env' --cwd=$HOME/'Projects/LostCity-225-EngineTS/src' run 'quickstart' | node --env-file=$HOME/'Projects/LostCity-225-EngineTS/conf/localhost.env' '/usr/local/lib/node_modules/npm/bin/npm-cli.js' --prefix ~/'Projects/LostCity-225-EngineTS/src' run 'quickstart' |
| |
| # End</code> | # End</code> |