quest'n'click 4.5.0 · r1

Built for quest'n'click 4.5.0, revision r1. Whether it is published, and which one is current, is recorded at publication.json.

Semantic diff

Français · Type: how-to · Audience: author · Context: local Studio · Status: ready · Applies from: 4.2.3

The local Studio · contract: stable · verified by CI (support matrix of 4.4.0, 2026-10-23): Chromium end to end (the Studio's checks); Windows: the unit suite only · automated checks: jobs e2e, windows; CI plan e2e, windows; 2 test files · people's passes: studio-hero-matrix not run (#238) · known limits: local-revision-numbers

"Changes between revisions", in the Check tab, says what changed between two revisions of the game by what the game names: the rules, rooms, lines and values added, removed or changed, file by file, rather than a text diff.

What you get

For two revision numbers, the list of the files the Studio's operations between them changed, and in each one the ids added, removed and changed (with the fields that changed), or the JSON value paths, or "file changed" when it cannot say more.

Context and versions

The local Studio (npm run studio) and a hosted Studio; not the demo Studio (it has no journal). From 4.2.3. On a hosted Studio a build is a revision: compare two builds by theirs (Map and semantic diff).

Prerequisites

Where to run the commands

In the browser, on the Check tab, panel Changes between revisions.

What a revision is here

Every write to the game is one operation of its journal (.cache/studio-journal/), numbered: that number is the revision. A Studio write, an MCP write and an undo each make one; a change made outside (an editor, git) is recorded as an operation of its own before the next write touches that file. Revision 0 is before the first operation.

Limit · local-revision-numbers The local Studio does not display the current revision number. Asking for a revision past the last one answers no revision <n> yet (404): lower the number until it answers.

Steps

  1. Type two revisions, From and to (whole numbers, from ≤ to; at most 2,000 apart).
  1. Show the changes. For each file the operations between them wrote, compared at both ends (its content before the first of those operations, after the last):
    • a source: the ids it added, removed and changed, each changed id with the fields that changed (or "its place" when only its position moved);
    • a JSON file: the value paths added, removed and changed;
    • anything else, or a content it cannot read: "file changed";
    • a file written back to what it was: no change.
  1. To see the rooms those changes name, drawn at both revisions: Before and after captures.

Expected result, and how to check it

A list of files with what they gained and lost, or "Nothing changed between them." A list past 500 entries ends with "… and more (cut at 500)"; past 500 files, "… and more files (cut at 500)".

Common errors

SymptomCauseFix
two revisions, as numbersA field is empty or not a whole numberType two numbers
from and to are revisions, from ≤ toFrom is after toSwap them
2,000 revisions at most between from and toThe range is too wideNarrow it
no revision <n> yet (404)The journal has not reached that numberLower it
"file changed" for a source you knowContent the local journal did not keep (a file adopted from outside)Compare with git diff

Files or data changed

None: the diff only reads the journal. The game's private/ folder is left out of it.

References


Edit the source of this page · Report an error