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/11/12 00:35] – 225 (WIP) Sean Rhonegames:windows:2004scape_localhost [2025/12/14 00:42] (current) – [Extras] Sean Rhone
Line 3: Line 3:
   * Lost City ''225'' Server + Client   * Lost City ''225'' 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]]
- 
-  * :!: WIP 
  
 ===== Media ===== ===== Media =====
Line 23: Line 21:
 ===== Java ===== ===== Java =====
  
-  * https://learn.microsoft.com/en-us/java/openjdk/download#openjdk-25+  * https://aka.ms/download-jdk/microsoft-jdk-25-windows-x64.msi
   * Last tested: ''microsoft-jdk-25.0.1-windows-x64.msi''   * Last tested: ''microsoft-jdk-25.0.1-windows-x64.msi''
  
Line 30: Line 28:
 ===== Bun ===== ===== Bun =====
  
-  * [[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#cpu-requirements-and-baseline-builds|more info]]))+  * [[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]]))
   * [[https://github.com/oven-sh/bun/releases|oven-sh/bun]]   * [[https://github.com/oven-sh/bun/releases|oven-sh/bun]]
  
Line 89: Line 87:
  
 ====== Scripts ====== ====== Scripts ======
 +
 +  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\scripts"
 +
 +  "explorer.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts"
  
 ===== Server Start ===== ===== Server Start =====
  
-  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\scripts""notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start.bat"+  "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start.bat"
  
 <code> <code>
Line 102: Line 104:
 SET "_JAVA_OPTIONS=--sun-misc-unsafe-memory-access=allow" SET "_JAVA_OPTIONS=--sun-misc-unsafe-memory-access=allow"
  
-"%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"+"%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" || exit "1"
  
 :: End</code> :: End</code>
  
   "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start.bat"   "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start.bat"
 +
 +==== Desktop Launcher ====
 +
 +  "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start-desktop.bat"
 +
 +<code>
 +@echo off
 +
 +START "" /MIN "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start.bat"
 +
 +:: End</code>
 +
 +  "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start-desktop.bat"
  
 ===== Server Update ===== ===== Server Update =====
  
-  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\scripts""notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat"+  "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat"
  
 <code> <code>
Line 117: Line 132:
 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 "origin/225"
 "%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 "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
  
Line 136: Line 151:
 ===== Save Data Back-up ===== ===== Save Data Back-up =====
  
-  MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\scripts""notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-save-backup.bat"+  "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-save-backup.bat"
  
 <code> <code>
Line 148: Line 163:
  
 ====== Extras ====== ====== Extras ======
 +
 +  * TODO: ''curl.exe''
  
 ===== Map ===== ===== Map =====
Line 162: Line 179:
  
   "%UserProfile%\Projects\LostCity-225-EngineTS\ext\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"
  
 ===== Save Back to Downloads ===== ===== Save Back to Downloads =====
Line 205: Line 224:
 #!/bin/sh #!/bin/sh
  
-sed -i -e 's/username="";password=""/username="Espionage724";password="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'
  
 # End</code> # End</code>
Line 228: Line 247:
 ==== Server Start ==== ==== Server Start ====
  
-  "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start.bat"+  "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start-desktop.bat"
  
   2004Scape Server   2004Scape Server
Line 234: Line 253:
 ==== Client ==== ==== Client ====
  
-  "%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge_proxy.exe" --proxy-server="localhost:80" --kiosk --edge-kiosk-type="public-browsing" --new-window --window-size="820,575" --app="http://localhost:80/rs2.cgi"+  "%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge_proxy.exe" --proxy-server="localhost:80" --kiosk --edge-kiosk-type="public-browsing" --new-window --window-size="815,600" --app="http://localhost:80/rs2.cgi"
  
   2004Scape   2004Scape
Line 252: Line 271:
 ==== Server Start ==== ==== Server Start ====
  
-  "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start.bat"+  "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start-desktop.bat"
  
   Server Start   Server Start
Line 258: Line 277:
 ==== Client ==== ==== Client ====
  
-  "%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge_proxy.exe" --proxy-server="localhost:80" --kiosk --edge-kiosk-type="public-browsing" --new-window --window-size="820,575" --app="http://localhost:80/rs2.cgi"+  "%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge_proxy.exe" --proxy-server="localhost:80" --kiosk --edge-kiosk-type="public-browsing" --new-window --window-size="815,600" --app="http://localhost:80/rs2.cgi"
  
   2004Scape (localhost)   2004Scape (localhost)
/srv/www/wiki/data/attic/games/windows/2004scape_localhost.1762925709.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