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
51 changes: 33 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,14 @@ jobs:
os: macos-latest
target: aarch64-apple-darwin
oidn: arm64.macos
archive: tar.gz
- name: macos-x64
os: macos-latest
target: x86_64-apple-darwin
oidn: x86_64.macos
archive: tar.gz
- name: windows-x64
os: windows-latest
target: x86_64-pc-windows-msvc
oidn: x64.windows
archive: zip
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
Expand All @@ -103,23 +100,41 @@ jobs:
echo "AKTIS_OIDN_RELEASE=1" >> "$GITHUB_ENV"
- name: Build
run: cargo build --release --locked -p aktis-app --features denoise --target ${{ matrix.target }}
- name: Package
# macOS: Aktis.app in a .dmg (ADR 0021).
- name: Package (macOS .dmg)
if: runner.os == 'macOS'
run: |
name="aktis-${{ needs.prepare.outputs.version }}-${{ matrix.name }}"
scripts/package-macos.sh "target/${{ matrix.target }}/release/aktis" \
"$OIDN_POSIX_DIR" "${{ needs.prepare.outputs.version }}" "dist/$name.dmg"
# Windows: a portable folder, zipped, and the same folder as an installer (ADR 0021).
- name: Package (Windows folder and .zip)
if: runner.os == 'Windows'
shell: bash
run: |
name="aktis-${{ needs.prepare.outputs.version }}-${{ matrix.name }}"
mkdir -p "dist/$name"
bin="target/${{ matrix.target }}/release/aktis"
[ "${{ runner.os }}" = "Windows" ] && bin="$bin.exe"
cp "$bin" README.md CHANGELOG.md LICENSE-MIT LICENSE-APACHE "dist/$name/"
scripts/bundle-oidn.sh "$OIDN_POSIX_DIR" "dist/$name"
cd dist
if [ "${{ matrix.archive }}" = "zip" ]; then
7z a "$name.zip" "$name" > /dev/null
else
tar -czf "$name.tar.gz" "$name"
fi
rm -rf "$name"
ls -l
mkdir -p "stage/$name" dist
cp target/${{ matrix.target }}/release/aktis.exe README.md CHANGELOG.md \
LICENSE-MIT LICENSE-APACHE "stage/$name/"
scripts/bundle-oidn.sh "$OIDN_POSIX_DIR" "stage/$name"
(cd stage && 7z a "../dist/$name.zip" "$name" > /dev/null)
echo "STAGE_DIR=$(cygpath -w "$PWD/stage/$name")" >> "$GITHUB_ENV"
- name: Package (Windows installer .exe)
if: runner.os == 'Windows'
shell: pwsh
run: |
# Installs Inno Setup, or upgrades a preinstalled one (the script needs 6.3+).
choco upgrade innosetup -y --no-progress
$iscc = (Get-ChildItem "${env:ProgramFiles(x86)}\Inno Setup *\ISCC.exe", `
"$env:ProgramFiles\Inno Setup *\ISCC.exe" -ErrorAction SilentlyContinue |
Select-Object -First 1).FullName
if (-not $iscc) { throw 'ISCC.exe not found' }
& $iscc "/DAppVersion=${{ needs.prepare.outputs.version }}" "/DSourceDir=$env:STAGE_DIR" `
"/DOutputDir=$PWD\dist" `
"/DOutputBaseFilename=aktis-${{ needs.prepare.outputs.version }}-${{ matrix.name }}-setup" `
scripts\aktis.iss
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Get-ChildItem dist
- uses: actions/upload-artifact@v7
with:
name: build-${{ matrix.name }}
Expand All @@ -137,7 +152,7 @@ jobs:
- name: Collect files and checksums
run: |
mkdir release
find artifacts -type f \( -name '*.tar.gz' -o -name '*.zip' \) -exec cp {} release/ \;
find artifacts -type f \( -name '*.dmg' -o -name '*.exe' -o -name '*.zip' \) -exec cp {} release/ \;
cd release && sha256sum * > SHA256SUMS.txt && cat SHA256SUMS.txt
- uses: softprops/action-gh-release@v3
with:
Expand Down
81 changes: 81 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,89 @@ uses [Semantic Versioning](https://semver.org/).

## [Unreleased]

## [0.1.1] - 2026-12-02

Projects and workspaces (M9): Aktis opens on a Home screen of recent projects, and each
project is an Image or a Video project with its own workspace. Tested by hand on macOS
(Apple Silicon); Windows is built and tested in CI but not yet smoke-tested by hand.
Projects from 0.1.0 still open; saving one writes a project folder beside it.

### Added

- Autosave: while a project has unsaved changes, it is saved every 30 s to
`.autosave.toml` in its folder. If the app quits without saving (a crash, say), opening
the project offers to recover the changes. Quitting with unsaved changes now asks Save /
Don't Save / Cancel. The last project reopens from its file at start-up.

- Image projects have their own workspace. **Render Image** renders the canvas in the
background (Stop keeps what the path tracer has so far; Cancel discards it). Finished
renders go to a **Renders** strip at the bottom: click one to view it, right-click to
compare two with a split slider, pin, or move it to the Trash. Export… saves one
anywhere. The last 20 are kept (pinned ones too) in the project's `renders/` folder.
**Views** save camera positions to come back to.

- Video projects have two pages in the header. **Animate** has a transport bar under the
viewport (to in/out, previous/next key, play, loop, frame) and "Camera moves" with
Orbit…. **Deliver** has output presets (Web, Small, Archive, Edit, Frames), a destination
in the project's `exports/` folder by default, and the project's render queue.
Render opens Deliver.
- An Inspector replaces the right panel: Camera, Light, Render and Post tabs. In video
projects a ◆ beside each animatable value adds or removes a key at the playhead. The
engine choice moved to the header; Exposure moved to Post.
- Each project keeps its own render queue in `queue.toml` in its folder. The single queue
from 0.1.0 goes to the project that was open.

- Workspace header: Home, the project's name, an IMAGE/VIDEO badge and a canvas chip.
Click the chip to change the canvas: the mode's presets, a custom size with aspect lock
and swap. Each change can be undone, and the vertical field of view stays the same.
- Viewport section: Preview scale (25 / 50 / 100 % of the canvas, for a faster viewport)
and composition guides (rule of thirds, golden ratio, centre cross), plus safe areas for
videos.

- Projects are now saved as project folders, `<Name>.aktis/`, holding
`project.aktis.toml` and a `thumbnail.png` of the view. File › Open… picks a project
folder; File › Open Project File… opens a `.toml` file. This is the first step towards a
Home screen and separate Image and Video workspaces (M9).
- Each project has a mode, Image or Video, and a canvas size (`[canvas]`) in its file
(project format 2). Projects saved so far are Video projects.
- A Home screen is now the start screen. It shows recent projects as a grid or list with
thumbnails, mode, canvas size, world and date, and has search, an Image/Video filter and
sort. Each project has Open, Reveal, Duplicate, Rename, Remove from Recents and Move to
Trash (Recycle Bin on Windows). Missing projects can be located again. Drop a project on
the window to open it. New Image and New Video open a New Project dialog: canvas presets per mode, custom
size with aspect lock and swap, frame rate and duration for videos, name and location, an
optional world, and "Start from" another project's world, packs, engine and lighting.
File › New… opens it too. The last
project waits as a Continue card. A Minecraft page lists your installs and lets you add
or remove folders and forget added packs. `--world` on the command line still opens
straight into the workspace.

### Changed

- The Output section's resolution became the canvas, set from the header. Render size is
replaced by Preview scale; rendering at the viewport's own pixel size is gone. Save PNG
saves the canvas at the Preview scale. The Output section (format, quality, ffmpeg) now
shows only in Video projects.

- Saving a project from 0.1.0 (a single `name.aktis.toml` file) writes a `name.aktis/`
folder beside it; the old file is left unchanged. Old files with keys open as Video
projects. Those without keys open as Image projects, which don't save timeline edits
or Output format settings until the Image workspace arrives; a note says so when one opens.
- Saved app state: added install folders and resource and shader pack lists are kept as a
library shared by all projects. Your existing lists carry over.

- Releases: macOS downloads are now a `.dmg` with an `Aktis.app` to drag into
Applications (Apple Silicon and Intel), instead of a `.tar.gz`. Windows gets an
installer, `aktis-<version>-windows-x64-setup.exe`, that installs per user, with no
administrator prompt, and adds a Start menu shortcut and an uninstaller. The
portable `.zip` stays. Packages are still not signed with a developer certificate.

### Fixed

- Symbols in the resource-pack and shader-pack lists (move up/down, forget, warning) and
the render queue's reorder buttons showed as empty boxes: egui 0.37's default fonts
have no emoji fonts, so they're now enabled.

- Path Tracer: the trace shader failed to compile on Windows (DX12/FXC: "array
reference cannot be used as an l-value"), so path-traced renders and jobs failed there.
- Docs: `cargo doc` failed on a link to a private item in `aktis-sp`.
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ crates/
aktis-sp/ shader-pack engine (OptiFine/Iris pipeline)
aktis-app/ egui desktop app, binary name `aktis`
docs/ documentation system (index: docs/README.md)
scripts/ build/release helpers (OIDN download and bundling, ADR 0011)
scripts/ build/release helpers (OIDN download and bundling, ADR 0011; .dmg and installer packaging, ADR 0021)
.github/ CI, release workflow, templates
```

Expand Down
42 changes: 35 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ members = ["crates/*"]
default-members = ["crates/aktis-app"]

[workspace.package]
version = "0.1.0"
version = "0.1.1"
edition = "2024"
rust-version = "1.95"
license = "MIT OR Apache-2.0"
Expand All @@ -25,7 +25,8 @@ aktis-sp = { path = "crates/aktis-sp" }
# wgpu must stay on the same major version that eframe uses (egui-wgpu shares the device).
wgpu = "30"
eframe = { version = "0.37", default-features = false, features = ["wgpu", "default_fonts", "persistence"] }
egui = "0.37"
# monochrome_emoji_fonts: the symbols the UI draws (⏶ ⏷ ✕ ⚠ ▲ ▼); without it they are boxes.
egui = { version = "0.37", features = ["monochrome_emoji_fonts"] }
naga = "30"
bytemuck = { version = "1", features = ["derive"] }
pollster = "1"
Expand Down Expand Up @@ -53,6 +54,8 @@ env_logger = "0.11"
rayon = "1"
directories = "6"
rfd = "0.18"
# Move project folders to the Trash / Recycle Bin from the Home screen (M9 task 4).
trash = "5"
# Total system RAM for the memory budget's Auto setting (ADR 0020); only the memory part.
sysinfo = { version = "0.40", default-features = false, features = ["system"] }

Expand Down
25 changes: 20 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ two engines:

Runs on **macOS (Apple Silicon)** and **Windows**.

> **Status: beta (0.1.0).** All planned milestones (M1–M8) are done and tested by hand on
> **Status: beta (0.1.1).** All planned milestones (M1–M9) are done and tested by hand on
> macOS. Windows is built and tested in CI but not yet smoke-tested by hand. Expect rough
> edges; see the [changelog](CHANGELOG.md) for known limitations and the
> [roadmap](docs/roadmap.md) for what's next.
Expand All @@ -31,7 +31,10 @@ Runs on **macOS (Apple Silicon)** and **Windows**.
queue, PNG sequences and MP4/MOV video through your own ffmpeg
- Big worlds: a memory budget, and far terrain out to 512 chunks in every engine around a
detail area that follows the camera
- Project files (`*.aktis.toml`) and a simple UI with sensible defaults
- A Home screen of recent projects; Image projects (views, background renders, a render
history with A/B compare) and Video projects (Animate and Deliver pages, output presets,
a render queue per project); canvas presets; project folders with autosave and recovery
- A simple UI with sensible defaults
- Not yet: shader-pack options, biome tints, mobs and block entities, headless rendering

## Requirements
Expand All @@ -43,9 +46,21 @@ Runs on **macOS (Apple Silicon)** and **Windows**.

## Download

Prebuilt archives for macOS (Apple Silicon and Intel) and Windows x64 are attached to each
[GitHub release](https://github.com/TriBinary/aktis/releases). They aren't signed yet: on
macOS, right-click → Open the first time.
Each [GitHub release](https://github.com/TriBinary/aktis/releases) has:

| Platform | File | How to install |
|---|---|---|
| macOS Apple Silicon | `aktis-<version>-macos-arm64.dmg` | Open it, drag **Aktis** to **Applications** |
| macOS Intel | `aktis-<version>-macos-x64.dmg` | Same |
| Windows x64 | `aktis-<version>-windows-x64-setup.exe` | Run the installer (no administrator rights needed) |
| Windows x64, portable | `aktis-<version>-windows-x64.zip` | Unzip anywhere, run `aktis.exe` |

They aren't signed with a developer certificate yet, so the first launch shows a warning:

- **macOS:** "Apple could not verify…". Click **Done**, then open System Settings →
Privacy & Security and click **Open Anyway** next to Aktis.
- **Windows:** SmartScreen's "Windows protected your PC". Click **More info** →
**Run anyway**.

## Building from source

Expand Down
2 changes: 2 additions & 0 deletions crates/aktis-app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ glam.workspace = true
serde.workspace = true
rfd.workspace = true
sysinfo.workspace = true
trash.workspace = true
image.workspace = true
anyhow.workspace = true
toml.workspace = true
log.workspace = true
Expand Down
Loading
Loading