Skip to content
camset-devPublic

About

Camset can read, edit, and compare Sony camera settings files (CAMSET .DAT). It can also build definitions for cameras it hasn't seen using the kit and AI.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Repository files navigation

Camset

Release Downloads Editor CI

Camset opens Sony camera settings files (CAMSET*.DAT) saved via MENU > Setup > Reset/Save Settings > Save/Load Settings, displays settings under the camera's own menus, compares files and memories, and writes changes back. It has two parts: the Camset Editor desktop/web app, and a mapping kit that proves settings directly on a camera to build new definitions.

Camset Editor: the Main page of the built-in sample, its tiles and settings, with four edits marked in orange

To inspect a settings file in your browser with nothing to install, open the definition viewer (files stay local on your computer). Every release also includes an offline single-file copy, camset-viewer.html.

Use the editor

Download the latest release from the Releases page:

  • macOS (Apple silicon): Open the .dmg and drag Camset Editor into Applications. Since the app is not notarized, open System Settings > Privacy & Security > Open Anyway on first launch (macOS 14 and earlier: right-click > Open).
  • Linux: Unpack the tarball and run sh install.sh inside the folder to install per-user without root.
  • Windows (10 or 11, 64-bit): Run the per-user installer camset-editor-<version>-windows-x64-setup.exe (no admin rights needed; updates in place), or unpack the portable zip camset-editor-<version>-windows-x64.zip and run camset_editor.exe. Neither touches your own files. Because binaries are not code-signed yet (code signing policy), SmartScreen prompts on first run (More info > Run anyway), and Smart App Control blocks unsigned apps where enabled.

Quick start: Save a backup from your camera (Save/Load Settings > Save to PRIVATE/SONY/CAMSET), open the .DAT file in Camset Editor, make changes, Save As… under a new name, copy it back to PRIVATE/SONY/CAMSET, and load it on the camera. Without a camera, click Explore a sample. See Getting started for details, or The camera link to read and write over USB/network.

Check a download

Every release includes SHA256SUMS with SHA-256 checksums for every package and the viewer:

  • macOS: shasum -a 256 -c --ignore-missing SHA256SUMS

  • Linux: sha256sum -c --ignore-missing SHA256SUMS

  • Windows (PowerShell):

    $f = "camset-editor-<version>-windows-x64-setup.exe"; (Get-FileHash $f -Algorithm SHA256).Hash -eq ((Get-Content SHA256SUMS | Where-Object { $_.EndsWith("  $f") }) -split ' ')[0]

To verify GitHub build provenance using gh (gh auth login):

gh attestation verify <file> --repo camset-dev/camset --signer-workflow camset-dev/camset/.github/workflows/editor-release.yml

Add --source-ref refs/tags/v<version> to pin a specific release tag.

Warning

Writing an edited settings file to a camera is at your own risk. A file edited by hand once put a camera into a restart loop in Movie mode, which ended when Initialize was run on the camera; Initialize also clears the network setup and the memories. The editor and the camera may refuse or change values. Always keep the camera's own backup, a settings file it saved itself, to load back: on the card and on your computer.

This is an independent project, not affiliated with or endorsed by Sony. Sony and the camera names are used only to say what the files are.

Recovery steps if needed: If the camera restarts over and over.

What the editor does

  • Displays every setting by name under the camera's own tabs, mode menus, and sub-screens (Camera only rows included), with aligned aperture/shutter/ISO stop scales.
  • Manages registered Memories by shooting mode (Stills 1–3, Movie, S&Q, Time-lapse), including slot summary cards and side-by-side mode comparison.
  • Compares files Side by Side (File A, editable File B, optional Base, with 3-way merge) or across Shooting Modes (Still | Movie | S&Q) within a file.
  • Never overwrites opened files, keeps automatic originals and pre-write backups, and recovers unsaved edits after a crash.
  • Reads and writes cameras directly over USB or Wi-Fi/LAN through camset_probe, with read-only link health checks.
  • Serves an optional password-protected web UI for phones and tablets over the local network.

