| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:windows:2004scape_localhost [2025/11/12 00:10] – [Server Start] Sean Rhone | games:windows:2004scape_localhost [2025/12/14 00:42] (current) – [Extras] Sean Rhone |
|---|
| ====== Information ====== | ====== Information ====== |
| |
| * Lost City ''245'' 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]] |
| * | |
| * :!: '245' WIP | |
| |
| ===== Media ===== | ===== Media ===== |
| ====== Dependencies ====== | ====== Dependencies ====== |
| |
| * https://github.com/LostCityRS/Engine-TS/blob/245.2/README.md#dependencies | * https://github.com/LostCityRS/Engine-TS/blob/225/README.md#dependencies |
| |
| ===== 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'' |
| |
| ===== 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]] |
| |
| MKDIR "%UserProfile%\Projects\LostCity-245-EngineTS\ext" & "explorer.exe" "%UserProfile%\Projects\LostCity-245-EngineTS\ext" | MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "explorer.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\ext" |
| |
| DIR "%UserProfile%\Projects\LostCity-245-EngineTS\ext\bun.exe" | DIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" |
| |
| ===== Node.js ===== | ===== Node.js ===== |
| * [[https://nodejs.org/download/release/latest/win-x64/node.exe|node.exe]] | * [[https://nodejs.org/download/release/latest/win-x64/node.exe|node.exe]] |
| |
| MKDIR "%UserProfile%\Projects\LostCity-245-EngineTS\ext" & "explorer.exe" "%UserProfile%\Projects\LostCity-245-EngineTS\ext" | MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext" & "explorer.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\ext" |
| |
| DIR "%UserProfile%\Projects\LostCity-245-EngineTS\ext\node.exe" | DIR "%UserProfile%\Projects\LostCity-225-EngineTS\ext\node.exe" |
| |
| ====== Download Source ====== | ====== Download Source ====== |
| ===== Engine-TS ===== | ===== Engine-TS ===== |
| |
| * https://github.com/LostCityRS/Engine-TS/commits/245.2/ | * https://github.com/LostCityRS/Engine-TS/commits/225/ |
| |
| "%ProgramFiles%\Git\bin\git.exe" clone --branch "245.2" --depth "1" --recurse-submodules "https://github.com/LostCityRS/Engine-TS.git" "%UserProfile%\Projects\LostCity-245-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" |
| |
| ===== Content ===== | ===== Content ===== |
| |
| * https://github.com/LostCityRS/Content/commits/245.2/ | * https://github.com/LostCityRS/Content/commits/225/ |
| |
| "%ProgramFiles%\Git\bin\git.exe" clone --branch "245.2" --depth "1" --recurse-submodules "https://github.com/LostCityRS/Content.git" "%UserProfile%\Projects\LostCity-245-EngineTS\content" | "%ProgramFiles%\Git\bin\git.exe" clone --branch "225" --depth "1" --recurse-submodules "https://github.com/LostCityRS/Content.git" "%UserProfile%\Projects\LostCity-225-EngineTS\content" |
| |
| ====== Initial Build ====== | ====== Initial Build ====== |
| **** | **** |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-245-EngineTS\src" install | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" install |
| |
| ====== Set-up ====== | ====== Set-up ====== |
| * Set up as a development world | * Set up as a development world |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-245-EngineTS\src" run "setup" | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "setup" |
| |
| ====== Settings ====== | ====== Settings ====== |
| |
| * Last commit: [[https://github.com/LostCityRS/Engine-TS/commit/de5fa4db73add4e7277f0a9045d6eeb3a0800f59|Jun 25, 2025]] ''de5fa4d'' | * Last commit: [[https://github.com/LostCityRS/Engine-TS/commit/de5fa4db73add4e7277f0a9045d6eeb3a0800f59|Jun 25, 2025]] ''de5fa4d'' |
| * [[https://github.com/LostCityRS/Engine-TS/commits/245/.env.example|New commits check]] | * [[https://github.com/LostCityRS/Engine-TS/commits/225/.env.example|New commits check]] |
| * [[https://github.com/LostCityRS/Engine-TS/blob/245/.env.example|Upstream Settings]] ([[https://raw.githubusercontent.com/LostCityRS/Engine-TS/refs/heads/245/.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-245-EngineTS\conf" & "notepad.exe" "%UserProfile%\Projects\LostCity-245-EngineTS\conf\localhost.env" | MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\conf" & "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\conf\localhost.env" |
| |
| <code> | <code> |
| |
| ====== 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-245-EngineTS\scripts" & "notepad.exe" "%UserProfile%\Projects\LostCity-245-EngineTS\scripts\localhost-server-start.bat" | "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start.bat" |
| |
| <code> | <code> |
| TITLE 2004Scape Server | TITLE 2004Scape Server |
| |
| SET "NODE=%UserProfile%\Projects\LostCity-245-EngineTS\ext\node.exe" | SET "NODE=%UserProfile%\Projects\LostCity-225-EngineTS\ext\node.exe" |
| SET "_JAVA_OPTIONS=--sun-misc-unsafe-memory-access=allow" | SET "_JAVA_OPTIONS=--sun-misc-unsafe-memory-access=allow" |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\ext\bun.exe" --env-file="%UserProfile%\Projects\LostCity-245-EngineTS\conf\localhost.env" --cwd="%UserProfile%\Projects\LostCity-245-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-245-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-245-EngineTS\scripts" & "notepad.exe" "%UserProfile%\Projects\LostCity-245-EngineTS\scripts\localhost-server-update.bat" | "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat" |
| |
| <code> | <code> |
| TITLE 2004Scape Updater | TITLE 2004Scape Updater |
| |
| "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-245-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-245-EngineTS\src" pull origin "245.2" --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-245-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-245-EngineTS\content" pull origin "245.2" --rebase | "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\LostCity-225-EngineTS\content" pull origin "225" --rebase |
| |
| SET "NODE=%UserProfile%\Projects\LostCity-245-EngineTS\ext\node.exe" | SET "NODE=%UserProfile%\Projects\LostCity-225-EngineTS\ext\node.exe" |
| SET "PATH=%PATH%;%UserProfile%\Projects\LostCity-245-EngineTS\ext" | SET "PATH=%PATH%;%UserProfile%\Projects\LostCity-225-EngineTS\ext" |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-245-EngineTS\src" run "clean" | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "clean" |
| "%UserProfile%\Projects\LostCity-245-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-245-EngineTS\src" install | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" install |
| "%UserProfile%\Projects\LostCity-245-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-245-EngineTS\src" run "setup" | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\bun.exe" --cwd="%UserProfile%\Projects\LostCity-225-EngineTS\src" run "setup" |
| |
| :: End</code> | :: End</code> |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\scripts\localhost-server-update.bat" | "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat" |
| |
| ===== Save Data Back-up ===== | ===== Save Data Back-up ===== |
| |
| MKDIR "%UserProfile%\Projects\LostCity-245-EngineTS\scripts" & "notepad.exe" "%UserProfile%\Projects\LostCity-245-EngineTS\scripts\localhost-save-backup.bat" | "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-save-backup.bat" |
| |
| <code> | <code> |
| @echo off | @echo off |
| |
| "tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-2004Scape-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\LostCity-245-EngineTS\src\data\players" "localhost" | "tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-2004Scape-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players" "localhost" |
| |
| :: End</code> | :: End</code> |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\scripts\localhost-save-backup.bat" | "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-save-backup.bat" |
| |
| ====== Extras ====== | ====== Extras ====== |
| | |
| | * TODO: ''curl.exe'' |
| |
| ===== Map ===== | ===== Map ===== |
| * ''781,684 June_2004_Map.jpg'' | * ''781,684 June_2004_Map.jpg'' |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\ext\June_2004_Map.jpg" | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\June_2004_Map.jpg" |
| |
| ===== Icon ===== | ===== Icon ===== |
| * ''9,662 favicon.ico'' | * ''9,662 favicon.ico'' |
| |
| "%UserProfile%\Projects\LostCity-245-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 ===== |
| * ''298,185,428 SC55_zzdenis_v0.5.sf2'' | * ''298,185,428 SC55_zzdenis_v0.5.sf2'' |
| |
| MOVE /Y "%UserProfile%\Downloads\SC55_zzdenis_v0.5.sf2" "%UserProfile%\Projects\LostCity-245-EngineTS\ext" | MOVE /Y "%UserProfile%\Downloads\SC55_zzdenis_v0.5.sf2" "%UserProfile%\Projects\LostCity-225-EngineTS\ext" |
| |
| DEL /Q "%UserProfile%\Projects\LostCity-245-EngineTS\src\public\client\SCC1_Florestan.sf2" && MKLINK "%UserProfile%\Projects\LostCity-245-EngineTS\src\public\client\SCC1_Florestan.sf2" "%UserProfile%\Projects\LostCity-245-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" |
| |
| DIR "%UserProfile%\Projects\LostCity-245-EngineTS\src\public\client\SCC1_Florestan.sf2" | DIR "%UserProfile%\Projects\LostCity-225-EngineTS\src\public\client\SCC1_Florestan.sf2" |
| |
| ==== Update Script ==== | ==== Update Script ==== |
| |
| "notepad.exe" "%UserProfile%\Projects\LostCity-245-EngineTS\scripts\localhost-server-update.bat" | "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat" |
| |
| <code> | <code> |
| :: SC55_zzdenis_v0.5.sf2 | :: SC55_zzdenis_v0.5.sf2 |
| |
| DEL /Q "%UserProfile%\Projects\LostCity-245-EngineTS\src\public\client\SCC1_Florestan.sf2" | DEL /Q "%UserProfile%\Projects\LostCity-225-EngineTS\src\public\client\SCC1_Florestan.sf2" |
| MKLINK "%UserProfile%\Projects\LostCity-245-EngineTS\src\public\client\SCC1_Florestan.sf2" "%UserProfile%\Projects\LostCity-245-EngineTS\ext\SC55_zzdenis_v0.5.sf2" | MKLINK "%UserProfile%\Projects\LostCity-225-EngineTS\src\public\client\SCC1_Florestan.sf2" "%UserProfile%\Projects\LostCity-225-EngineTS\ext\SC55_zzdenis_v0.5.sf2" |
| |
| :: SF End</code> | :: SF End</code> |
| * [[https://github.com/2004Scape/Server/issues/1498|#1498]] | * [[https://github.com/2004Scape/Server/issues/1498|#1498]] |
| |
| "notepad.exe" "%UserProfile%\Projects\LostCity-245-EngineTS\scripts\localhost-autologin-sed.sh" | "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-autologin-sed.sh" |
| |
| <code> | <code> |
| #!/bin/sh | #!/bin/sh |
| |
| sed -i -e 's/username="";password=""/username="Espionage724";password="1"/g' ~/'Projects/LostCity-245-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> |
| |
| "%ProgramFiles%\Git\bin\sh.exe" -- "%UserProfile%\Projects\LostCity-245-EngineTS\scripts\localhost-autologin-sed.sh" | "%ProgramFiles%\Git\bin\sh.exe" -- "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-autologin-sed.sh" |
| |
| ==== Update Script ==== | ==== Update Script ==== |
| |
| "notepad.exe" "%UserProfile%\Projects\LostCity-245-EngineTS\scripts\localhost-server-update.bat" | "notepad.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat" |
| |
| <code> | <code> |
| :: Login Autofill | :: Login Autofill |
| |
| "%ProgramFiles%\Git\bin\sh.exe" -- "%UserProfile%\Projects\LostCity-245-EngineTS\scripts\localhost-autologin-sed.sh" | "%ProgramFiles%\Git\bin\sh.exe" -- "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-autologin-sed.sh" |
| |
| :: Autofill End</code> | :: Autofill End</code> |
| ==== Server Start ==== | ==== Server Start ==== |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\scripts\localhost-server-start.bat" | "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start-desktop.bat" |
| |
| 2004Scape Server | 2004Scape Server |
| ==== 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 |
| **** | **** |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\ext\favicon.ico" | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\favicon.ico" |
| |
| ===== Start Menu ===== | ===== Start Menu ===== |
| ==== Server Start ==== | ==== Server Start ==== |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\scripts\localhost-server-start.bat" | "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-start-desktop.bat" |
| |
| Server Start | Server Start |
| ==== 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) |
| **** | **** |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\ext\favicon.ico" | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\favicon.ico" |
| |
| ==== Update ==== | ==== Update ==== |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\scripts\localhost-server-update.bat" | "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-server-update.bat" |
| |
| Updater | Updater |
| ==== Save Backup ==== | ==== Save Backup ==== |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\scripts\localhost-save-backup.bat" | "%UserProfile%\Projects\LostCity-225-EngineTS\scripts\localhost-save-backup.bat" |
| |
| Save Back-up | Save Back-up |
| ==== Save Folder ==== | ==== Save Folder ==== |
| |
| MKDIR "%UserProfile%\Projects\LostCity-245-EngineTS\src\data\players\localhost" | MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players\localhost" |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\src\data\players\localhost" | "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players\localhost" |
| |
| Save Folder | Save Folder |
| ==== World Map ==== | ==== World Map ==== |
| |
| "%UserProfile%\Projects\LostCity-245-EngineTS\ext\June_2004_Map.jpg" | "%UserProfile%\Projects\LostCity-225-EngineTS\ext\June_2004_Map.jpg" |
| |
| World Map | World Map |
| * ''data\players\localhost\espionage724.sav'' | * ''data\players\localhost\espionage724.sav'' |
| |
| MKDIR "%UserProfile%\Projects\LostCity-245-EngineTS\src\data\players\localhost" & "explorer.exe" "%UserProfile%\Projects\LostCity-245-EngineTS\src\data\players\localhost" | MKDIR "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players\localhost" & "explorer.exe" "%UserProfile%\Projects\LostCity-225-EngineTS\src\data\players\localhost" |
| |
| ===== Firewall TODO ===== | ===== Firewall TODO ===== |
| * TODO: LAN subnet flag | * TODO: LAN subnet flag |
| |
| "netsh.exe" advfirewall firewall add rule name="2004Scape localhost Server (bun.exe)" dir="in" action="allow" profile="any" program="%UserProfile%\Projects\LostCity-245-EngineTS\ext\bun.exe" protocol="tcp" localport="80" | "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" |
| |