π CR Output Schedule To File
Save a Comfyroll animation schedule as txt or csv
- schedule
Comfyroll's animation nodes work with a SCHEDULE type - a value that changes over the course of an animation, built by nodes like CR Simple Schedule or CR Central Schedule and consumed by things like CR Prompt Scheduler. That's convenient inside a live ComfyUI graph, but it's not portable - a schedule built with nodes only exists as long as the graph does. CR Output Schedule To File is the escape hatch: it writes a SCHEDULE out to an actual file on disk.
What it's for
Two real reasons you'd want this. First, backup and reuse: if you spent time building a complex frame-by-frame schedule inside the node graph, saving it to a file means you can reload it later with CR Load Schedule From File without rebuilding the graph logic that produced it. Second, portability: writing to .txt or .csv means the schedule data is readable outside ComfyUI entirely - in a spreadsheet, in a text editor, or handed to something outside this pack's ecosystem that expects a plain schedule file.
How it works
It's a straightforward write: you point it at a file path and name, pick a format, feed it a schedule, and it dumps that schedule's contents to disk in the chosen format. Because it's an output node, this terminates the branch of the graph it's on - there's no data flowing back out to wire up further.
Inputs and outputs that matter
output_file_path- the directory to write into.file_name- the file's name (without extension - that's handled by the next field).file_extension-txtorcsv. Pick based on what you'll do with the file afterward:csvif you want to open it in a spreadsheet or feed it to something that expects tabular data,txtfor a plain readable dump.schedule(SCHEDULE) - the schedule to export, coming from one of Comfyroll's schedule-builder nodes upstream.
No data outputs - this is a terminal save step.
How to install it
Search "Comfyroll Studio" in ComfyUI Manager and install, or clone directly:
cd ComfyUI/custom_nodes
git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git
Restart ComfyUI. No models or extra dependencies needed for this file-writing node.
Common issues & troubleshooting
Nothing gets written. Check output_file_path is a real, writable directory - an empty or invalid path is the most common reason a save node silently does nothing. Also confirm schedule is actually connected to something upstream that's producing a real schedule, not left disconnected.
File is written but the reload node can't read it back. Match the extension to what you actually intend to do with the file. If you're planning to load it back into ComfyUI via CR Load Schedule From File, keep the format consistent with what that node expects rather than switching between txt and csv between the export and re-import steps.
Path issues on Windows. Relative paths behave differently depending on where ComfyUI was launched from - if the file doesn't land where you expect, try an absolute path in output_file_path rather than a relative one.
No Comfyroll nodes show up after installing. That's a broken install, not something wrong with this node - an interrupted git clone or a stale ComfyUI Manager cache can crash the entire pack's registration on load. Delete the ComfyUI_Comfyroll_CustomNodes folder and reinstall clean.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| output_file_path | STRING | β | |
| file_name | STRING | β | |
| file_extension | COMBO | 2 options: txt, csv | |
| schedule | SCHEDULE | β |
Outputs (0)
No outputs