Initial commit: RomM Companion desktop v0.1.0
This commit is contained in:
commit
0603108e5c
41 files changed
+17214
No files matched your search
@@ -0,0 +1,49 @@
|
||||
# RomM Companion
|
||||
|
||||
Cross-platform desktop companion app (macOS, Windows, Linux) built with **Tauri v2 (Rust + React/TypeScript)** for syncing save files, save states, and ROMs from standalone emulators with **RomM 5.1.0**.
|
||||
|
||||
## Features
|
||||
|
||||
- **RomM 5.1.0 Native Auth & Device Registration**
|
||||
- Passwordless **Device Pairing** (`/api/auth/device/init` + `/api/auth/device/token`)
|
||||
- **One-Time Pair Code** (`/api/client-tokens/exchange`) or raw API token
|
||||
- **Username & Password** OAuth2 (`/api/token`)
|
||||
- Automatic device registration (`/api/devices`)
|
||||
- **Two-Way Save Sync & Backups**
|
||||
- Uses RomM 5.1.0's `/api/sync/negotiate` protocol with stable save slots, SHA-256 content hashing, download confirmations (`/api/saves/{id}/downloaded`), and session completion (`/api/sync/sessions/{id}/complete`).
|
||||
- Automatic timestamped local backups before any server save overwrites a local file or folder, with one-click restore in **Saves & States → Backups**.
|
||||
- Interactive conflict resolution (**Keep Local** vs **Keep Server**) when both sides change independently.
|
||||
- **Save States Sync**
|
||||
- Syncs emulator save states via `/api/states`.
|
||||
- **Cross-Platform Emulator Auto-Detection + Custom Rules**
|
||||
- Built-in presets for **Dolphin** (GC/Wii), **PCSX2** (PS2), **RPCS3** (PS3), **Cemu** (Wii U), **DuckStation** (PS1), **PPSSPP** (PSP), **Ryujinx** (Switch), **Azahar / Citra** (3DS), **melonDS** (DS), **mGBA** (GB/GBC/GBA), **Flycast** (Dreamcast), **xemu** (Xbox), and **Xenia** (Xbox 360).
|
||||
- Handles single-file saves, memory cards, and folder-per-game saves (deterministically zipped for RomM sync and safely extracted on download).
|
||||
- Add custom emulator rules for any folder/extension layout.
|
||||
- **ROM Library, Hash Matching & Downloads**
|
||||
- Browse RomM platforms & ROMs and download directly to a local folder with live progress.
|
||||
- Scan local ROM folders using streaming **CRC32 / MD5 / SHA1** lookup against `/api/roms/by-hash` with filename fallback.
|
||||
- **Background File Watcher & System Tray**
|
||||
- Debounced recursive file watcher triggers automatic sync when emulators write saves.
|
||||
- System tray menu (*Open RomM Companion*, *Sync Saves Now*, *Quit*) with optional minimize-to-tray.
|
||||
|
||||
## Running in Development
|
||||
|
||||
Make sure Rust (`$HOME/.cargo/bin`) and Node.js are on your `PATH`:
|
||||
|
||||
```bash
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
npm install
|
||||
npm run tauri dev
|
||||
```
|
||||
|
||||
## Building Native Installers (macOS / Windows / Linux)
|
||||
|
||||
```bash
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
npm run tauri build
|
||||
```
|
||||
|
||||
Tauri produces native installers in `src-tauri/target/release/bundle/`:
|
||||
- **macOS**: `.dmg` / `.app`
|
||||
- **Windows**: `.msi` / `.exe` (NSIS)
|
||||
- **Linux**: `.AppImage` / `.deb` / `.rpm`
|
||||
Reference in new issue
Block a user