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 [2026/02/13 03:02] – [Bun] Sean Rhonegames:windows:2004scape_localhost [2026/03/06 00:32] (current) – [Download Sources] Sean Rhone
Line 38: Line 38:
   MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & DEL /Q "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" "%Temp%\bun-windows-x64.zip" & "%SystemRoot%\System32\curl.exe" --output "%Temp%\bun-windows-x64.zip" --location "https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64.zip" --progress-bar && "%SystemRoot%\System32\tar.exe" -xvf "%Temp%\bun-windows-x64.zip" --strip-components="1" -C "%UserProfile%\Projects\LostCity-225-EngineTS\ext" "bun-windows-x64/bun.exe" && DEL /Q "%Temp%\bun-windows-x64.zip" & "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" -v   MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & DEL /Q "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" "%Temp%\bun-windows-x64.zip" & "%SystemRoot%\System32\curl.exe" --output "%Temp%\bun-windows-x64.zip" --location "https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64.zip" --progress-bar && "%SystemRoot%\System32\tar.exe" -xvf "%Temp%\bun-windows-x64.zip" --strip-components="1" -C "%UserProfile%\Projects\LostCity-225-EngineTS\ext" "bun-windows-x64/bun.exe" && DEL /Q "%Temp%\bun-windows-x64.zip" & "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" -v
  
-====== Download Sources ======+====== Download Source ======
  
 ===== Engine-TS ===== ===== Engine-TS =====
Line 70: Line 70:
   * [[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]])   * [[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"+  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\conf" & "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\conf\localhost.env"
  
 <code> <code>
Line 85: Line 85:
   MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\scripts"   MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\scripts"
  
-  "explorer.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts"+  "%SystemRoot%\explorer.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts"
  
 ===== Server Start ===== ===== Server Start =====
Line 91: Line 91:
   * http://localhost:80/rs2.cgi   * http://localhost:80/rs2.cgi
  
-  "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start.bat"+  "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start.bat"
  
 <code> <code>
Line 113: Line 113:
 ===== Server Update ===== ===== Server Update =====
  
-  "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat"+  "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat"
  
 <code> <code>
Line 128: Line 128:
  
 DEL /Q "%Temp%\bun-windows-x64.zip" DEL /Q "%Temp%\bun-windows-x64.zip"
-"curl.exe" --output "%Temp%\bun-windows-x64.zip" --location "https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64.zip" --progress-bar+"%SystemRoot%\System32\curl.exe" --output "%Temp%\bun-windows-x64.zip" --location "https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64.zip" --progress-bar
 DEL /Q "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" DEL /Q "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe"
-"tar.exe" -xf "%Temp%\bun-windows-x64.zip" --strip-components="1" -C "%UserProfile%\Projects\LostCity-225-EngineTS\ext" "bun-windows-x64/bun.exe"+"%SystemRoot%\System32\tar.exe" -xf "%Temp%\bun-windows-x64.zip" --strip-components="1" -C "%UserProfile%\Projects\LostCity-225-EngineTS\ext" "bun-windows-x64/bun.exe"
 DEL /Q "%Temp%\bun-windows-x64.zip" DEL /Q "%Temp%\bun-windows-x64.zip"
  
Line 142: Line 142:
 SET "NODE=" SET "NODE="
  
-MSG %USERNAME% /TIME:"2" "2004Scape localhost server update complete"+:: Extras 
 + 
 +:: Extras End 
 + 
 +"%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "2004Scape localhost server update complete"
  
 :: End</code> :: End</code>
Line 150: Line 154:
 ===== Save Data Back-up ===== ===== Save Data Back-up =====
  
-  "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-save-backup.bat"+  "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-save-backup.bat"
  
 <code> <code>
Line 157: Line 161:
 CD "%Temp%" CD "%Temp%"
  
-"tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-2004Scape-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players" "localhost"+"%SystemRoot%\System32\tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-2004Scape-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players" "localhost"
  
-MSG %USERNAME% /TIME:"2" "2004Scape Save Data Backed-up Successfully to Downloads"+"%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "2004Scape Save Data Backed-up Successfully to Downloads"
  
 :: End</code> :: End</code>
Line 172: Line 176:
   * Copies to ''src\public\favicon.ico'' for browser windows to show favicon   * Copies to ''src\public\favicon.ico'' for browser windows to show favicon
  
-  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & DEL /Q "%Temp%\2004Scape-favicon.ico" "%UserProfile%\Projects\LostCity-225-EngineTS\ext\favicon.ico" "%UserProfile%\Projects\LostCity-225-EngineTS\src\public\favicon.ico" & "curl.exe" --output "%Temp%\2004Scape-favicon.ico" --location "https://raw.githubusercontent.com/2004Scape/Server/7b0f1ec303dc1f76c7b29a2fff83b5797dafa01b/public/favicon.ico" && "certutil.exe" -hashfile "%Temp%\2004Scape-favicon.ico" SHA384 | FIND "c70ef71357951b3c1895cf205746eb93959cf8031d1f83b6f43d8a9efbb272d79ed6b4a64fb1c39f6898ed56601bfc63" && MOVE /Y "%Temp%\2004Scape-favicon.ico" "%UserProfile%\Projects\LostCity-225-EngineTS\ext\favicon.ico" && COPY /Y "%UserProfile%\Projects\LostCity-225-EngineTS\ext\favicon.ico" "%UserProfile%\Projects\LostCity-225-EngineTS\src\public\favicon.ico"+  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & DEL /Q "%Temp%\2004Scape-favicon.ico" "%UserProfile%\Projects\LostCity-225-EngineTS\ext\favicon.ico" "%UserProfile%\Projects\LostCity-225-EngineTS\src\public\favicon.ico" & "%SystemRoot%\System32\curl.exe" --output "%Temp%\2004Scape-favicon.ico" --location "https://raw.githubusercontent.com/2004Scape/Server/7b0f1ec303dc1f76c7b29a2fff83b5797dafa01b/public/favicon.ico" --progress-bar && "%SystemRoot%\System32\certutil.exe" -hashfile "%Temp%\2004Scape-favicon.ico"SHA384"%SystemRoot%\System32\find.exe" "c70ef71357951b3c1895cf205746eb93959cf8031d1f83b6f43d8a9efbb272d79ed6b4a64fb1c39f6898ed56601bfc63" && MOVE /Y "%Temp%\2004Scape-favicon.ico" "%UserProfile%\Projects\LostCity-225-EngineTS\ext\favicon.ico" && COPY /Y "%UserProfile%\Projects\LostCity-225-EngineTS\ext\favicon.ico" "%UserProfile%\Projects\LostCity-225-EngineTS\src\public\favicon.ico"
  
 ===== Map ===== ===== Map =====
Line 178: Line 182:
   * 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]])   * 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]])
  
