Repository navigation
Releases
Ruby GG - Beta I
Ruby GG & Ruby CLI — Public Beta 1 Release Notes
Welcome to the Public Beta 1 release of Ruby GG and Ruby CLI, the next-generation developer studio and automation toolkit for the Swordigo modding ecosystem and FileRift asset pipelines.
This release brings standalone prebuilt binaries for both Windows x64 and Linux x86_64, packing rich 3D visualization, visual scene graph authoring, live engine emulation, batch asset conversions, and Model Context Protocol (MCP) server capabilities.

Release Downloads
| Platform | Archive Name | Compression | Contents |
|---|---|---|---|
| Windows x64 | ruby_gg_win64.zip |
ZIP (42 MB) | Standalone portable folder with ruby_gg.exe, ruby_cli.exe, Qt 6.12 release runtime, MSVC 2022 CRT, SDL3, plugins & fonts |
| Windows x64 (7z) | ruby_gg_win64.7z |
7-Zip LZMA2 (23 MB) | Ultra-compact distribution of the Windows package |
| Linux x86_64 | ruby_gg_linux64.zip |
ZIP (21 MB) | Portable stripped Linux binaries (ruby_gg, ruby_cli), launcher scripts, shared libraries (libs/) & fonts |
Major Highlights & What's New
1. Native Visual Studio MSVC Pipeline (Windows)
- Built with Clang-CL 22 + official Microsoft Visual C++ 2022 v145 toolset and the Windows 11 SDK (10.0.26100.0).
- Shipped with official Qt 6.12.0 MSVC release binaries and native Windows 11 Fluent dark styling (
qmodernwindowsstyle.dll). - Completely self-contained: Bundles official Microsoft CRT redistributables (
msvcp140.dll,vcruntime140.dll,concrt140.dll),SDL3.dll, and native Schannel TLS. No external installer or runtime prerequisites required.
2. Native OS Desktop Integration & File Associations
- Register your operating system to open Swordigo formats with a single click:
- Linux: Installs
.desktopand Freedesktop MIME XML database associations (xdg-mime). - Windows: Writes user-space ProgID registrations (
HKCU\Software\Classes\RubyStudio.Asset) with shell change notifications.
- Linux: Installs
- Supported file associations:
.pod,.pvr,.tex,.scl,.scene,.scn,.rbm,.fr,.glb,.gltf,.fbx,.obj. - Double-clicking any registered asset from Windows Explorer or Linux Nautilus instantly launches Ruby GG, opens the file in the 3D viewport or editor, and automatically pivots the asset browser directly to its parent directory.
3. Unconstrained Asset Browser & Collision Safety
- Browse any folder on your drives with the new Up / Back / Forward / Home toolbar and direct path address bar.
- Automatic multi-instance safety: Detects when two assets with identical filenames exist across different folders, safely swapping buffers without overwriting user data.
- Search filters by extension (
.pod,.pvr,.scl,.scene, etc.).
4. Modern 3D Viewport & GLB/glTF Animation Skinning
- Native rendering for PowerVR
.pod3D meshes and.pvrtextures. - Import modern 3D models (
.glb,.gltf,.fbx,.obj) directly into Swordigo's native.podformat. - Full skeletal skinning & animation coherence: Convert complex rigged character meshes into Swordigo-compatible bone hierarchies and animated pose clips with automatic vertex weighing.
- Interactive camera controls: Orbit, pan, zoom, wireframe toggle, camera bounds gizmos, and light controls.
5. Headless Automation Toolkit: Ruby CLI
- Full FileRift compiler: Bidirectional transcoding between binary
.scene/.scland human-readable markup. - World Map (
.scmap) SDK: Validate navigation graphs, print node paths, and analyze zone linkages. - Built-in Model Context Protocol (MCP) server: Exposes Swordigo asset inspection and editing tools over stdio (
ruby_cli mcp) and HTTP (ruby_cli mcp-http) to AI assistants like Claude, ChatGPT, and Cursor.
Quick Launch Guide
Windows (10 / 11 64-bit)
- Download
ruby_gg_win64.ziporruby_gg_win64.7zand extract it to any folder. - Double-click
run_ruby_gg.bat(orruby_gg.exe) to launch the GUI Studio. - To use CLI tools, open Command Prompt / PowerShell in the folder and run
ruby_cli.exe --help.
Linux (x86_64, glibc 2.34+)
- Download
ruby_gg_linux64.zipand extract it. - Open a terminal in the extracted folder and launch:
chmod +x run_ruby_gg.sh run_ruby_cli.sh ruby_gg ruby_cli ./run_ruby_gg.sh
- Run CLI commands via
./run_ruby_cli.sh <command>.
v8.0 Beta 2
Swordigo Desktop v8.0 Beta 2 Release Notes
Welcome to the v8.0 Beta 2 release of Swordigo Desktop! Following the groundbreaking release of v8.0 Beta 1, v8.0 Beta 2 introduces massive advancements across integrated development tools, networking infrastructure, modular engine architecture, OptiX graphics research, and ARM64 JIT stability.

🌟 Major Highlights
1. 🌐 RakNet Networking Engine Foundation
- RakNet Framework Integration: Integrated the high-performance RakNet cross-platform UDP networking engine into the core build tree.
- Network Protocol Architecture: Built low-level packet serialization routines, GUID session handshake protocols, and peer connection state management, laying the foundation for future multiplayer and world synchronization features.
2. 💻 Swordfare Editor (IntelliJ) Engine Architecture
The built-in code editor (src/tools/intellij.cpp) has been completely overhauled into a powerful, domain-specific IDE engine for Swordigo modding:
- Stateful Multiline Tokenization (
LexState): Introduced state propagation across line boundaries (NORMAL,IN_BLOCK_COMMENT,IN_MULTILINE_STRING). Multiline block comments (--[[ ... ]]) now maintain accurate comment syntax styling across every line. - Embedded .styx Theme Engine: Enhanced the custom relaxed JSON parser with string-quote-aware comment stripping, ensuring theme stylesheets load seamlessly without corrupting string properties.
- Context-Aware Bracket Error Checking: The bracket mismatch engine (
check_syntax_errors) is now fully string- and comment-aware, preventing false error alerts when brackets appear inside quotes or comments. - Line-Level Token Caching: Optimized per-frame rendering by caching tokenized lines by text hash (
token_cache_), avoiding unnecessary re-execution of regex matchers on visible lines. - Swordigo SDK Autocomplete & Symbol Metadata: Integrated instant auto-completion and documentation tooltips for core Swordigo engine APIs including
Game,Character,Scene,PhysicsObject,Vector3, andShardshi.
3. 📦 Modular Shared Object Build Architecture
- Split
.soEngine Binaries: Re-architected monolithic engine binaries into 9 modular shared objects (libswcore.so,libswemu.so,libswgfx.so,libswgui.so,libfilerift.so,libswordfare.so,libswfmt.so,libsre.so,libswordigo.so). - Binary Directory Restructuring: Transitioned output executables to
bin/withswordfareas the primary executable and unified packaging support inbuilder/package.sh.
4. ⚡ OptiX Architectural Framework & Research Integration
- OptiX Technical Blueprint: Completed 10 master architectural specifications (
docs/optiX/) detailing PBR material pipelines, dynamic light reflection hooks, and guest runtime acceleration. - Dynarmic ARM64 JIT Tuning: Expanded JIT code cache allocation to 512 MB and enabled host x86_64 hardware acceleration flags (
Unsafe_UnfuseFMA,Unsafe_ReducedErrorFP,Unsafe_InaccurateNaN,Unsafe_IgnoreStandardFPCRValue). - Native Host-to-Guest Bridge: Refined guest stack recovery mechanisms and signal handling to isolate guest context faults, ensuring maximum host application uptime.
---
5. 🛡️ Bug Fixes & Stability Improvements
- Regex Engine Stability: Resolved
std::regex_errorexceptions inFileRift (Grove)theme by converting lookbehind rules to standard capture groups compatible with C++std::regex. - Keyword Escape Protection: Added automatic regex character escaping in
compile_keywords(), preventing metacharacter collisions during keyword group matching. - Modern Memory Allocation: Replaced non-standard const-pointer coercion with C++17
buffer->data()in text buffer interfaces. - Packaging Manifests: Fixed RPM
%filesmanifest to register/usr/bin/rubyand modular shared libraries.
Happy Modding & Coding!
— The SRE Team & OpenSwordigo Contributors
v8.0 Beta 1
⚔️ Swordigo Desktop v8.0 Beta 1 Release Notes
Welcome to the v8.0 Beta 1 release of Swordigo Desktop! This monumental update fundamentally reshapes the modding ecosystem and runtime stability of the engine. By building a complete host-side Virtual File System (VFS), intercepting low-level graphic requests, and rewriting core guest routines natively in C, we've broken past decades-old engine limitations.

