Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ko_fi: andormanu
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: release

# Tag a commit `vX.Y.Z` and this builds DragonwildsSync.exe on a clean
# Tag a commit `vX.Y.Z` and this builds WorldSync.exe on a clean
# Windows runner and attaches it to the GitHub release, so the download
# is reproducible from source and never depends on anyone's laptop.

Expand All @@ -25,14 +25,14 @@ jobs:
env:
QT_QPA_PLATFORM: offscreen
- run: python tools/generate_icon.py
- run: python -m PyInstaller --noconfirm DragonwildsSync.spec
- run: python -m PyInstaller --noconfirm WorldSync.spec
- name: Print SHA-256 (compare against your download)
run: (Get-FileHash dist/DragonwildsSync.exe -Algorithm SHA256).Hash
run: (Get-FileHash dist/WorldSync.exe -Algorithm SHA256).Hash
- name: Create the release if the tag is new, then attach the exe
shell: bash
run: |
tag="${{ github.ref_name }}"
gh release view "$tag" >/dev/null 2>&1 || gh release create "$tag" --title "Dragonwilds Sync ${tag#v}" --generate-notes
gh release upload "$tag" dist/DragonwildsSync.exe --clobber
gh release view "$tag" >/dev/null 2>&1 || gh release create "$tag" --title "WorldSync ${tag#v}" --generate-notes
gh release upload "$tag" dist/WorldSync.exe --clobber
env:
GH_TOKEN: ${{ github.token }}
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
with:
python-version: "3.12"
cache: pip
- name: Qt system libraries (the UI smoke tests build real widgets)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libegl1 libgl1 libxkbcommon0 libfontconfig1 libdbus-1-3
- run: pip install -r requirements.txt -r requirements-dev.txt
- run: python -m pytest tests -q
env:
Expand Down
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Changelog

## 2.0.0 - 2026-10-05

**Dragonwilds Sync is now WorldSync.**

- Ten games: RuneScape: Dragonwilds, Valheim, Enshrouded, Palworld, Core
Keeper, Sons of the Forest, V Rising, Grounded, Raft and 7 Days to Die.
Dragonwilds is tested; the others are marked beta until real groups have
played them for a while.
- A game library is the new home screen. Adding a game opens a picker with
the games installed through Steam at the top.
- Every game has its own palette, typefaces and animated banner.
- A step-by-step setup guide for every game, in the app and in docs/GAMES.md.
- Setup finds each game's save folder and lists its worlds by when they were
last played, with the game's known quirks shown before the first share.
- Folder-based worlds sync as a whole, including nested files and autosaves
the game rotates out; their change detection covers every file.
- The shared folder now records which game it belongs to, and WorldSync
refuses to pull or push a world into a different game.
- Invite codes carry the game. Dragonwilds codes keep the old `DWS1.` format
so friends on 1.x can still join.
- Upgrading: settings, worlds and backups are copied from
`%APPDATA%\DragonwildsSync` on first start (the old folder is left alone),
and the config moves to schema 3 with a `config.v2.bak` kept.
- Fixed: a missing import in the controller.
- Sync protocol unchanged for Dragonwilds worlds; manifests gain an optional
`game` field that older versions ignore.

## 1.3.2 - 2026-10-05

Housekeeping only. In-app changelog caught up, README and UI wording
Expand Down
31 changes: 29 additions & 2 deletions DESIGN.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,34 @@
# Design rationale

*(v1.2 redesign notes at the very bottom; v1.1 additions below that; the v1.0
rationale still holds underneath.)*
*(2.0 WorldSync notes first; v1.2 redesign notes at the very bottom; v1.1
additions below that; the v1.0 rationale still holds underneath.)*

## 2.0: from one game to a library

- **Games are data, not code paths.** `app/core/games.py` describes each game:
save-folder templates (with `*` for Steam-ID folders, newest wins), how to
list existing worlds, and the file patterns that make up one world.
`config.effective_cfg` flattens that into the same dict the sync core has
always taken, plus three optional keys (`patterns`, `mirror`, `game`). The
core never imports the game table.
- **Dragonwilds stays byte-for-byte 1.x.** Its profile has `patterns=None`,
which keeps the original "files starting with the world name" rule, the
first-file hash and flat backups. Existing groups and 1.x friends see no
difference; the manifest just gains a `game` field old apps ignore.
- **Folder worlds need two new ideas.** A fingerprint over every file (a new
autosave is a change, not just an edit to the first file), and mirroring:
files the other side no longer has are removed after the backup, otherwise
rotated autosaves pile up in everyone's cloud drive.
- **Wrong-game guard.** Pull and push refuse when the shared folder's
manifest names a different game. Pointing Raft at a Valheim folder copies
nothing.
- **Themes are tokens, swapped at runtime.** `theme.use()` rewrites the
module-level colour tokens and fonts, the stylesheet is rebuilt, and pages
with code-styled bits implement `retheme()`. Text greys, amber and red are
shared by every theme so legibility never depends on the game.
- **Scenes instead of art.** Each game's banner is procedural QPainter work
seeded by the world name. No game assets ship, so there's nothing to
license and the exe stays small.

## Stack: Python + PySide6 (Qt), PyInstaller

Expand Down
Loading
Loading