Repository navigation
Developer and Architecture Guide
Native Furcadia is written in Rust (edition = 2021) and organized as a reusable core library (furcadia_client) plus two binaries (furc-gui and furc-cli).
| Target | Entry Point | Purpose |
|---|---|---|
furcadia_client (lib) |
src/lib.rs |
Networking, protocol, auth, map & archive decoding, palette remapping, logs, config |
furc-gui (bin) |
src/bin/furc_gui.rs |
Desktop GUI built with eframe / egui
|
furc-cli (bin) |
src/bin/furc_cli.rs |
Terminal client for chat, Pounce, and protocol testing |
| Module | Responsibility |
|---|---|
assets.rs |
Asset discovery, cache directory layout (assets, dreams, species, patches), and palette.act loading |
auth.rs |
Furcadia account login XML (clogin) parsing, character list fetching, and byte-exact character appearance summaries |
chat.rs |
Server chat line parsing, HTML unescaping, and styled spans (ChatLine, ChatSpan, ChatStyle) |
client.rs |
TCP/TLS game connection, Dragonroar handshake, TLS 1.2 (@SECLEVEL=0) upgrade, and session state |
config.rs |
Local config.ini persistence (0600 on Unix) and per-device cloud-sync settings-<device-id>.ini handling |
dragonspeak.rs |
DragonSpeak script parsing and trigger/line/category models |
encoding.rs |
Furcadia text encoding / Windows-1252 helpers |
fox.rs |
FOX5, FSHX, and FSH sprite/archive decoding, animation steps, layers, and shape resolution |
furc_colors.rs |
Furcadia color code byte parsing, mojibake repair, and RemapLuts palette remapping |
logs.rs |
Shared and per-character chat/whisper log writers, retention cleanup, and multi-device log merging |
logo.rs |
Embedded brand/logo helper |
map.rs |
Furcadia dream map parser (V01.40 and V01.50) |
news.rs |
Furcadia news feed fetcher and parser |
pounce.rs |
Real-time Pounce watchlist monitoring and online/offline events |
protocol.rs |
Wire protocol ClientCommand encoding and ServerMessage decoding |
rch.rs |
FR01 archive parsing and safe extraction |
sys.rs |
System/platform helper utilities |
tray.rs |
Cross-platform system tray handle (native Linux org.kde.StatusNotifierItem + com.canonical.dbusmenu over zbus) |
win_import.rs |
Windows & Wine installation discovery and import for assets, Pounce lists, character .ini files, and logs |
world.rs |
Live dream world state, avatars, dream labels, regions, and looked-player cards |
-
Supported Formats:
Fox5,FSHX,FSH, andFR01asset archives;V01.40andV01.50maps;palette.actclassic 8-bit remap markers. - Session Stability: Bounded GPU/sprite caches, capped in-memory chat history, and clean tab teardown for long overnight sessions.
- Hardened Downloads & Archives: External asset and dream downloads are restricted to HTTP/HTTPS with size caps; dream and portrait archive decoders enforce strict decompression and dimension bounds.
-
Local Privacy: Unix
config.iniis created atomically with0600permissions; cloud folder sync never exports credentials.
cargo test --all-targetsRelease v3.0.0 established a baseline of 125 passing tests across the library and binaries.
Release automation lives in .github/workflows/release.yml and builds across all desktop targets on v* tags:
| Platform | Packaging Definition |
|---|---|
| Arch Linux / CachyOS | packaging/arch/PKGBUILD |
| Debian / Ubuntu | packaging/debian/build-deb.sh |
| Fedora / RHEL / openSUSE |
packaging/rpm/build-rpm.sh & packaging/rpm/furcadia-native.spec
|
| Flatpak |
packaging/flatpak/io.github.morganlowe.FurcadiaNative.yml & cargo-sources.json
|
| Windows |
packaging/windows/installer.iss (Inno Setup 6) |
| macOS | packaging/macos/build-dmg.sh |
When updating Cargo.lock, regenerate packaging/flatpak/cargo-sources.json using flatpak-cargo-generator.py from flatpak/flatpak-builder-tools/cargo so offline Flatpak builds stay reproducible.
- License: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). Commercial use is not permitted.
- Upstream World: Furcadia and its protocol and assets are associated with Dragon's Eye Productions, Inc. This project is an independent community client and does not redistribute proprietary game assets.
- Primary Authors: Morgan Lowe (Creator, systems architecture, Furcadia protocol & asset reverse-engineering, multi-platform packaging) and Aureus K'Tharr (Testing, packaging, UI engineering).
Next: Android Port Roadmap
Releases · Issues · License (CC BY-NC-SA 4.0)
Native Furcadia is an independent community client and is not affiliated with or endorsed by Dragon's Eye Productions, Inc.