Skip to content

Campaign Save Files, Backups & Moving Machines ​

Everything you build in Elthoria — your characters, battle boards, hex maps, session journals, Lorebooks, custom tables, living world history, and private PDFs — is saved 100% locally on your own computer. Nothing lives in a vendor's cloud, and nothing disappears when you close the app or switch AI providers.

This guide explains what gets saved automatically, where it lives, how to back up or move a whole campaign safely, and what never to share.

TIP

Looking for exact database tables, lock files, revision stores, and restore invariants? Switch to the developer deep dive: Total Campaign Save State & Persistence Architecture.


What makes up a complete campaign save? ​

Think of your campaign as four folders working together on your machine:

Save pieceWhere it livesWhat's insideEssential to back up?
1. Campaign Database~/.elthoria/data/ (elthoria.mv.db)Every campaign, hero sheet, inventory, spell slot, buff, NPC, active combat & initiative, stealth tracker, hex & tactical board, journal entry, Lorebook, custom table, and the entire living world simulation + weekly historyYes — core canon
2. Campaign Tone & Weights~/.elthoria/runtime/data/worldsim-weights/Learned campaign-specific simulation tuning (rumor spread, intrigue weights, and GM feedback adjustments)Yes — if you tuned world feedback
3. Bookshelf, Private PDFs & GM Notes~/.elthoria/kompile-harness/data/ & .kompile/memory/Your player-safe rulebooks (data/input_documents/elthoria/), your private PDF Content Workbench sources/drafts (data/content/), and standing GM memory notes (.kompile/memory/). The search index (data/crawls/) can always be rebuilt with elthoria crawl.Yes (skip data/crawls/ to save space if desired)
4. Chat Transcripts~/.kompile/conversations/Exact back-and-forth AI chat logs used when resuming a mid-scene thread (elthoria chat --continue / --resume)Optional (your campaign works fine in a fresh chat with /elthoria-play + /elthoria-recap)

CAUTION

Never share your ~/.kompile folder directly! ~/.kompile/ also stores your personal AI provider sign-in tokens and API keys. When backing up or sharing a campaign with a co-GM, only copy the campaign folders under ~/.elthoria/ (and optionally a specific chat transcript JSON if needed) — never your credentials.


Does Elthoria auto-save? ​

Yes — continuously. Every time a character takes damage, spends a spell slot, moves on a tactical board, logs a journal entry, or advances a world week, Elthoria writes it straight to ~/.elthoria/data/elthoria.mv.db immediately (WRITE_DELAY=0), with no manual "Save" button to forget.

And because Elthoria turns off automatic background world ticks, closing the app freezes time cleanly until your next session.


How to back up a complete campaign safely ​

Because the campaign database is a live local file, always close Elthoria first before copying files so nothing is mid-write.

  1. Close elthoria web / elthoria cleanly (and confirm no Elthoria server window is still running).
  2. Copy your Elthoria save folders into a dated backup archive:
bash
tar -czf ~/elthoria-backup-$(date +%Y-%m-%d).tar.gz \
  -C "$HOME" \
  .elthoria/data \
  .elthoria/runtime/data/worldsim-weights \
  .elthoria/kompile-harness/data/input_documents \
  .elthoria/kompile-harness/data/content \
  .elthoria/kompile-harness/.kompile/memory

(Note: If you haven't tuned world weights yet, .elthoria/runtime/data/worldsim-weights may not exist yet — that's completely normal.)

Restoring a backup (or moving to a new laptop) ​

  1. Install Elthoria on the target machine and make sure Elthoria is not running.
  2. Extract your backup archive back into $HOME (restoring ~/.elthoria/data, ~/.elthoria/kompile-harness/data/..., and .kompile/memory).
  3. Rebuild the local bookshelf search index once (if you have rulebooks in data/input_documents/elthoria/):
    bash
    elthoria crawl --pipeline-id standard-text
  4. Launch elthoria web --web-port 9181 --open-browser (or elthoria), sign in to your AI provider, and run /elthoria-play + /elthoria-recap.

Everything — characters, HP, maps, journals, Lorebooks, private PDF drafts, and every week of living-world history — returns exactly where you left off.


Keeping separate campaign vaults (or a disposable sandbox) ​

Want a completely separate save vault for a second group, a convention one-shot, or testing homebrew without touching your main campaign? Point ELTHORIA_HOME at a dedicated folder before launching:

bash
# Launch a completely isolated campaign vault
ELTHORIA_HOME=~/elthoria-campaigns/greywater elthoria web --web-port 9181 --open-browser

# Or a throwaway test sandbox
ELTHORIA_HOME=/tmp/elthoria-sandbox elthoria web --web-port 9182 --open-browser

Each ELTHORIA_HOME gets its own independent database (data/), workspace (kompile-harness/), and runtime weights (runtime/), while still reusing your existing AI provider sign-ins in ~/.kompile.


Full backup vs. Studio → Import/Export ​

If you also use the Elthoria Game web app, you'll see export buttons under Studio → Import/Export and on character/rules screens. Keep the difference clear:

ToolWhat it exportsBest used for
Studio → Import/ExportHomebrew rules catalogs (classes, races, feats, spells, buffs, weapons, armor, accessories, items, class features)Sharing a homebrew rules pack between campaigns or friends
Character ExportOne or more player character sheets (stats, abilities, inventory)Bringing a favorite hero into a new campaign
Game Mechanics ExportSystem rules tables without charactersCloning a custom setting's mechanics template
Full ~/.elthoria Backup (above)Everything: campaigns, characters, active combat, stealth, hex/tactical boards, living world + weekly history, journals, Lorebooks, custom tables, private PDFs, and learned weightsDisaster recovery, major milestones, and moving to a new computer

Keeping GM secrets separate when sharing ​

  • Never include ~/.elthoria/kompile-harness/data/content/ if you only want to share player-safe material — that folder holds your private raw PDFs and unpublished GM drafts.
  • Never include ~/.kompile/ auth files when sharing backups with another GM.
  • For sharing a player-safe recap with your party, just run /elthoria-recap in chat instead of sending raw save files.

Built on the upstream Kompile harness. Released under the MIT License.