Map your camera

To add support for another Sony camera with an AI terminal agent (Claude Code, Codex, or Gemini CLI), you need a Sony SDK-supported camera, Sony's Camera Remote SDK zip, a macOS/Linux/Windows 11 PC with USB-C, and a vision-language model (what you need, choosing a reader).

Clone the repository, start your agent, and ask it to "read AGENTS.md and map my camera". At the end, load your generated editor/definitions/<model>_fw<fw>.json immediately via Settings > Camera support & web page > Add definition…, and submit a PR (CONTRIBUTING). Local runs also generate a proof viewer (kit/tools/proof_viewer.py --open) showing each value beside its camera screenshots:

The proof viewer's Menu view: the Playback tab, the Playback Target group's rows, and the chosen row's two values, each proved, with the camera's screen that proved the first

The proof viewer's File layout view: the file's structure with three records expanded, the bytes with the chosen record lit, the proved share of the file, and the record's decode

Develop

Requires Python 3.11–3.14 and stable Rust (rustup.rs). With Sony's SDK zip in kit/sdk/, run python3 kit/setup.py (QUICKSTART). Without the SDK (for editor and docs development):

python3.11 -m venv .venv && .venv/bin/pip install -r kit/requirements.txt   # or python3.12 to python3.14
.venv/bin/pip install --no-deps --require-hashes -r kit/requirements-rapidocr.txt
.venv/bin/python -m pytest -q kit/tests          # kit tests (camera-run tests skip without runs/)
(cd editor && cargo test --release --locked)     # editor tests
(cd editor && cargo run --release)               # run the editor
.venv/bin/pre-commit install                     # install commit hooks
.venv/bin/pre-commit run --all-files             # run all hooks manually
.venv/bin/zensical serve                         # preview docs site at http://127.0.0.1:8000

Linux requires windowing libraries: sudo apt-get install libxkbcommon-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libwayland-dev. Web JS tests require node. Packaging scripts live in editor/packaging/ (build_macos_app.sh, build_linux.sh, and Windows Inno Setup rules in RELEASING); see PORTING for cross-platform setup. Every fact has one source (decision 14).

The camera helper

Camset Editor opens, compares, and saves .DAT files without any Sony software. Talking to a camera directly uses camset_probe (kit/probe/), which you build locally after accepting Sony's terms and dropping Sony's Camera Remote SDK zip into kit/sdk/ (python3 kit/setup.py). Release packages never bundle Sony's SDK (Sony's terms). Note Sony's SDK terms regarding camera warranty outside listed regions.

Supported cameras

  • ILCE-1M2 (a1 II), firmware 4.00: Mapped and shipped with the editor (unmapped records appear only in Expert mode).
  • Self-mapped cameras: Load immediately via Add definition…; contributed definitions ship in the next release.
  • Other firmware or models: Another firmware on a known model opens view-only using the nearest layout (unlock matching fields via Edit anyway…); unknown models open view-only.

Repository layout

Folder Contents
editor/ Rust/egui application and bundled definitions/ (<model>_fw<fw>.json + .DAT; decision 20).
kit/ Mapping kit: scan, crawl, prove, and writer pipelines, camkit/, provers/, tools/, and C++ SDK tools (link/, probe/).
data/ Published per-camera findings (what a mapping delivers).
docs/ Zensical documentation site (mkdocs.yml), Kaitai .ksy specs (docs/formats/), and architecture decisions (docs/decisions/).
schemas/ JSON Schemas for definitions, scopes, and data files.
private/ Git-ignored local config, private evidence, and camera backups (decision 18).
runs/ Git-ignored local logs, captured frames, and proof viewers (Where the runs go).

Licence

MIT (LICENSE). Editor packages include crate and font licences in THIRD_PARTY_LICENSES.html (cargo about, editor/about.toml).

About

Camset can read, edit, and compare Sony camera settings files (CAMSET .DAT). It can also build definitions for cameras it hasn't seen using the kit and AI.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages