Next revision | Previous revision |
games:linux:2004scape_localhost_244_wip [2025/07/14 23:41] – created Sean Rhone | games:linux:2004scape_localhost_244_wip [2025/07/15 15:10] (current) – [Settings] Sean Rhone |
---|
====== Information ====== | ====== Information ====== |
| |
* Lost City ''224'' Server + Client | * Lost City ''244'' 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]] |
| |
| |
sudo zypper install git-core java-24-openjdk-headless | sudo zypper install git-core java-24-openjdk-headless |
| |
| ===== bun ===== |
| |
| * [[https://github.com/oven-sh/bun/releases|oven-sh/bun]] |
| * Latest ''bun-linux-x64.zip'' |
| |
| rm -Rf '/tmp/bun-linux-x64'* && mkdir -p ~/'Projects/LostCity-244-EngineTS/ext' && wget -O '/tmp/bun-linux-x64.zip' 'https://github.com/oven-sh/bun/releases/latest/download/bun-linux-x64.zip' && unzip '/tmp/bun-linux-x64.zip' -d '/tmp' && mv -f '/tmp/bun-linux-x64/bun' ~/'Projects/LostCity-244-EngineTS/ext' && rm -Rf '/tmp/bun-linux-x64'* |
| |
====== Download Source ====== | ====== Download Source ====== |
* https://github.com/LostCityRS/Engine-TS/commits/244/ | * https://github.com/LostCityRS/Engine-TS/commits/244/ |
| |
cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/LostCity-244-EngineTS/src' && git clone --branch '244' --depth '1' --recurse-submodules 'https://github.com/LostCityRS/Engine-TS.git' ~/'Projects/LostCity-244-EngineTS/src' && sync | cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/LostCity-244-EngineTS/src' && git clone --branch '244' --depth '1' --recurse-submodules 'https://github.com/LostCityRS/Engine-TS.git' ~/'Projects/LostCity-244-EngineTS/src' |
| |
===== Content ===== | ===== Content ===== |
* https://github.com/LostCityRS/Content/commits/244/ | * https://github.com/LostCityRS/Content/commits/244/ |
| |
cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/LostCity-244-EngineTS/content' && git clone --branch '244' --depth '1' --recurse-submodules 'https://github.com/LostCityRS/Content.git' ~/'Projects/LostCity-244-EngineTS/content' && sync | cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/LostCity-244-EngineTS/content' && git clone --branch '244' --depth '1' --recurse-submodules 'https://github.com/LostCityRS/Content.git' ~/'Projects/LostCity-244-EngineTS/content' |
| |
====== Initial Build ====== | ====== Initial Build ====== |
| |
* WIP | **** |
| |
cd ~/'Projects/2004Scape-Server/src' && npm install --verbose | ~/'Projects/LostCity-244-EngineTS/ext/bun' --cwd=$HOME/'Projects/LostCity-244-EngineTS/src' install |
| |
====== Set-up ====== | ====== Set-up ====== |
| |
**** | * Set up as a development world |
| |
npm --prefix ~/'Projects/2004Scape-Server/src' run 'setup' | ~/'Projects/LostCity-244-EngineTS/ext/bun' --cwd=$HOME/'Projects/LostCity-244-EngineTS/src' run 'setup' |
| |
| ====== Settings ====== |
| |
| * TODO: Update links |
| |
| * 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 -p ~/'Projects/LostCity-244-EngineTS/conf' && nano ~/'Projects/LostCity-244-EngineTS/conf/localhost.env' |
| |
| <code> |
| NODE_XPRATE=1 |
| NODE_PROFILE=localhost |
| NODE_STAFF=Test |
| NODE_DEBUGPROC_CHAR=: |
| NODE_CLIENT_ROUTEFINDER=false |
| |
| # End</code> |
| |
====== Scripts ====== | ====== Scripts ====== |
===== Server Start ===== | ===== Server Start ===== |
| |
mkdir -p ~/'Projects/2004Scape-Server/scripts' && nano ~/'Projects/2004Scape-Server/scripts/localhost-server-start.sh' && chmod +x ~/'Projects/2004Scape-Server/scripts/localhost-server-start.sh' | mkdir -p ~/'Projects/LostCity-244-EngineTS/scripts' && nano ~/'Projects/LostCity-244-EngineTS/scripts/localhost-server-start.sh' && chmod +x ~/'Projects/LostCity-244-EngineTS/scripts/localhost-server-start.sh' |
| |
<code> | <code> |
#!/bin/bash | #!/bin/bash |
| |
npm --prefix ~/'Projects/2004Scape-Server/src' run 'quickstart' | ~/'Projects/LostCity-244-EngineTS/ext/bun' --env-file=$HOME/'Projects/LostCity-244-EngineTS/conf/localhost.env' --cwd=$HOME/'Projects/LostCity-244-EngineTS/src' run 'quickstart' |
| |
# End</code> | # End</code> |
| |
~/'Projects/2004Scape-Server/scripts/localhost-server-start.sh' | ~/'Projects/LostCity-244-EngineTS/scripts/localhost-server-start.sh' |
| |
===== Server Update ===== | ===== Server Update ===== |
| |
mkdir -p ~/'Projects/2004Scape-Server/scripts' && nano ~/'Projects/2004Scape-Server/scripts/localhost-server-update.sh' && chmod +x ~/'Projects/2004Scape-Server/scripts/localhost-server-update.sh' | mkdir -p ~/'Projects/LostCity-244-EngineTS/scripts' && nano ~/'Projects/LostCity-244-EngineTS/scripts/localhost-server-update.sh' && chmod +x ~/'Projects/LostCity-244-EngineTS/scripts/localhost-server-update.sh' |
| |
<code> | <code> |