| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:linux:2004scape_localhost [2026/07/02 18:11] – Sean Rhone | games:linux:2004scape_localhost [2026/07/25 03:02] (current) – [GTK4] Sean Rhone |
|---|
| * Lost City Server + Client | * Lost City Server + Client |
| * ''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]] |
| |
| |
| * [[https://media.realmofespionage.xyz/index/category/2|Progress Pics]] | * [[https://media.realmofespionage.xyz/index/category/2|Progress Pics]] |
| |
| * [[https://www.youtube.com/watch?v=E21y7rLZaNc|Presentation Video]] | * [[https://www.youtube.com/watch?v=E21y7rLZaNc|Presentation Video]] |
| |
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| |
| * [[linux:distros:opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] | * [[linux:distros:opensuse_tumbleweed_xfce|openSUSE Tumbleweed (Xfce)]] |
| |
| ====== Dependencies ====== | ====== Dependencies ====== |
| |
| ====== Initial Build ====== | ====== Initial Build ====== |
| |
| **** | |
| |
| ~/'Projects/LostCity-225-EngineTS/ext/bun' --cwd=$HOME/'Projects/LostCity-225-EngineTS/src' install | ~/'Projects/LostCity-225-EngineTS/ext/bun' --cwd=$HOME/'Projects/LostCity-225-EngineTS/src' install |
| # Extras End | # Extras End |
| |
| zenity --title '2004Scape Updater' --text 'localhost server update complete' --icon ~/'Projects/LostCity-225-EngineTS/ext/favicon.ico' --timeout '1' --info | notify-send -t '2000' -i ~/'Projects/LostCity-225-EngineTS/ext/favicon.ico' '2004Scape localhost server update complete' |
| : | |
| |
| # End</code> | # End</code> |
| tar -czf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-2004Scape-localhost-Saves.tar.gz' -C ~/'Projects/LostCity-225-EngineTS/src/data/players' 'localhost' | tar -czf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-2004Scape-localhost-Saves.tar.gz' -C ~/'Projects/LostCity-225-EngineTS/src/data/players' 'localhost' |
| |
| zenity --title '2004Scape Save Backup' --text 'Save Data Backed-up to Downloads' --icon ~/'Projects/LostCity-225-EngineTS/ext/favicon.ico' --timeout '1' --info | notify-send -t '2000' -i ~/'Projects/LostCity-225-EngineTS/ext/favicon.ico' '2004Scape Save Data Backed-up Successfully to Downloads' |
| |
| # End</code> | # End</code> |
| |
| [Desktop Action Server] | [Desktop Action Server] |
| Exec='/bin/bash' -c "kgx --working-directory='/tmp' -T '2004Scape [Server]' -e ~/'Projects/LostCity-225-EngineTS/scripts/localhost-server-start.sh'" | Exec='/bin/bash' -c "xfce4-terminal -T '2004Scape [Server]' -I ~/'Projects/LostCity-225-EngineTS/ext/favicon.ico' --working-directory='/tmp' -e ~/'Projects/LostCity-225-EngineTS/scripts/localhost-server-start.sh'" |
| Name=Local Server | Name=Local Server |
| |
| |
| [Desktop Action Update] | [Desktop Action Update] |
| Exec='/bin/bash' -c "kgx --working-directory='/tmp' -T '2004Scape [Updater]' -e ~/'Projects/LostCity-225-EngineTS/scripts/localhost-server-update.sh'" | Exec='/bin/bash' -c "xfce4-terminal -T '2004Scape [Updater]' -I ~/'Projects/LostCity-225-EngineTS/ext/favicon.ico' --working-directory='/tmp' -e ~/'Projects/LostCity-225-EngineTS/scripts/localhost-server-update.sh'" |
| Name=Server Update | Name=Server Update |
| |
| |
| # End</code> | # End</code> |
| | |
| | xfce4-panel -r |
| |
| ====== Quick Commands ====== | ====== Quick Commands ====== |
| |
| ===== Bun Commands ===== | ===== Bun Commands ===== |
| |
| **** | |
| |
| ~/'Projects/LostCity-225-EngineTS/ext/bun' --cwd=$HOME/'Projects/LostCity-225-EngineTS/src' run | ~/'Projects/LostCity-225-EngineTS/ext/bun' --cwd=$HOME/'Projects/LostCity-225-EngineTS/src' run |
| zypper search 'minibrowser' | zypper search 'minibrowser' |
| |
| rpm -ql 'webkit2gtk4-minibrowser' | rpm -ql 'webkitgtk4-minibrowser' |
| |
| ls '/usr/libexec/libwebkit'*'/MiniBrowser' | ls '/usr/libexec/libwebkit'*'/MiniBrowser' |
| |
| WEBKIT_DISABLE_COMPOSITING_MODE='1' '/usr/libexec/libwebkitgtk-6_0-0/MiniBrowser' --dark-mode --autoplay-policy 'allow' --private --features='-PreferPageRenderingUpdatesNear60FPS' 'http://localhost:8888/rs2.cgi' | WEBKIT_DISABLE_COMPOSITING_MODE='1' '/usr/libexec/libwebkitgtk-6_0-0/MiniBrowser' --dark-mode --autoplay-policy 'allow' --private --features='-PreferPageRenderingUpdatesNear60FPS' 'http://localhost:8888/rs2.cgi' |
| | |
| | <code>--user-agent='Android'</code> |
| |
| === Live === | === Live === |