bymr-desktop-launcher Svelte Themes

Bymr Desktop Launcher

A game launcher for Backyard Monsters Refitted leveraging Tauri, Rust and Svelte for Windows and Linux. đŸ•šī¸



Overview đŸ•šī¸

A desktop launcher for Windows, Mac & Linux which utilises the efficiency of Rust and Tauri for managing Flash runtimes and game versions, for the Backyard Monsters Refitted client. This launcher packages the required SWF binaries and loads them into Flash Player.


Linux 🐧

Ubuntu/Debian:

# Install dependencies
# NOTE: version 0.3.5 is just a hardcoded example, use the actual version you have
sudo apt update

sudo apt install -y libnss3 libatk1.0-0t64 libxss1 libgtk-3-0t64 \
libasound2t64 libgtk2.0-0t64 libdbus-glib-1-2

# Make AppImage executable
chmod +x bymr-launcher_0.3.5_amd64.AppImage

# Run the launcher
./bymr-launcher_0.3.5_amd64.AppImage

Fedora/RHEL/CentOS:

sudo dnf install -y nss atk libXScrnSaver gtk3 alsa-lib gtk2 dbus-glib

Arch/Manjaro:

sudo pacman -Sy --noconfirm nss at-spi2-atk libxscrnsaver gtk3 alsa-lib gtk2 dbus-glib

SteamOS/Steam Deck:

# Make filesystem writable
sudo steamos-readonly disable

# Initialize pacman keys (if not already done)
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman-key --populate holo

# Install dependencies
sudo pacman -Sy --noconfirm nss at-spi2-atk libxscrnsaver gtk3 alsa-lib gtk2 dbus-glib

Development âš™ī¸

Prerequisites

Before getting started, ensure you have the following components installed and properly configured:

Component Description Installation Link
Rust The Rust programming language Install Rust
Cargo Rust's package manager Cargo Registry
MSVC Toolchain Microsoft Visual C++ build tools Download MSVC
Node.js & NPM JavaScript runtime and package manager Install Node.js

MSVC Toolchain Configuration

This project requires compilation with the MSVC toolchain rather than the GNU alternative. The MSVC toolchain properly embeds the WebView2 runtime into the binary, while GNU requires distributing an additional WebView2Loader.dll file alongside your executable. For more details, see the tauri-webview2 documentation.

For comprehensive setup instructions, please refer to the Tauri Prerequisites Guide.


Live Development

Start the development server using either of the following commands:

npm run tauri dev

or

cargo tauri dev

This launches a Vite development server with fast hot-reload capabilities for your frontend changes. The development server is also accessible at http://localhost:5173 if you prefer to develop directly in your browser.

Top categories

Loading Svelte Themes