| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:bsd:2004scape_localhost [2026/06/17 22:26] – Sean Rhone | games:bsd:2004scape_localhost [2026/07/02 18:12] (current) – Sean Rhone |
|---|
| |
| * Lost City Server + Client | * Lost City Server + Client |
| * ''225'' | * :?: ''244'' ((see below; compatible with ''225'' saves; TODO: figure out branch name at time of commit)) |
| * [[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'' 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/06/17: 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)) | * 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/06/17: 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)) |
| | |
| | ===== Media ===== |
| | |
| | * [[https://media.realmofespionage.xyz/index/category/2|Progress Pics]] |
| | * [[https://www.youtube.com/watch?v=1ew1fePXCzU|Presentation Video]] |
| |
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| |
| ====== Initial Build ====== | ====== Initial Build ====== |
| |
| **** | |
| |
| 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 | 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 |
| |
| 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' | 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' |
| | |
| | unset 'JAVA_HOME' '_JAVA_OPTIONS' |
| | cd '/tmp' |
| |
| # End</code> | # End</code> |
| |
| sed -i -e 's/usernameInput="";passwordInput=""/usernameInput="Espionage724";passwordInput="1"/g' ~/'Projects/LostCity-225-EngineTS/src/public/client/client.js' | sed -i -e 's/usernameInput="";passwordInput=""/usernameInput="Espionage724";passwordInput="1"/g' ~/'Projects/LostCity-225-EngineTS/src/public/client/client.js' |
| | |
| | ===== Pixel Scaling ===== |
| | |
| | * Defaults ''Pixel Scaling'' instead of ''Auto Scaling'' |
| | |
| | sed -i -e "s#'pixelated' : 'auto'#'pixelated' : 'pixelated'#g" ~/'Projects/LostCity-225-EngineTS/src/view/client.ejs' |
| |
| ====== Desktop Launcher ====== | ====== Desktop Launcher ====== |
| |
| [Desktop Action Server] | [Desktop Action Server] |
| Exec='/bin/sh' -c "xfce4-terminal --minimize -T '2004Scape [Server]' -I ~/'Projects/LostCity-225-EngineTS/ext/favicon.ico' -e ~/'Projects/LostCity-225-EngineTS/scripts/localhost-server-start.sh'" | Exec='/bin/sh' -c "xfce4-terminal --minimize -T '2004Scape [Server]' -I ~/'Projects/LostCity-225-EngineTS/ext/favicon.ico' --working-directory='/tmp' -e ~/'Projects/LostCity-225-EngineTS/scripts/localhost-server-start.sh'" |
| Name=Server - Start | Name=Server - Start |
| |
| |
| * :?: 2026/03/04: ''webkit2-gtk_40'', ''webkit2-gtk_41'', ''webkit2-gtk_60'', and ''surf'' all froze during loading resources/before log-in | * :?: 2026/03/04: ''webkit2-gtk_40'', ''webkit2-gtk_41'', ''webkit2-gtk_60'', and ''surf'' all froze during loading resources/before log-in |
| | * 2026/06/28: WebProcess crashed instantly ''webkitgtk-6.0'' and ''webkit2gtk-4.1'' |
| |
| <code> | <code> |