Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
cc4a1b7
feat: enhance log file handling during server startup to ensure fresh…
LokiRothbrook May 30, 2026
7c97aa0
feat: enhance server startup error handling and notification system f…
LokiRothbrook May 30, 2026
620d4c3
feat(db): add locked_by_map column to server_mods and implement setMo…
Jun 3, 2026
f46d617
Refactor toggle switches to button components with icons for better a…
Jun 3, 2026
4baad68
feat: implement launch parameters handling across server components; …
Jun 3, 2026
ad373bb
feat: suppress deprecation warning for libayatana-appindicator on Lin…
Jun 3, 2026
56ccb46
feat: implement per-server update automation and notification system
Jun 4, 2026
9e9ba8b
feat: enhance notification system with in-app alerts and update handl…
Jun 4, 2026
5285b66
feat: add PvP friendly fire option and update game settings for cryo …
Jun 4, 2026
32358b0
feat: update theme handling to use dynamic RGB components for neon pu…
Jun 4, 2026
93091a2
feat: implement log rotation for ShooterGame.log to ensure fresh log …
Jun 4, 2026
b97af6d
feat: add graceful shutdown settings for servers
Jun 4, 2026
798db43
feat: enhance RCON functionality with player list event handling and …
Jun 4, 2026
a759665
feat: refactor RCON handling and UI components; streamline player man…
Jun 4, 2026
973c318
feat: enhance window management for Linux; improve handling of minimi…
Jun 5, 2026
4418f3a
feat: implement server process scanning on startup; replace PID recon…
Jun 5, 2026
929777d
refactor: streamline RCON connection management and polling
Jun 5, 2026
269fe08
feat: enhance RCON command execution error handling; introduce ExecEr…
Jun 5, 2026
4993826
feat: improve RCON tab layout and scrolling behavior; adjust height c…
Jun 6, 2026
1390842
feat: implement StartupReconciliationManager for server status synchr…
Jun 7, 2026
551edd8
feat: enhance ServerCard and OverviewTab components; add navigation a…
Jun 8, 2026
2ffa3ec
feat: add server stats history tracking and visualization
Jun 8, 2026
8dd130b
feat: refactor OverviewTab component; enhance chart and info tiles wi…
Jun 8, 2026
66b33ff
feat: optimize server stats polling frequency and buffer size for imp…
Jun 8, 2026
78356d4
feat: implement background stats recorder with SQLite integration; ad…
Jun 8, 2026
0331e49
feat: release v0.11.0 — fix Arch/CachyOS blank screen, version bump
Jun 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 44 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,41 +66,63 @@ jobs:
releaseBody: |
## LokiASAM ${{ github.ref_name }} — Public Beta

LokiASAM is a desktop application for managing Ark Survival Ascended dedicated servers on Linux and Windows. It provides a full GUI for every aspect of running one or more ASA servers without needing to touch config files or the command line.
LokiASAM is a desktop application for managing Ark Survival Ascended dedicated servers on Linux and Windows.

### Bug fixes in v0.10.1
### What's new in v0.11.0

- **Linux: server stats and uptime not tracked** — the Steam Runtime container detaches Wine from the Proton PID the app was watching, causing CPU/RAM usage and uptime to show as zero for running servers. Fixed by scanning process command lines for the server's install path to locate the correct Wine process inside the container.
**Server stats history**
CPU and RAM usage are now recorded to a local database in the background. The Overview tab shows live charts of resource usage over time so you can see how your server behaves across a session, not just at a single moment.

### Features
**Server status on startup**
The app now scans running OS processes on launch to determine which servers are actually running, rather than relying on stored state. If a server crashed or was stopped while the app was closed, the status will be correct immediately on next open.

- **Server management** — create, start, stop, restart, and monitor multiple servers from a single dashboard. Live CPU/RAM stats and player counts update automatically.
- **Server configuration** — edit `GameUserSettings.ini` and `Game.ini` through an organized section editor, or drop into the raw text view for full control.
- **RCON console** — built-in terminal with command history, preset commands, and broadcast support.
- **Live log viewer** — tail server logs in real time with text filtering and auto-scroll.
- **Mods** — browse CurseForge directly inside the app, add mods by ID, reorder, toggle, and install via SteamCMD with one click.
- **Backups** — create, restore, and delete server backups; configurable retention with scheduled automatic backups.
- **Automation** — schedule backups, updates, restarts, and broadcasts on a cron schedule with optional RCON warnings before restarts.
- **Clusters** — group servers into clusters with shared player data directories.
- **Notifications** — configurable desktop, Discord webhook, and email alerts with per-event channel control.
- **ASA server updates** — shared SteamCMD cache keeps downloads fast when managing multiple servers; update cache and apply to servers independently.
- **Auto-update** — the app checks for new LokiASAM releases and can download and install them without leaving the app.
- **Setup wizard** — guided first-run experience that installs SteamCMD and Proton (Linux) automatically.
**Launch parameters**
You can now configure per-server launch arguments through the UI — both in the setup wizard and the server config tab — without editing config files manually.

**Graceful shutdown settings**
Servers now have configurable graceful shutdown behaviour, letting you control how the shutdown sequence is handled per server.

