Nodes/ComfyUI-CCXManager/Create SD-PPP installation directory
ComfyUI Node

Create SD-PPP installation directory

The boring node the whole sd-ppp updater depends on

By WWWEN8·Created about a year ago·Updated 7 months ago· 6
Create SD-PPP installation directory
    • Status
    base_directory
    auto_run_on_restartenable

    Every guide to WWWEN8's ComfyUI-CCXManager says "run the directory node first" and never quite explains why. Here's why: the Photoshop-side updaters (CCXManager / CCXManagerCopy) don't ask you where your Photoshop lives every time - they read a saved path from a config file this node writes. No setup node, no updater. It's the unglamorous foundation of the whole pack, and also the pack's answer to "I haven't installed sd-ppp yet."

    What it does

    Give it your Photoshop install directory and it does two things:

    1. Creates the two plugin folders the sd-ppp .ccx files unpack into - sd-ppp_PS and sd-ppp2_PS - under Photoshop's Plug-ins directory.
    2. Saves that base path to config_dir.json in the pack folder, which the updater nodes read to know their target path.

    It's smart about the path: type C:/Program Files/Adobe/Adobe Photoshop 2025 and it appends \Plug-ins automatically if you left it off. Don't type \Plug-ins yourself unless you're sure - it'll happily append it again.

    The inputs

    • base_directory - your Photoshop install root. This is the one that matters.
    • auto_run_on_restart - enable (default) means it recreates the folders automatically on ComfyUI startup, which is handy if Photoshop gets reinstalled or the folders vanish. Run it once after changing this, same as every auto-run toggle in this pack.

    It returns one string, Status, telling you which folders it created.

    Where it fits

    Run it as the first step of the pack's one-shot setup workflow, before CCXManager / CCXManagerCopy and the ComfyUI-side updater. The workflow the pack ships even uses its group-executor nodes to sequence exactly that: create directories → update ComfyUI side → update both Photoshop sides. If you already have sd-ppp installed and just want maintenance, this node is still mandatory - the updaters hard-error with "please first use Create SD-PPP installation directory node to set base path" if the config isn't there.

    Setup and gotchas

    Same install as the rest of the pack:

    cd ComfyUI/custom_nodes
    git clone https://github.com/WWWEN8/ComfyUI-CCXManager.git
    

    or ComfyUI Manager → search "ComfyUI-CCXManager". requests is the only Python dependency.

    Realistically the failure modes are all path mistakes. If base_directory doesn't exist on disk, the node refuses (it verifies before creating folders) - so point it at the actual Photoshop install, not a drive root. And because this node exists specifically to enable the updaters that wipe their target folders, double-check that base path before you run the workflow: a typo here is how people accidentally clear the wrong directory. It creates, never deletes, itself - but it hands a loaded gun to the updaters.

    CategoryUpdate of SD-PPP Plugin

    Inputs (2)

    NameTypeDefaultDescription
    base_directorySTRING
    auto_run_on_restartCOMBOenable2 options: enable, disable

    Outputs (1)

    NameTypeDescription
    StatusSTRING