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:01] 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 32: 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 42: Line 42:
 ===== Node.js ===== ===== Node.js =====
  
-  * https://nodejs.org/en/download +  * [[https://nodejs.org/download/release/latest/win-x64/node.exe|node.exe]] 
-  * Last tested''node-v22.16.0-x64.msi''+  * [[https://nodejs.org/download/release/latest/|nodejs.org]] latest
  
-  * ''[x]'' Node.js runtime +  "%UserProfile%\Projects\LostCity-225-EngineTS\ext\node.exe"
-  * ''[ ]'' corepack manager +
-  * ''[x]'' npm package manager +
-  * ''[ ]'' Online documentation shortcuts +
-  * ''[~]'' Add to PATH +
-    * ''[x]'' Node.js and npm +
-    * ''[ ]'' npm modules+
  
-  * ''[ ]'' Automatically install the necessary tools.+  DIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext\node.exe"
  
 ====== Download Source ====== ====== Download Source ======
Line 62: Line 56:
  
   "%ProgramFiles%\Git\bin\git.exe" clone --branch "225" --depth "1" --recurse-submodules "https://github.com/LostCityRS/Engine-TS.git" "%UserProfile%\Projects\LostCity-225-EngineTS\src"   "%ProgramFiles%\Git\bin\git.exe" clone --branch "225" --depth "1" --recurse-submodules "https://github.com/LostCityRS/Engine-TS.git" "%UserProfile%\Projects\LostCity-225-EngineTS\src"
- 
-  "%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" 
  
 ===== Content ===== ===== Content =====
Line 73: Line 65:
 ====== Initial Build ====== ====== Initial Build ======
  
-  "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" install+****
  
-  CD "%UserProfile%\Projects\LostCity-225-EngineTS\src" && "%ProgramFiles%\nodejs\node.exe" "%ProgramFiles%\nodejs\node_modules\npm\bin\npm-cli.js" install --verbose+  "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" install
  
 ====== Set-up ====== ====== Set-up ======
Line 83: Line 75:
   "%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"
  
-  "%ProgramFiles%\nodejs\node.exe" "%ProgramFiles%\nodejs\node_modules\npm\bin\npm-cli.js--prefix "%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 100: 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"
  
-"%ProgramFiles%\nodejs\node.exe" "%ProgramFiles%\nodejs\node_modules\npm\bin\npm-cli.js" --prefix "%UserProfile%\Projects\LostCity-225-EngineTS\src" run "quickstart"+"%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 117: Line 124:
 TITLE 2004Scape Updater TITLE 2004Scape Updater
  
-::"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\src" reset --hard +"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\src" reset --hard 
-::"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\src" pull origin "225" --rebase+"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\src" pull origin "225" --rebase
  
 "%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
  
-::"%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "clean+SET "NODE=%UserProfile%\Projects\LostCity-225-EngineTS\ext\node.exe" 
-::"%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" install +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 "setup"+
  
-"%ProgramFiles%\nodejs\node.exe" "%ProgramFiles%\nodejs\node_modules\npm\bin\npm-cli.js" --prefix "%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" 
-CD "%UserProfile%\Projects\LostCity-225-EngineTS\src" +"%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" install 
-"%ProgramFiles%\nodejs\node.exe" "%ProgramFiles%\nodejs\node_modules\npm\bin\npm-cli.js" install +"%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "setup"
-"%ProgramFiles%\nodejs\node.exe" "%ProgramFiles%\nodejs\node_modules\npm\bin\npm-cli.js" --prefix "%UserProfile%\Projects\LostCity-225-EngineTS\src" run "setup"+
  
 :: End</code> :: End</code>
Line 144: Line 149:
  
 "tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-2004Scape-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players" "main" "tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-2004Scape-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players" "main"
- 
-::COPY /Y "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players\main\*.sav" "\\Alira\NAS\Games\Saves\2004Scape" 
  
 :: End</code> :: End</code>
Line 210: 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 347: 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.1749506484.txt.gz · Last modified: by Sean Rhone