-  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & DEL /Q "%Temp%\June_2004_Map.jpg" "%UserProfile%\Projects\LostCity-225-EngineTS\ext\June_2004_Map.jpg" & "curl.exe" --output "%Temp%\June_2004_Map.jpg" --location "https://runescape.wiki/images/June_2004_Map.jpg?35d17" && "certutil.exe" -hashfile "%Temp%\June_2004_Map.jpg" SHA384 | FIND "abfdfe4597975addbb9d79d2cce2e56f0054f2742f351bd9dc700f55e91157e6c2142749f113927b027ed42efb8ad833" && MOVE /Y "%Temp%\June_2004_Map.jpg" "%UserProfile%\Projects\LostCity-225-EngineTS\ext\June_2004_Map.jpg" +  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & DEL /Q "%Temp%\June_2004_Map.jpg" "%UserProfile%\Projects\LostCity-225-EngineTS\ext\June_2004_Map.jpg" & "%SystemRoot%\System32\curl.exe" --output "%Temp%\June_2004_Map.jpg" --location "https://runescape.wiki/images/June_2004_Map.jpg?35d17" --progress-bar && "%SystemRoot%\System32\certutil.exe" -hashfile "%Temp%\June_2004_Map.jpg"SHA384| "%SystemRoot%\System32\find.exe" "abfdfe4597975addbb9d79d2cce2e56f0054f2742f351bd9dc700f55e91157e6c2142749f113927b027ed42efb8ad833" && MOVE /Y "%Temp%\June_2004_Map.jpg" "%UserProfile%\Projects\LostCity-225-EngineTS\ext\June_2004_Map.jpg"
- +
-==== Chaos Altar ==== +
- +
-  * https://oldschool.runescape.wiki/w/File:Chaos_Altar_map.png +
- +
-  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & DEL /Q "%Temp%\Chaos_Altar_map.png" "%UserProfile%\Projects\LostCity-225-EngineTS\ext\Chaos_Altar_map.png" & "curl.exe" --output "%Temp%\Chaos_Altar_map.png" --location "https://oldschool.runescape.wiki/images/Chaos_Altar_map.png?71a3b" && "certutil.exe" -hashfile "%Temp%\Chaos_Altar_map.png" SHA384 | FIND "64dc7c294ec5978bcfb3865d6a65dccb1e35e8964b65c1bc6ea98c228a1663924a297093952c1bd57c63c0cb4a4b7b45" && MOVE /Y "%Temp%\Chaos_Altar_map.png" "%UserProfile%\Projects\LostCity-225-EngineTS\ext\Chaos_Altar_map.png"+
  
 ===== SC55_zzdenis SoundFont ===== ===== SC55_zzdenis SoundFont =====
