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/06/22 00:25] – [Bun] Sean Rhonegames:windows:2004scape_localhost [2026/08/12 14:45] (current) Sean Rhone
Line 4: Line 4:
   * ''225''   * ''225''
   * [[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]]
 +
 +===== Media =====
 +
 +  * [[https://media.realmofespionage.xyz/index/category/2|Progress Pics]]
 +  * [[https://www.youtube.com/watch?v=RFmbHS4w9mU|Presentation Video]]
 +  * [[https://www.youtube.com/watch?v=o-HlDZREEAw|Full-install Video]]
 +  * [[https://www.youtube.com/watch?v=CpOPie2s8nI|Offline Test Video]]
  
 ===== Prerequisites ===== ===== Prerequisites =====
Line 19: Line 26:
   * https://bun.com/   * https://bun.com/
   * https://github.com/oven-sh/bun   * https://github.com/oven-sh/bun
-  * Latest [[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-baseline.zip|baseline]] for older CPU, [[https://bun.com/docs/installation#baseline-builds|more info]]))+  * Latest [[https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64.zip|bun-windows-x64.zip]]
  
   MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "%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" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" -v   MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "%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" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" -v
 +
 +==== Baseline ====
 +
 +  * Latest [[https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64-baseline.zip|bun-windows-x64-baseline.zip]]
 +  * For older CPUs ([[https://bun.com/docs/installation#baseline-builds|more info]])
 +
 +  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "%SystemRoot%\System32\curl.exe" --output "%Temp%\bun-windows-x64-baseline.zip" --location "https://github.com/oven-sh/bun/releases/latest/download/bun-windows-x64-baseline.zip" --progress-bar && "%SystemRoot%\System32\tar.exe" -xvf "%Temp%\bun-windows-x64-baseline.zip" --strip-components="1" -C "%UserProfile%\Projects\LostCity-225-EngineTS\ext" "bun-windows-x64-baseline/bun.exe" && DEL /Q "%Temp%\bun-windows-x64-baseline.zip" & "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" -v
  
 ====== Download Source ====== ====== Download Source ======
Line 38: Line 52:
  
 ====== Initial Build ====== ====== Initial Build ======
- 
-**** 
  
   "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" install   "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" install
Line 85: Line 97:
 SET "NODE=%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" SET "NODE=%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe"
  
-START "2004Scape Server" /MIN /D "%Temp%" "%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 "%UserProfile%\Projects\LostCity-225-EngineTS\src\src\app.ts"+START "2004Scape Server" /D "%Temp%" "%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 "%UserProfile%\Projects\LostCity-225-EngineTS\src\src\app.ts"
  
 SET "NODE=" SET "NODE="
Line 108: Line 120:
 "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" reset --hard "origin/225" "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" reset --hard "origin/225"
 "%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
- 
-"%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" -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" 
  
 SET "NODE=%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" SET "NODE=%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe"
Line 162: Line 170:
   * 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" & "%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" && DIR /B "%UserProfile%\Projects\LostCity-225-EngineTS\ext\June_2004_Map.jpg"+  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "%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" & DIR /B "%UserProfile%\Projects\LostCity-225-EngineTS\ext\June_2004_Map.jpg"
  
 ===== SC55_zzdenis SoundFont ===== ===== SC55_zzdenis SoundFont =====
Line 237: Line 245:
  
 === Icon === === Icon ===
- 
-**** 
  
   "%UserProfile%\Projects\LostCity-225-EngineTS\ext\favicon.ico"   "%UserProfile%\Projects\LostCity-225-EngineTS\ext\favicon.ico"
  
 ===== Start Menu ===== ===== Start Menu =====
- 
-**** 
  
   MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\2004Scape" & "%SystemRoot%\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"
Line 267: Line 271:
  
 === Icon === === Icon ===
- 
-**** 
  
   "%UserProfile%\Projects\LostCity-225-EngineTS\ext\favicon.ico"   "%UserProfile%\Projects\LostCity-225-EngineTS\ext\favicon.ico"
Line 313: Line 315:
  
 ===== Hide Bun Folder ===== ===== Hide Bun Folder =====
- 
-**** 
  
   "%SystemRoot%\System32\attrib.exe" +H "%UserProfile%\.bun"   "%SystemRoot%\System32\attrib.exe" +H "%UserProfile%\.bun"
  
 ===== Bun Commands ===== ===== Bun Commands =====
- 
-**** 
  
   "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run   "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run
  
-===== Aliases =====+===== Bun Canary =====
  
-==== Clean ====+  * https://github.com/oven-sh/bun/releases/tag/canary 
 +  * Last tested revision: ''v1.4.0-canary.1+09703da1a'' 
 +  * 2026/06/10: Failed ''bun clean'' (and ''Clean.ts'')
  
-  * ''bun run clean''+  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "%SystemRoot%\System32\curl.exe" --output "%Temp%\bun-windows-x64.zip" --location "https://github.com/oven-sh/bun/releases/download/canary/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" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" -v
  
-  "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "%UserProfile%\Projects\LostCity-225-EngineTS\src\tools\pack\Clean.ts"+===== Touchscreen TODO =====
  
-==== Setup ====+  * Needs to be batch file or command-prompt launched
  
-  * ''bun run setup''+  "%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge_proxy.exe" --kiosk --edge-kiosk-type="public-browsing" --kiosk-idle-timeout-minutes="0" --new-window --window-size="815,600" --user-agent="Android" --touch-events="enabled" --app="http://192.168.1.150:80/rs2.cgi"
  
-  "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "%UserProfile%\Projects\LostCity-225-EngineTS\src\tools\server\setup.ts" +<code>--user-agent="Android" --touch-events="enabled"</code>
- +
-==== Quickstart ==== +
- +
-  * ''bun run quickstart'' +
- +
-  "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\srcrun "%UserProfile%\Projects\LostCity-225-EngineTS\src\src\app.ts" +
- +
-===== Bun Canary ===== +
- +
-  * https://github.com/oven-sh/bun/releases/tag/canary +
-  * Last tested revision: ''v1.4.0-canary.1+09703da1a'' +
-  * 2026/06/10: Failed ''bun clean'' (and ''Clean.ts''+
- +
-  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/download/canary/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" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" -v+
  
 ===== Firewall TODO ===== ===== Firewall TODO =====
  
 ==== Block ==== ==== Block ====
- 
-**** 
  
   "%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"   "%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 ===
- 
-**** 
  
   "%SystemRoot%\System32\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)"
/usr/local/www/wiki/data/attic/games/windows/2004scape_localhost.1782102339.txt.gz · Last modified: by Sean Rhone