Skip to content

Commit fe087ac

Browse files
committed
Merge branch 'dev/ptrottier/metadata-tweaks' into 'main'
Tweak Metadata for Better ComfyUI Desktop Compatibility See merge request lightspeedrtx/lss-ai-tools/comfyui-rtx_remix!41
2 parents 48cadc4 + ff2b93f commit fe087ac

3 files changed

Lines changed: 51 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,41 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515

1616
### Removed
1717

18-
## [2.1.0] - 2026-01-29
18+
## [2.1.1] - 2026-01-30
1919

2020
### Fixed
21+
22+
- Fixed minimum version requirement to be compatible with ComfyUI 0.3.72
23+
- Removed classifiers to fix misleading warnings when installing on ComfyUI Desktop
24+
- Export the NODE_CLASS_MAPPINGS & NODE_DISPLAY_NAME_MAPPINGS so the ComfyUI Registry can discover nodes via static analysis
25+
26+
## [2.1.0] - 2026-01-29
27+
28+
### Changed
29+
2130
- Tweaked how hashing worked on downloader nodes to improve performance
2231

2332
## [2.0.3] - 2026-01-22
2433

2534
### Fixed
35+
2636
- Fixed the icon url to point to a statis url
2737

2838
## [2.0.2] - 2026-01-22
2939

3040
### Fixed
41+
3142
- Fixed the project name to match existing node pack name
3243
- Increased the minimum required Python version to 3.10
3344

3445
## [2.0.1] - 2026-01-22
3546

3647
### Changed
48+
3749
- Added minimum requirements to the project description
3850

3951
### Fixed
52+
4053
- Updated Publisher ID for the node registry
4154
- Fixed typo in README.md
4255

@@ -47,9 +60,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4760
- **RTX Remix Save Texture Node**: Saves textures to the output directory with a subfolder based on the job ID or prompt timestamp if not job ID is provided
4861
- **RTX Remix Integration Workflow**: A new workflow for integrating ComfyUI into the RTX Remix Toolkit without using REST API nodes
4962
- **RTX Remix Front-End**: Front-end ComfyUI implementation to implement a better workflow for users
50-
- Ability to tag input slots and output nodes with metadata for RTX Remix Toolkit to use
51-
- Ability to export the workflow (and associated API Workflow) to the user directory for use in the RTX Remix Toolkit integration
52-
- Update the UI to indicate tagged nodes and slots
63+
- Ability to tag input slots and output nodes with metadata for RTX Remix Toolkit to use
64+
- Ability to export the workflow (and associated API Workflow) to the user directory for use in the RTX Remix Toolkit integration
65+
- Update the UI to indicate tagged nodes and slots
5366

5467
### Changed
5568

@@ -59,25 +72,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5972
## [1.1.1] - 2025-07-25
6073

6174
### Fixed
75+
6276
- Fixed docstring and aux ID for nodes in the template workflow
6377

6478
## [1.1.0] - 2025-07-24
6579

6680
### Added
81+
6782
- **Open Project Node**: Opens RTX Remix projects by layer ID for workflow management
68-
- **Get Loaded Project Node**: Gets layer ID of current open project for use with Open Project node
83+
- **Get Loaded Project Node**: Gets layer ID of current open project for use with Open Project node
6984
- **Close Project Node**: Closes RTX Remix projects and a force boolean parameter default false
7085
- **Get Default Directory Node**: Captures the RTX Remix default output directory before closing projects
7186
- Low VRAM workflow example: "rtx_remix_pbrify_workflow_LowVRAM.json" demonstrating new project management nodes
7287

7388
### Changed
89+
7490
- **Ingest Texture Node**: Made output_folder parameter mandatory, must be provided by user or Get Default Directory Node
7591
- Updated normal PBRify workflow to work with new ingest texture changes
7692

7793
### Fixed
94+
7895
- Path handling compatibility for URLs with spaces when calling toolkit
7996

8097
## [2024.0.0]
8198

8299
### Added
100+
83101
- First release

__init__.py

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
from __future__ import annotations
1919

20-
__all__ = ["WEB_DIRECTORY", "comfy_entrypoint"]
20+
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY", "comfy_entrypoint"]
2121

2222
from comfy_api.latest import io, ComfyExtension
2323

@@ -31,6 +31,29 @@
3131
WEB_DIRECTORY = "./web"
3232

3333

34+
# Generate NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS from V3 nodes
35+
# This is required for the ComfyUI Registry to discover nodes via static analysis
36+
def _generate_node_mappings(
37+
nodes: list[type[io.ComfyNode]],
38+
) -> tuple[dict[str, type[io.ComfyNode]], dict[str, str]]:
39+
"""Generate legacy NODE_CLASS_MAPPINGS from V3 node classes."""
40+
class_mappings = {}
41+
display_name_mappings = {}
42+
43+
for node_class in nodes:
44+
schema = node_class.define_schema()
45+
node_id = schema.node_id
46+
display_name = schema.display_name or node_id
47+
48+
class_mappings[node_id] = node_class
49+
display_name_mappings[node_id] = display_name
50+
51+
return class_mappings, display_name_mappings
52+
53+
54+
NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS = _generate_node_mappings(RTX_REMIX_NODES)
55+
56+
3457
class RTXRemixExtension(ComfyExtension):
3558
"""RTX Remix Extension for ComfyUI"""
3659

pyproject.toml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,30 @@
11
[project]
22
name = "ComfyUI-RTX-Remix"
33
description = "Use ComfyUI with the RTX Remix Toolkit to remaster classic games."
4-
version = "2.1.0"
4+
version = "2.1.1"
55
license = { file = "LICENSE" }
66
requires-python = ">=3.10"
77
dependencies = [
8-
"comfyui-frontend-package>=1.24.4",
98
"huggingface-hub",
109
"numpy",
1110
"pillow>=10.0.1",
1211
"pydantic==2.11.5",
1312
"requests",
1413
"torch",
1514
]
16-
classifiers = [
17-
"Operating System :: OS Independent",
18-
"Environment :: GPU :: NVIDIA CUDA",
19-
]
2015

2116
[project.urls]
2217
Repository = "https://github.com/NVIDIAGameWorks/ComfyUI-RTX-Remix"
2318
Documentation = "https://docs.omniverse.nvidia.com/kit/docs/rtx_remix/latest/index.html"
2419
"Bug Tracker" = "https://github.com/NVIDIAGameWorks/rtx-remix/issues"
2520

26-
# Used by Comfy Registry https://comfyregistry.org
21+
# Used by Comfy Registry https://registry.comfy.org/
2722
[tool.comfy]
2823
PublisherId = "svc-remix-github"
2924
DisplayName = "NVIDIA RTX Remix Nodes"
3025
Icon = "https://media.githubusercontent.com/media/NVIDIAGameWorks/ComfyUI-RTX-Remix/refs/tags/2.0.2/web/resources/images/remix_icon.png"
31-
requires-comfyui = ">=0.3.48"
26+
# >=0.3.72 required: first version bundling frontend 1.30.0+ for getCanvasMenuItems/getNodeMenuItems context menu hooks (PR #5977, Oct 2025)
27+
requires-comfyui = ">=0.3.72"
3228

3329
[tool.ruff]
3430
line-length = 120

0 commit comments

Comments
 (0)