**Per-server update automation**
Update automation is now configured per server rather than globally, with in-app notifications when updates are available for the server's installed version.

**New game settings**
- PvP friendly fire toggle added
- Cryo sickness handling option added

### Improvements

- **RCON** — improved tab layout, scrolling behaviour, and reliability. IO errors and timeouts are now distinguished and reported separately. Player list updates are handled via events.
- **Log handling** — ShooterGame.log is now rotated on server startup so the log viewer always starts from a clean slate for that session.
- **UI controls** — toggle switches replaced with icon buttons for better clarity. Numeric settings now use a combined number field and slider control.
- **Setup wizard** — improved visual effects and theme handling.

### Bug fixes

- **Linux/Arch/CachyOS: blank screen on launch** — modern distros with newer GPU drivers could get a blank white window due to a WebKit DMA-BUF renderer incompatibility. Fixed.
- **Linux/KDE: title bar buttons stop working** — minimising and restoring the window on KDE could leave the decoration buttons unresponsive. Fixed.
- **Startup: Steam error output** — noisy Steam deprecation warnings are no longer surfaced as server errors in the log.
- **Startup: missing executable** — clearer error notification when the server binary can't be found at launch.

### Installation

**Linux:** Download the `.AppImage` from the assets below, make it executable, and run it.
**Linux:** Download your preferred package from the assets below.

| Format | Auto-updates | Notes |
|--------|-------------|-------|
| `.AppImage` | Yes | Updates in-place, no admin rights needed |
| `.deb` | Yes | Installs via `dpkg`, prompts for your password |
| `.rpm` | Yes | Installs via `rpm`, prompts for your password |

```bash
chmod +x LokiASAM_0.10.1_amd64.AppImage
./LokiASAM_0.10.1_amd64.AppImage
chmod +x LokiASAM_0.11.0_amd64.AppImage
./LokiASAM_0.11.0_amd64.AppImage
```
> The AppImage receives automatic update notifications. The `.deb` package does not.

**Windows:** Download and run `LokiASAM_0.10.1_x64-setup.exe` from the assets below.
**Windows:** Download and run `LokiASAM_0.11.0_x64-setup.exe` from the assets below.

### Notes
- This is a public beta — bugs are expected. Please report them on the [Issues](https://github.com/LokiRothbrook/LokiASAM/issues) page.
- Linux requires a working Proton-GE installation for server processes. The setup wizard will guide you through this.
- Linux requires a working Proton-GE installation. The setup wizard will guide you through this.
releaseDraft: false
prerelease: false
updaterJsonKeepUniversal: false
Expand Down
6 changes: 6 additions & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ const nextConfig: NextConfig = {
images: { unoptimized: true },
// Add trailing slashes so Tauri's file protocol resolves paths correctly.
trailingSlash: true,
experimental: {
// Prevents the dev server from loading entire packages into memory when only
// specific exports are used. Fixes OOM crashes from lucide-react (thousands of
// icons), framer-motion, and radix-ui bloating the module cache in dev mode.
optimizePackageImports: ["lucide-react", "framer-motion", "radix-ui", "recharts"],
},
};

export default nextConfig;
63 changes: 60 additions & 3 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lokiasam"
version = "0.10.0"
version = "0.11.0"
description = "Loki Ark Survival Ascended Server Manager"
authors = ["Loki"]
license = "GPL-3.0-or-later"
Expand Down Expand Up @@ -64,6 +64,10 @@ url = { version = "2" }
# Logging
log = "0.4"

# Direct SQLite access for the background stats recorder (separate from tauri-plugin-sql).
# "bundled" links SQLite statically so no system library is required.
rusqlite = { version = "0.32", features = ["bundled"] }

# Linux /proc reader — process discovery, PSS memory, thread detection
# Replaces hand-rolled /proc string parsing with a tested, maintained library.
[target.'cfg(target_os = "linux")'.dependencies]
Expand Down
16 changes: 6 additions & 10 deletions src-tauri/src/commands/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,18 @@ pub struct ServerConfigJson {
pub launch_args: Value,
}

/// Returns the platform-specific path to the server INI config directory.
/// Returns the path to the server INI config directory.
///
/// ASA uses different subdirectories on each platform:
/// - Windows: ShooterGame/Saved/Config/WindowsServer/
/// - Linux: ShooterGame/Saved/Config/LinuxServer/
/// ASA ships only a Windows dedicated server binary. On Linux the binary is
/// run through Proton/Wine, which maps the working directory to the real
/// filesystem via the Z:\ drive. The server binary therefore always writes
/// and reads config from the WindowsServer subfolder regardless of the host OS.
fn config_dir(install_path: &Path) -> PathBuf {
#[cfg(target_os = "windows")]
let platform = "WindowsServer";
#[cfg(not(target_os = "windows"))]
let platform = "LinuxServer";

install_path
.join("ShooterGame")
.join("Saved")
.join("Config")
.join(platform)
.join("WindowsServer")
}

/// Parse an INI file at `path` into a JSON object of section → { key → value }.
Expand Down
1 change: 1 addition & 0 deletions src-tauri/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pub mod proton;
pub mod rcon;
pub mod scheduler;
pub mod server;
pub mod stats;
pub mod steamcmd;
pub mod system;
pub mod utils;
Loading
Loading