Skip to content

Engine Plugin Repositories

YarnDraft exports engine runtimes from vendored snapshots stored in this repo. The app must keep exporting offline, so exports should not depend on GitHub or network access at runtime.

Unreal

  • Planned upstream repo: szakee72/YarnDraft-Unreal
  • Vendored snapshot: src-tauri/templates/unreal
  • Packaged app resource: templates/unreal
  • Export destination: <Project>_Unreal/Plugins/YarnDraft

Update flow:

  1. Update and tag the Unreal plugin repo.
  2. Replace src-tauri/templates/unreal with that repo's plugin contents.
  3. Update src-tauri/templates/unreal/YarnDraftPluginSnapshot.json.
  4. Run:
powershell
npm test -- src/lib/export/engineExport.test.ts src/lib/export/runtimeGraph.test.ts
npx tsc -b
  1. If C++ or Blueprint-facing API changed, also run a real Unreal rebuild against a test project before release.

Keep YarnDraft as the release authority for the app. The plugin repo owns plugin source history; this repo owns the exact snapshot bundled with each app release.

Godot

Godot is still generated from src/lib/export/engines/godot.ts. Split it only after the runtime grows beyond a single embedded script.

YarnDraft — lightweight, cross-platform narrative design tool