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/03/04 19:46] – [Set-up] Sean Rhonegames:bsd:2004scape_localhost [2026/03/05 08:04] (current) – [Information] Sean Rhone
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-  * Lost City ''225'' Server + Client+  * Lost City Server + Client
   * [[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; no update script)) ((this is before Special Attacks and probably a noteworthy version milestone before ''245''))+  * 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))
  
 ===== Media ===== ===== Media =====
Line 12: Line 12:
 ===== 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/blob/225/README.md#dependencies+  * https://github.com/LostCityRS/Engine-TS/tree/0fb09fb0506fd884d82b8fec556a822e69d25e14?tab=readme-ov-file#dependencies
  
   su -   su -
  
-  pkg install git openjdk25-jre-headless npm-node25 python314+  pkg install git openjdk25-headless npm-node25 python314
  
 ====== Download Source ====== ====== Download Source ======
Line 26: Line 26:
 ===== Engine-TS ===== ===== Engine-TS =====
  
-  * https://github.com/LostCityRS/Engine-TS/commits/225/ 
   * https://github.com/LostCityRS/Engine-TS/commit/0fb09fb0506fd884d82b8fec556a822e69d25e14   * https://github.com/LostCityRS/Engine-TS/commit/0fb09fb0506fd884d82b8fec556a822e69d25e14
  
Line 33: Line 32:
 ===== Content ===== ===== Content =====
  
-  * https://github.com/LostCityRS/Content/commits/225/ 
   * https://github.com/LostCityRS/Content/commit/69a88f534e9f43dcfe651d62467f9760ad021428   * https://github.com/LostCityRS/Content/commit/69a88f534e9f43dcfe651d62467f9760ad021428
  
Line 74: Line 72:
 #!/bin/sh #!/bin/sh
  
-export JAVA_HOME='/usr/local/openjdk25'+export JAVA_HOME='/usr/local/openjdk25-headless'
 export _JAVA_OPTIONS='--sun-misc-unsafe-memory-access=allow' export _JAVA_OPTIONS='--sun-misc-unsafe-memory-access=allow'
  
 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'
 +unset '_JAVA_OPTIONS'
  
 # End</code> # End</code>
Line 102: Line 103:
 ===== Icon ===== ===== Icon =====
  
-  * https://raw.githubusercontent.com/2004Scape/Server/7b0f1ec303dc1f76c7b29a2fff83b5797dafa01b/public/favicon.ico+  * https://raw.githubusercontent.com/2004Scape/Server/7b0f1ec303dc1f76c7b29a2fff83b5797dafa01b/public/favicon.ico ([[https://drive.google.com/file/d/1T_v-_KVylhmrb7JKWElaYqhPiKbia8Jr/view?usp=sharing|mirror]]) 
 +  * TODO: Copy to ''src\public\favicon.ico'' for browser windows to show favicon
  
   rm -f '/tmp/2004Scape-favicon.ico' && mkdir -p ~/'Projects/LostCity-225-EngineTS/ext' && wget -O '/tmp/2004Scape-favicon.ico' 'https://raw.githubusercontent.com/2004Scape/Server/7b0f1ec303dc1f76c7b29a2fff83b5797dafa01b/public/favicon.ico' && sha384sum '/tmp/2004Scape-favicon.ico' | grep 'c70ef71357951b3c1895cf205746eb93959cf8031d1f83b6f43d8a9efbb272d79ed6b4a64fb1c39f6898ed56601bfc63' > '/dev/null' && mv -f '/tmp/2004Scape-favicon.ico' ~/'Projects/LostCity-225-EngineTS/ext/favicon.ico' && ls ~/'Projects/LostCity-225-EngineTS/ext/favicon.ico'   rm -f '/tmp/2004Scape-favicon.ico' && mkdir -p ~/'Projects/LostCity-225-EngineTS/ext' && wget -O '/tmp/2004Scape-favicon.ico' 'https://raw.githubusercontent.com/2004Scape/Server/7b0f1ec303dc1f76c7b29a2fff83b5797dafa01b/public/favicon.ico' && sha384sum '/tmp/2004Scape-favicon.ico' | grep 'c70ef71357951b3c1895cf205746eb93959cf8031d1f83b6f43d8a9efbb272d79ed6b4a64fb1c39f6898ed56601bfc63' > '/dev/null' && mv -f '/tmp/2004Scape-favicon.ico' ~/'Projects/LostCity-225-EngineTS/ext/favicon.ico' && ls ~/'Projects/LostCity-225-EngineTS/ext/favicon.ico'
Line 108: Line 110:
 ===== Map ===== ===== Map =====
  
