Nodes/ComfyUI-RTX-Remix/RTX Remix String to List
ComfyUI Node

RTX Remix String to List

A one-item list, delivered

By NVIDIAGameWorks·Created 2 years ago·Updated 6 days ago· 71
RTX Remix String to List
    • STRING
    value

    First, the important part: this node is not a splitter. Feed it "a,b,c" and you get back ["a,b,c"] - one string wrapped in a one-element list, not three items. If that's what you were hoping for, stop reading and go find a proper CSV-split node. If you genuinely need to hand a single string to a slot that expects a list, this is your node.

    Where this fits

    This pack is NVIDIA GameWorks' bridge between ComfyUI and the RTX Remix Toolkit, the tool for remastering old DirectX 8/9 games with path tracing. It has two modes: integration workflows (the toolkit drives ComfyUI - recommended) and REST API workflows (ComfyUI drives the toolkit - advanced). This node belongs to the REST API side, under RTX Remix > REST API > common, and it's a plumbing piece, not a feature. You won't build a workflow around it; you'll slot it in when a connection complains about shape.

    Why the shape matters

    Several REST nodes speak in lists. RTX Remix Get Textures, for instance, returns usd_attributes, texture_names, textures, and masks as lists, and list-flavored inputs appear across the family. When a downstream node is declared to expect list input, a bare string won't connect cleanly - that's the gap this node fills. The mechanism is a single line in the source: it returns [value]. No network call, no validation, no API involvement. It's a type/shape adapter, and it's honest about being one.

    The same shape trick matters for batching. The pack's RTX Remix Switch declares list handling on its inputs and reads its boolean switcher as switcher[0] - so wrapping values in lists is the native way to drive batch-mode execution in these nodes. StrToList is how a single declared string becomes batch-compatible.

    Inputs and outputs

    • value (STRING) - the string to wrap.
    • value (STRING, list) - the same string as a single-element list.

    That's it. The content passes through untouched; only the shape changes. It's the rare node where the input and output are named identically, which makes the "adapter, not transformer" role obvious.

    Installing the pack

    In ComfyUI Manager, search "RTX Remix" (or comfyui-rtx_remix), Install, restart. Manual route:

    cd ComfyUI/custom_nodes
    git clone https://github.com/NVIDIAGameWorks/ComfyUI-RTX-Remix
    cd ComfyUI-RTX-Remix
    ./install.sh   # install.bat on Windows
    

    Restart, done. The pack needs ComfyUI v0.3.48+ because it uses the V3 node schema. Dependencies (huggingface-hub, numpy, OpenEXR, pillow, pinned pydantic, requests, torch) come down via the installer; this node itself needs none of them at runtime.

    Gotchas

    Two ways people go wrong here. First, the splitter misunderstanding above - if a downstream node wants several texture types and you feed it one comma string through this node, you've given it one item, not many. Second, the reverse error: if a node expects a plain string and you've wrapped it in a list, you'll get a type mismatch, and StrToList isn't the fix - that's the sign you should remove it. Listen to the error, don't add more adapters. And unlike the texture nodes in this pack, this one makes zero HTTP calls, so it works fine without the RTX Remix Toolkit even running.

    CategoryRTXRemix/common

    Inputs (1)

    NameTypeDefaultDescription
    valueSTRING

    Outputs (1)

    NameTypeDescription
    STRINGSTRING