VRGDG_LoadText
Load a pre-written prompt file, sorted by what it's for
- text
- file_path
Music-video workflows are full of text that you wrote once and reuse forever: who your character is, what the scenes are, the style notes. VRGDG_LoadText is the pack's simple loader for that - you pick a text file, and the node tells you what it's for by the category you choose. It's the "I keep my prompts as files" answer to typing the same subject description into the graph by hand every run.
The design is opinionated in a useful way. Instead of a free-form file path, you pick a text_type - and the choices are exactly the categories this pack's workflow thinks in: subject1, subject2, scene1, scene2, other1, other2. That taxonomy matches how the music-video pipeline is organized: subjects are your characters, scenes are your visual moments, and "other" is the catch-all. You're being asked to classify your file as you load it, which keeps the graph readable.
What it does
- text_type (enum) - the category:
subject1/subject2/scene1/scene2/other1/other2. Think "character one, character two, scene one, scene two, anything else." - text_file (enum) - the file dropdown. On a fresh install this can read
<no files found>until you add text files to the folder the node scans - that's not a bug, it's "go put your files there." - text (
STRING, output) - the file contents. - file_path (
STRING, output) - where the file came from, if you need it downstream.
Wire text into an LLM prompt builder (VRGDG_LLM_Multi) or into a save node, and you've got reusable character and scene descriptions without retyping.
When to reach for it (and when not to)
Use it when you want the workflow's file-folder structure to stay tidy and you like the subject/scene categorization. The VRGDG_LoadTextAdvanced variant is the one to reach for if you need the pack's full workflow folder tree - fulllyrics, themestyle, storygroups, and the rest - or "load the most recent file automatically." If all you need is a hardcoded string that never changes, a plain multiline text node is simpler. This node earns its keep specifically when you keep prompts in files and want to swap them without editing the graph.
Installing it
Part of the comfyui-vrgamedevgirl pack. ComfyUI Manager: search "vrgamedev", install, restart. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/vrgamegirl19/comfyui-vrgamedevgirl
then install the README's requirements:
pip install -r custom_nodes/comfyui-vrgamedevgirl/requirements.txt
If it's not working
If text_file shows <no files found>, the folder the node watches is empty - add your text files and refresh. If you load the right file but the wrong text comes out, double-check the text_type you picked; the node's whole organizing principle is that category and file go together. And if you can't find where files should live, check the workflow you're using - the pack's own workflows expect specific folder names, and dropping files in the wrong spot is the usual cause of "empty dropdown."
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| text_type | COMBO | 6 options: subject1, subject2, scene1, scene2, other1, other2 | |
| text_file | COMBO | 1 options: <no files found> |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |
| file_path | STRING | — |