User Tools

Site Tools


games:bsd:2004scape_localhost

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
games:bsd:2004scape_localhost [2026/05/28 17:13] – old revision restored (2026/04/26 16:58) Sean Rhonegames:bsd:2004scape_localhost [2026/07/02 18:12] (current) Sean Rhone
Line 2: Line 2:
  
   * Lost City Server + Client   * Lost City Server + Client
 +  * :?: ''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'' 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/06/17WIP [[games:bsd:2004scape_localhost?rev=1780001582#dependencies|Bun notes]]; had too-large body error in browser with stock ''SCC1_Florestan.sf2'' and no audio))
-  * :?: 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]])+
  
 ===== Media ===== ===== Media =====
  
   * [[https://media.realmofespionage.xyz/index/category/2|Progress Pics]]   * [[https://media.realmofespionage.xyz/index/category/2|Progress Pics]]
 +  * [[https://www.youtube.com/watch?v=1ew1fePXCzU|Presentation Video]]
  
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[bsd:freebsd_15.0_xfce|FreeBSD 15.0 (Xfce)]]+  * [[bsd:freebsd_16.0_xfce|FreeBSD 16.0 (Xfce)]]
  
 ====== Dependencies ====== ====== Dependencies ======
  
   * https://github.com/LostCityRS/Engine-TS/tree/0fb09fb0506fd884d82b8fec556a822e69d25e14?tab=readme-ov-file#dependencies   * https://github.com/LostCityRS/Engine-TS/tree/0fb09fb0506fd884d82b8fec556a822e69d25e14?tab=readme-ov-file#dependencies
 +  * :?: 2026/06/17: ''npm-node24'' and higher have an error with ''hdr_histogram''
  
   su -   su -
  
-  pkg install git openjdk26-headless npm-node22 python314+  pkg install git openjdk26-headless npm-node22 python315
  
 ====== Download Source ====== ====== Download Source ======
Line 39: Line 41:
 ====== 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 '/usr/local/lib/node_modules/npm/bin/npm-cli.js' --prefix ~/'Projects/LostCity-225-EngineTS/src' install --python='/usr/local/bin/python3.14' --verbose+
  
 ====== Set-up ====== ====== Set-up ======
Line 81: Line 81:
  
 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>
Line 135: Line 138:
  
   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 ======
Line 157: Line 166:
  
 [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
  
Line 185: Line 194:
  
   * :?: 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>
Line 192: Line 202:
 foliate: 3.3.0_1 foliate: 3.3.0_1
  webkit2-gtk_60  webkit2-gtk_60
 +
 +ls '/usr/local/libexec/webkit'*'/MiniBrowser'
  
 WEBKIT_DISABLE_COMPOSITING_MODE='1' '/usr/local/libexec/webkitgtk-6.0/MiniBrowser' --dark-mode --autoplay-policy 'allow' --private --features='-PreferPageRenderingUpdatesNear60FPS' 'http://localhost:8888/rs2.cgi' WEBKIT_DISABLE_COMPOSITING_MODE='1' '/usr/local/libexec/webkitgtk-6.0/MiniBrowser' --dark-mode --autoplay-policy 'allow' --private --features='-PreferPageRenderingUpdatesNear60FPS' 'http://localhost:8888/rs2.cgi'
/usr/local/www/wiki/data/attic/games/bsd/2004scape_localhost.1780002819.txt.gz · Last modified: by Sean Rhone