立刻下载并启动原神
This ComfyUI Node Launches Genshin Impact When You Press Queue (Yes, Really)
- passthrough
- passthrough
- status
This node does exactly what its name says and nothing else: hit Queue and it launches Genshin Impact on your machine. Not a LoRA of Raiden Shogun, not an image, not a video - the actual game. And if the game isn't installed, it'll quietly set about downloading and installing HoYoPlay for you. That's the whole pack, and it's a joke. A genuinely well-engineered joke, but a joke.
The display name, 立刻下载并启动原神, translates to "immediately download and launch Genshin Impact," and the README is just the "好想玩原神" (I really want to play Genshin) meme song repeated in emoji. If you came here from a Genshin-character LoRA workflow, this is not that. It never touches a pixel, never loads a model, calls no API, needs no key. It's a local process launcher wearing a custom node's clothes.
How it works
Under the hood it's an OUTPUT_NODE that fires every time a prompt runs, and the author made sure of that with a deliberate hack: IS_CHANGED returns time.time(), so ComfyUI can never consider the node "unchanged" and skip it. That's the same always-rerun trick the plumbing layer uses for clocks and random pickers - here it just guarantees your game launch happens on every Queue, not just the first.
What it actually does depends on mode, but the default auto is the fun part. It first hunts for the game executable (GenshinImpact.exe or YuanShen.exe) by scanning the registry and common install paths across your drives. Found it? It starts it. No game but HoYoPlay is installed? It fires a hyp-osel://launcher/install deep link that opens HoYoPlay with Genshin's install dialog front and center. Nothing installed at all? It downloads the official HoYoPlay installer to %TEMP%, runs it silently (NSIS /S) behind one Windows UAC prompt, then fires the same deep link. The author is upfront that zero-click install is impossible - HoYoPlay has no public CLI for headless game downloads - so the minimum trip from Queue to playing is two clicks: UAC consent, then "Install" in HoYoPlay, then you wait out the ~70 GB download.
The inputs that matter
Only a few, and they're all widgets:
- trigger - the on/off gate. Flipped off, the node does nothing but pass data through and report
[OK] skipped. This is your mute button, since the node deliberately fires every run. - mode -
auto(default),launch_only,download_only,open_page, orcloud.launch_onlynever installs anything;open_pagejust opens the download page in your browser. - region -
globalorcn. This matters more than it looks: different download pages, different installer URLs, and the CN build's executable isYuanShen.exe.
There's an optional passthrough (any type) so you can drop the node inline without breaking your graph, plus a dry_run toggle that just reports whether it found the game without doing anything - the safe way to test it. It outputs the passthrough value untouched and a status string describing what happened.
Installing it
Zero dependencies, zero models, nothing to download beyond the node itself:
git clone https://github.com/Rinne414/comfyui-genshin-start.git \
ComfyUI/custom_nodes/comfyui_genshin_start
Restart ComfyUI and you'll find it under 原神/启动器. ComfyUI Manager can also pull it if you search for "comfyui-genshin-start." pyproject.toml declares an empty dependency list, so there's no torch, no pip install, no version fights.
Gotchas
Two worth knowing. First, cloud mode for global users just opens the regular download page - the global Cloud Genshin beta was sunset back in 2023, so cloud play is genuinely only a thing on the CN region. Second, on Linux and macOS there's no native client to launch, so the node falls back to opening Cloud Genshin (CN) or the download page; download_only on non-Windows likewise opens a page rather than downloading an .exe you can't run.
Worth installing? If the joke lands for you, sure - it's tiny, harmless, MIT-licensed, and it makes an excellent party trick for friends who don't expect their image generator to boot a game. If you need it to do anything more serious, that's not the point. The one thing it won't do is get you off the couch.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| trigger | BOOLEAN | true | — |
| mode | COMBO | auto | 5 options: auto, launch_only, download_only, open_page, cloud |
| region | COMBO | global | 2 options: global, cn |
| passthroughopt | * | — | |
| dry_runopt | BOOLEAN | false | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| passthrough | * | — |
| status | STRING | — |