🌟 Major Highlights
1. 📂 Universal Mod Virtual File System (VFS)
The entire Android asset loading pipeline (AAssetManager and fopen) has been intercepted and bridged to the host. Assets are now loaded through a 5-layer prioritized hierarchy:
mods/<active_mod>/resources/<profile>/mods/<active_mod>/resources/resources/<profile>/resources/assets/resources/(Vanilla Fallback)
This enables safe, non-destructive modding. Mod assets instantly override vanilla assets without replacing files.
2. 🗜️ Native Uncompressed PVR & PVRTC Decoding
The guest engine's native iOS asset routines have been fully restored on PC:
- PVR v3 + RGBA/BGRA: Fonts and shadow atlases render flawlessly using our new host-side PVR extractor. Aspect ratio corruption is fixed.
- PVRTC Extraction: Raw iOS PVRTC textures are now seamlessly decompressed on the host using an integrated PowerVR decoder, uploading clean pixels directly to OpenGL. No more black character silhouettes or missing models!
- Universal Format Fallbacks: When a
.tex.png(compressed PVR) fails to load, the engine automatically falls back to.pvr, and seamlessly scans_2x(retina) vs_1xvariants.
3. ⌨️ SwKiwi: Native UI Overlays (ImGui Vector Buttons)
The legacy Android-based ButtonController and OverlayController have been ported natively!
- Custom Lua mods can now spawn fully interactive ImGui window overlays on top of the game.
- Overlays are draggable and pinchable (mouse-scroll to zoom).
- Input Gating: When hovering or clicking an active SwKiwi button, game inputs are seamlessly swallowed (
is_input_blocked), preventing your character from swinging their sword while using a menu. - Complete support for layout confinement, label margin padding, and gravity alignment constraints.
4. 📜 True Lua Console & SRE Native Invocation
The Lua execution environment has been unleashed:
- Replaced the broken shared-memory
print()redirect. Luaprintworks seamlessly without crashing. caver.call()API: You can now execute any native ARM64 engine function directly from the Lua console using Ghidra offsets! (e.g.caver.call(caver.getBase() + 0x111533, hero)to trigger native death).- Raw memory Read/Write APIs (
caver.read32,caver.write8) grant 100% control over the runtime state to scripts.
5. ⚙️ TOML Mod Manifests
We have integrated TOMLC directly into the engine startup. Mod profiles (mini.toml) are parsed immediately on boot to configure custom mod identities, version strings, coin limits, and game speeds before the VFS activates.
6. 🛡️ Isolated ARM32 Asset Emulation
To ensure perfect backward compatibility for legacy 32-bit armeabi-v7a mods, the ARM32 asset manager has been completely decoupled from the SRE pathing logic. ARM32 now runs using an isolated, stable original-asset manager implementation.
DO NOT USE THIS IF YOU PLAY RLSWORDIGO
RLSW 6.6 DOSNT WORK IN THIS UPDATE, TRY OUR LAST STABLE UPDATE!!
🛠️ Bug Fixes
- Fixed
video_background.cppEGL surface leaks (audited). - Fixed the EGL Extension string advertisement typo (
GL_OES_compressed_ETC1_texture_data→GL_OES_compressed_ETC1_RGB8_texture), ensuring hardware decoding works for ETC1 textures. - Fixed the
SetResourcesPathconflict wheremenu.scenewas erroneously mapped as a directory, causing recursiveresources/resources/path breakages. - Fixed
FileExistsAtPathto genuinely query the host ext4 filesystem instead of blindly returning1and forcing the engine into blind alleys.
Happy Modding!
— TheCorrectSynovian & The SRE Team
DO NOT USE THIS IF YOU PLAY RLSWORDIGO
RLSW 6.6 DOSNT WORK IN THIS UPDATE, TRY OUR LAST STABLE UPDATE!!
v7.3 Release
Swordigo Desktop v7.3 Combatch Update — Release Notes
Release Date: July 3, 2026
Codename: Combatch Update
Tag: v7.3
🎯 Overview
v7.3 Combatch Update as now our port supports Combatch and not only that! it introduces the brand new Swordfare GUI overlay (powered by Dear ImGui), customizable video backgrounds, key rendering optimizations, JNI touch input control locks, and dynamic host-side memory patching to break the 999 coin limit. This release adds dynamic screen-space void color matching to eliminate ugly border seams, rebinds keyboard modes, and updates the packaging ecosystem.
Key Improvements:
- Swordfare GUI & High DPI Overlay — Replaces legacy debug print panels with a beautiful, dark crimson/slate themed vector ImGui overlay. Supports high-resolution, dynamic scaling, and custom fonts.
- Coin Limit Breaker — Host-side machine code patches for both ARM32 and ARM64 paths to bypass the game's hard-coded 999 coin count limit.
- UI Control Lockout — Implements JNI touch event swallowing when
UI.SetControlsDisabledis toggled by guest scripts (prevents accidental movements during custom overlay usage). - Video Background Engine — Play dynamic 0.4x speed loop videos behind levels, toggleable via
F7 - Dynamic Void Correction — Automatic boundary edge sampling to clear camera gaps with color matching instead of raw black
- Default "Low" PostFX Preset — Performance-focused default preset with screen-space shadows, vignette, and color-correction but zero multi-pass overhead (no Bloom, no SSAO)
- Re-allocated Shortcuts — Backslash (
\) now toggles Manual Typing Mode, freeing upF7for video background control - Debian / RPM Packaging Filters — Bundled assets exclude video files (
.mp4) for lightweight distribution; users grabvbg.zipseparately - Hardware VSync — Hard-locked swap interval for screen-tearing prevention across displays
🆕 What's New
🎥 Video Background Engine (Modular Companion System)
Users can now experience animated video backgrounds in place of static texture sheets.
- Dynamic frame-by-frame loop playing at a cinematic 0.4x speed.
- FFmpeg Frame Extraction — Offloads decoding to a secure runtime shell command to keep host engine memory perfectly isolated and stable.
- Dynamic Toggle (
F7) — PressF7at any point during gameplay to toggle video backgrounds on or off. Disabling them instantly swaps the GPU texture state back to the original vanilla assets (no freezing or pausing). - Directory Agnostic — Automatically probes the level directory or a nested
background/subfolder (e.g.assets/resources/background/grasslandsbackground_day_2x.mp4).
🎨 Dynamic Background Edge-Color Void Correction
In 2.5D games like Swordigo, jumping or falling can pan the camera beyond the borders of the sky background quad, exposing a black void at the bottom/sides.
- Edge Sampling: The engine now samples a 4px deep boundary around the edges of the loaded background (whether it is a static
.tex.pngor an active.mp4video frame). - State Interception: Intercepts
glClearcalls in the JNI emulator bridge. If a background color is active and the game attempts to clear the screen with black (glClearColornear 0.0), it dynamically overrides the clear color with the sampled edge color. - Transitions: Safely resets the state during
.scenetransitions to prevent cave maps or cutscenes from inheriting the sky-blue color.
💨 Optimized "Low" Default PostFX Preset
To solve the problem where running the game without post-processing looks flat, we have transformed the default (OFF) option into a high-performance, lightweight "Low" preset.
- Enabled by Default: Starts automatically on game boot.
- Included Effects:
- Directional Screen-Space Shadows (
intensity = 0.35f,softness = 0.002f) - Color Correction (
warmth = 0.08f,contrast = 1.03f,saturation = 1.05f) - Vignette (
0.15f)
- Directional Screen-Space Shadows (
- Performance: Completely disables expensive passes (SSAO, Bloom, God rays / Volumetrics) to bypass extra blur and ray-marching shaders. Run-time cost is near-zero, drawing in a single compositing pass.
⌨️ Re-allocated Keyboard Shortcuts
To accommodate the new video background toggle:
F7: Toggle video background playback (ON/OFF)\(Backslash): Toggle Manual Keyboard Typing Mode (formerly onF7)
📦 Packaging & Installation Changes
To keep system packages lightweight (DEB and RPM), video backgrounds are distributed separately:
- Exclusion Filter:
builder/package.shautomatically checks for local.mp4video background assets in your local config folders, but deletes them from the staging tree so they are not bundled into the final.debor.rpmbinaries. - User Installation: Users can download the
vbg.zipcompanion file directly from the GitHub releases page, and extract it into their local user data folder:
~/.local/share/swordigo-desktop/assets/resources/background/
📝 Technical Changes
Architecture Changes
| Component | Change | Impact |
|---|---|---|
| PostFX Default | Off |
Enhanced shadows and colors by default with zero performance cost |
| Clear Color | Intercepted glClear | Automatically fills empty border seams with matching color |
| Hotkeys | Rebound F7 / Backslash | typing mode reallocated, video toggle mapped to F7 |
| Packaging | Exclude *.mp4 files |
Package sizes remain clean; custom videos loaded dynamically |
Files Changed
Modified:
src/platform/video_background.h- Added global
g_video_background_enabledstate. - Added
reset_void_fill_color()C-linkage helper.
- Added global
src/platform/video_background.cpp- Switched asset lookups to use
get_data_path()for dev/prod directory safety. - Implemented dynamic edge-color boundary sampling for vanilla
.tex.pngassets. - Implemented
reset_void_fill_color()to clear active state on scene load. - Implemented GPU fallback texture re-upload on video disable to prevent frame freezing.
- Switched asset lookups to use
src/jni/jni_bridge.cpp&src/jni/jni_bridge_arm64.cpp- Intercepted
bridge_gl_clearto conditionally override the clear color withg_void_fill_colorbefore screen clear.
- Intercepted
src/android/asset_manager.c- Hooked
.scenefile openings to callreset_void_fill_color()on level load.
- Hooked
src/main.cpp- Integrated
platform/video_background.hand default-initialized PostFX at boot. - Re-mapped key handlers for
SDLK_BACKSLASH(typing) andSDLK_F7(video background). - Updated UI text legends.
- Integrated
builder/package.sh- Updated package version to
7.3.0(Hotfix III). - Added packaging filters to purge
.mp4background files during staging. - Updated Spec and Deb metadata.
- Updated package version to
🔄 Upgrade Notes
- From v7.2 or earlier: Drop-in upgrade. Run your system package manager or build script.
- Video Background Setup: Extract the release
sd_vbg.zipcontents into~/.local/share/swordigo-desktop/assets/resources/background/.
v7.2 Release
Swordigo Desktop v7.2 Hotfix II — Release Notes
Release Date: July 1, 2026
Codename: Hotfix
Tag: v7.2
🎯 Overview
v7.2 Hotfix II is a focused optimization and stability update bringing critical I/O improvements, a complete migration to decentralized per-instance .ini configuration (inspired by modern launchers like PolyMC), and expanded music format support. This release improves load times, fixes memory leaks, and adds experimental KiwiAPI button support.

Key Improvements:
- Decentralized
.iniarchitecture — no more centralized JSON manifests - Music format expansion — MP3, OGG, WAV all supported via direct libmpg123
- I/O optimization — suppressed verbose file operation logging
- KiwiAPI Buttons & Touchables — experimental interactive elements (early beta)
- Modded instance testing — RLSwordigo, Mason mod, Phonkdigo validated
🆕 What's New
🎵 Custom Music Format Support (Headline Fix)
Now supports MP3, OGG, and WAV via direct libmpg123 decoding instead of shell-based ffmpeg conversion.
| Format | Status | Details |
|---|---|---|
| MP3 | ✅ Fully supported | Direct libmpg123 decoding (no temp files) |
| OGG Vorbis | ✅ Fully supported | Existing libvorbis integration |
| WAV | ✅ Fully supported | Existing WAV loader |
| FLAC | ⏳ Planned | Pending libFLAC integration |
Before: Music search was format-specific (hardcoded paths for OGG, separate paths for MP3). Game-specific music directories were skipped for MP3.
After: Modular format-agnostic search — all directories checked for all formats before moving to fallback locations. Custom music in rl_assets/music/battlesky.mp3 now loads correctly.
📁 Decentralized Configuration (Architecture Shift)
Migrated from centralized JSON manifest to per-instance .ini files.
Old (v7.0):
launcher/
manifest.json ← Generated during build (80+ lines per package)
instances/
vanilla/
rlswordigo/
New (v7.2):
engine/
vanilla-1.4.12/
instance.ini ← Self-describing, decentralized
libswordigo.so
assets/
rlswordigo-6.6/
instance.ini
libswordigo.so
assets/
Rationale:
- Eliminates build-time manifest generation (
generate_manifest.shnow DEPRECATED) - Each instance is self-contained — config + binary + assets in one directory
- Matches modern launcher architecture (PolyMC, Prism, MultiMC)
- Reduces build script complexity by ~80 lines
- More maintainable for multi-instance deployments
File structure (instance.ini):
[instance]
name=Vanilla Swordigo
engine_version=1.4.12
arch=arm64
binary_name=libswordigo.so
assets_dir=assets/💨 I/O Optimization
- Suppressed high-volume [File] logging — fopen, fwrite, mkdir, stat, opendir logs now commented out (not deleted, for debug re-enablement)
- Reduced console I/O overhead — typical game session log volume down ~95% (from hundreds of file operation logs to near-silent)
- Preserved logging infrastructure — logs remain in code but are commented; easy to re-enable for debugging
🔧 KiwiAPI Extensions (Experimental)
- KiwiAPI Buttons & Touchables — new experimental interactive element support
- Native GUI rendering — buttons now support touch input mapping
- Status: Early beta — core features stable, edge cases under testing
- Compatibility: Full backward compatibility with existing KiwiAPI mods
🐛 Memory Leak Fixes
- Fixed libmpg123 handle cleanup — ensures proper initialization/deinitialization
- Reduced guest memory fragmentation in music loader
- Improved instance cleanup on instance switch
🏆 Stability & Mod Support
Tested & Validated Instances
| Instance | Status | Notes |
|---|---|---|
| Vanilla Swordigo 1.4.12 ARM64 | ✅ Fully stable | Beatable end-to-end, all bosses, all areas |
| RLSwordigo 6.6 | 🟡 Near stable | Gameplay stable; some modded features incomplete |
| Mason Mod | 🟡 Near stable | Core mechanics work; cosmetic features untested |
| Phonkdigo | 🟡 Near stable | Music & aesthetics work; edge cases pending |
| Combatch v3 | 🔴 Works, unstable | Loads + runs; crashes on certain mods, not fully supported this release |
Supported for Bug Reports
Bug reports accepted ONLY for officially supported instances:
- ✅ Vanilla Swordigo 1.4.12 ARM64
- ✅ RLSwordigo 6.6
- ✅ Mason Mod
Unsupported:
- ❌ ARM32 instances (no SRE support, not actively maintained)
- ❌ Combatch v3 or other unstable instances
If you encounter crashes in supported instances, report on GitHub with:
- Instance name and version
- Reproduction steps
- Log output (console, or
~/.local/share/swordigo-desktop/.../*/logs)
📝 Technical Changes
Architecture Changes
| Component | Change | Impact |
|---|---|---|
| Config System | JSON → .ini per-instance |
Decentralized, self-describing configs |
| Music Loader | Shell ffmpeg → libmpg123 direct | 10× faster MP3 load, no temp files, lower I/O |
| Search Algorithm | Format-specific → Format-agnostic modular | All dirs checked for all formats |
| File Logging | Verbose → Suppressed | 95% console I/O reduction |
🔄 Upgrade Notes
- From v7.0/v7.1: Drop-in upgrade. No data migration. Existing
.inifiles are preserved and used directly. - From v6.5 or earlier: Run
swordigo-setupafter install to refresh instance data. - Build:
make -j$(nproc)(requires libmpg123-devel)
Dependencies (New)
- libmpg123-devel — MP3 decoding library
- pkg-config — for libmpg123 detection during build
🎮 Modding Ecosystem
Swordigo Desktop now supports two parallel modding frameworks:
1. KiwiAPI / Mini API (Primary)
- Status: Beta (actively developed, primary focus)
- Framework: SwKiwi/SwMini modloader hooks
- Capabilities: Full game hooks, custom entities, audio, GUI, saves
- Examples: RLSwordigo, Phonkdigo, experimental button mods
- Focus: This is where new mod support is prioritized
2. SDMOD (Lightweight Custom)
- Status: Early beta (less powerful, not actively expanded)
- Framework: - tbd
- Capabilities: Lightweight tweaks, cosmetics, basic behavior changes
- Limitations: Not yet advanced
⚠️ Known Limitations
ARM64 (arm64-v8a) — Primary Target
| Issue | Status | Workaround |
|---|---|---|
| Text input crash | 🟡 Known | Avoid SetName (typing mode) in menus |
ARM32 (armeabi-v7a)
| Issue | Status | Details |
|---|---|---|
| No SRE support | 🟡 By design | libsre.so is ARM64 only; ARM32 runs without engine hooks |
| Not actively maintained | 🔴 Decision | Focus is 100% on ARM64 for performance |
👥 Credits
v7.2 Hotfix II Development:
- MrSinup — MP3 playback via libmpg123, direct decoding integration and music system improvements.
- Mano K — KiwiAPI buttons & touchables.
- QuantumCreeper (TheCorrectSynovian) — I/O optimization, launcher refactoring,
.inimigration, build script updates
Open Source & Community:
- Swordigo — Original game by Touch Foo (Ville Mäkynen)
- Built with: Dynarmic, Unicorn Engine, SDL3, OpenAL Soft, libmpg123
📦 Packaging & Installation
Pre-built Packages
| Format | Platform | Command |
|---|---|---|
.rpm |
Fedora x86_64 | sudo dnf install swordigo-desktop-7.2.0-1.x86_64.rpm |
.deb |
Debian/Ubuntu x86_64 | sudo dpkg -i swordigo-desktop_7.2.0-1_amd64.deb |
Package Contents (v7.2)
swordigo_boot— Main executable (with Dynarmic JIT, libmpg123)asset_viewer— Asset browserengine/— Instance directories with.iniconfigs (replaces manifest.json)assets/— Game assets, resources, music.desktopentry + app icon
Build from Source
# Install dependencies (Fedora)
sudo dnf install libmpg123-devel unicorn-devel SDL3-devel SDL3_image-devel \
openal-soft-devel mesa-libGL-devel zlib-devel libvorbis-devel \
gcc-aarch64-linux-gnu cmake
# Build
cd SwordigoDesktop
make -j$(nproc)
sudo make install🔮 What's Next (v7+ Roadmap)
- ARM32 deprecation (no new features, security fixes only)
- Player name input fix (text entry crash mitigation)
- FLAC format support for music
- DPI scaling for overlay/GUI
- F11 SRT overlay re-enablement
- Advanced modding documentation for KiwiAPI
Powered by the Swordigo Runtime (SRT) v7.2
Built with ❤️ for game preservation and modding freedom.
v7.1 Release
Swordigo Desktop v7.1 — Release Notes
Release Date: June 25, 2026
Codename: hot-fix
Tag: v7.1
🆕 What's New
This is a hotfix release focusing on resolving critical crashes and usability issues introduced in v7.0 when playing user-imported custom modded instances (specifically with RLSwordigo game type).

🛠️ Custom Instance Compatibility Fixes
- SRE Compatibility in Custom Directories: Fixed a bug where
libsre.soloading was bypassed for custom instances. The runtime now checks forcustom-prefixes in the library directory path. This ensures that the required guest-side hooks are successfully loaded, preventing atomic spin-loop hangs and empty.PODcrashes. - Automatic SRE Dependency Registration: The launcher now automatically copies and registers
libsre.sodependency paths when importing a custom instance with SRE enabled. - Config Persistence Merging: Restructured the duplicate check logic in the launcher's metadata scanner. Settings loaded from
instances.json(such asgame_typeandassets_dir) now correctly merge and override the filesystem-scanned attributes instead of being discarded on launcher restart.
📚 Documentation Cleanup
- Removed ARM64 Limitations: Officially marked the ARM64 emulation target as having no major known limitations.
- Removed references to:
- Bolt/timer misbehavior: Projectile firing rates and boss timing alignment have been fully stabilized.
- Text input crash: Intercepted by the SRE input thunk layer, allowing safe character/label transitions.
Powered by the Swordigo Runtime (SRT) v7.1
v7 Release
Swordigo Desktop v7.0 — Release Notes
Release Date: June 24, 2026
Codename: The Performance Revolution
Tag: v7.0
🆕 What's New
⚡ Dynarmic JIT Compiler (Headline Feature)
The headline feature of v7.0 is a Dynarmic Just-In-Time compiler that replaces the Unicorn interpreter as the default ARM64 execution backend. ARM64 guest code now compiles to native x86_64 at runtime, achieving near-native performance.
| Metric | Unicorn (Interpreter) | Dynarmic (JIT) |
|---|---|---|
| Framerate | 40-50 fps | 60 fps locked |
| Execution model | Instruction-by-instruction | Block-compiled native |
| Status | Retained as --no-dynarmic fallback |
Default |
| Linking | Dynamic | Static (no new runtime deps) |
| License | GPL-2.0 | BSD-0-Clause |
- Dynarmic source included in
deps/dynarmic/ - Build with:
make -j$(nproc) DYNARMIC=1 - Unicorn Engine is still available via
--no-dynarmicfor debugging or compatibility
🎮 RLSwordigo Support
- Play the roguelike Swordigo spinoff through custom instances
- Fully supported via the instance management system
🔌 KiwiAPI Compatibility (Phase 1 & 2)
- For RLSwordigo
- SWKiwi modloader hooks for the mod ecosystem
- Enables third-party mod loading through the KiwiAPI interface
💎 Bauble API (Phase 3.3)
- Trinket/bauble system hooks for the SRE engine
- Enables mods to interact with the in-game trinket system
🏆 Achievement System (Phase 3.4)
- Achievement hooks integrated into the SRE runtime
- Foundation for tracking and displaying player achievements
🖥️ Native Aspect Ratio
- F12 fullscreen toggle now preserves the display's native aspect ratio (16:10, 3:2, etc.)
- No longer forces 16:9 — adapts to the monitor's actual geometry
📂 Launcher Asset Path
- New
launcher/subfolder for RPM/DEB installations - Fixes icon and texture loading on packaged installs where assets were not found at the expected relative paths
🔧 Runtime Bridges & Error Recovery
| Feature | Details |
|---|---|
| io.open bridge | Full io.open implementation for guest file I/O |
| fgets/fscanf bridges | C standard library file reading for Combatch mod |
| _longjmp registration | Lua error recovery support — prevents crashes on Lua error() calls |
🗂️ Instance Management Overhaul
- Custom assets folders per instance
- Each instance can carry its own game data, mods, and configuration
- Clean separation between Swordigo, RLSwordigo, and modded instances
📁 Files Changed
New Files
deps/dynarmic/— Dynarmic JIT source tree (BSD-0-Clause)launcher/— Launcher asset subfolder for packaged installs- Bauble API hooks
- Achievement system hooks
- KiwiAPI / SWKiwi modloader integration
- RLSwordigo instance support
Modified Files
src/main.cpp— Dynarmic JIT initialization, backend selection, aspect ratio logicsrc/jni/jni_bridge_arm64.cpp—io.open,fgets,fscanf,_longjmpbridgessrc/sre/sre_init.c— Bauble API and achievement hook registrationsrc/platform/launcher_ui.cpp— Asset path resolution, instance management overhaulsrc/platform/fbo_scaler.cpp— Native aspect ratio support for F12 fullscreenMakefile—DYNARMIC=1flag, static linking of Dynarmic, launcher asset path
🏗️ Architecture
┌──────────────────────────────────────────────────────────────┐
│ HOST (x86_64) │
│ ┌──────────┐ ┌───────────┐ ┌──────────────────┐ │
│ │ Launcher │ │ FBO/PostFX│ │ JNI Bridge │ │
│ │ (ImGui) │ │ Scaler │ │ (~400 bridges) │ │
│ └──────────┘ └───────────┘ └────────┬─────────┘ │
│ │ │
│ ┌──────────────────────────────────────┴────────┐ │
│ │ Dynarmic JIT (Default) │ Unicorn (Fallback)│ │
│ │ ARM64 → x86_64 native │ Interpreter mode │ │
│ │ 60fps, near-native │ 10-15fps │ │
│ └──────────┬───────────────────────────────────┘ │
│ │ │
│ ┌──────────▼──────────────────┐ │
│ │ Guest Memory (512MB) │ │
│ │ ┌─────────────────────┐ │ │
│ │ │ libswordigo.so │ │ │
│ │ │ (ARM64 game binary)│ │ │
│ │ ├─────────────────────┤ │ │
│ │ │ libsre.so (SRE) │ │ │
│ │ │ 34+ hooks, Mini/LNI│ │ │
│ │ └─────────────────────┘ │ │
│ └────────────────────────────┘ │
└──────────────────────────────────────────────────────────────┘
📦 Packaging
Install
# Fedora / RHEL
sudo rpm -Uvh swordigo-desktop-7.0.0-1.x86_64.rpm
# Ubuntu / Debian
sudo dpkg -i swordigo-desktop_7.0.0-1_amd64.deb
# First run setup (automatic on install, manual if needed)
swordigo-setupPackage Contents
swordigo_boot— Main executable (with Dynarmic JIT compiled in)asset_viewer— Asset browserswordigo-setup— First-run data installer- Game assets, engine binaries (v1.4.6 + v1.4.12, ARM32 + ARM64), music
launcher/— Launcher icons and textures.desktopentry + app icon
Dependencies
- SDL3, SDL3_image
- OpenGL (Mesa)
- Unicorn Engine
- OpenAL Soft
- Dynarmic is statically linked — NOT a runtime dependency
🔄 Upgrade Notes
- From v6.5: Drop-in upgrade. No data migration needed.
- From v5.x or earlier: Run
swordigo-setupafter install to refresh data. - Build with
make DYNARMIC=1for JIT (recommended) or plainmakefor Unicorn-only.
🔮 What's Next (v7.5 Roadmap)
- Player name input fix (text entry crash)
- DPI scaling for overlay/GUI
- Options menu via CreditsVC hijack
- F11 SRT overlay re-enablement
- VFS re-enablement for mod asset layering
⚠️ Known Limitations
ARM64 (arm64-v8a) — Primary Target
| Issue | Status | Notes |
|---|---|---|
| Text input crash | 🔴 Open | Save name entry → wild jump crash, needs investigation |
ARM32 (armeabi-v7a)
| Issue | Status | Notes |
|---|---|---|
| No SRE | 🟡 By design | libsre.so is ARM64 only — ARM32 runs without engine hooks |
| Some event processing failiures | 🟡 Open | Open Issue, contributors can help |
👤 Credits
- TheMegineBraine — Lead developer
- QuantumCreeper / TheCorrectSynovian — Project creator, platform engineering
- MrSinup — Dynarmic JIT integration
- Swordigo — Original game by Touch Foo
- Built with: SDL3, Dear ImGui, Dynarmic, Unicorn Engine, OpenAL Soft
Powered by the Swordigo Runtime (SRT) v7.0
v6.5 Release
Swordigo Desktop v6.5 — Release Notes
Release Date: June 23, 2026
Codename: Documentation Drop
Tag: v6.5
Commit: 66 files changed.
🆕 What's New
📚 Complete Modding & API Documentation (modapi/)
The headline feature of v6.5 is a 22-file, 414KB documentation suite covering every modding API, file format, and runtime system in the project. This is the first release with comprehensive public documentation.
| Document | Size | Description |
|---|---|---|
README.md |
5.5 KB | Index with quickstart guide |
modding-guide.md |
26 KB | Full modding tutorial (music, scene, text, GUI mods) |
architecture.md |
37 KB | SRT/SRE/Host runtime deep-dive |
sre-hooks.md |
53 KB | All 34+ engine hooks with offsets and C signatures |
lua-api.md |
22 KB | Mini.*, LNI.*, standard library extensions |
gui-api.md |
19 KB | SRE GUI rendering API (15 functions) |
music-api.md |
17 KB | End-to-end music system (hooks + host + mods) |
mod-config.md |
19 KB | Shared memory protocol at guest address 0x49000 |
save-format.md |
17 KB | .gplayer protobuf format + Save Editor API |
binary-selector.md |
19 KB | Instance management, manifests, boot sequence |
data-layout.md |
12 KB | Runtime directory structure, path resolution |
input-system.md |
20 KB | Keybindings, macros, touch zone emulation |
postfx.md |
14 KB | Post-processing (30+ params, 8 presets) |
fbo-scaler.md |
14 KB | FBO pipeline and 4 scaling modes |
vfs-api.md |
10 KB | Virtual filesystem (planned feature) |
overlay.md |
8 KB | SRT runtime overlay + inventory editor |
debug-overlay.md |
12 KB | F3 debug HUD reference |
building.md |
13 KB | Build from source guide |
shortcuts.md |
4 KB | All keyboard shortcuts |
formats/scene-format.md |
15 KB | .scene protobuf wire format |
formats/pod-format.md |
16 KB | PowerVR POD model format |
formats/pvr-format.md |
18 KB | PVR texture format (ETC1) |
formats/protobuf-wire.md |
17 KB | Zero-dependency protobuf reader/writer |
🖥️ Vulkan Renderer Backend
- Removed (WIP) label from Vulkan radio button in launcher
- Full GLES 1.x fixed-function pipeline emulator (~3000 lines)
- Uber-shader with 6 specialization constants
- State synchronization via
FixedFunctionState - Selectable from launcher: OpenGL or Vulkan
🔧 F3 Debug Overlay — Graphics API
- New "Graphics API: OpenGL/Vulkan" line in the debug HUD
- Shows which rendering backend is actively in use
- Visible on both ARM32 and ARM64 code paths
🎨 ImGui Launcher Enhancements
- Background texture support (
launcher_bg.png) - Instance icons (per game type: Swordigo, RLSwordigo, SwordigoMini)
- Working Add Instance button (opens engine directory)
- Asset Viewer launch button functional
- Instance sorting (ARM64 first, then by version)
- Vanilla instance deletion protection
🔌 Mod System: sre_mod.c
- New SRE module for mod config shared memory protocol
- Magic-validated header at guest address
0x49000 - Supports up to 32 music + 16 scene + 16 background replacements
- Query API:
sre_mod_get_music/scene/bg_replacement()
📁 Files Changed
New Files (48)
modapi/— 22 documentation files +formats/subdirectory (4 files)src/platform/launcher_ui.cpp/.h— ImGui launcher replacementsrc/sre/sre_mod.c— Mod config protocolsrc/imgui/— Dear ImGui library (11 files)src/tools/pod_loader.cpp/.h— Standalone POD parsersrc/tools/scene_loader.cpp/.h— Scene file parsersrc/tools/av_renderer.cpp/.h— OpenGL 3.3 renderersrc/tools/av_audio.cpp/.h— SDL3 audio player
Modified Files (18)
src/main.cpp— Graphics API debug line, expanded HUD backgroundsrc/platform/launcher_ui.cpp— Removed "(WIP)" from Vulkan labelsrc/jni/jni_bridge_arm64.cpp— Vulkan backend routingsrc/sre/sre_init.c— Hook table updatessrc/platform/fbo_scaler.cpp/.h— PostFX state expansionMakefile— ImGui sources, asset viewer targetrun_swordigo.sh— Asset viewer integration- Various SRE modules — Bug fixes and improvements
🏗️ Architecture
┌──────────────────────────────────────────────────────┐
│ HOST (x86_64) │
│ ┌──────────┐ ┌───────────┐ ┌──────────────────┐ │
│ │ Launcher │ │ FBO/PostFX│ │ JNI Bridge │ │
│ │ (ImGui) │ │ Scaler │ │ (~400 bridges) │ │
│ └──────────┘ └───────────┘ └────────┬─────────┘ │
│ │ │
│ ┌─────────────────────────────┐ │ │
│ │ Unicorn Emulator │◄──────┘ │
│ │ (ARM64 → x86) │ │
│ └──────────┬──────────────────┘ │
│ │ │
│ ┌──────────▼──────────────────┐ │
│ │ Guest Memory (512MB) │ │
│ │ ┌─────────────────────┐ │ │
│ │ │ libswordigo.so │ │ │
│ │ │ (ARM64 game binary)│ │ │
│ │ ├─────────────────────┤ │ │
│ │ │ libsre.so (SRE) │ │ │
│ │ │ 34+ hooks, Mini/LNI│ │ │
│ │ ├─────────────────────┤ │ │
│ │ │ Mod Config (8KB) │ │ │
│ │ │ @ 0x49000 │ │ │
│ │ └─────────────────────┘ │ │
│ └────────────────────────────┘ │
└──────────────────────────────────────────────────────┘
📦 Packaging
Install
# Fedora / RHEL
sudo rpm -Uvh swordigo-desktop-6.5.0-1.x86_64.rpm
# Ubuntu / Debian
sudo dpkg -i swordigo-desktop_6.5.0-1_amd64.deb
# First run setup (automatic on install, manual if needed)
swordigo-setupPackage Contents
swordigo_boot— Main executableasset_viewer— Asset browserswordigo-setup— First-run data installer- Game assets, engine binaries (v1.4.6 + v1.4.12, ARM32 + ARM64), music
.desktopentry + app icon
Dependencies
- SDL3, SDL3_image
- OpenGL (Mesa)
- Unicorn Engine
- OpenAL Soft
🔄 Upgrade Notes
- From v6.0: Drop-in upgrade. No data migration needed.
- From v5.x or earlier: Run
swordigo-setupafter install to refresh data. - modapi/ docs are included in the repo but NOT in the package (development reference only).
🔮 What's Next (v7.0 Roadmap)
- Expose modding APIs to launcher mod management UI
- DPI scaling for the overlay/GUI
- Export options for asset viewer
- VFS re-enablement for seamless mod asset layering
- Mod workshop / sharing integration
👤 Credits
- QuantumCreeper — Lead developer
- Swordigo — Original game by Touch Foo
- Built with: SDL3, Dear ImGui, Unicorn Engine, OpenAL Soft
v6 Release
⚔️ Swordigo Desktop v6.0 — Release Notes
June 22, 2026
From Runtime to Platform
v6.0 completes the transition from "runtime that hooks a game" to full platform ownership. The GUI rendering pipeline, Lua environment, virtual filesystem, and save system are now ours. libswordigo.so is down to physics, AI, collision, and entity logic — everything the player sees runs through SRE.

Before (v5.0): 17 hooks — SRE owns audio, HUD, death
Now (v6.0): 30+ hooks — SRE owns GUI, Lua, menus, saves, PostFX
🎉 Two Long-Awaited Bugs — SOLVED
Wastelands Spinlock — The infamous freeze in the Wastelands region that forced players to use ARM32 as a workaround? Fixed. The ARM64 emulation now handles the spinlock correctly.
Death Freeze — Dying in the game caused a permanent freeze (the ad SDK path hung forever). Fixed. SRE now intercepts the death handler and directly triggers checkpoint respawn — instant, clean, no restart needed.
🐛 Critical Bug Fixes
💀 Death Loop Fix
A duplicate hook entry at offset 0x347efc was causing death/respawn to be unreliable. Two hooks were mapped to the same offset — sre_ShowAdMaybe (correct) and sre_GameOverVC_ShowAdMaybe (stale duplicate from an older codebase snapshot). The stale entry was overwriting the correct hook at load time, breaking the respawn path. Fixed by removing the duplicate.
🔧 GameSceneView::Update Recovered
The entire body of sre_GameSceneView_Update was missing from the build. It existed only in an old TVPG snapshot and was never carried over to the ext4 working copy. This function is responsible for:
| Element | What It Does |
|---|---|
| Health bar | HP display updates |
| Mana bar + skill button | Magic system UI |
| Smart coin bar | Shop-aware auto-hide (appears on pickup, stays in shops, fades after 3s) |
| Damage flash | Red screen overlay on HP decrease |
| Controls hide | Hides touch controls during combat cinematics |
| Use/pickup button | Context-sensitive interaction prompt |
| Cinematic skip timer | Skip countdown for cutscenes |
| GUI effect animations | Animated UI transitions |
Recovered and placed in new file sre_scene_update.c.
📤 Player Stats Exported
13 volatile globals (g_sre_player_hp, g_sre_player_coins, etc.) were referenced by the host but never defined in libsre.so. The linker silently resolved them to zero. Now properly defined and populated every frame.
❄️ Wastelands Freeze Fixed
The v5.0 showstopper — heavy ARM64 emulation stalls in the Wastelands region — is resolved. Players no longer need to switch to ARM32 for this area.
🆕 What's New
🖼️ Full GUI DrawRect Stack
8 native DrawRect hooks give SRE total control over the game's GUI rendering pipeline:
| Hook | Class |
|---|---|
| 1 | GUIWindow |
| 2 | GUIView |
| 3 | GUIButton |
| 4 | GUILabel |
| 5 | GUIFrameView |
| 6 | GUIAlertView |
| 7 | GUISlider |
| 8 | NewMenuView |
Every GUI element's draw call passes through SRE before reaching the renderer.
🎨 Native GUI Rendering
Three core GUI classes are fully reimplemented in C:
| Class | What's Native |
|---|---|
| GUIButton | Button state management (normal/hover/pressed/disabled) |
| GUILabel | Text rendering and layout |
| GUIFrameView | Frame borders and background fills |
🏷️ Button Text Override System
Any GUILabel or GUIButton text can be modified at draw time. Used to rename "Offers" → "Options" on the main menu, removing traces of the mobile IAP storefront.
🚫 Scoped Button Hiding
Specific buttons can be hidden by pointer match. Used to remove the IAP shop button from the main menu cleanly — no NOP patches, no layout hacks.
💾 Save Editor
Built directly into the launcher. Edit any save file's:
- 💰 Coins
- ❤️ Health
- 🔮 Mana
- ⭐ XP
- ⚔️ Weapon
- 🔑 Keys
🗂️ Asset Viewer
Standalone tool (make asset_viewer) for browsing game assets:
| Asset Type | Support |
|---|---|
| Textures | PVR and PNG |
| Audio | Music and sound effects |
| Scenes | Scene data inspection |
Launchable from the launcher UI.
🎬 PostFX Pipeline
6 shader presets with full post-processing. Cycle with F6.
| Preset | Character |
|---|---|
| Cinematic | Film-grade color grading |
| Retro | Pixel-era nostalgia |
| Fantasy | Vibrant, saturated tones |
| Noir | Desaturated high-contrast |
| Ethereal | Soft bloom, dreamlike |
| Atmospheric | Fog and depth haze |
Available effects: SSAO, God Rays, Vignette, Film Grain, Chromatic Aberration, Sharpen.
🔧 Other New Features
| Feature | Details |
|---|---|
| SRE Lua Libraries | Extended Lua environment with custom SRE libraries |
| SwMini API Compatibility | Mini.*, LNI.*, Components.* Lua tables for mod compatibility |
| Virtual Filesystem | Mod asset layering system (sre_vfs.c) for future mod support |
| ProgramState::Update Hook | Frame-level hook for game loop interception |
| luaD_throw + ProgramPanic hooks | Crash safety net for Lua errors and engine panics |
| AudioSystem::SetMusicVolume hook | Routes engine UI volume slider to OpenAL |
| Launcher Icon Fix | Multi-path fallback chain for window icons (launcher + asset viewer) |
🏗️ Architecture Improvements
Hook Table Expansion
| Metric | v5.0 | v6.0 |
|---|---|---|
| Active hooks | 17 | 30+ |
| SRE source files | — | 16 |
| Lines of SRE C code | — | ~4000+ |
| JNI bridged functions | — | 200+ |
Relay Stubs
SreHookEntry now carries 3 fields — offset, name, and orig_func — enabling call-through to original functions. Hooks can intercept, modify, and optionally forward to the original implementation.
Non-const Hook Table
The hook table is no longer const. The host can write relay addresses at runtime, enabling dynamic hook composition.
Clean Source Organization
| File | Responsibility |
|---|---|
sre_gui_native.c |
Native GUI rendering (Button, Label, Frame) |
sre_gui.c |
Drawing API (DrawRect hooks) |
sre_gui.h |
GUI type definitions |
sre_scene_update.c |
GameSceneView::Update reimplementation |
sre_lua_libs.c |
Custom Lua libraries |
sre_mini_api.c |
SwMini API compatibility layer |
sre_vfs.c |
Virtual filesystem for mod assets |
⚠️ Known Limitations
ARM64 (arm64-v8a) — Primary Target
| Issue | Status | Notes |
|---|---|---|
| Bolt/timer misbehavior | 🟡 Known | Due to timing misalignment in the ARM64 emulation layer, certain boss attacks, bolt-shooting enemies, and bolt-based traps may fire projectiles at abnormally fast rates. Sword-wielding enemies may also behave differently from the Android version. This is not intentional — we will patch these in future releases. |
| PostFX in menus | 🟡 v7 | Should auto-disable in menus — detection infrastructure exists but not wired |
| Options menu | 🟡 v7 | CreditsVC hijack disabled for stability — v7 target |
| F11 overlay | 🟡 v7 | Disabled for stability — v7 target |
| Text input crash | 🔴 Open | Set Name for save file → wild jump to 0x2d6ce4c, needs investigation |
ARM32 (armeabi-v7a)
| Issue | Status | Notes |
|---|---|---|
| No SRE | 🟡 By design | libsre.so only supports ARM64 — ARM32 runs without engine hooks |
📊 SRT Ownership Map
What we own vs what libswordigo.so still handles:
┌─────────────────────────────────────────┐
│ SRE Owns (libsre.so) │
│ ✅ Music ✅ Death/Respawn │
│ ✅ HUD ✅ Coin Bar │
│ ✅ Damage Flash ✅ Backgrounds │
│ ✅ String Ops ✅ Player Stats │
│ ✅ GUI Rendering ✅ GUI Text Override │
│ ✅ PostFX ✅ Lua Environment │
│ ✅ Save Editor ✅ Virtual FS │
│ ✅ Crash Recovery ✅ Audio Volume │
├─────────────────────────────────────────┤
│ libswordigo.so (Gameplay Kernel) │
│ 🎯 Physics 🎯 AI │
│ 🎯 Combat 🎯 Collision │
│ 🎯 Lua Scripts 🎯 Scene Loading │
│ 🎯 Save System 🎯 Entity Systems │
└─────────────────────────────────────────┘
📦 Download
| Format | Size | Platform |
|---|---|---|
.rpm |
78M | Fedora/RHEL x86_64 |
.deb |
78M | Debian/Ubuntu x86_64 |
Includes: swordigo_boot, libsre.so, engine binaries (v1.4.6 + v1.4.12, ARM32 + ARM64), 939 game assets, 9 music tracks, save editor, asset viewer, PostFX shaders.
👥 Credits
See README.md for the full credits list.
Powered by the Swordigo Runtime (SRT) v6.0
v5 Release
⚔️ Swordigo Desktop v5.0 — Release Notes
June 21, 2026
The Swordigo Runtime (SRT)
v5.0 is a paradigm shift. We're no longer patching individual functions — we're replacing entire subsystems. The introduction of libsre.so (Swordigo Runtime Engine) means the game's original libswordigo.so is now treated as a gameplay kernel while SRE owns presentation, audio, HUD, and death handling.

Before (v1.0–v4.5): Find bug → Patch bug
Now (v5.0): Find subsystem → Understand subsystem → Replace subsystem
🆕 What's New
🏗️ libsre.so — The Swordigo Runtime Engine
The headline feature. A guest-side ARM64 shared library loaded alongside libswordigo.so that installs 17 active hooks to intercept and replace problematic functions with clean C reimplementations.
| Hook Category | Count | What It Replaces |
|---|---|---|
| CppString | 4 | Atomic refcount ops (STXR spin loops → simple MOV) |
| MusicPlayer | 6 | Entire music system → OpenAL command interface to host |
| Background | 3 | Custom sky/parallax rendering |
| GameSceneView | 1 | Full GameSceneView::Update reimplementation |
| Death/Respawn | 1 | ShowAdMaybe → native GameOverViewDidContinue |
| Exception | 1 | __cxa_throw interception for crash recovery |
| Lua Safety | 1 | lua_pcall with setjmp/longjmp error recovery |
---
🎵 Full Music System Replacement
The game's MusicPlayer class is completely replaced. SRE writes music commands to shared memory, and the host reads them to drive OpenAL.
| Feature | Details |
|---|---|
| Load/Play/Pause/Stop | Full playback control via command interface |
| Volume control | Host-side F9/F10 volume adjust + mute toggle |
| Looping | AL_LOOPING + watchdog timer that restarts stopped loops |
| No more silence | Music loop watchdog catches and restarts music that stops unexpectedly |
💀 Instant Death Respawn
No more process restarts on death. SRE hooks GameOverViewController::ShowAdMaybe and directly calls GameOverViewDidContinue, respawning the player at their last checkpoint instantly.
🎮 HUD System Reimplementation
GameSceneView::Update is fully reimplemented in C, giving SRE control over:
| Element | Behavior |
|---|---|
| Coin bar | Smart auto-hide: appears on pickup, stays in shops, fades after 3s |
| Damage flash | Red screen overlay when HP decreases |
| Scene detection | Tracks world changes and shop entry/exit |
| Player stats export | HP, Mana, Coins, XP, Level, ATK → readable from host F3 overlay |
🔒 SRE Version Gate
SRE hooks use hardcoded function offsets for v1.4.12 ARM64. Loading them on other binaries would crash. v5.0 adds an automatic version check:
v1.4.12 ARM64 → SRE loads ✅ (17 hooks active)
Any other binary → "[SRE] Skipped" ⛔ (runs without hooks, safe)
🧹 UI Cleanup
Non-functional mod menu sections (Combat, Movement, Economy, Cheats) are hidden for this release. Only the working GAME section remains:
- ⚡ Game Speed (0.25× – 4×)
- ⏸️ Pause
- 📷 Free Camera
- 🎥 Smooth Camera
🔧 Other Improvements
| Change | Details |
|---|---|
| Non-atomic strings | 4 hooks replace STXR-based atomic refcounting → eliminates hangs |
| Lua error recovery | ARM64 setjmp/longjmp implementation for safe lua_pcall |
| GameState pointer | Exported from SRE, enabling host-side direct memory read/write |
| Package builder | Updated to v5.0 with libsre.so bundled in ARM64 engine dirs |
⚠️ Known Limitations
ARM64 (arm64-v8a) — Primary Target
| Issue | Status | Workaround |
|---|---|---|
| Wastelands freeze | 🔴 Open | Game spinlocks in Wastelands. Switch to ARM32 for this region. |
| Heavy function stalls | 🟡 Known | Some entity functions take 800ms+ in dungeon areas |
ARM32 (armeabi-v7a)
| Issue | Status | Workaround |
|---|---|---|
| Timer-based spikes | 🔴 Open | Repeating timer spikes don't activate |
| Boss gates | 🔴 Open | Post-boss gates don't trigger |
| No SRE | 🟡 By design | libsre.so only supports ARM64 — ARM32 runs without engine hooks |
🎮 Recommended Play Strategy
- Start on ARM64 v1.4.12 — best SRE support, instant respawn, full music
- Play through to Willcliff Campsite on ARM64
- Switch to ARM32 for Wastelands and regions where ARM64 freezes
- F3 to monitor player stats in real-time
📦 Download
| Format | Size | Platform |
|---|---|---|
.rpm |
78M | Fedora/RHEL x86_64 |
.deb |
78M | Debian/Ubuntu x86_64 |
Includes: swordigo_boot, libsre.so, engine binaries (v1.4.6 + v1.4.12, ARM32 + ARM64), 939 game assets, 9 music tracks.
📊 SRT Ownership Map
What we own vs what libswordigo.so still handles:
┌─────────────────────────────────────────┐
│ SRE Owns (libsre.so) │
│ ✅ Music ✅ Death/Respawn │
│ ✅ HUD ✅ Coin Bar │
│ ✅ Damage Flash ✅ Backgrounds │
│ ✅ String Ops ✅ Player Stats │
├─────────────────────────────────────────┤
│ libswordigo.so (Gameplay Kernel) │
│ 🎯 Physics 🎯 AI │
│ 🎯 Combat 🎯 Collision │
│ 🎯 Lua Scripts 🎯 Scene Loading │
│ 🎯 Save System 🎯 Entity Systems │
└─────────────────────────────────────────┘
👥 Credits
See README.md for the full credits list.
Powered by the Swordigo Runtime (SRT) v5.0