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/31 23:20] – [Information] 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
-  * ''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/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=''))+  * 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 =====
Line 14: Line 19:
  
   * 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 -
Line 34: Line 40:
  
 ====== 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
Line 77: 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 131: 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 153: 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 181: 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 188: 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.1780284052.txt.gz · Last modified: by Sean Rhone