Project Settings

Project Settings

Each project keeps its own settings in the project file. Open them from the project's menu — the menu button on the project's root row in the Project window, or the project's entry in the main menu — and choose Settings. The same pages, without the Fill Rate tab, make up the New project wizard.

Changes are applied when you press OK; Cancel drops all of them.

Folders

The Folders tab says where the project keeps its files.

  • Base folder — the folder of the project file. It cannot be changed here; every relative path below is relative to it.
  • Effects root directory — the folder that holds the project's effects (.nped files). The Project window shows its contents. Pointing the project at another folder shows the effects of that folder instead; the files themselves are not moved.
  • Textures root directory — the folder that texture paths of the project's effects are relative to. An effect that uses fx/spark.png reads <textures root>/fx/spark.png.
  • Auto-refresh from disk — when on, the project picks up effects that are added, changed or removed on disk by other programs, about a second after the change.

Typing a folder path

Every folder field — the two roots above and the output folders on the Export tab — can be typed in or picked with the ... button. A relative path is relative to the base folder, and . is the base folder itself. A path ending with a slash, or containing . and .. steps, is tidied up as you leave the field: ./out/js/ becomes .\out\js on Windows.

The paths are checked when you press OK (or Create in the wizard). Because a project moves between Windows, macOS and Linux, the check uses the strictest rules of the three. A path is refused when it

  • is empty (use . for the base folder);
  • contains one of < > " | ? *, a control character such as a tab, or a : anywhere but in a drive followed by a slash (C:\games is fine, C: and C:games are not);
  • uses a name that Windows reserves for devices — CON, PRN, AUX, NUL, COM1–COM9, LPT1–LPT9, also with an extension such as nul.txt;
  • has a folder name that ends with a space or a dot — spaces and tabs at the ends of the path are not removed for you;
  • points at a file, or goes through one (notes.txt/out), rather than through folders.

Both \ and / separate folders, on every system.

The check covers every folder field in use: one that is turned off (an exporter or its Textures option unchecked) is skipped unless you changed it. Switching an exporter to another version drops a wrong path typed for the previous version.

A message names the field and the problem, and the dialog stays open on the right tab with that field selected, so you can correct it. A wrong path stays in its field until you fix it or pick a folder with the ... button.

When the effects or textures root of an existing project does not exist yet, OK asks whether to create it. Yes creates the folder and applies the settings; No returns to the dialog. The wizard creates the folders of a new project by itself, and export folders are created by the first export that needs them, so neither asks.