-  * https://runescape.wiki/w/World_map#/media/File:June_2004_Map.jpg +  * https://runescape.wiki/w/World_map#/media/File:June_2004_Map.jpg ([[https://drive.google.com/file/d/1V_nMvkDwE__dtokzG0xaytUwrqOtGKMO/view?usp=sharing|mirror]])
-  * TODOChaos altar map+
  
   rm -f '/tmp/June_2004_Map.jpg' && mkdir -p ~/'Projects/LostCity-225-EngineTS/ext' && wget -O '/tmp/June_2004_Map.jpg' 'https://runescape.wiki/images/June_2004_Map.jpg?35d17' --user-agent='script' && sha384sum '/tmp/June_2004_Map.jpg' | grep 'abfdfe4597975addbb9d79d2cce2e56f0054f2742f351bd9dc700f55e91157e6c2142749f113927b027ed42efb8ad833' > '/dev/null' && mv -f '/tmp/June_2004_Map.jpg' ~/'Projects/LostCity-225-EngineTS/ext/June_2004_Map.jpg' && ls ~/'Projects/LostCity-225-EngineTS/ext/June_2004_Map.jpg'   rm -f '/tmp/June_2004_Map.jpg' && mkdir -p ~/'Projects/LostCity-225-EngineTS/ext' && wget -O '/tmp/June_2004_Map.jpg' 'https://runescape.wiki/images/June_2004_Map.jpg?35d17' --user-agent='script' && sha384sum '/tmp/June_2004_Map.jpg' | grep 'abfdfe4597975addbb9d79d2cce2e56f0054f2742f351bd9dc700f55e91157e6c2142749f113927b027ed42efb8ad833' > '/dev/null' && mv -f '/tmp/June_2004_Map.jpg' ~/'Projects/LostCity-225-EngineTS/ext/June_2004_Map.jpg' && ls ~/'Projects/LostCity-225-EngineTS/ext/June_2004_Map.jpg'
Line 117: Line 118:
   * https://www.doomworld.com/forum/topic/129928-new-sc55-soundfont-266mb-all-new-441k-samples/   * https://www.doomworld.com/forum/topic/129928-new-sc55-soundfont-266mb-all-new-441k-samples/
   * https://drive.google.com/file/d/1wdYpwoCka8r7ZuIzPn1CHy13_4aP9oSq/view?usp=sharing   * https://drive.google.com/file/d/1wdYpwoCka8r7ZuIzPn1CHy13_4aP9oSq/view?usp=sharing
 +  * https://lostcity.rs/t/different-soundfonts-midi/4861 ([[https://www.youtube.com/watch?v=mVPLVDXJjUY|video]])
   * ''SC55_zzdenis_v0.5.sf2''   * ''SC55_zzdenis_v0.5.sf2''
  
Line 126: Line 128:
  
   * [[https://github.com/2004Scape/Server/issues/1498|#1498]]   * [[https://github.com/2004Scape/Server/issues/1498|#1498]]
 +  * Modifies ''client.js'' to have pre-filled username/password
  
   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'
Line 172: Line 175:
  
   mkdir -p ~/'Projects/LostCity-225-EngineTS/src/data/players/localhost' && gio open ~/'Projects/LostCity-225-EngineTS/src/data/players/localhost'   mkdir -p ~/'Projects/LostCity-225-EngineTS/src/data/players/localhost' && gio open ~/'Projects/LostCity-225-EngineTS/src/data/players/localhost'
- 
  
 ====== TODO ====== ====== TODO ======
  
 ===== Standalone Browser ===== ===== Standalone Browser =====
 +
 +  * :?: 2026/03/04: ''webkit2-gtk_40'', ''webkit2-gtk_41'', ''webkit2-gtk_60'', and ''surf'' all froze during loading resources/before log-in
  
 <code> <code>
Line 185: Line 189:
  webkit2-gtk_60  webkit2-gtk_60
  
-'/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/libexec/webkit2gtk-4.1/MiniBrowser' --dark-mode --autoplay-policy 'allow' --private --features='-PreferPageRenderingUpdatesNear60FPS' 'http://localhost:8888/rs2.cgi'+
  
-'/usr/local/libexec/webkit2gtk-4.0/MiniBrowser' --dark-mode --autoplay-policy 'allow' --private --features='-PreferPageRenderingUpdatesNear60FPS' 'http://localhost:8888/rs2.cgi'+WEBKIT_DISABLE_COMPOSITING_MODE='1' '/usr/local/libexec/webkit2gtk-4.1/MiniBrowser' --dark-mode --autoplay-policy 'allow' --private --features='-PreferPageRenderingUpdatesNear60FPS' 'http://localhost:8888/rs2.cgi'
  
 --dark-mode --autoplay-policy 'allow' --private --features='-PreferPageRenderingUpdatesNear60FPS' 'http://localhost:8888/rs2.cgi' --dark-mode --autoplay-policy 'allow' --private --features='-PreferPageRenderingUpdatesNear60FPS' 'http://localhost:8888/rs2.cgi'
/usr/local/www/wiki/data/attic/games/bsd/2004scape_localhost.1772671604.txt.gz · Last modified: by Sean Rhone