| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:linux:2004scape_localhost [2026/06/04 00:16] – [Set-up] Sean Rhone | games:linux:2004scape_localhost [2026/07/02 18:11] (current) – [Information] Sean Rhone |
|---|
| * ''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=E21y7rLZaNc|Presentation Video]] |
| |
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| ===== bun ===== | ===== bun ===== |
| |
| * [[https://github.com/oven-sh/bun/releases|oven-sh/bun]] ((''bun-linux-x64-baseline.zip'' for older CPU, [[https://bun.com/docs/installation#baseline-builds|more info]])) | * https://bun.com/ |
| * Last tested version: ''1.3.14'' | * https://github.com/oven-sh/bun |
| | * Latest [[https://github.com/oven-sh/bun/releases/latest/download/bun-linux-x64.zip|bun-linux-x64.zip]] (([[https://github.com/oven-sh/bun/releases/latest/download/bun-linux-x64-baseline.zip|baseline]] for older CPU, [[https://bun.com/docs/installation#baseline-builds|more info]])) |
| |
| rm -Rf '/tmp/bun-linux-x64'* && mkdir -p ~/'Projects/LostCity-225-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-225-EngineTS/ext' && ~/'Projects/LostCity-225-EngineTS/ext/bun' --version && rm -Rf '/tmp/bun-linux-x64'* | rm -Rf '/tmp/bun-linux-x64'* && mkdir -p ~/'Projects/LostCity-225-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-225-EngineTS/ext' && ~/'Projects/LostCity-225-EngineTS/ext/bun' --version && rm -Rf '/tmp/bun-linux-x64'* |
| |
| zenity --title '2004Scape Updater' --text 'localhost server update complete' --icon ~/'Projects/LostCity-225-EngineTS/ext/favicon.ico' --timeout '1' --info | zenity --title '2004Scape Updater' --text 'localhost server update complete' --icon ~/'Projects/LostCity-225-EngineTS/ext/favicon.ico' --timeout '1' --info |
| | : |
| |
| # End</code> | # End</code> |
| Name=2004Scape | Name=2004Scape |
| Categories=Game; | Categories=Game; |
| | Path=/tmp |
| Exec='/bin/bash' -c "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'" | Exec='/bin/bash' -c "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'" |
| Type=Application | Type=Application |
| |
| * ''WEBKIT_DISABLE_COMPOSITING_MODE=1'' disables GPU acceleration and improves stability ((used to randomly crash on laptop battery)) | * ''WEBKIT_DISABLE_COMPOSITING_MODE=1'' disables GPU acceleration and improves stability ((used to randomly crash on laptop battery)) |
| | * :?: ''wpewebkit-minibrowser'' |
| |
| zypper search 'minibrowser' | zypper search 'minibrowser' |
| |
| rpm -ql 'webkit2gtk3-minibrowser' | rpm -ql 'webkit2gtk4-minibrowser' |
| |
| ls '/usr/libexec/libwebkit'*'/MiniBrowser' | ls '/usr/libexec/libwebkit'*'/MiniBrowser' |
| | |
| | ==== GTK4 ==== |
| |
| sudo zypper install 'webkitgtk4-minibrowser' | sudo zypper install 'webkitgtk4-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' |
| | |
| | === Live === |
| | |
| | * High Detail |
| | * World 2 |
| | |
| | WEBKIT_DISABLE_COMPOSITING_MODE='1' '/usr/libexec/libwebkitgtk-6_0-0/MiniBrowser' --dark-mode --autoplay-policy 'allow' --private --features='-PreferPageRenderingUpdatesNear60FPS' 'https://2004.lostcity.rs/client?world=2&detail=high&method=0' |
| | |
| | ==== GTK3 ==== |
| |
| sudo zypper install 'webkitgtk3-minibrowser' | sudo zypper install 'webkitgtk3-minibrowser' |