User Tools

Site Tools


games:windows: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:windows:2004scape_localhost [2025/06/09 18:10] Sean Rhonegames:windows:2004scape_localhost [2025/06/19 18:26] (current) – old revision restored (2025/06/14 22:04) Sean Rhone
Line 10: Line 10:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[windows:10|Windows 10 (21H2)]]+  * [[windows;11_ltsc|Windows 11 (24H2)]]
   * [[programs;windows;git|Git]]   * [[programs;windows;git|Git]]
   * [[windows;notes;edge_tweaks|Microsoft Edge]]   * [[windows;notes;edge_tweaks|Microsoft Edge]]
Line 17: Line 17:
  
   * [[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]]
-  * [[games;windows;2004scape_localhost_node|Node.js notes]] 
  
 ====== Dependencies ====== ====== Dependencies ======
Line 33: Line 32:
  
   * [[https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64.zip|bun-windows-x64.zip]]   * [[https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64.zip|bun-windows-x64.zip]]
-  * 2025/06/05: ''bun'' has an odd ''cdn'' TCP connection and higher RAM ([[https://github.com/LostCityRS/Engine-TS/issues/7|#7]])+  * [[https://github.com/oven-sh/bun/releases|oven-sh/bun]]
  
   MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext"   MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext"
Line 40: Line 39:
  
   DIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe"   DIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe"
 +
 +===== Node.js =====
 +
 +  * [[https://nodejs.org/download/release/latest/win-x64/node.exe|node.exe]]
 +  * [[https://nodejs.org/download/release/latest/|nodejs.org]] latest
 +
 +  "%UserProfile%\Projects\LostCity-225-EngineTS\ext\node.exe"
 +
 +  DIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext\node.exe"
  
 ====== Download Source ====== ====== Download Source ======
Line 66: Line 74:
  
   "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "setup"   "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "setup"
 +
 +====== Settings ======
 +
 +  * Last commit: [[https://github.com/LostCityRS/Engine-TS/commit/b582003ba82c5e57e5bf12bc1cf9fc233dac3018|Mar 27, 2025]] ''b582003''
 +  * [[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 "%UserProfile%\Projects\LostCity-225-EngineTS\conf"
 +
 +  "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\conf\localhost.env"
 +
 +<code>
 +NODE_STAFF=Test
 +NODE_DEBUGPROC_CHAR=:
 +NODE_CLIENT_ROUTEFINDER=false
 +
 +# End</code>
  
 ====== Scripts ====== ====== Scripts ======
Line 82: Line 107:
 TITLE 2004Scape - Server TITLE 2004Scape - Server
  
-"%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "quickstart"+SET "NODE=%UserProfile%\Projects\LostCity-225-EngineTS\ext\node.exe" 
 + 
 +"%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --env-file="%UserProfile%\Projects\LostCity-225-EngineTS\conf\localhost.env" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "quickstart"
  
 :: End</code> :: End</code>
Line 102: Line 129:
 "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" reset --hard "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" reset --hard
 "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" pull origin "225" --rebase "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" pull origin "225" --rebase
 +
 +SET "NODE=%UserProfile%\Projects\LostCity-225-EngineTS\ext\node.exe"
 +SET "PATH=%PATH%;%UserProfile%\Projects\LostCity-225-EngineTS\ext"
  
 "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "clean" "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "clean"
Line 183: Line 213:
  
 # End</code> # End</code>
 +
 +  "%ProgramFiles%\Git\bin\sh.exe" -- "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-autologin-sed.sh"
  
 ==== Update Script ==== ==== Update Script ====
Line 320: Line 352:
  
   "explorer.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players"   "explorer.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players"
- 
-====== TODOs ====== 
- 
-===== Settings Test ===== 
- 
-  * Last commit: [[https://github.com/LostCityRS/Engine-TS/commit/b582003ba82c5e57e5bf12bc1cf9fc233dac3018|Mar 27, 2025]] ''b582003'' 
-  * [[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 "%UserProfile%\Projects\LostCity-225-EngineTS\conf" 
- 
-  "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\conf\localhost.env" 
- 
-<code> 
-NODE_STAFF=Test 
-NODE_DEBUGPROC_CHAR=: 
-NODE_CLIENT_ROUTEFINDER=false 
- 
-# End</code> 
- 
-  "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" --env-file="%UserProfile%\Projects\LostCity-225-EngineTS\conf\localhost.env" run "quickstart" 
- 
-  "%ProgramFiles%\nodejs\node.exe" --env-file="%UserProfile%\Projects\LostCity-225-EngineTS\conf\localhost.env" "%ProgramFiles%\nodejs\node_modules\npm\bin\npm-cli.js" --prefix "%UserProfile%\Projects\LostCity-225-EngineTS\src" run "quickstart" 
- 
-===== Save NAS ===== 
- 
-  * Batch to pull non-old ''tar.gz'' from NAS to client/PC ''Downloads'' 
-  * Add flat-file sync to NAS in Save batch (no auto tar.gz); above pull straight to ''main'' from NAS 
- 
-===== Node ===== 
- 
-  * ''node-v22.16.0-x64.msi'' 
- 
-  "%ProgramFiles%\Git\bin\git.exe" clone --rev "0fb09fb0506fd884d82b8fec556a822e69d25e14" --depth "1" --recurse-submodules "https://github.com/LostCityRS/Engine-TS.git" "%UserProfile%\Projects\LostCity-225-EngineTS\src" 
  
/srv/www/wiki/data/attic/games/windows/2004scape_localhost.1749507016.txt.gz · Last modified: by Sean Rhone