su -l
pkg install git-lite
OpenJDK23U-jdk_x64_windows_hotspot_23_37.msi
WINEPREFIX=~/'.wine/2004Scape-Server' WINEARCH='win64' wine ~/'Downloads/OpenJDK23U-jdk_x64_windows_hotspot_23_37.msi'
node-v22.9.0-x64.msi
WINEPREFIX=~/'.wine/2004Scape-Server' WINEARCH='win64' wine ~/'Downloads/node-v22.9.0-x64.msi'
cd ~ && mkdir -p ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server' && rm -Rf ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src' && git clone --branch 'no-dev-watcher' --depth '1' --recurse-submodules 'https://github.com/2004Scape/Server.git' ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src' && sync
cd ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src' && WINEPREFIX=~/'.wine/2004Scape-Server' WEB_PORT='8888' wine npm start
tar.gz
; napi-v3
folder goes into binding
foldermkdir -p ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src/node_modules/bcrypt/lib/binding'
gio open ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src/node_modules/bcrypt/lib/binding'
ls ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node'
RuneScriptCompiler.jar
to src
rootgio open ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src'
ls ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src/RuneScriptCompiler.jar'
cd ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src' && WINEPREFIX=~/'.wine/2004Scape-Server' wine npm run 'clean'
cd ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src' && WINEPREFIX=~/'.wine/2004Scape-Server' wine npm run 'build'
--verbose
can be put at the end of npm
commands--verbose
cd ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src' && WINEPREFIX=~/'.wine/2004Scape-Server' WEB_PORT='8888' wine npm start
npm run clean
requires starting the server once afterwards with an internet connection to download packages to start the server for playing offlinegit -C ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src' reset --hard && git -C ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src' pull origin 'no-dev-watcher' --rebase && cd ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src' && WINEPREFIX=~/'.wine/2004Scape-Server' wine npm run 'clean'
npm
commandscd ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src' && WINEPREFIX=~/'.wine/2004Scape-Server' wine npm run
gio open ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src'
gio open ~/'.wine/2004Scape-Server/drive_c/2004Scape-Server/src/data/players'
java
to PATH on wine
; Adoptium's is finebcrypt
reportedly has a pre-built win64
module that should auto-download?8888
is what Node on *nix does, and when this was tested on Fedora 41 the default 80
Windows port (wine
) couldn't be opened due to lower Linux ports being system-reservedRuneScriptCompiler.jar
had to be tag 19
(17
failed)