Line 193: Line 191:
   * ''298,185,428 SC55_zzdenis_v0.5.sf2''   * ''298,185,428 SC55_zzdenis_v0.5.sf2''
  
-  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "certutil.exe" -hashfile "%UserProfile%\Downloads\SC55_zzdenis_v0.5.sf2" SHA384 | FIND "f386f638777072fc220e39afbd7efcd227ca2bfcf13403bf47fbb2e2b8f4d151239710cc36c8530a75c3b4c3f55066b7" && MOVE /Y "%UserProfile%\Downloads\SC55_zzdenis_v0.5.sf2" "%UserProfile%\Projects\LostCity-225-EngineTS\ext"+  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "%SystemRoot%\System32\certutil.exe" -hashfile "%UserProfile%\Downloads\SC55_zzdenis_v0.5.sf2"SHA384"%SystemRoot%\System32\find.exe" "f386f638777072fc220e39afbd7efcd227ca2bfcf13403bf47fbb2e2b8f4d151239710cc36c8530a75c3b4c3f55066b7" && MOVE /Y "%UserProfile%\Downloads\SC55_zzdenis_v0.5.sf2" "%UserProfile%\Projects\LostCity-225-EngineTS\ext"
  
   DEL /Q "%UserProfile%\Projects\LostCity-225-EngineTS\src\public\client\SCC1_Florestan.sf2" && MKLINK "%UserProfile%\Projects\LostCity-225-EngineTS\src\public\client\SCC1_Florestan.sf2" "%UserProfile%\Projects\LostCity-225-EngineTS\ext\SC55_zzdenis_v0.5.sf2"   DEL /Q "%UserProfile%\Projects\LostCity-225-EngineTS\src\public\client\SCC1_Florestan.sf2" && MKLINK "%UserProfile%\Projects\LostCity-225-EngineTS\src\public\client\SCC1_Florestan.sf2" "%UserProfile%\Projects\LostCity-225-EngineTS\ext\SC55_zzdenis_v0.5.sf2"
Line 201: Line 199:
 ==== Update Script ==== ==== Update Script ====
  
-  * Above ''MSG'' line+  * Within '':: Extras'' section
  
-  "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat"+  "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat"
  
 <code> <code>
Line 216: Line 214:
   * Modifies ''client.js'' to have pre-filled username/password   * Modifies ''client.js'' to have pre-filled username/password
  
-  "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-autologin-sed.sh"+  "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-autologin-sed.sh"
  
 <code> <code>
Line 231: Line 229:
 ==== Update Script ==== ==== Update Script ====
  
-  * Above ''MSG'' line+  * Within '':: Extras'' section
  
-  "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat"+  "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat"
  
 <code> <code>
Line 266: Line 264:
 **** ****
  
-  MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\2004Scape" & "explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\2004Scape"+  MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\2004Scape" & "%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\2004Scape"
  
 ==== Server Start ==== ==== Server Start ====
Line 311: Line 309:
  
   World Map   World Map
- 
-==== Chaos Altar Map ==== 
- 
-  "%UserProfile%\Projects\LostCity-225-EngineTS\ext\Chaos_Altar_map.png" 
- 
-  Chaos Altar Map 
  
 ==== Install Notes ==== ==== Install Notes ====
Line 330: Line 322:
   * ''data\players\localhost\espionage724.sav''   * ''data\players\localhost\espionage724.sav''
  
-  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players\localhost" & "explorer.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players\localhost"+  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players\localhost" & "%SystemRoot%\explorer.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players\localhost"
  
 ===== Firewall TODO ===== ===== Firewall TODO =====
  
-==== Bun ====+==== Block ====
  
 **** ****
  
-  "netsh.exe" advfirewall firewall add rule name="2004Scape localhost Server (bun.exe)" dir="in" action="block" profile="any" program="%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe"+  "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="2004Scape localhost Server (bun.exe)" dir="in" action="block" profile="any" program="%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe"
  
 === Delete Rule === === Delete Rule ===
Line 344: Line 336:
 **** ****
  
-  "netsh.exe" advfirewall firewall delete rule name="2004Scape localhost Server (bun.exe)"+  "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="2004Scape localhost Server (bun.exe)"
  
 === Allow LAN === === Allow LAN ===
Line 350: Line 342:
   * Needs above Bun block rule deleted first   * Needs above Bun block rule deleted first
  
-  "netsh.exe" advfirewall firewall add rule name="2004Scape localhost Server (bun.exe)" dir="in" action="allow" profile="any" program="%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" protocol="tcp" localport="80" remoteip="localsubnet"+  "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="2004Scape localhost Server (bun.exe)" dir="in" action="allow" profile="any" program="%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" protocol="tcp" localport="80" remoteip="localsubnet"
  
/usr/local/www/wiki/data/attic/games/windows/2004scape_localhost.1770969739.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki