Skip to content

Data Locations

Zac Walker edited this page Nov 26, 2026 · 1 revision

Your photos and videos stay where they are: Diffractor never moves them into a library of its own. What it keeps for itself - settings, the index, the face database, caches and logs - is listed here, with what each holds and whether it is safe to delete.

The Windows installer edition

Everything is in %LOCALAPPDATA%\Diffractor, beside the program:

File Holds If deleted
diffractor.ini Your settings Settings return to their defaults
diffractor-cache.db The index: a copy of each file's metadata, thumbnails, the signatures that find duplicates, what face scanning found, and where you stopped playing each video Rebuilt by scanning your collection again. Resume positions and the record of what was imported are lost
diffractor-people.db The face book: the people you named and your decisions about faces Lost: back it up with Export face data in the Faces view
map-tiles-cache.db Map tiles downloaded from OpenStreetMap Downloaded again when needed
diffractor.log, diffractor.previous.log What this session and the one before did Started again at the next start
diffractor-files-that-crash.txt Files that once crashed Diffractor, which background work skips until the next version line Those files are tried again
dictionaries\ Spell-check dictionaries, downloaded once from diffractor.com Downloaded again when needed
languages\, location-*.txt, diffractor-tools.json Part of the program: translations, the place database, the list of other programs Open with offers Reinstall Diffractor

An older version may have kept settings in the registry, under HKEY_CURRENT_USER\Software\Diffractor. Where that key exists, it is still used instead of diffractor.ini.

Copies made for Share wait in %TEMP%\diffractor-share until the next share, since the app you shared with may read them later.

The Microsoft Store edition

The Store installs the program where Windows keeps Store apps, and the data goes to the app's own package folder, which Windows removes when the app is uninstalled:

  • The index and map tiles: %LOCALAPPDATA%\Packages\46714Diffractor.Diffractor_xvyzt3j8x87ze\LocalCache.
  • Settings - always diffractor.ini - the face database, the log and dictionaries: %LOCALAPPDATA%\Diffractor as the app sees it. Windows keeps the files a Store app creates there inside its package, under LocalCache\Local\Diffractor. Where the installer edition has already made a file there, the Store edition uses it.

A profile of its own

Started with -profile:<folder>, Diffractor keeps its settings, index, face database and map tiles in that folder instead, leaving yours untouched. -collection:<folder> makes one folder the whole collection, and without -profile keeps its profile in <folder>-profile. A run with its own profile sends no crash report. See command line.

This suits a portable collection on an external drive, a second collection kept apart, or an AI assistant given a sandbox of its own.

Rebuilding the index

The index is a copy of what your files hold, so it can always be rebuilt. Options, Maintenance, then Defragment database compacts it; tick Clean database and reindex in that dialog to delete it and read every file again. The dialog also says when the index is reporting errors.

Rebuilding keeps your face book and settings, but forgets where you stopped playing each video and which files Import has already brought in. Faces are found again by scanning, and your decisions return to them.

Moving to another PC

  1. Install Diffractor on the new PC, and add your collection folders.
  2. Tags, ratings, descriptions, locations and dates travel inside your files, or their XMP sidecars, so the new index finds them as it scans.
  3. In the Faces view on the old PC, Export face data; on the new one, Import face data, then turn on face scanning. Your names and decisions return to each face as it is found.
  4. Copy diffractor.ini across to keep your settings, if you wish.

What leaves your PC

None of the files above. Diffractor connects to the internet only for map tiles, a missing spell-check dictionary, the installer edition's daily update check, and a crash report or support log you allow; the website's privacy section has the details.

Clone this wiki locally