Compare commits

...
3 Commits
Author SHA1 Message Date
ketle-manandClaude Opus 5.5 f7f31dafa0 release: v0.10.4 — Game tab About section, WORST SHOT cards, help for Shutter Heart and Dungeon Heart (game pack v0.5.0)
- Left pane lists game titles only; the selected game's description is shown
  as a collapsible "About" section at the top of the Result tab (collapsed by
  default, one paragraph per line). The empty-result text no longer assumes
  every game generates a picture per stage.
- stageClear results with worst: true become a gray dashed "WORST SHOT (n)"
  card (photoScore). Older packs are unaffected.
- Help: Shutter Heart (helpGame14) and Dungeon Heart (helpGame15); helpGame2
  and helpGame6 updated (en/ja/zh). README: games 7 and 8, About section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:47:13 +09:00
ketle-manandClaude Opus 5.5 1fdfbf66b6 docs: manual v0.10.3 — Game tab (11-8), backup changes from v0.9.10
- Chapter 11: new section 11-8 Game (installing the game pack, preparing
  the workflow, the screen, when images are generated, cards, settings,
  the 6 games and their controls); 11-5 Data Management covers the
  browser settings now included in backups and the new full-backup
  checkboxes.
- Chapter 3: the Game tab in the tab list; Chapter 12: Game tab
  troubleshooting; Appendix C: link to ComfyUI-WFS-Games;
  Introduction: covers v0.10.3.
- Japanese and English; combined MD and ZIP rebuilt (v0.9.9 files
  removed). README points to the v0.10.3 manual and EPUB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:45:48 +09:00
ketle-manandClaude Opus 5.5 67ff1cd913 release: v0.10.3 — Game tab help for Smash Heart and Knight Heart (game pack v0.4.0)
- Help: Smash Heart (helpGame12) and Knight Heart (helpGame13) in en/ja/zh.
- The Result tab's empty text and the image-generation help (helpGame6)
  no longer name Star Formation's Rina; they describe the heroine of
  whichever game you play.
- README: Game tab section lists games 5 and 6.
- Version 0.10.3, DEVLOG entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:34:39 +09:00
28 changed files with 709 additions and 46 deletions
+2
View File
@@ -2,6 +2,8 @@
Condensed version-by-version index of DEVLOG.md (each line: version + one-line summary of what changed and why). Full rationale, code details, and "How to apply" lessons live in the excluded DEVLOG.md itself; this index exists so graphify can extract a queryable semantic node per release without feeding the full log to the local Ollama model. Regenerate with `python tools/generate_doc_index.py devlog` whenever DEVLOG.md changes.
- **v0.10.4(2026-11-20)** — Game タブ: 遊び方の表示・ワースト写真のカード、第7弾・第8弾のヘルプ(ゲームパック ComfyUI-WFS-Games v0.5.0)
- **v0.10.3(2026-11-19)** — Game タブ: 第5弾・第6弾のヘルプ(ゲームパック ComfyUI-WFS-Games v0.4.0)
- **v0.10.2(2026-11-18)** — Game タブ: 右ペインを「結果 / 設定」のタブに、第3弾・第4弾に対応(ゲームパック ComfyUI-WFS-Games v0.3.0)
- **v0.10.1(2026-11-18)** — Game タブ: 第2弾 Turbo Heart に対応(ゲームパック ComfyUI-WFS-Games v0.2.0)
- **v0.10.0(2026-11-17)** — Game タブ(実験的機能・別パッケージ ComfyUI-WFS-Games が必要)
+23
View File
@@ -2,6 +2,29 @@
---
## v0.10.4(2026-11-20)
### Game タブ: 遊び方の表示・ワースト写真のカード、第7弾・第8弾のヘルプ(ゲームパック ComfyUI-WFS-Games v0.5.0)
- 左ペインはゲームのタイトルだけにし、選んだゲームの説明(game.json の description)を右ペインの結果タブの先頭に「〇〇の遊び方」として表示(折りたたみ、初期状態はたたむ。改行ごとに段落)。結果が空のときの案内文を全ゲーム共通に(いつ生成されるかは遊び方を見るよう案内)。
- ゲームから `worst: true` の stageClear が来たら、灰色の破線のカード「ワースト写真(n点)」にする(Shutter Heart のステージでいちばん点数の低い写真。`photoScore` を表示)。古いゲームパックでは今までどおり。
- ヘルプに Shutter Heart(helpGame14)と Dungeon Heart(helpGame15)を追加し、helpGame2(左はタイトルだけ・右の遊び方)と helpGame6(ヒロインにユイ・セラ、生成のタイミングは遊び方を参照)を更新(英日中)。README の Game タブ節に第7弾・第8弾と遊び方の表示を追加。Host API の変更は `worst` / `photoScore` の追加だけ(省略可)。
- ゲームパック側(v0.5.0): 第7弾 Shutter Heart(撮影場所・ランダムなポーズと表情・バイオリズムのベストショット・ワースト写真、金魚すくいで水槽に入らないよう撮影場所ごとのネガティブ)、第8弾 Dungeon Heart(three.js r186 を同梱。1人称3D迷路のコマンド式RPG、全5階・ボス5体・魔法とスターフォール、装備16種で変わる立ち絵、自動で装備・階との相性で会心、落とし穴・ミミック・回転床・暗闇、セーブとリトライ、BGM・エンディング)、全ゲームの説明を「概要 / 【操作】 / 【画像生成】」にそろえた。
---
## v0.10.3(2026-11-19)
### Game タブ: 第5弾・第6弾のヘルプ(ゲームパック ComfyUI-WFS-Games v0.4.0)
- ヘルプに Smash Heart(helpGame12)と Knight Heart(helpGame13)の項目を追加(英日中)。README の Game タブ節に第5弾・第6弾を追加。Host API の変更はなし。
- 結果タブの説明(gameResultEmpty)とヘルプの画像生成の説明(helpGame6)が Star Formation のリナ専用の書き方だったので、ゲームごとのヒロインを指す共通の説明に修正(英日中)。
- マニュアル(docs/manual、日英)を v0.10.3 版に改訂: 第11章に「11-8 Game」(準備・画面・画像のタイミング・カード・設定・収録ゲーム・操作)、11-5 データ管理にブラウザ設定の同梱とフルバックアップのチェックボックス(v0.9.10)、第3章のタブ一覧、第12章に Game タブのトラブル、付録Cにゲームパックのリンク。全章まとめ MD・ZIP を作り直し、EPUB(画像77枚、Gameタブ2枚を追加・タブ一覧を撮り直し)を Google ドライブに公開。
- 第5弾 Smash Heart(パック側): 自分のコートの後ろから見るテニス。ナナミ vs 5人のライバル、1試合4ゲーム(2-2は引き分けで再戦か終了)、BGMなし(録音した効果音・合成した靴音・音声合成の主審コール)。
- 第6弾 Knight Heart(パック側): 段差とスピードが軸の横スクロールアクション。見習い騎士カノン、勢い・坂の加減速・スライディング・ジャンプ台、鎧(1回目で割れる)と VITA、5ステージ+ボス(足場のある部屋、大技の予告、真上・真下投げ、戦い方のヒント)、ゲームオーバーでステージのやり直し(敗北シーンはあきらめたときだけ生成)。
---
## v0.10.2(2026-11-18)
### Game タブ: 右ペインを「結果 / 設定」のタブに、第3弾・第4弾に対応(ゲームパック ComfyUI-WFS-Games v0.3.0)
+7 -7
View File
@@ -27,7 +27,7 @@ A comprehensive workflow, asset management, and generation UI plugin for [ComfyU
- Built-in AI tools (translation and more)
![Workflow Studio](https://img.shields.io/badge/ComfyUI-Custom_Node-blue)
![Version](https://img.shields.io/badge/version-0.10.2-green)
![Version](https://img.shields.io/badge/version-0.10.4-green)
## Features (tab -> feature names)
@@ -76,8 +76,8 @@ Model Browser, Thumbnail / Table views, Table column sort, Search & Filter, User
### TagSpace Tab (v0.9.0)
Choose tags visually in a 3D latent space, Build / Update, Choosing tags, Explore, Search with a card's or Gallery image's tags, Make a prompt, Tagger fill, Glow / Twinkle, Hover preview, Requirements
### Game Tab (v0.10.0 – v0.10.2, experimental)
Play, then generate, Star Formation, Turbo Heart, Prompt Typer, Sky Heart, An image at every stage clear, Prompts from the game, Settings, For game authors
### Game Tab (v0.10.0 – v0.10.3, experimental)
Game list and How to play, Play, then generate, Star Formation, Turbo Heart, Prompt Typer, Sky Heart, Smash Heart, Shutter Heart, Dungeon Heart, Knight Heart, An image at every stage clear, Prompts from the game, Settings, For game authors
### Image Edit Tab (v0.3.65)
Layer-based image editor, Loading images, Open PSD button, Close button, New button, Tools, Layer panel, Duplicate layer (⧉), Layer lock, Text quality, Export, Canvas navigation, Undo / Redo
@@ -133,12 +133,12 @@ Sample for the Game tab: `ws_game_sdxl_t2i` (v0.10.0, SDXL text-to-image, 1216x8
## Manual
A beginner-oriented manual (covers v0.9.9, text-only edition without screenshots) is available in [`docs/manual/`](docs/manual/):
A beginner-oriented manual (covers v0.10.3, text-only edition without screenshots) is available in [`docs/manual/`](docs/manual/):
- English: [`docs/manual/en/`](docs/manual/en/) — ZIP: `Workflow_Studio_Manual_v0.9.9_en.zip`
- 日本語: [`docs/manual/`](docs/manual/) — ZIP: `Workflow_Studio_Manual_v0.9.9.zip`
- English: [`docs/manual/en/`](docs/manual/en/) — ZIP: `Workflow_Studio_Manual_v0.10.3_en.zip`
- 日本語: [`docs/manual/`](docs/manual/) — ZIP: `Workflow_Studio_Manual_v0.10.3.zip`
An EPUB edition with screenshots (Japanese and English, v0.9.9) is available on [Google Drive](https://drive.google.com/drive/folders/14mOHcnLYrFgNrOo6fy7ELyFjjWrAoU-_?usp=sharing).
An EPUB edition with screenshots (Japanese and English, v0.10.3) is available on [Google Drive](https://drive.google.com/drive/folders/14mOHcnLYrFgNrOo6fy7ELyFjjWrAoU-_?usp=sharing).
---
+11 -6
View File
@@ -23,7 +23,7 @@ A comprehensive workflow, asset management, and generation UI plugin for [ComfyU
- Built-in AI tools (translation and more)
![Workflow Studio](https://img.shields.io/badge/ComfyUI-Custom_Node-blue)
![Version](https://img.shields.io/badge/version-0.10.2-green)
![Version](https://img.shields.io/badge/version-0.10.4-green)
## Screenshots
@@ -440,13 +440,18 @@ An experimental batch generator: runs the workflow currently loaded in GenerateU
</details>
<details>
<summary><h3>Game Tab (v0.10.0 – v0.10.2, experimental)</h3></summary>
<summary><h3>Game Tab (v0.10.0 – v0.10.3, experimental)</h3></summary>
- **Game list and How to play** — the left pane lists the game titles; the selected game's overview, controls and image timing are in a collapsible "About" section at the top of the Result tab
- **Play, then generate** — a tab for mini games that end in image generation. The games come from a separate pack, [ComfyUI-WFS-Games](https://github.com/ketle-man/ComfyUI-WFS-Games); the tab appears only when the pack is installed (Workflow Studio checks `/wfs_games/manifest` on start), so without it nothing changes
- **Star Formation** (first game) — a 1980s-style vertical shooter (arcade / MSX2 / PC-8801 look: pixel sprites, pixel font, scanlines, chiptune music) built on Phaser 4. 5 stages, each ending with a boss (WARNING, boss music; big and tough / fast with fast shots / radial bursts / flashing straight-line ram / a giant carrier launching small fighters). Navigator Rina talks between stages in an adventure-game style window
- **Turbo Heart** (second game, pack v0.2.0) — a 1980s-style behind-the-car racer with a pseudo-3D road and city-pop style chiptune music. 5 races (seaside highway, autumn mountain pass, desert canyon, neon city at night, tropical coast at dawn); 8 cars, start last, top 3 to advance. Nitro, speed lines, overtakes, tire squeal; obstacles (cardboard boxes, an oil slick, sometimes a person crossing — hitting them ends the game). Mechanic Misaki talks between races, and the images work the same way as in Star Formation
- **Prompt Typer** (third game, pack v0.3.0) — a 1980s-style typing game whose typing becomes the image prompt, typos included. 10 stages of 20 words, longer every 2 stages; 85% correct clears a stage, an image is generated after every stage either way, and you can retry. English, Japanese and Chinese (Japanese / Chinese through your IME). No music
- **Sky Heart** (fourth game, pack v0.3.0) — a 1980s-style into-the-screen flying shooter with a pseudo-3D ground. Hikari flies a jet pack through 5 stages with bosses; an altimeter, hearts in the air and near the ground, ground missile launchers, and power-ups (1UP, a 3-hit barrier, support mechs that fire with you). The images work the same way as in Star Formation
- **Smash Heart** (fifth game, pack v0.4.0) — a 1980s-style tennis game seen from behind your court. Nanami plays 5 rivals with different styles on their own courts; 4 games per match (2-2 is a draw: rematch or quit), aim with ← → at contact, deep shots, drop shots and lobs. No music: recorded sounds and the umpire's calls by speech synthesis
- **Shutter Heart** (seventh game, pack v0.5.0) — a photographer game: the framing you set with the viewfinder (zoom, tilt, camera height), the shooting spot you pick and Yui's random pose and expression become the image prompt. Time the shutter to her biorhythm for a BEST SHOT; the best photo you pick and the worst photo of the stage are both generated
- **Dungeon Heart** (eighth game, pack v0.5.0, built with three.js) — a first-person 3D dungeon RPG with turn-based command battles and magic. Sera explores 5 floors with hidden walls, pitfalls, spinning floors and Mimics; equipment (bikini armors, robes, weapons, accessories) is put on automatically and changes her pixel portrait and the generated picture, and gear that suits the floor raises the critical chance. Save at fountains, retry from the last save
- **Knight Heart** (sixth game, pack v0.4.0) — a 1980s-style side-scrolling action game built around steps and speed. Apprentice knight Kanon runs, jumps and throws her weapon through 5 stages with bosses: momentum that carries after a downhill run, slopes that speed you up or slow you down, a slide that ploughs through small enemies, ramps, armor that breaks on the first hit and a VITA gauge refilled by fruit. Boss rooms have platforms and telegraphed attacks; you can throw straight up / down, and retry the stage on game over
- **An image at every stage clear** — a card is added to the Result panel and a victory shot of Rina with that stage in the background is generated in the background while you keep playing (one at a time, in order). Five flashing enemies per stage drop hearts; catch all 5 and that stage's image becomes a private photo of Rina instead (more casual clothes each stage, up to a swimsuit — the game adds negative tags so it goes no further). Clearing all 5 stages adds the ending scene; a game over adds a defeat scene (screen darkens, her call goes unanswered)
- **Prompts from the game** — each card lists the prompts the game returned with their kind (Style / Heroine / Scene / Stage); uncheck or edit them and Regenerate, or **Open in GenerateUI**. The game's negative tags are added to the workflow's negative prompt
- **Settings** (the Settings tab of the right pane since v0.10.2; the left pane lists the games only) — the workflow used for generation (default `ws_game_sdxl_t2i.json`, an SDXL text-to-image workflow included in `workflows/` — import it and set your checkpoint; output in `output/WFS_Game`), base prompt, negative prompt, and whether to generate at each stage clear / the ending / on game over automatically; difficulty, music and sound effects. VRAM Management notices are not shown while the Game tab is open
@@ -627,12 +632,12 @@ Sample for the Game tab: `ws_game_sdxl_t2i` (v0.10.0, SDXL text-to-image, 1216x8
## Manual
A beginner-oriented manual (covers v0.9.9, text-only edition without screenshots) is available in [`docs/manual/`](docs/manual/):
A beginner-oriented manual (covers v0.10.3, text-only edition without screenshots) is available in [`docs/manual/`](docs/manual/):
- English: [`docs/manual/en/`](docs/manual/en/) — ZIP: `Workflow_Studio_Manual_v0.9.9_en.zip`
- 日本語: [`docs/manual/`](docs/manual/) — ZIP: `Workflow_Studio_Manual_v0.9.9.zip`
- English: [`docs/manual/en/`](docs/manual/en/) — ZIP: `Workflow_Studio_Manual_v0.10.3_en.zip`
- 日本語: [`docs/manual/`](docs/manual/) — ZIP: `Workflow_Studio_Manual_v0.10.3.zip`
An EPUB edition with screenshots (Japanese and English, v0.9.9) is available on [Google Drive](https://drive.google.com/drive/folders/14mOHcnLYrFgNrOo6fy7ELyFjjWrAoU-_?usp=sharing).
An EPUB edition with screenshots (Japanese and English, v0.10.3) is available on [Google Drive](https://drive.google.com/drive/folders/14mOHcnLYrFgNrOo6fy7ELyFjjWrAoU-_?usp=sharing).
---
+3 -3
View File
@@ -2,12 +2,12 @@
ノードが苦手でも大丈夫 ― 画像生成をもっと手軽に、もっと整理して
- 対象バージョン:Workflow Studio v0.9.9
- 対象バージョン:Workflow Studio v0.10.3
- 著者:ketle-man
- © 2026 ketle-man
このマニュアルは、Kindle版をもとにした **画像なしのテキスト版** です。
章ごとのファイルは `chapters/` フォルダ、全章をまとめたファイルは `Workflow_Studio_Manual_v0.9.9.md` です。
章ごとのファイルは `chapters/` フォルダ、全章をまとめたファイルは `Workflow_Studio_Manual_v0.10.3.md` です。
画面の例は省略しているため、実際の画面はWorkflow Studioのヘルプタブとあわせてご覧ください。
## 目次
@@ -29,4 +29,4 @@
- [13_付録](chapters/13_付録.md)
- [14_おわりに](chapters/14_おわりに.md)
全章まとめ:[Workflow_Studio_Manual_v0.9.9.md](Workflow_Studio_Manual_v0.9.9.md)
全章まとめ:[Workflow_Studio_Manual_v0.10.3.md](Workflow_Studio_Manual_v0.10.3.md)
@@ -2,12 +2,12 @@
ノードが苦手でも大丈夫 ― 画像生成をもっと手軽に、もっと整理して
- 対象バージョン:Workflow Studio v0.9.9
- 対象バージョン:Workflow Studio v0.10.3
- 著者:ketle-man
- © 2026 ketle-man
このマニュアルは、Kindle版をもとにした **画像なしのテキスト版** です。
章ごとのファイルは `chapters/` フォルダ、全章をまとめたファイルは `Workflow_Studio_Manual_v0.9.9.md` です。
章ごとのファイルは `chapters/` フォルダ、全章をまとめたファイルは `Workflow_Studio_Manual_v0.10.3.md` です。
画面の例は省略しているため、実際の画面はWorkflow Studioのヘルプタブとあわせてご覧ください。
---
@@ -98,6 +98,7 @@ Workflow Studioは、そうして作り上げたワークフローを **素早
- **ローカルAI連携** - 日本語からのプロンプト翻訳、画像からのプロンプト・タグ作成
- **Tagger・Video** - 画像からのタグ自動生成、動画の生成と簡単な編集
- **TagSpace** - 手持ちのプロンプト・タグ・生成画像を「意味の近さ」で3Dの空間に並べ、眺めながらタグを選ぶ
- **Game**(実験的機能) - 別パッケージのミニゲームで遊び、ステージをクリアするたびにヒロインの画像を生成する
---
@@ -143,7 +144,7 @@ ComfyUIの「自由さ」はそのままに、「分かりやすさ」と「手
## 本書の対象バージョンと環境
- **Workflow Studio**:v0.9.9
- **Workflow Studio**:v0.10.3(Gameタブのゲームパック ComfyUI-WFS-Games は v0.4.1)
- **ComfyUI**:本書執筆時点の最新版
- **OS**:Windows(画面の例はWindowsのものです)
@@ -622,6 +623,7 @@ Workflow Studioを開くと、画面の上部にタブが横一列に並んで
| Video | Video | 動画生成・動画編集 | | 第11章 |
| Tagger | Tagger | 画像からタグ(プロンプト)を自動生成 | | 第11章 |
| TagSpace | TagSpace | タグ・プロンプト・生成画像を意味の近さで3D表示し、タグを選ぶ | | 第11章 |
| Game | Game | ミニゲームで遊び、クリアした結果で画像を生成する(ゲームパックを入れたときだけ表示) | | 第11章 |
| 設定 | Settings | 言語・テーマ・フォルダなどの設定 | | 本章・第11章 |
| ヘルプ | Help | 機能一覧・ショートカット・トラブル対処 | | 本章 |
| AI TOOL | AI TOOL | ローカルAIによる翻訳・チャット・画像解析・文字起こし(OCR) | | 第10章 |
@@ -636,6 +638,8 @@ Workflow Studioを開くと、画面の上部にタブが横一列に並んで
- **補助する** - AI TOOL/Tagger/TagSpace/設定/ヘルプ
他のタブでの作業を助けたり、全体の設定をしたりするタブです。
**Game** タブは、別パッケージのゲームパックを入れたときだけ表示される、遊びながら画像を作る特別なタブです(第11章 11-8)。
> **ポイント**
> 各タブは互いにつながっています。
> たとえば、ワークフロータブで選んだワークフローを生成UIに読み込んだり、
@@ -3307,6 +3311,17 @@ Checkpointが自動で指定のモデルに差し替わります。モデルの
**フルバックアップ (ZIP)** を使うと、スタイルやLabのプランなどのフォルダ単位のデータも含めて、まとめてバックアップできます。
v0.9.10からは、ブラウザ側に保存している設定(グループ、バッジの色、外観、AI・VRAM調整の設定、各種プリセット、Gameタブの設定など)も、
JSONのエクスポートとフルバックアップの両方に含まれるようになりました。
インポート(復元)のあとに表示される **ページを再読み込み** を押すと、ブラウザ側の設定が反映されます。続けてComfyUIも再起動してください。
フルバックアップでは、次のデータを含めるかどうかをチェックボックスで選べます。
| チェックボックス | 内容 |
| --- | --- |
| Galleryセマンティック検索のインデックスを含める | 既定はオン。作り直すと全画像の埋め込みをやり直すことになる(Geminiでは API の利用料がかかる) |
| TagSpaceのキャッシュを含める | 既定はオフ。大きいが、TagSpaceタブで作り直せる |
> **ポイント**
> パソコンの買い替えやComfyUIの入れ直しの前には、必ずバックアップを取っておきましょう。
> 時間をかけて整理した情報を、そのまま新しい環境に引き継げます。
@@ -3428,6 +3443,126 @@ Gallery点を選んでいるときは、**選択中** に **Galleryで開く**
---
## 11-8 Game - ゲームで遊んで、クリアした結果で画像を作る(v0.10.0〜、実験的機能)
**Game** タブでは、80年代のパソコンゲーム風のミニゲームを遊べます。
ステージをクリアするたびに、そのゲームのヒロインの「勝利の記念カット」が、ComfyUIで自動的に生成されます。
遊んでいる間も生成はバックグラウンドで進むので、プレイを止める必要はありません。
ゲーム本体は、Workflow Studioとは別のパッケージ **ComfyUI-WFS-Games**(ゲームパック)で配布しています。
ゲームパックを入れていない環境では、Gameタブもヘルプタブの「Gameタブ」のページも表示されません(ほかのタブには何も影響しません)。
### 準備1:ゲームパックをインストールする
ゲームパックは ComfyUI Manager には登録していません。次のどちらかの方法で入れます。
- **git を使う場合**:コマンドプロンプトなどで `ComfyUI/custom_nodes` フォルダに移動し、次を実行します。
```
git clone https://github.com/ketle-man/ComfyUI-WFS-Games
```
- **ZIPを使う場合**:GitHubのリリースページ(https://github.com/ketle-man/ComfyUI-WFS-Games/releases)から最新版のZIPをダウンロードし、
`ComfyUI/custom_nodes` の中に展開します。フォルダ名は `ComfyUI-WFS-Games` にしておきます。
ComfyUIを再起動してからWorkflow Studioを開くと、TagSpaceタブの右に **Game** タブが表示されます。
ゲームパックはWorkflow Studio v0.10.0以降で使えます。
### 準備2:画像を生成するワークフローを用意する
Gameタブの画像は、設定で選んだワークフローで生成します。既定は、Gameタブ用に用意したサンプル **`ws_game_sdxl_t2i`** です
(SDXL(Illustrious系)で文章から画像を作るワークフロー。サイズは1216×832、出力先は `ComfyUI/output/WFS_Game`)。
サンプルに保存されているCheckpointは、あなたのパソコンには入っていないことが多いので、次の手順で自分のモデルに合わせます。
1. 第4章 4-8の手順で、`workflows` フォルダの `ws_game_sdxl_t2i.png` をワークフロータブに取り込みます。
2. 取り込んだワークフローを生成UIに読み込み、**Model** で手持ちのSDXLのCheckpointを選んで **Apply** を押します(第5章)。
3. **Save** で名前を付けて保存します(第5章「生成したワークフローを保存する」)。
4. Gameタブの右の **設定** タブにある **ワークフロー** で、保存したワークフローを選びます。
一覧に出ないときは、横の **ワークフロー一覧を再読み込み** ボタンを押します。
ポジティブプロンプトのノードがあれば、ほかの「文章から画像を作る」ワークフローも使えます。
> **注意**
> ワークフローに保存されているCheckpointがパソコンに無いと、ゲームの画像はエラーになって生成されません。
> 生成UIで一度生成してみて、うまくいったワークフローを選んでください。
### 画面の見方
| 場所 | 内容 |
| --- | --- |
| 左 **ゲーム** | インストールされているゲームの一覧。クリックすると中央でゲームが始まる |
| 中央 | ゲーム画面。右上の **リスタート** で、タイトル画面からやり直す |
| 右 **結果** タブ | 生成した画像のカード(新しいものが上) |
| 右 **設定** タブ | プレイ設定と画像生成の設定 |
ゲーム画面を **クリック** すると、キー操作がゲームに入ります(そこで押したキーは、Workflow Studioのほかの操作に影響しません)。
ほかのタブやウィンドウに切り替えると、ゲームは一時停止します。
### 画像が生成されるタイミング
| タイミング | カード | 生成される画像 |
| --- | --- | --- |
| ステージをクリアしたとき | そのステージのカード | そのステージを背景にした、ヒロインの勝利の記念カット |
| そのステージのハートを5個全部取っていたとき | ピンクのカード(PERFECT!) | 勝利の記念カットの代わりに、私服で過ごすヒロインのプライベート写真 |
| 全ステージをクリアしたとき | ENDING | エンディングの場面 |
| ゲームオーバーになったとき | 赤い GAME OVER | 負けたステージを背景にした、ヒロインの敗北の場面 |
画像は1枚ずつ順番に作られます。シード(seed)は毎回ランダムです。
画像は `ComfyUI/output/WFS_Game` に保存され、タイトル画面から新しくゲームを始めると、結果タブのカードは消えます(画像は残ります)。
プライベート写真の服装は、ゲームやステージによって変わります。ゲームがネガティブのタグを足して、水着より先にはならないようにしています。
### カードでできること
- **プロンプト** を開くと、ゲームから渡されたプロンプトが、種類(**画風**・**ヒロイン**・**シーン**・**ステージ**)付きで並びます。
使わないもののチェックを外したり、**生成するプロンプト(編集できます)** を書き換えたりして、**再生成** を押すと作り直せます。
- **GenerateUIで開く** を押すと、そのカードのプロンプトを入れたワークフローが生成UIに読み込まれます。
サイズやモデルを変えて、生成UIで作り直したいときに便利です。
### 設定タブ
| 項目 | 内容 |
| --- | --- |
| 難易度 | やさしい・ふつう・むずかしい。残機などがゲームごとに変わる |
| BGM・効果音 | オン・オフ |
| ワークフロー | 画像の生成に使うワークフロー(上の準備2) |
| ベースプロンプト | ゲームから渡されたプロンプトの前に付ける言葉 |
| ネガティブプロンプト | 空欄なら、ワークフローのネガティブをそのまま使う。ゲームが追加するネガティブは、ここに足される |
| ステージクリアごとに画像を生成する/エンディング画像も自動で生成する/ゲームオーバー時も画像を生成する | オフにすると、カードの **生成** を押したときにだけ生成する |
プレイ設定(難易度・BGM・効果音)を変えると、ゲームは最初からになります。
設定はブラウザに保存され、設定タブのバックアップにも含まれます(11-5)。
> **ポイント**
> Gameタブを開いている間は、VRAM調整のメッセージ(トースト)を表示しません。ゲーム画面が隠れないようにするためです。
### 収録されているゲーム(ゲームパック v0.4.1)
| ゲーム | ジャンル | ヒロイン | 内容 |
| --- | --- | --- | --- |
| Star Formation | 縦シューティング | リナ | 全5ステージ。各ステージの最後にボス。黄色く点滅する敵を倒すとハートが落ちてくる |
| Turbo Heart | レース | ミサキ | 全5レース。8台で走り、3位以内でゴールすると次のレースへ。ニトロ、障害物 |
| Prompt Typer | タイピング | (なし) | 全10ステージ。打った文字が、打ち間違いも含めてそのまま画像のプロンプトになる。85%以上正しく打てばクリア |
| Sky Heart | 画面の奥へ飛ぶシューティング | ヒカリ | 全5ステージ+ボス。高度計、空中と地上のハート、パワーアップ |
| Smash Heart | テニス | ナナミ | 5人のライバルと対戦。1試合4ゲーム。BGMはなく、打球音や主審のコールで臨場感を出す |
| Knight Heart | 横スクロールアクション | カノン | 全5ステージ+ボス。坂で加速し、走りながらスライディング、速く走るほど遠くへ跳べる |
ハートは、Prompt Typer以外のゲームで各ステージ(各レース・各試合)に5個あります。
Prompt Typerは、クリアしてもしなくても、毎ステージ画像を生成します(日本語・中国語で打つときは、その言語が分かる画像モデルを使ってください)。
### 操作
| ゲーム | 操作 |
| --- | --- |
| Star Formation | ← →(A D)で移動、Space または Z でショット |
| Turbo Heart | ← → でハンドル、↑ または Z でアクセル、↓ または X でブレーキ、Space または C でニトロ(1レース3回) |
| Prompt Typer | 文字を打つ。ステージの後は Enter で次へ、R でリトライ、Q であきらめる。タイトルで ↑ ↓ で言語、← → で開始ステージ |
| Sky Heart | 矢印キーまたは WASD で移動、Space または Z を押しっぱなしでショット |
| Smash Heart | 矢印キーで移動、Z または Space で打つ、X でロブ。打つ瞬間に ← → で狙う。サーブは Z でトス、もう一度 Z で打つ |
| Knight Heart | ← → で移動、Space または X でジャンプ、Z または C で攻撃(↑+攻撃で真上、空中で ↓+攻撃で真下)、走りながら ↓ でスライディング |
一時停止は、どのゲームも **Esc** または **P** です。ゲームパッドも使えます(Prompt Typerを除く)。
ゲームごとの細かいルールは、ヘルプタブの **Gameタブ** のページにまとめています。
> **ポイント**
> Knight Heartでゲームオーバーになったときは、**そのステージからやり直す** か **あきらめる** かを選べます。
> 敗北の場面の画像は、あきらめたときだけ生成されます。一時停止中に **R** を押すと、残りを1つ使ってステージを最初からやり直せます。
---
> **この章のまとめ**
> - ノードタブでインストール済みのノードを一覧・整理でき、WS Libraryで使える
> - Taggerは画像からタグを自動生成する。モデルと追加パッケージの準備が必要
@@ -3436,6 +3571,7 @@ Gallery点を選んでいるときは、**選択中** に **Galleryで開く**
> - 設定タブの「デフォルトCheckpoint」と「データ管理(バックアップ)」は特に便利
> - 同じ作者の Comic Creator と組み合わせると、生成した画像でマンガを作れる
> - TagSpaceでは、手持ちのタグ・プロンプト・生成画像を意味の近さで3Dに並べ、眺めながらタグを選んでプロンプトを作れる
> - Gameタブでは、ゲームパックのミニゲームで遊び、ステージをクリアするたびにヒロインの画像を自動で生成できる
---
@@ -3638,6 +3774,16 @@ ComfyUIを停止し、ComfyUIのPythonで `pip uninstall -y onnxruntime onnxrunt
`.env` にComfy APIキーが無いのが原因です。プラグインの `.env` に `COMFY_API_KEY=キー`(platform.comfy.orgで発行)を書き、ComfyUIを再起動してください(第5章 5-8)。
`.env` は起動時にしか読み込まれません。
### Gameタブが表示されない・ゲームが動かない
| 症状 | 原因 | 対処 |
| --- | --- | --- |
| Gameタブが無い | ゲームパック(ComfyUI-WFS-Games)が入っていない、または入れたあとComfyUIを再起動していない | 第11章 11-8の手順で入れて、ComfyUIを再起動する。Workflow Studio v0.10.0以降が必要 |
| キーを押してもゲームが動かない | ゲーム画面にキー入力が入っていない | ゲーム画面を一度クリックする |
| 「Game の設定でワークフローが選ばれていません。」と出る | 設定タブのワークフローが空 | 設定タブの **ワークフロー** で選ぶ(第11章 11-8 準備2) |
| 「ワークフローにポジティブプロンプトのノードがありません。」と出る | 選んだワークフローに、プロンプトを書き込むノードが見つからない | 文章から画像を作るワークフローを選ぶ |
| カードがエラーになり画像ができない | ワークフローのCheckpointがパソコンに無い | 生成UIで手持ちのモデルに変えて保存し、それを選ぶ(第11章 11-8 準備2) |
| ゲームを更新したのに古いまま | ブラウザが古いファイルを覚えている | **Ctrl+F5** でページを再読み込みする |
### ComfyUIが固まる(どのタブも反応しなくなる)
Windowsで、プレビュー画像の多いモデルタブの一覧を切り替えたあとなどに、ComfyUIが反応しなくなる(生成もできなくなる)場合があります。
設定タブの **Windowsの安定性(イベントループ)** で、**WindowsでSelectorイベントループを使用する** をオンにして、ComfyUIを再起動してください。
@@ -3821,6 +3967,7 @@ Workflow Studioの **ヘルプ** タブにも、トラブルシューティン
| --- | --- | --- |
| ComfyUI Comic Creator(https://github.com/ketle-man/comfyui-comic-creator) | マンガ制作。ギャラリー・画像生成と連携 | 第11章 |
| comfyui-image-feeder(https://github.com/ketle-man/comfyui-image-feeder) | FeederのImage Loopモード | 第5章 |
| ComfyUI-WFS-Games(https://github.com/ketle-man/ComfyUI-WFS-Games) | Gameタブのゲームパック | 第11章 |
| comfyui-mask-editor-one(https://github.com/ketle-man/comfyui-mask-editor-one) | Image Editの高度なマスク・背景除去 | 第11章 |
| ComfyUI-Impact-Pack(https://github.com/ltdrdata/ComfyUI-Impact-Pack) | `{A|B}` 形式のワイルドカード | 第7章 |
| ComfyUI-Lora-Manager | LoRAの管理・WS LibraryでのLoRAのまとめ置き | 第9章 |
Binary file not shown.
Binary file not shown.
+2 -1
View File
@@ -84,6 +84,7 @@ Workflow Studioは、そうして作り上げたワークフローを **素早
- **ローカルAI連携** - 日本語からのプロンプト翻訳、画像からのプロンプト・タグ作成
- **Tagger・Video** - 画像からのタグ自動生成、動画の生成と簡単な編集
- **TagSpace** - 手持ちのプロンプト・タグ・生成画像を「意味の近さ」で3Dの空間に並べ、眺めながらタグを選ぶ
- **Game**(実験的機能) - 別パッケージのミニゲームで遊び、ステージをクリアするたびにヒロインの画像を生成する
---
@@ -129,7 +130,7 @@ ComfyUIの「自由さ」はそのままに、「分かりやすさ」と「手
## 本書の対象バージョンと環境
- **Workflow Studio**:v0.9.9
- **Workflow Studio**:v0.10.3(Gameタブのゲームパック ComfyUI-WFS-Games は v0.4.1)
- **ComfyUI**:本書執筆時点の最新版
- **OS**:Windows(画面の例はWindowsのものです)
@@ -25,6 +25,7 @@ Workflow Studioを開くと、画面の上部にタブが横一列に並んで
| Video | Video | 動画生成・動画編集 | | 第11章 |
| Tagger | Tagger | 画像からタグ(プロンプト)を自動生成 | | 第11章 |
| TagSpace | TagSpace | タグ・プロンプト・生成画像を意味の近さで3D表示し、タグを選ぶ | | 第11章 |
| Game | Game | ミニゲームで遊び、クリアした結果で画像を生成する(ゲームパックを入れたときだけ表示) | | 第11章 |
| 設定 | Settings | 言語・テーマ・フォルダなどの設定 | | 本章・第11章 |
| ヘルプ | Help | 機能一覧・ショートカット・トラブル対処 | | 本章 |
| AI TOOL | AI TOOL | ローカルAIによる翻訳・チャット・画像解析・文字起こし(OCR) | | 第10章 |
@@ -39,6 +40,8 @@ Workflow Studioを開くと、画面の上部にタブが横一列に並んで
- **補助する** - AI TOOL/Tagger/TagSpace/設定/ヘルプ
他のタブでの作業を助けたり、全体の設定をしたりするタブです。
**Game** タブは、別パッケージのゲームパックを入れたときだけ表示される、遊びながら画像を作る特別なタブです(第11章 11-8)。
> **ポイント**
> 各タブは互いにつながっています。
> たとえば、ワークフロータブで選んだワークフローを生成UIに読み込んだり、
@@ -231,6 +231,17 @@ Checkpointが自動で指定のモデルに差し替わります。モデルの
**フルバックアップ (ZIP)** を使うと、スタイルやLabのプランなどのフォルダ単位のデータも含めて、まとめてバックアップできます。
v0.9.10からは、ブラウザ側に保存している設定(グループ、バッジの色、外観、AI・VRAM調整の設定、各種プリセット、Gameタブの設定など)も、
JSONのエクスポートとフルバックアップの両方に含まれるようになりました。
インポート(復元)のあとに表示される **ページを再読み込み** を押すと、ブラウザ側の設定が反映されます。続けてComfyUIも再起動してください。
フルバックアップでは、次のデータを含めるかどうかをチェックボックスで選べます。
| チェックボックス | 内容 |
| --- | --- |
| Galleryセマンティック検索のインデックスを含める | 既定はオン。作り直すと全画像の埋め込みをやり直すことになる(Geminiでは API の利用料がかかる) |
| TagSpaceのキャッシュを含める | 既定はオフ。大きいが、TagSpaceタブで作り直せる |
> **ポイント**
> パソコンの買い替えやComfyUIの入れ直しの前には、必ずバックアップを取っておきましょう。
> 時間をかけて整理した情報を、そのまま新しい環境に引き継げます。
@@ -352,6 +363,126 @@ Gallery点を選んでいるときは、**選択中** に **Galleryで開く**
---
## 11-8 Game - ゲームで遊んで、クリアした結果で画像を作る(v0.10.0〜、実験的機能)
**Game** タブでは、80年代のパソコンゲーム風のミニゲームを遊べます。
ステージをクリアするたびに、そのゲームのヒロインの「勝利の記念カット」が、ComfyUIで自動的に生成されます。
遊んでいる間も生成はバックグラウンドで進むので、プレイを止める必要はありません。
ゲーム本体は、Workflow Studioとは別のパッケージ **ComfyUI-WFS-Games**(ゲームパック)で配布しています。
ゲームパックを入れていない環境では、Gameタブもヘルプタブの「Gameタブ」のページも表示されません(ほかのタブには何も影響しません)。
### 準備1:ゲームパックをインストールする
ゲームパックは ComfyUI Manager には登録していません。次のどちらかの方法で入れます。
- **git を使う場合**:コマンドプロンプトなどで `ComfyUI/custom_nodes` フォルダに移動し、次を実行します。
```
git clone https://github.com/ketle-man/ComfyUI-WFS-Games
```
- **ZIPを使う場合**:GitHubのリリースページ(https://github.com/ketle-man/ComfyUI-WFS-Games/releases)から最新版のZIPをダウンロードし、
`ComfyUI/custom_nodes` の中に展開します。フォルダ名は `ComfyUI-WFS-Games` にしておきます。
ComfyUIを再起動してからWorkflow Studioを開くと、TagSpaceタブの右に **Game** タブが表示されます。
ゲームパックはWorkflow Studio v0.10.0以降で使えます。
### 準備2:画像を生成するワークフローを用意する
Gameタブの画像は、設定で選んだワークフローで生成します。既定は、Gameタブ用に用意したサンプル **`ws_game_sdxl_t2i`** です
(SDXL(Illustrious系)で文章から画像を作るワークフロー。サイズは1216×832、出力先は `ComfyUI/output/WFS_Game`)。
サンプルに保存されているCheckpointは、あなたのパソコンには入っていないことが多いので、次の手順で自分のモデルに合わせます。
1. 第4章 4-8の手順で、`workflows` フォルダの `ws_game_sdxl_t2i.png` をワークフロータブに取り込みます。
2. 取り込んだワークフローを生成UIに読み込み、**Model** で手持ちのSDXLのCheckpointを選んで **Apply** を押します(第5章)。
3. **Save** で名前を付けて保存します(第5章「生成したワークフローを保存する」)。
4. Gameタブの右の **設定** タブにある **ワークフロー** で、保存したワークフローを選びます。
一覧に出ないときは、横の **ワークフロー一覧を再読み込み** ボタンを押します。
ポジティブプロンプトのノードがあれば、ほかの「文章から画像を作る」ワークフローも使えます。
> **注意**
> ワークフローに保存されているCheckpointがパソコンに無いと、ゲームの画像はエラーになって生成されません。
> 生成UIで一度生成してみて、うまくいったワークフローを選んでください。
### 画面の見方
| 場所 | 内容 |
| --- | --- |
| 左 **ゲーム** | インストールされているゲームの一覧。クリックすると中央でゲームが始まる |
| 中央 | ゲーム画面。右上の **リスタート** で、タイトル画面からやり直す |
| 右 **結果** タブ | 生成した画像のカード(新しいものが上) |
| 右 **設定** タブ | プレイ設定と画像生成の設定 |
ゲーム画面を **クリック** すると、キー操作がゲームに入ります(そこで押したキーは、Workflow Studioのほかの操作に影響しません)。
ほかのタブやウィンドウに切り替えると、ゲームは一時停止します。
### 画像が生成されるタイミング
| タイミング | カード | 生成される画像 |
| --- | --- | --- |
| ステージをクリアしたとき | そのステージのカード | そのステージを背景にした、ヒロインの勝利の記念カット |
| そのステージのハートを5個全部取っていたとき | ピンクのカード(PERFECT!) | 勝利の記念カットの代わりに、私服で過ごすヒロインのプライベート写真 |
| 全ステージをクリアしたとき | ENDING | エンディングの場面 |
| ゲームオーバーになったとき | 赤い GAME OVER | 負けたステージを背景にした、ヒロインの敗北の場面 |
画像は1枚ずつ順番に作られます。シード(seed)は毎回ランダムです。
画像は `ComfyUI/output/WFS_Game` に保存され、タイトル画面から新しくゲームを始めると、結果タブのカードは消えます(画像は残ります)。
プライベート写真の服装は、ゲームやステージによって変わります。ゲームがネガティブのタグを足して、水着より先にはならないようにしています。
### カードでできること
- **プロンプト** を開くと、ゲームから渡されたプロンプトが、種類(**画風**・**ヒロイン**・**シーン**・**ステージ**)付きで並びます。
使わないもののチェックを外したり、**生成するプロンプト(編集できます)** を書き換えたりして、**再生成** を押すと作り直せます。
- **GenerateUIで開く** を押すと、そのカードのプロンプトを入れたワークフローが生成UIに読み込まれます。
サイズやモデルを変えて、生成UIで作り直したいときに便利です。
### 設定タブ
| 項目 | 内容 |
| --- | --- |
| 難易度 | やさしい・ふつう・むずかしい。残機などがゲームごとに変わる |
| BGM・効果音 | オン・オフ |
| ワークフロー | 画像の生成に使うワークフロー(上の準備2) |
| ベースプロンプト | ゲームから渡されたプロンプトの前に付ける言葉 |
| ネガティブプロンプト | 空欄なら、ワークフローのネガティブをそのまま使う。ゲームが追加するネガティブは、ここに足される |
| ステージクリアごとに画像を生成する/エンディング画像も自動で生成する/ゲームオーバー時も画像を生成する | オフにすると、カードの **生成** を押したときにだけ生成する |
プレイ設定(難易度・BGM・効果音)を変えると、ゲームは最初からになります。
設定はブラウザに保存され、設定タブのバックアップにも含まれます(11-5)。
> **ポイント**
> Gameタブを開いている間は、VRAM調整のメッセージ(トースト)を表示しません。ゲーム画面が隠れないようにするためです。
### 収録されているゲーム(ゲームパック v0.4.1)
| ゲーム | ジャンル | ヒロイン | 内容 |
| --- | --- | --- | --- |
| Star Formation | 縦シューティング | リナ | 全5ステージ。各ステージの最後にボス。黄色く点滅する敵を倒すとハートが落ちてくる |
| Turbo Heart | レース | ミサキ | 全5レース。8台で走り、3位以内でゴールすると次のレースへ。ニトロ、障害物 |
| Prompt Typer | タイピング | (なし) | 全10ステージ。打った文字が、打ち間違いも含めてそのまま画像のプロンプトになる。85%以上正しく打てばクリア |
| Sky Heart | 画面の奥へ飛ぶシューティング | ヒカリ | 全5ステージ+ボス。高度計、空中と地上のハート、パワーアップ |
| Smash Heart | テニス | ナナミ | 5人のライバルと対戦。1試合4ゲーム。BGMはなく、打球音や主審のコールで臨場感を出す |
| Knight Heart | 横スクロールアクション | カノン | 全5ステージ+ボス。坂で加速し、走りながらスライディング、速く走るほど遠くへ跳べる |
ハートは、Prompt Typer以外のゲームで各ステージ(各レース・各試合)に5個あります。
Prompt Typerは、クリアしてもしなくても、毎ステージ画像を生成します(日本語・中国語で打つときは、その言語が分かる画像モデルを使ってください)。
### 操作
| ゲーム | 操作 |
| --- | --- |
| Star Formation | ← →(A D)で移動、Space または Z でショット |
| Turbo Heart | ← → でハンドル、↑ または Z でアクセル、↓ または X でブレーキ、Space または C でニトロ(1レース3回) |
| Prompt Typer | 文字を打つ。ステージの後は Enter で次へ、R でリトライ、Q であきらめる。タイトルで ↑ ↓ で言語、← → で開始ステージ |
| Sky Heart | 矢印キーまたは WASD で移動、Space または Z を押しっぱなしでショット |
| Smash Heart | 矢印キーで移動、Z または Space で打つ、X でロブ。打つ瞬間に ← → で狙う。サーブは Z でトス、もう一度 Z で打つ |
| Knight Heart | ← → で移動、Space または X でジャンプ、Z または C で攻撃(↑+攻撃で真上、空中で ↓+攻撃で真下)、走りながら ↓ でスライディング |
一時停止は、どのゲームも **Esc** または **P** です。ゲームパッドも使えます(Prompt Typerを除く)。
ゲームごとの細かいルールは、ヘルプタブの **Gameタブ** のページにまとめています。
> **ポイント**
> Knight Heartでゲームオーバーになったときは、**そのステージからやり直す** か **あきらめる** かを選べます。
> 敗北の場面の画像は、あきらめたときだけ生成されます。一時停止中に **R** を押すと、残りを1つ使ってステージを最初からやり直せます。
---
> **この章のまとめ**
> - ノードタブでインストール済みのノードを一覧・整理でき、WS Libraryで使える
> - Taggerは画像からタグを自動生成する。モデルと追加パッケージの準備が必要
@@ -360,3 +491,4 @@ Gallery点を選んでいるときは、**選択中** に **Galleryで開く**
> - 設定タブの「デフォルトCheckpoint」と「データ管理(バックアップ)」は特に便利
> - 同じ作者の Comic Creator と組み合わせると、生成した画像でマンガを作れる
> - TagSpaceでは、手持ちのタグ・プロンプト・生成画像を意味の近さで3Dに並べ、眺めながらタグを選んでプロンプトを作れる
> - Gameタブでは、ゲームパックのミニゲームで遊び、ステージをクリアするたびにヒロインの画像を自動で生成できる
@@ -197,6 +197,16 @@ ComfyUIを停止し、ComfyUIのPythonで `pip uninstall -y onnxruntime onnxrunt
`.env` にComfy APIキーが無いのが原因です。プラグインの `.env` に `COMFY_API_KEY=キー`(platform.comfy.orgで発行)を書き、ComfyUIを再起動してください(第5章 5-8)。
`.env` は起動時にしか読み込まれません。
### Gameタブが表示されない・ゲームが動かない
| 症状 | 原因 | 対処 |
| --- | --- | --- |
| Gameタブが無い | ゲームパック(ComfyUI-WFS-Games)が入っていない、または入れたあとComfyUIを再起動していない | 第11章 11-8の手順で入れて、ComfyUIを再起動する。Workflow Studio v0.10.0以降が必要 |
| キーを押してもゲームが動かない | ゲーム画面にキー入力が入っていない | ゲーム画面を一度クリックする |
| 「Game の設定でワークフローが選ばれていません。」と出る | 設定タブのワークフローが空 | 設定タブの **ワークフロー** で選ぶ(第11章 11-8 準備2) |
| 「ワークフローにポジティブプロンプトのノードがありません。」と出る | 選んだワークフローに、プロンプトを書き込むノードが見つからない | 文章から画像を作るワークフローを選ぶ |
| カードがエラーになり画像ができない | ワークフローのCheckpointがパソコンに無い | 生成UIで手持ちのモデルに変えて保存し、それを選ぶ(第11章 11-8 準備2) |
| ゲームを更新したのに古いまま | ブラウザが古いファイルを覚えている | **Ctrl+F5** でページを再読み込みする |
### ComfyUIが固まる(どのタブも反応しなくなる)
Windowsで、プレビュー画像の多いモデルタブの一覧を切り替えたあとなどに、ComfyUIが反応しなくなる(生成もできなくなる)場合があります。
設定タブの **Windowsの安定性(イベントループ)** で、**WindowsでSelectorイベントループを使用する** をオンにして、ComfyUIを再起動してください。
+1
View File
@@ -138,6 +138,7 @@
| --- | --- | --- |
| ComfyUI Comic Creator(https://github.com/ketle-man/comfyui-comic-creator) | マンガ制作。ギャラリー・画像生成と連携 | 第11章 |
| comfyui-image-feeder(https://github.com/ketle-man/comfyui-image-feeder) | FeederのImage Loopモード | 第5章 |
| ComfyUI-WFS-Games(https://github.com/ketle-man/ComfyUI-WFS-Games) | Gameタブのゲームパック | 第11章 |
| comfyui-mask-editor-one(https://github.com/ketle-man/comfyui-mask-editor-one) | Image Editの高度なマスク・背景除去 | 第11章 |
| ComfyUI-Impact-Pack(https://github.com/ltdrdata/ComfyUI-Impact-Pack) | `{A|B}` 形式のワイルドカード | 第7章 |
| ComfyUI-Lora-Manager | LoRAの管理・WS LibraryでのLoRAのまとめ置き | 第9章 |
+3 -3
View File
@@ -2,12 +2,12 @@
Don't Be Afraid of Nodes - Generate Images More Easily and Keep Them Organized
- Covers: Workflow Studio v0.9.9
- Covers: Workflow Studio v0.10.3
- Author: ketle-man
- (c) 2026 ketle-man
This is the **text-only edition** (without screenshots) of the Kindle book.
Chapter files are in the `chapters/` folder; the whole book in one file is `Workflow_Studio_Manual_v0.9.9_en.md`.
Chapter files are in the `chapters/` folder; the whole book in one file is `Workflow_Studio_Manual_v0.10.3_en.md`.
Screen examples are omitted, so please use the book together with Workflow Studio's Help tab.
## Contents
@@ -29,4 +29,4 @@ Screen examples are omitted, so please use the book together with Workflow Studi
- [13_Appendix](chapters/13_Appendix.md)
- [14_Afterword](chapters/14_Afterword.md)
Whole book: [Workflow_Studio_Manual_v0.9.9_en.md](Workflow_Studio_Manual_v0.9.9_en.md)
Whole book: [Workflow_Studio_Manual_v0.10.3_en.md](Workflow_Studio_Manual_v0.10.3_en.md)
@@ -2,12 +2,12 @@
Don't Be Afraid of Nodes - Generate Images More Easily and Keep Them Organized
- Covers: Workflow Studio v0.9.9
- Covers: Workflow Studio v0.10.3
- Author: ketle-man
- (c) 2026 ketle-man
This is the **text-only edition** (without screenshots) of the Kindle book.
Chapter files are in the `chapters/` folder; the whole book in one file is `Workflow_Studio_Manual_v0.9.9_en.md`.
Chapter files are in the `chapters/` folder; the whole book in one file is `Workflow_Studio_Manual_v0.10.3_en.md`.
Screen examples are omitted, so please use the book together with Workflow Studio's Help tab.
---
@@ -98,6 +98,7 @@ Together with the supporting features, it makes moving between the two screens s
- **Local AI integration** - translating prompts from Japanese, creating prompts and tags from images
- **Tagger and Video** - automatic tag generation from images, and video generation with simple editing
- **TagSpace** - lays out your own prompts, tags and generated images in a 3D space by closeness of meaning, so you can browse it and pick tags
- **Game** (experimental) - play the mini games of a separate pack, and an image of the heroine is generated each time you clear a stage
---
@@ -143,7 +144,7 @@ It is written so that you can follow it if you know basic computer operations (c
## Version and environment covered
- **Workflow Studio**: v0.9.9
- **Workflow Studio**: v0.10.3 (game pack ComfyUI-WFS-Games for the Game tab: v0.4.1)
- **ComfyUI**: the latest version at the time of writing
- **OS**: Windows (screen examples are from Windows)
@@ -619,6 +620,7 @@ It is enough to learn the tabs marked with a star under "Often used" first.
| Video | Video generation and video editing | | Chapter 11 |
| Tagger | Automatically generating tags (prompts) from images | | Chapter 11 |
| TagSpace | Showing tags, prompts and generated images in 3D by closeness of meaning, and picking tags | | Chapter 11 |
| Game | Playing mini games and generating images from what you clear (shown only when the game pack is installed) | | Chapter 11 |
| Settings | Language, theme, folders and other settings | | This chapter, Chapter 11 |
| Help | Feature list, shortcuts, troubleshooting | | This chapter |
| AI TOOL | Translation, chat, image analysis and text reading (OCR) with local AI | | Chapter 10 |
@@ -633,6 +635,8 @@ If the number of tabs makes you lose your way, it helps to think of them in thes
- **Support** - AI TOOL / Tagger / TagSpace / Settings / Help
Tabs that help with work in other tabs, or hold overall settings.
The **Game** tab is a special tab for making images while you play. It appears only when the separate game pack is installed (Chapter 11, section 11-8).
> **Tip**
> The tabs are connected to each other.
> For example, you can load a workflow picked in the Workflow tab into GenerateUI,
@@ -3292,6 +3296,17 @@ to a file (Export), and read it back to restore it (Import).
With **Full Backup (ZIP)**, you can back up everything together, including folder-based data such as styles and Lab plans.
Since v0.9.10, the settings kept in the browser (groups, badge colors, appearance, AI and VRAM Management settings, presets, the Game tab settings and so on)
are included in both the JSON export and the full backup.
After an import (restore), press the **Reload page** button that appears to apply the browser settings, and then restart ComfyUI.
In the full backup, checkboxes choose whether to include these:
| Checkbox | Contents |
| --- | --- |
| Include the Gallery semantic search index | On by default. Rebuilding it re-embeds every image (with Gemini this costs API usage) |
| Include the TagSpace cache | Off by default. Large, and can be rebuilt in the TagSpace tab |
> **Tip**
> Always take a backup before buying a new computer or reinstalling ComfyUI.
> The information you spent time organizing can be carried over as it is to the new environment.
@@ -3409,6 +3424,126 @@ A card's whole prompt can be read under **Full prompt**.
---
## 11-8 Game - play a game, and make images from what you clear (v0.10.0 and later, experimental)
The **Game** tab lets you play mini games in the style of 1980s computer games.
Each time you clear a stage, a "victory shot" of that game's heroine is generated automatically with ComfyUI.
Generation runs in the background while you play, so you never have to stop.
The games themselves come in a separate package, **ComfyUI-WFS-Games** (the game pack).
Without the game pack, neither the Game tab nor the "Game Tab" page of the Help tab is shown (nothing else changes).
### Preparation 1: install the game pack
The game pack is not registered in ComfyUI Manager. Install it in one of these ways.
- **With git**: open a command prompt in the `ComfyUI/custom_nodes` folder and run:
```
git clone https://github.com/ketle-man/ComfyUI-WFS-Games
```
- **With a ZIP**: download the latest ZIP from the GitHub releases page (https://github.com/ketle-man/ComfyUI-WFS-Games/releases)
and extract it into `ComfyUI/custom_nodes`. Name the folder `ComfyUI-WFS-Games`.
Restart ComfyUI and open Workflow Studio; the **Game** tab appears to the right of the TagSpace tab.
The game pack needs Workflow Studio v0.10.0 or later.
### Preparation 2: prepare a workflow for the images
The Game tab generates images with the workflow chosen in its settings. The default is **`ws_game_sdxl_t2i`**, a sample made for the Game tab
(an SDXL (Illustrious) text-to-image workflow, 1216x832, saved to `ComfyUI/output/WFS_Game`).
The Checkpoint saved in the sample is often not on your computer, so set it to your own model:
1. Import `ws_game_sdxl_t2i.png` from the `workflows` folder into the Workflow tab, as in Chapter 4, section 4-8.
2. Load the imported workflow into GenerateUI, choose one of your SDXL Checkpoints under **Model** and press **Apply** (Chapter 5).
3. Save it under a name with **Save** (Chapter 5, "Saving the workflow you generated with").
4. In the **Settings** tab on the right of the Game tab, choose the saved workflow under **Workflow**.
If it is not in the list, press the **Reload workflow list** button next to it.
Other text-to-image workflows work too, as long as they have a positive prompt node.
> **Caution**
> If the Checkpoint saved in the workflow is not on your computer, the game's images fail with an error.
> Generate once in GenerateUI and choose a workflow that works.
### The screen
| Place | Contents |
| --- | --- |
| **Games** on the left | The installed games. Click one to start it in the center |
| Center | The game. **Restart** at the top right goes back to the title screen |
| **Result** tab on the right | Cards for the generated images (newest on top) |
| **Settings** tab on the right | Play settings and image generation settings |
**Click** the game screen to send the keyboard to the game (keys pressed there do not affect the rest of Workflow Studio).
The game pauses when you switch to another tab or window.
### When images are generated
| When | Card | Image |
| --- | --- | --- |
| You clear a stage | A card for that stage | A victory shot of the heroine with that stage in the background |
| You caught all 5 hearts in the stage | A pink card (PERFECT!) | Instead of the victory shot, a private photo of the heroine off duty in casual clothes |
| You clear every stage | ENDING | The ending scene |
| Game over | A red GAME OVER card | A defeat scene of the heroine, with the stage where you fell in the background |
Images are made one at a time, in order. The seed is random every time.
They are saved in `ComfyUI/output/WFS_Game`. Starting a new game from the title screen clears the cards in the Result tab (the images stay).
What the heroine wears in a private photo differs by game and stage. The game adds negative tags so that it never goes beyond a swimsuit.
### What you can do with a card
- Open **Prompt** to see the prompts the game gave, each marked with its kind (**Style**, **Heroine**, **Scene**, **Stage**).
Uncheck any you don't want or edit **Prompt to generate (editable)**, then press **Regenerate** to make it again.
- **Open in GenerateUI** loads the workflow with that card's prompt into GenerateUI.
Handy when you want to remake it there with another size or model.
### The Settings tab
| Item | Contents |
| --- | --- |
| Difficulty | Easy, Normal or Hard. Lives and so on change by game |
| Music, Sound effects | On or off |
| Workflow | The workflow used to generate images (Preparation 2 above) |
| Base prompt | Words added before the prompts the game gives |
| Negative prompt | If empty, the workflow's own negative is used. The negative the game adds is appended to it |
| Generate an image at each stage clear / Also generate the ending image automatically / Also generate an image on game over | When off, images are generated only when you press **Generate** on a card |
Changing the play settings (difficulty, music, sound effects) restarts the game.
The settings are saved in the browser and included in the Settings tab's backups (section 11-5).
> **Tip**
> While the Game tab is open, VRAM Management messages (toasts) are not shown, so they never cover the game.
### The games (game pack v0.4.1)
| Game | Genre | Heroine | Contents |
| --- | --- | --- | --- |
| Star Formation | Vertical shooter | Rina | 5 stages, each ending with a boss. Enemies flashing yellow drop hearts |
| Turbo Heart | Racing | Misaki | 5 races. 8 cars; finish in the top 3 to go on. Nitro and obstacles |
| Prompt Typer | Typing | (none) | 10 stages. What you type, typos included, becomes the image prompt. 85% correct clears a stage |
| Sky Heart | Into-the-screen shooter | Hikari | 5 stages with bosses. An altimeter, hearts in the air and on the ground, power-ups |
| Smash Heart | Tennis | Nanami | Matches against 5 rivals, 4 games each. No music; racket hits and the umpire's calls set the mood |
| Knight Heart | Side-scrolling action | Kanon | 5 stages with bosses. Speed up on slopes, slide while running, jump farther the faster you run |
Every game except Prompt Typer has 5 hearts per stage (race, match).
Prompt Typer generates an image after every stage whether you clear it or not (when typing in Japanese or Chinese, use an image model that understands that language).
### Controls
| Game | Controls |
| --- | --- |
| Star Formation | ← → (A D) move, Space or Z shoots |
| Turbo Heart | ← → steer, ↑ or Z accelerates, ↓ or X brakes, Space or C nitro (3 per race) |
| Prompt Typer | Type the words. After a stage, Enter goes on, R retries, Q gives up. On the title, ↑ ↓ picks the language and ← → the start stage |
| Sky Heart | Arrow keys or WASD move, hold Space or Z to shoot |
| Smash Heart | Arrow keys move, Z or Space hits, X lobs. Hold ← → at contact to aim. Serve: Z to toss, Z again to hit |
| Knight Heart | ← → move, Space or X jumps, Z or C attacks (↑+attack throws straight up, ↓+attack in the air straight down), ↓ while running slides |
Every game pauses with **Esc** or **P**. A gamepad also works (except in Prompt Typer).
The detailed rules of each game are on the **Game Tab** page of the Help tab.
> **Tip**
> On game over in Knight Heart you can choose to **retry the stage** or **give up**.
> The defeat scene is generated only when you give up. While paused, **R** restarts the stage for one life.
---
> **Summary of this chapter**
> - In the Nodes tab you can list and organize installed nodes, and use them in the WS Library
> - Tagger automatically generates tags from images. A model and extra packages must be prepared
@@ -3417,6 +3552,7 @@ A card's whole prompt can be read under **Full prompt**.
> - "Default Checkpoint" and "Data Management (backup)" in the Settings tab are especially handy
> - Combined with Comic Creator by the same author, you can make manga from generated images
> - TagSpace lays out your tags, prompts and generated images in 3D by closeness of meaning, so you can browse it and pick tags for a prompt
> - In the Game tab you play the game pack's mini games, and an image of the heroine is generated automatically each time you clear a stage
---
@@ -3619,6 +3755,16 @@ Run the installation command shown in the error message in the Python that Comfy
The cause is a missing Comfy API key in `.env`. Write `COMFY_API_KEY=your key` (issued at platform.comfy.org) in the plugin's `.env` and restart ComfyUI (Chapter 5, section 5-8).
`.env` is read only at startup.
### The Game tab is missing, or a game does not work
| Symptom | Cause | What to do |
| --- | --- | --- |
| There is no Game tab | The game pack (ComfyUI-WFS-Games) is not installed, or ComfyUI was not restarted after installing it | Install it as in Chapter 11, section 11-8, and restart ComfyUI. Workflow Studio v0.10.0 or later is needed |
| Keys do not move the game | The keyboard is not on the game screen | Click the game screen once |
| "No workflow is selected in the Game settings." is shown | The Workflow in the Settings tab is empty | Choose one under **Workflow** in the Settings tab (Chapter 11, section 11-8, Preparation 2) |
| "The workflow has no positive prompt node." is shown | No node to write the prompt into was found in the chosen workflow | Choose a text-to-image workflow |
| A card shows an error and no image | The workflow's Checkpoint is not on your computer | Change it to your own model in GenerateUI, save it, and choose that workflow (Chapter 11, section 11-8, Preparation 2) |
| A game still behaves the old way after an update | The browser remembers old files | Reload the page with **Ctrl+F5** |
### ComfyUI freezes (no tab responds)
On Windows, ComfyUI can stop responding (generation included), for example after switching a Models tab list with many preview images.
In the Settings tab, under **Windows Stability (Event Loop)**, turn on **Use the Selector event loop on Windows (restart required)** and restart ComfyUI.
@@ -3797,6 +3943,7 @@ The main terms that appear in this book, in alphabetical order.
| --- | --- | --- |
| ComfyUI Comic Creator (https://github.com/ketle-man/comfyui-comic-creator) | Manga making. Works with the Gallery and image generation | Chapter 11 |
| comfyui-image-feeder (https://github.com/ketle-man/comfyui-image-feeder) | Feeder's Image Loop mode | Chapter 5 |
| ComfyUI-WFS-Games (https://github.com/ketle-man/ComfyUI-WFS-Games) | The game pack for the Game tab | Chapter 11 |
| comfyui-mask-editor-one (https://github.com/ketle-man/comfyui-mask-editor-one) | Advanced masking and background removal in Image Edit | Chapter 11 |
| ComfyUI-Impact-Pack (https://github.com/ltdrdata/ComfyUI-Impact-Pack) | Curly-brace-style wildcards | Chapter 7 |
| ComfyUI-Lora-Manager | Managing LoRAs; placing LoRAs together from the WS Library | Chapter 9 |
Binary file not shown.
Binary file not shown.
+2 -1
View File
@@ -84,6 +84,7 @@ Together with the supporting features, it makes moving between the two screens s
- **Local AI integration** - translating prompts from Japanese, creating prompts and tags from images
- **Tagger and Video** - automatic tag generation from images, and video generation with simple editing
- **TagSpace** - lays out your own prompts, tags and generated images in a 3D space by closeness of meaning, so you can browse it and pick tags
- **Game** (experimental) - play the mini games of a separate pack, and an image of the heroine is generated each time you clear a stage
---
@@ -129,7 +130,7 @@ It is written so that you can follow it if you know basic computer operations (c
## Version and environment covered
- **Workflow Studio**: v0.9.9
- **Workflow Studio**: v0.10.3 (game pack ComfyUI-WFS-Games for the Game tab: v0.4.1)
- **ComfyUI**: the latest version at the time of writing
- **OS**: Windows (screen examples are from Windows)
@@ -25,6 +25,7 @@ It is enough to learn the tabs marked with a star under "Often used" first.
| Video | Video generation and video editing | | Chapter 11 |
| Tagger | Automatically generating tags (prompts) from images | | Chapter 11 |
| TagSpace | Showing tags, prompts and generated images in 3D by closeness of meaning, and picking tags | | Chapter 11 |
| Game | Playing mini games and generating images from what you clear (shown only when the game pack is installed) | | Chapter 11 |
| Settings | Language, theme, folders and other settings | | This chapter, Chapter 11 |
| Help | Feature list, shortcuts, troubleshooting | | This chapter |
| AI TOOL | Translation, chat, image analysis and text reading (OCR) with local AI | | Chapter 10 |
@@ -39,6 +40,8 @@ If the number of tabs makes you lose your way, it helps to think of them in thes
- **Support** - AI TOOL / Tagger / TagSpace / Settings / Help
Tabs that help with work in other tabs, or hold overall settings.
The **Game** tab is a special tab for making images while you play. It appears only when the separate game pack is installed (Chapter 11, section 11-8).
> **Tip**
> The tabs are connected to each other.
> For example, you can load a workflow picked in the Workflow tab into GenerateUI,
@@ -229,6 +229,17 @@ to a file (Export), and read it back to restore it (Import).
With **Full Backup (ZIP)**, you can back up everything together, including folder-based data such as styles and Lab plans.
Since v0.9.10, the settings kept in the browser (groups, badge colors, appearance, AI and VRAM Management settings, presets, the Game tab settings and so on)
are included in both the JSON export and the full backup.
After an import (restore), press the **Reload page** button that appears to apply the browser settings, and then restart ComfyUI.
In the full backup, checkboxes choose whether to include these:
| Checkbox | Contents |
| --- | --- |
| Include the Gallery semantic search index | On by default. Rebuilding it re-embeds every image (with Gemini this costs API usage) |
| Include the TagSpace cache | Off by default. Large, and can be rebuilt in the TagSpace tab |
> **Tip**
> Always take a backup before buying a new computer or reinstalling ComfyUI.
> The information you spent time organizing can be carried over as it is to the new environment.
@@ -346,6 +357,126 @@ A card's whole prompt can be read under **Full prompt**.
---
## 11-8 Game - play a game, and make images from what you clear (v0.10.0 and later, experimental)
The **Game** tab lets you play mini games in the style of 1980s computer games.
Each time you clear a stage, a "victory shot" of that game's heroine is generated automatically with ComfyUI.
Generation runs in the background while you play, so you never have to stop.
The games themselves come in a separate package, **ComfyUI-WFS-Games** (the game pack).
Without the game pack, neither the Game tab nor the "Game Tab" page of the Help tab is shown (nothing else changes).
### Preparation 1: install the game pack
The game pack is not registered in ComfyUI Manager. Install it in one of these ways.
- **With git**: open a command prompt in the `ComfyUI/custom_nodes` folder and run:
```
git clone https://github.com/ketle-man/ComfyUI-WFS-Games
```
- **With a ZIP**: download the latest ZIP from the GitHub releases page (https://github.com/ketle-man/ComfyUI-WFS-Games/releases)
and extract it into `ComfyUI/custom_nodes`. Name the folder `ComfyUI-WFS-Games`.
Restart ComfyUI and open Workflow Studio; the **Game** tab appears to the right of the TagSpace tab.
The game pack needs Workflow Studio v0.10.0 or later.
### Preparation 2: prepare a workflow for the images
The Game tab generates images with the workflow chosen in its settings. The default is **`ws_game_sdxl_t2i`**, a sample made for the Game tab
(an SDXL (Illustrious) text-to-image workflow, 1216x832, saved to `ComfyUI/output/WFS_Game`).
The Checkpoint saved in the sample is often not on your computer, so set it to your own model:
1. Import `ws_game_sdxl_t2i.png` from the `workflows` folder into the Workflow tab, as in Chapter 4, section 4-8.
2. Load the imported workflow into GenerateUI, choose one of your SDXL Checkpoints under **Model** and press **Apply** (Chapter 5).
3. Save it under a name with **Save** (Chapter 5, "Saving the workflow you generated with").
4. In the **Settings** tab on the right of the Game tab, choose the saved workflow under **Workflow**.
If it is not in the list, press the **Reload workflow list** button next to it.
Other text-to-image workflows work too, as long as they have a positive prompt node.
> **Caution**
> If the Checkpoint saved in the workflow is not on your computer, the game's images fail with an error.
> Generate once in GenerateUI and choose a workflow that works.
### The screen
| Place | Contents |
| --- | --- |
| **Games** on the left | The installed games. Click one to start it in the center |
| Center | The game. **Restart** at the top right goes back to the title screen |
| **Result** tab on the right | Cards for the generated images (newest on top) |
| **Settings** tab on the right | Play settings and image generation settings |
**Click** the game screen to send the keyboard to the game (keys pressed there do not affect the rest of Workflow Studio).
The game pauses when you switch to another tab or window.
### When images are generated
| When | Card | Image |
| --- | --- | --- |
| You clear a stage | A card for that stage | A victory shot of the heroine with that stage in the background |
| You caught all 5 hearts in the stage | A pink card (PERFECT!) | Instead of the victory shot, a private photo of the heroine off duty in casual clothes |
| You clear every stage | ENDING | The ending scene |
| Game over | A red GAME OVER card | A defeat scene of the heroine, with the stage where you fell in the background |
Images are made one at a time, in order. The seed is random every time.
They are saved in `ComfyUI/output/WFS_Game`. Starting a new game from the title screen clears the cards in the Result tab (the images stay).
What the heroine wears in a private photo differs by game and stage. The game adds negative tags so that it never goes beyond a swimsuit.
### What you can do with a card
- Open **Prompt** to see the prompts the game gave, each marked with its kind (**Style**, **Heroine**, **Scene**, **Stage**).
Uncheck any you don't want or edit **Prompt to generate (editable)**, then press **Regenerate** to make it again.
- **Open in GenerateUI** loads the workflow with that card's prompt into GenerateUI.
Handy when you want to remake it there with another size or model.
### The Settings tab
| Item | Contents |
| --- | --- |
| Difficulty | Easy, Normal or Hard. Lives and so on change by game |
| Music, Sound effects | On or off |
| Workflow | The workflow used to generate images (Preparation 2 above) |
| Base prompt | Words added before the prompts the game gives |
| Negative prompt | If empty, the workflow's own negative is used. The negative the game adds is appended to it |
| Generate an image at each stage clear / Also generate the ending image automatically / Also generate an image on game over | When off, images are generated only when you press **Generate** on a card |
Changing the play settings (difficulty, music, sound effects) restarts the game.
The settings are saved in the browser and included in the Settings tab's backups (section 11-5).
> **Tip**
> While the Game tab is open, VRAM Management messages (toasts) are not shown, so they never cover the game.
### The games (game pack v0.4.1)
| Game | Genre | Heroine | Contents |
| --- | --- | --- | --- |
| Star Formation | Vertical shooter | Rina | 5 stages, each ending with a boss. Enemies flashing yellow drop hearts |
| Turbo Heart | Racing | Misaki | 5 races. 8 cars; finish in the top 3 to go on. Nitro and obstacles |
| Prompt Typer | Typing | (none) | 10 stages. What you type, typos included, becomes the image prompt. 85% correct clears a stage |
| Sky Heart | Into-the-screen shooter | Hikari | 5 stages with bosses. An altimeter, hearts in the air and on the ground, power-ups |
| Smash Heart | Tennis | Nanami | Matches against 5 rivals, 4 games each. No music; racket hits and the umpire's calls set the mood |
| Knight Heart | Side-scrolling action | Kanon | 5 stages with bosses. Speed up on slopes, slide while running, jump farther the faster you run |
Every game except Prompt Typer has 5 hearts per stage (race, match).
Prompt Typer generates an image after every stage whether you clear it or not (when typing in Japanese or Chinese, use an image model that understands that language).
### Controls
| Game | Controls |
| --- | --- |
| Star Formation | ← → (A D) move, Space or Z shoots |
| Turbo Heart | ← → steer, ↑ or Z accelerates, ↓ or X brakes, Space or C nitro (3 per race) |
| Prompt Typer | Type the words. After a stage, Enter goes on, R retries, Q gives up. On the title, ↑ ↓ picks the language and ← → the start stage |
| Sky Heart | Arrow keys or WASD move, hold Space or Z to shoot |
| Smash Heart | Arrow keys move, Z or Space hits, X lobs. Hold ← → at contact to aim. Serve: Z to toss, Z again to hit |
| Knight Heart | ← → move, Space or X jumps, Z or C attacks (↑+attack throws straight up, ↓+attack in the air straight down), ↓ while running slides |
Every game pauses with **Esc** or **P**. A gamepad also works (except in Prompt Typer).
The detailed rules of each game are on the **Game Tab** page of the Help tab.
> **Tip**
> On game over in Knight Heart you can choose to **retry the stage** or **give up**.
> The defeat scene is generated only when you give up. While paused, **R** restarts the stage for one life.
---
> **Summary of this chapter**
> - In the Nodes tab you can list and organize installed nodes, and use them in the WS Library
> - Tagger automatically generates tags from images. A model and extra packages must be prepared
@@ -354,3 +485,4 @@ A card's whole prompt can be read under **Full prompt**.
> - "Default Checkpoint" and "Data Management (backup)" in the Settings tab are especially handy
> - Combined with Comic Creator by the same author, you can make manga from generated images
> - TagSpace lays out your tags, prompts and generated images in 3D by closeness of meaning, so you can browse it and pick tags for a prompt
> - In the Game tab you play the game pack's mini games, and an image of the heroine is generated automatically each time you clear a stage
@@ -197,6 +197,16 @@ Run the installation command shown in the error message in the Python that Comfy
The cause is a missing Comfy API key in `.env`. Write `COMFY_API_KEY=your key` (issued at platform.comfy.org) in the plugin's `.env` and restart ComfyUI (Chapter 5, section 5-8).
`.env` is read only at startup.
### The Game tab is missing, or a game does not work
| Symptom | Cause | What to do |
| --- | --- | --- |
| There is no Game tab | The game pack (ComfyUI-WFS-Games) is not installed, or ComfyUI was not restarted after installing it | Install it as in Chapter 11, section 11-8, and restart ComfyUI. Workflow Studio v0.10.0 or later is needed |
| Keys do not move the game | The keyboard is not on the game screen | Click the game screen once |
| "No workflow is selected in the Game settings." is shown | The Workflow in the Settings tab is empty | Choose one under **Workflow** in the Settings tab (Chapter 11, section 11-8, Preparation 2) |
| "The workflow has no positive prompt node." is shown | No node to write the prompt into was found in the chosen workflow | Choose a text-to-image workflow |
| A card shows an error and no image | The workflow's Checkpoint is not on your computer | Change it to your own model in GenerateUI, save it, and choose that workflow (Chapter 11, section 11-8, Preparation 2) |
| A game still behaves the old way after an update | The browser remembers old files | Reload the page with **Ctrl+F5** |
### ComfyUI freezes (no tab responds)
On Windows, ComfyUI can stop responding (generation included), for example after switching a Models tab list with many preview images.
In the Settings tab, under **Windows Stability (Event Loop)**, turn on **Use the Selector event loop on Windows (restart required)** and restart ComfyUI.
+1
View File
@@ -133,6 +133,7 @@ The main terms that appear in this book, in alphabetical order.
| --- | --- | --- |
| ComfyUI Comic Creator (https://github.com/ketle-man/comfyui-comic-creator) | Manga making. Works with the Gallery and image generation | Chapter 11 |
| comfyui-image-feeder (https://github.com/ketle-man/comfyui-image-feeder) | Feeder's Image Loop mode | Chapter 5 |
| ComfyUI-WFS-Games (https://github.com/ketle-man/ComfyUI-WFS-Games) | The game pack for the Game tab | Chapter 11 |
| comfyui-mask-editor-one (https://github.com/ketle-man/comfyui-mask-editor-one) | Advanced masking and background removal in Image Edit | Chapter 11 |
| ComfyUI-Impact-Pack (https://github.com/ltdrdata/ComfyUI-Impact-Pack) | Curly-brace-style wildcards | Chapter 7 |
| ComfyUI-Lora-Manager | Managing LoRAs; placing LoRAs together from the WS Library | Chapter 9 |
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui-workflow-studio"
description = "A comprehensive workflow, asset management, and generation UI plugin for ComfyUI. Manage workflows, models, images, and prompts; batch generation and Image Feeder in the GenerateUI tab; library side panel with canvas drag & drop and AI tools."
version = "0.10.2"
version = "0.10.4"
license = { file = "LICENSE" }
requires-python = ">= 3.10"
dependencies = ["jinja2"]
+10 -1
View File
@@ -4,7 +4,7 @@
.wfm-game-layout [hidden] { display: none !important; }
.wfm-game-side,
.wfm-game-result { width: 290px; flex: none; display: flex; flex-direction: column; gap: 10px; padding: 10px; overflow: auto; }
.wfm-game-side { border-right: 1px solid var(--wfm-border, #444); }
.wfm-game-side { border-right: 1px solid var(--wfm-border, #444); width: 180px; }
.wfm-game-result { border-left: 1px solid var(--wfm-border, #444); width: 320px; padding: 0; gap: 0; overflow: hidden; }
/* 右ペインのタブ (結果 / 設定)。タブ本体の見た目は main.css の .wfm-side-tab-nav / .wfm-side-tab-btn */
.wfm-game-pane { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 10px; overflow: auto; }
@@ -56,3 +56,12 @@
.wfm-game-job-details[open] { display: flex; flex-direction: column; gap: 6px; }
.wfm-game-job-private { border-color: #f472b6; }
.wfm-game-job-private .wfm-game-job-title { color: #f472b6; }
/* 右ペイン(結果タブ)のゲーム説明 */
.wfm-game-desc { flex: none; padding: 6px 8px; border: 1px solid var(--wfm-border, #444); border-radius: var(--wfm-radius-sm, 4px); background: var(--wfm-bg-secondary, #222); font-size: 12px; }
.wfm-game-desc > summary { cursor: pointer; font-weight: 600; color: var(--wfm-text, #ddd); }
.wfm-game-desc-body { margin-top: 6px; line-height: 1.5; color: var(--wfm-text-secondary, #aaa); max-height: 65vh; overflow-y: auto; }
.wfm-game-desc-body p { margin: 0 0 8px; }
.wfm-game-desc-body p:last-child { margin-bottom: 0; }
/* ワースト写真(NG集) */
.wfm-game-job-worst { border-color: #94a3b8; border-style: dashed; }
.wfm-game-job-worst .wfm-game-job-title { color: #94a3b8; }
+1 -1
View File
@@ -625,7 +625,7 @@ function applyI18nToHtml() {
"wfm-help-gallery-card-stylecatalog-title": "helpGalleryCardStylecatalog",
"wfm-help-tagger-title": "helpTaggerTitle",
"wfm-help-tagspace-title": "helpTagSpaceTitle", "wfm-help-tagspace-card-overview-title": "helpTagSpaceCardOverview", "wfm-help-tagspace-card-use-title": "helpTagSpaceCardUse", "wfm-help-tagspace-1": "helpTagSpace1", "wfm-help-tagspace-2": "helpTagSpace2", "wfm-help-tagspace-3": "helpTagSpace3", "wfm-help-tagspace-4": "helpTagSpace4", "wfm-help-tagspace-5": "helpTagSpace5", "wfm-help-tagspace-6": "helpTagSpace6", "wfm-help-tagspace-7": "helpTagSpace7", "wfm-help-tagspace-8": "helpTagSpace8", "wfm-help-tagspace-9": "helpTagSpace9", "wfm-help-tagspace-10": "helpTagSpace10",
"wfm-help-game-title": "helpGameTitle", "wfm-help-game-card-overview-title": "helpGameCardOverview", "wfm-help-game-card-gen-title": "helpGameCardGen", "wfm-help-game-1": "helpGame1", "wfm-help-game-2": "helpGame2", "wfm-help-game-3": "helpGame3", "wfm-help-game-4": "helpGame4", "wfm-help-game-5": "helpGame5", "wfm-help-game-6": "helpGame6", "wfm-help-game-7": "helpGame7", "wfm-help-game-8": "helpGame8", "wfm-help-game-9": "helpGame9", "wfm-help-game-10": "helpGame10", "wfm-help-game-11": "helpGame11",
"wfm-help-game-title": "helpGameTitle", "wfm-help-game-card-overview-title": "helpGameCardOverview", "wfm-help-game-card-gen-title": "helpGameCardGen", "wfm-help-game-1": "helpGame1", "wfm-help-game-2": "helpGame2", "wfm-help-game-3": "helpGame3", "wfm-help-game-4": "helpGame4", "wfm-help-game-5": "helpGame5", "wfm-help-game-6": "helpGame6", "wfm-help-game-7": "helpGame7", "wfm-help-game-8": "helpGame8", "wfm-help-game-9": "helpGame9", "wfm-help-game-10": "helpGame10", "wfm-help-game-11": "helpGame11", "wfm-help-game-12": "helpGame12", "wfm-help-game-13": "helpGame13", "wfm-help-game-14": "helpGame14", "wfm-help-game-15": "helpGame15",
"wfm-help-tagger-1": "helpTagger1", "wfm-help-tagger-2": "helpTagger2",
"wfm-help-tagger-3": "helpTagger3", "wfm-help-tagger-4": "helpTagger4",
"wfm-help-tagger-5": "helpTagger5", "wfm-help-tagger-6": "helpTagger6",
+21 -7
View File
@@ -117,7 +117,7 @@ function renderShell() {
const root = $("wfm-tab-game");
const s = loadSettings();
const games = state.manifest.games;
// 左ペイン: ゲーム選択のみ / 中央: ゲーム / 右ペイン: タブ (結果 / 設定 = プレイ設定 + 画像生成設定)
// 左ペイン: ゲームのタイトル一覧のみ / 右ペインの結果タブの先頭に選んだゲームの説明 / 中央: ゲーム / 右ペイン: タブ (結果 / 設定 = プレイ設定 + 画像生成設定)
root.innerHTML = `
<div class="wfm-game-layout">
<aside class="wfm-game-side">
@@ -125,10 +125,8 @@ function renderShell() {
<div class="wfm-game-section-title">${escapeHtml(t("gameListTitle"))}</div>
<div class="wfm-game-list" id="wfm-game-list">
${games.map((g) => `
<button type="button" class="wfm-game-card" data-game-id="${escapeHtml(g.id)}">
${g.thumbnail ? `<img src="${escapeHtml(g.thumbnail)}" alt="">` : ""}
<button type="button" class="wfm-game-card" data-game-id="${escapeHtml(g.id)}" title="${escapeHtml(localized(g.name, g.id))}">
<span class="wfm-game-card-name">${escapeHtml(localized(g.name, g.id))}</span>
<span class="wfm-game-card-desc">${escapeHtml(localized(g.description))}</span>
</button>`).join("")}
</div>
</div>
@@ -147,6 +145,10 @@ function renderShell() {
<button type="button" class="wfm-side-tab-btn" data-game-pane="settings">${escapeHtml(t("gameSettingsTab"))}</button>
</div>
<div class="wfm-game-pane" data-game-pane="result">
<details class="wfm-game-desc" id="wfm-game-desc">
<summary id="wfm-game-desc-title"></summary>
<div class="wfm-game-desc-body" id="wfm-game-desc-body"></div>
</details>
<div class="wfm-game-result-status" id="wfm-game-result-status">${escapeHtml(t("gameResultEmpty"))}</div>
<div class="wfm-game-row" id="wfm-game-end-row" hidden>
<button type="button" id="wfm-game-play-again" class="wfm-btn wfm-btn-sm">${escapeHtml(t("gamePlayAgain"))}</button>
@@ -211,6 +213,12 @@ function markSelectedGame() {
});
const cur = $("wfm-game-current");
if (cur) cur.textContent = g ? localized(g.name, g.id) : "";
// 右ペイン(結果タブ)にゲームの説明
const title = $("wfm-game-desc-title");
const body = $("wfm-game-desc-body");
if (title) title.textContent = g ? t("gameAboutTitle", localized(g.name, g.id)) : "";
// 改行ごとに段落にする(概要 / 【操作】 / 【画像生成】)
if (body) body.innerHTML = g ? localized(g.description).split(/\n+/).filter(Boolean).map((p) => `<p>${escapeHtml(p)}</p>`).join("") : "";
}
async function loadWorkflowOptions() {
@@ -373,6 +381,8 @@ function sanitizeResult(raw) {
return {
kind,
bonus: !!r.bonus, // アイテムを全部取ったステージ(プライベート写真)
worst: !!r.worst, // ステージでいちばん点数の低かった写真(NG集)
photoScore: Number.isFinite(Number(r.photoScore)) && r.photoScore !== null ? Number(r.photoScore) : null,
negative: typeof r.negative === "string" ? r.negative.trim().slice(0, 500) : "",
cleared: !!r.cleared,
score: num(r.score),
@@ -385,9 +395,11 @@ function sanitizeResult(raw) {
function onStageClear(raw) {
const result = sanitizeResult(raw);
const job = result.bonus
? addJob(result, t("gameJobStagePrivate", result.stage, result.stageName), "private")
: addJob(result, t("gameJobStage", result.stage, result.stageName));
const job = result.worst
? addJob(result, t("gameJobStageWorst", result.stage, result.stageName, result.photoScore), "worst")
: result.bonus
? addJob(result, t("gameJobStagePrivate", result.stage, result.stageName), "private")
: addJob(result, t("gameJobStage", result.stage, result.stageName));
if (loadSettings().generateEachStage !== false) enqueueJob(job);
}
@@ -455,6 +467,8 @@ function addJob(result, title, variant = "") {
state.jobs.push(job);
$("wfm-game-jobs")?.prepend(el); // 新しいものを上に
showPane("result"); // 設定タブを開いていても、新しい画像カードが見えるようにする
const desc = $("wfm-game-desc");
if (desc) desc.open = false; // ゲームの説明はたたんで、画像カードを上に出す
refreshJobPrompt(job);
setJobStatus(job, "idle");
return job;
+27 -9
View File
@@ -758,7 +758,13 @@ const LANGUAGES = {
helpGame9: "Turbo Heart: a 1980s-style behind-the-car racer with a pseudo-3D road. 5 races along the coast (seaside highway, autumn mountain pass, desert canyon at sunset, neon city at night, tropical coast at dawn). 8 cars: you start last and must finish in the top 3 to go on — 4th or worse is game over. Steer with ← →, gas with ↑ or Z, brake with ↓ or X, nitro with Space or C (3 per race), pause with Esc or P; a gamepad also works. Pick up the 5 hearts on the road. Mechanic Misaki talks between races, and the images work the same way as in Star Formation (a victory shot per race, a private photo with all 5 hearts, the ending, a defeat scene). Watch out for obstacles: stacked cardboard boxes (2 per race) block part of the road and hide what's behind — driving through them smashes them and slows you down; an oil slick (1 per race) spins you around twice; and there may be a person crossing the road (0 or 1, random each play) — hitting them ends the game.",
helpGame10: "Prompt Typer: a 1980s-style typing game (no music, sound effects only) whose typing becomes the image prompt. 10 stages of 20 words; the words get longer every 2 stages. What you type goes into the prompt as it is, typos included. Backspace fixes the current word, but a typo still counts as a miss. Type 85% of the characters correctly to clear a stage. An image is generated after every stage whether you clear it or not; after a stage, Enter goes on (or retries a failed stage), R retries and Q gives up. On the title, ↑ ↓ picks the typing language (English, Japanese or Chinese — Japanese and Chinese are typed through your IME into an input box; kanji words show their reading and hiragana / katakana count as the same) and ← → the start stage. Japanese and Chinese prompts need an image model that understands those languages",
helpGame11: "Sky Heart: a 1980s-style into-the-screen flying shooter with a pseudo-3D ground. Hikari of the sky patrol flies a jet pack through 5 stages (flower plains, crystal canyon, sunset sea, neon sky city, moon ruins), each ending with a boss. Your shots fly straight into the screen, so line up with an enemy to hit it; dodge bullets, ground missile launchers and the trees, crystals, rocks, towers and columns on the ground (fly over or around them; the stage 4 buildings break after 4 shots). Move with the arrow keys or WASD, hold Space or Z to shoot, pause with Esc or P; a gamepad also works. The altimeter on the left shows your height and the height of incoming items. Each stage has 5 hearts in the air and 5 near the ground — catch any 5 for the private photo. Power-up capsules come in the air and on the ground: 1UP (green), a barrier that blocks 3 hits (blue) and support mechs that fire with you for 15 seconds (orange). The images work the same way as in Star Formation",
helpGame12: "Smash Heart: a 1980s-style tennis game seen from behind your court (no music: recorded sounds, synthesized shoe squeaks, and the umpire's calls by speech synthesis). Nanami plays 5 rivals with different styles, each on her own court. A match is 4 games with normal 15-30-40-deuce scoring; 2-2 is a draw and you choose rematch or quit. Move with the arrow keys, Z or Space hits, X lobs; hold ← → at contact to aim, ↑ for a deep fast shot, ↓ for a drop shot. To serve, press Z to toss and Z again near the top of the toss (two faults = double fault). A yellow ring shows where the rival's ball will land. Touch the hearts on your court (5 per match) for the private photo",
helpGame13: "Knight Heart: a 1980s-style side-scrolling action game. Apprentice knight Kanon runs, jumps and throws her weapon through 5 stages, each ending with a boss. Steps and speed are the point: hold a direction to build speed, run down slopes to go faster (the momentum carries on), slide while running with ↓ to plough through small enemies, and jump off the top of an up-slope like a ramp — the faster you run, the higher and farther you jump. Steps are walls you must jump. Space or X jumps (hold for higher), Z or C attacks (↑+attack throws straight up, ↓+attack in the air throws straight down), Esc or P pauses. Her armor breaks on the first hit (the second hit is a miss) and the VITA gauge drains over time, so grab fruit; wind boots raise your top speed. Boss rooms have platforms, and every big attack is announced (a ! over the boss, a shadow where it lands or rocks fall, a target mark). On game over you can retry the stage or give up (only giving up generates the defeat scene); while paused, R restarts the stage for one life. 5 hearts per stage for the private photo",
helpGame14: "Shutter Heart: a photographer game where your framing becomes the image prompt. Shoot the portfolio of Yui, a rookie model, in 5 locations. Each location has 3 shooting spots (Q / E or 1-3); she walks there and poses, and the spot's prompt is added when its landmark is in the frame. Arrow keys move the viewfinder, Z / X zoom, A / D tilt (dutch angle), W / S camera height, Space is the shutter, Esc or P pauses. Her pose and expression are random, so you find out on the contact sheet. Shoot when the three biorhythm waves at the bottom left line up at the top for a BEST SHOT. Pick a photo above the target score; the lowest-scoring photo of the stage is generated too, as a gray WORST SHOT card. Catch all 5 hearts with Yui in your photos for the private photo",
helpGame15: "Dungeon Heart: a 1980s-style first-person 3D dungeon RPG built with three.js. Sera the swordswoman descends 5 floors of the Star Well, each ending with a boss. ↑ ↓ move, ← → turn, Q / E strafe, Space / Z / Enter examine and decide, X opens the menu (magic, items, equipment), Esc or P pauses. Watch for hidden walls, traps, pitfalls (examine one to jump over it), spinning floors, dark floors (light them with Lumina) and Mimics. Battles are turn-based commands (FIGHT / MAGIC / GUARD / ITEM / EQUIP / RUN) with fire, ice, thunder and light. New equipment is equipped automatically and changes Sera's portrait; gear that suits the floor raises the critical chance (◎ on the equipment screen). It auto-saves on each floor and you can save at healing fountains; if Sera falls, retry from the last save or give up. An image is generated when you beat each floor's boss: Sera in her equipment, the finishing spell, the floor's best treasures and the defeated boss in the background (all 5 hearts of the floor: a private photo)",
gameJobStagePrivate: (n, name) => `STAGE ${n}${name ? " " + name : ""} - PRIVATE ♥`,
gameJobStageWorst: (n, name, sc) => `STAGE ${n}${name ? " " + name : ""} - WORST SHOT${sc !== null && sc !== undefined ? " (" + sc + ")" : ""}`,
gameAboutTitle: (name) => `About ${name}`,
gameAutoGameover: "Also generate an image on game over",
gameJobGameover: (n, name) => `GAME OVER - STAGE ${n}${name ? " " + name : ""}`,
gameEachStage: "Generate an image at each stage clear",
@@ -794,7 +800,7 @@ const LANGUAGES = {
gameRestart: "Restart",
gameResultTitle: "Result",
gameSettingsTab: "Settings",
gameResultEmpty: "Each time you clear a stage, a victory shot of Rina is generated here. Clearing every stage adds the ending image; a game over adds a defeat scene.",
gameResultEmpty: "Images from the game are generated here as you play. When they are generated depends on the game: see [Images] in \"About\" above.",
gameFinalPrompt: "Prompt to generate (editable)",
gameGenerate: "Generate",
gameOpenInGenerateUI: "Open in GenerateUI",
@@ -819,11 +825,11 @@ const LANGUAGES = {
helpGameCardOverview: "Overview",
helpGameCardGen: "Image Generation",
helpGame1: "The Game tab appears only when the separate game pack ComfyUI-WFS-Games is installed (Workflow Studio checks /wfs_games/manifest on start). Without it, the tab and this help page stay hidden",
helpGame2: "Choose a game in the Games list on the left. The game runs in the center; click it to give it the keyboard (keys pressed there do not reach the rest of Workflow Studio). The game pauses when you switch to another tab or window. The right pane has two tabs: Result (the image cards) and Settings (play settings and image generation settings)",
helpGame2: "Choose a game in the Games list on the left (titles only). The game runs in the center; click it to give it the keyboard (keys pressed there do not reach the rest of Workflow Studio). The game pauses when you switch to another tab or window. The right pane has two tabs: Result (the image cards, with a collapsible \"About\" section at the top that explains the selected game: overview, controls and when images are generated) and Settings (play settings and image generation settings)",
helpGame3: "Star Formation: a vertical shooter in the style of 1980s arcade and home computer (MSX2 / PC-8801) games — pixel sprites, a pixel font, scanlines and chiptune music. 5 stages. Enemy squadrons fly in, line up, then dive at you. Five enemies in each stage flash yellow: shoot them down and they drop a memory heart — catch it before it falls off the screen (+500 points; the hearts at the top right show how many you have). When all enemies are down, WARNING appears, the music changes and the stage boss arrives (a red HP bar at the top) — each boss behaves differently: big and tough, fast with fast shots, radial bursts, a flashing straight-line ram, and a giant carrier that launches 5 small fighters 3 times. Move with ← → or A D, shoot with Space or Z, pause with Esc or P; a gamepad also works. Before and after each stage, Rina — the navigator guiding you from control — talks in an adventure-game style window (Space, Z, Enter or click to go on). When you lose your last ship, the screen darkens and her desperate call goes unanswered before GAME OVER. Diving enemies are worth double points",
helpGame4: "Play settings: Difficulty (Easy: 5 lives / Normal: 3 / Hard: 2, with fewer or more enemy shots and dives), Music and Sound effects. Changing them restarts the game. The high score is kept in this browser",
helpGame5: "Restart starts the game over from the title screen",
helpGame6: "Each time you clear a stage, a card for that stage is added to the Result panel (newest on top) and a victory shot of Rina (peace sign, waving, thumbs up ...) with that stage in the background is generated while you keep playing (images are made one at a time, in order). If you caught all 5 hearts in the stage, PERFECT! appears and the card (pink) becomes a private photo of Rina instead: off duty, in clothes that show a little more skin with each stage — casual clothes at a café, a sleeveless sundress, an off-shoulder top and shorts, a tank top and denim shorts, and a swimsuit on the beach (the swimsuit is the most; the game adds negative tags to keep it there). Clearing all 5 stages adds the ENDING card. On game over, a GAME OVER card (red) is added with a defeat scene: Rina crying in the dark control room under red warning lights, with the stage where you fell in the background. Open \"Prompt\" on a card to see the prompts the game gave, each marked with its kind: Style (1980s PC graphics), Heroine (Rina's look), Scene and Stage. Uncheck any you don't want or edit the prompt, then press Regenerate",
helpGame6: "Each time you clear a stage, a card for that stage is added to the Result panel (newest on top) and a victory shot of the game's heroine (Rina in Star Formation, Misaki in Turbo Heart, Hikari in Sky Heart, Nanami in Smash Heart, Kanon in Knight Heart, Yui in Shutter Heart, Sera in Dungeon Heart ...; when it is generated depends on the game, see \"About\" in the Result tab) with that stage in the background is generated while you keep playing (images are made one at a time, in order). If you caught all 5 hearts in the stage, PERFECT! appears and the card (pink) becomes a private photo of the heroine instead: off duty in casual clothes (what she wears differs by game and stage; the game adds negative tags so it never goes beyond a swimsuit). Clearing every stage adds the ENDING card. On game over, a GAME OVER card (red) is added with a defeat scene of the heroine, with the stage where you fell in the background. Open \"Prompt\" on a card to see the prompts the game gave, each marked with its kind: Style (1980s PC graphics), Heroine (her look), Scene and Stage. Uncheck any you don't want or edit the prompt, then press Regenerate",
helpGame7: "Workflow: the workflow used for generation (default ws_game_sdxl_t2i.json, an SDXL (Illustrious) text-to-image workflow made for the Game tab, 1216x832; output goes to output/WFS_Game). The prompt is written into the workflow's positive prompt node. The negative prompt is your Negative prompt setting (or, when empty, the workflow's own) plus the game's negative tags. The seed is random each time",
helpGame8: "\"Generate an image at each stage clear\", \"Also generate the ending image automatically\" and \"Also generate an image on game over\" can be turned off; then press Generate on the card when you want the image. \"Open in GenerateUI\" loads that card's workflow with its prompt into GenerateUI. Starting a new game from the title clears the cards (the images stay in output/WFS_Game). The VRAM Management notices are not shown while the Game tab is open. Settings are kept in the browser and included in backups",
tsBuild: "Build / Update",
@@ -2784,7 +2790,13 @@ const LANGUAGES = {
helpGame9: "Turbo Heart: 80年代風の、後ろから見る疑似3Dのレースゲームです。海岸線を巡る全5レース(海岸ハイウェイ・紅葉の峠・夕陽の渓谷・夜のネオンシティ・夜明けの海岸)。8台で走り、最後尾からスタートして3位以内でゴールすると次のレースへ進めます(4位以下はゲームオーバー)。ハンドルは ← →、アクセルは ↑ または Z、ブレーキは ↓ または X、ニトロは Space または C(1レース3回)、一時停止は Esc または P。ゲームパッドも使えます。コース上のハート5個を拾ってください。レースの合間にメカニックのミサキが話し、画像の仕組みは Star Formation と同じです(レースごとの勝利の記念カット、ハート全部でプライベート写真、エンディング、敗北の場面)。障害物にも注意: 積み上げたダンボール(1レース2か所)は道の一部をふさいで向こうを見えにくくし、突っ込むと粉々になって減速します。オイル(1か所)に乗るとスピンして2回転します。道を渡る人(プレイのたびにランダムで0人か1人)をはねるとゲームオーバーです。",
helpGame10: "Prompt Typer: 打った文字がそのまま画像のプロンプトになる、80年代風のタイピングゲームです(BGMなし・効果音のみ)。全10ステージ・各20ワードで、2ステージごとに文字数が増えます。打った文字は打ち間違いも含めてそのままプロンプトに入ります。バックスペースで今のワードを直せますが、打ち間違えた数は減りません。85%以上正しく入力できればステージクリア。クリアしてもしなくても毎ステージ画像を生成します。ステージの後は Enter で次へ(クリアできなかったときはリトライ)、R でリトライ、Q であきらめます。タイトルの ↑ ↓ でタイピングする言語(英語・日本語・中国語。日本語と中国語は入力欄に IME で入力し、漢字のワードには読みがなが出て、ひらがなとカタカナは同じ文字として扱います)、← → でスタートステージを選べます。日本語・中国語のプロンプトは、その言語がわかる画像モデルで使ってください",
helpGame11: "Sky Heart: 画面の奥へ向かって飛ぶ、80年代風の疑似3Dシューティングです。空のパトロール隊のヒカリがジェットパックで全5ステージ(花の平原・水晶の渓谷・夕焼けの海・ネオンの空中都市・月の遺跡)を飛び、各ステージの最後にボスが出ます。弾は画面の奥へまっすぐ飛ぶので、敵と重なる位置で撃ちます。敵の弾、地上のミサイル発射台、地上の木・水晶・岩・ビル・柱をよけてください(上か横へよけます。ステージ4のビルは4発で壊せます)。移動は矢印キーまたは WASD、ショットは Space または Z を押しっぱなし、一時停止は Esc または P。ゲームパッドも使えます。左の高度計で自機と、近づいてくるアイテムの高さがわかります。ハートは各ステージ空中に5個・地上すれすれに5個あり、合わせて5個取るとプライベート写真になります。パワーアップのカプセルが空中と地上に出ます: 1UP(緑)、3発まで防ぐバリア(青)、15秒間一緒に撃つサポートメカ(オレンジ)。画像の仕組みは Star Formation と同じです",
helpGame12: "Smash Heart: 自分のコートの後ろから見る、80年代風のテニスゲームです(BGMなし。録音した打球音・観客の音、合成した靴の音、音声合成の主審のコール)。ナナミがタイプの違う5人のライバルと、それぞれのコートで対戦します。1試合4ゲーム(15-30-40-デュースの普通の数え方)、2-2は引き分けで再戦か終了を選びます。移動は矢印キー、Z または Space で打つ、X でロブ。打つ瞬間に ← → で狙い、↑ で深く速い球、↓ でドロップショット。サーブは Z でトス、トスの頂点あたりでもう一度 Z(2回フォールトでダブルフォールト)。黄色い輪はライバルの球が落ちる場所です。自分のコートのハート(1試合5個)に触れるとプライベート写真になります",
helpGame13: "Knight Heart: 80年代風の横スクロールアクションです。見習い騎士カノンが走って跳んで武器を投げ、全5ステージ(各ステージの最後にボス)に挑みます。段差とスピードがポイントです: 方向キーを押し続けると加速し、下り坂ではさらに速く(勢いはしばらく残ります)、走りながら ↓ でスライディング(小さな敵をはね飛ばします)、上り坂の終わりはジャンプ台。速く走るほど高く遠くへ跳べます。段差は自動では上れない壁なのでジャンプで越えます。Space または X でジャンプ(押しっぱなしで高く)、Z または C で攻撃(↑+攻撃で真上、空中で ↓+攻撃で真下)、Esc または P で一時停止。鎧は1回目の被弾で割れて2回目でミス、VITA(体力)は時間で減るので果物で回復、ブーツで最高速が上がります。ボスの部屋には足場があり、大技の前には予告(ボスの頭上の「!」、着地点や岩が降る場所の影、照準)が出ます。ゲームオーバーではステージのやり直しか、あきらめるかを選べます(敗北シーンの生成はあきらめたときだけ)。一時停止中の R で、残り1つと引きかえにステージを最初から。ハートは各ステージ5個で、全部取るとプライベート写真になります",
helpGame14: "Shutter Heart: 撮った構図がそのまま画像のプロンプトになるカメラマンゲームです。新人モデル・ユイのポートフォリオを5つのロケ地で撮影します。ロケ地ごとに撮影場所が3か所あり(Q / E または 1〜3 で選ぶ)、ユイがそこへ歩いてポーズを取ります。場所の目印を枠に入れると、その場所のプロンプトが入ります。矢印キーでファインダーの移動、Z / X でズーム、A / D で傾き(ダッチアングル)、W / S でカメラの高さ、Space でシャッター、Esc または P で一時停止。ポーズと表情はランダムで、コンタクトシートを見るまで分かりません。左下のバイオリズムの3本の波が上でそろった瞬間に撮ると BEST SHOT。目標点を超えた写真を1枚選ぶと画像になり、そのステージでいちばん点数の低かった写真も灰色の「ワースト写真」のカードとして生成されます。ハート5個をユイと一緒に写すとプライベート写真になります",
helpGame15: "Dungeon Heart: three.js で作った、80年代風の1人称3D迷路RPGです。剣士セラが「星の井戸」の全5階を下ります(各階の最後にボス)。↑ ↓ で移動、← → で向きを変える、Q / E で横歩き、Space / Z / Enter で調べる・決定、X でメニュー(まほう・どうぐ・そうび)、Esc または P で一時停止。隠し壁・罠・落とし穴(調べると飛び越えられる)・回転床・暗い階(ルミナで照らす)・ミミックに注意。戦闘はコマンド式(たたかう / まほう / ぼうぎょ / どうぐ / そうび / にげる)で、火・氷・雷・光の属性があります。手に入れた装備は自動で装備され、セラの立ち絵が変わります。階と相性のよい装備をそろえると会心の一撃が出やすくなります(そうび画面の ◎)。新しい階に着くと自動セーブ、回復の泉でもセーブでき、力尽きたら最後のセーブからやり直すか、あきらめるかを選べます。各階のボスを倒すと画像を生成します(今の装備のセラ・とどめの魔法・その階の価値の高い財宝・倒したボスのいる背景。その階のハート5個でプライベート写真)",
gameJobStagePrivate: (n, name) => `STAGE ${n}${name ? " " + name : ""} - プライベート♥`,
gameJobStageWorst: (n, name, sc) => `STAGE ${n}${name ? " " + name : ""} - ワースト写真${sc !== null && sc !== undefined ? "(" + sc + "点)" : ""}`,
gameAboutTitle: (name) => `${name} の遊び方`,
gameAutoGameover: "ゲームオーバー時も画像を生成する",
gameJobGameover: (n, name) => `GAME OVER - STAGE ${n}${name ? " " + name : ""}`,
gameEachStage: "ステージクリアごとに画像を生成する",
@@ -2820,7 +2832,7 @@ const LANGUAGES = {
gameRestart: "リスタート",
gameResultTitle: "結果",
gameSettingsTab: "設定",
gameResultEmpty: "ステージをクリアするたびに、リナの勝利の記念カットがここに生成されます。全ステージをクリアするとエンディング画像、ゲームオーバーになると敗北の場面が生成されます。",
gameResultEmpty: "遊んだ結果の画像がここに生成されます。いつ生成されるかはゲームごとに違います(上の「遊び方」の【画像生成】を見てください)。",
gameFinalPrompt: "生成するプロンプト(編集できます)",
gameGenerate: "生成",
gameOpenInGenerateUI: "GenerateUIで開く",
@@ -2845,11 +2857,11 @@ const LANGUAGES = {
helpGameCardOverview: "概要",
helpGameCardGen: "画像生成",
helpGame1: "Gameタブは、別パッケージのゲームパック ComfyUI-WFS-Games をインストールしているときだけ表示されます(起動時に /wfs_games/manifest を確認します)。入っていないときはタブもこのヘルプページも表示されません",
helpGame2: "左の「ゲーム」一覧から遊ぶゲームを選びます。ゲームは中央で動きます。クリックするとキー操作がゲームに入ります(そこで押したキーは Workflow Studio の他の操作に影響しません)。他のタブやウィンドウに切り替えると一時停止します。右のペインは「結果」(画像のカード)と「設定」(プレイ設定と画像生成の設定)のタブに分かれています",
helpGame2: "左の「ゲーム」一覧(タイトルだけ)から遊ぶゲームを選びます。ゲームは中央で動きます。クリックするとキー操作がゲームに入ります(そこで押したキーは Workflow Studio の他の操作に影響しません)。他のタブやウィンドウに切り替えると一時停止します。右のペインは「結果」(画像のカード。先頭に、選んだゲームの「遊び方」(概要・操作・画像を生成するタイミング)が折りたたんであります)と「設定」(プレイ設定と画像生成の設定)のタブに分かれています",
helpGame3: "Star Formation: 80年代のアーケードゲームやパソコン(MSX2 / PC-8801)風の縦シューティングです。ドット絵・ドットフォント・走査線・チップチューン風のBGM。全5ステージ。敵は編隊で飛んできて整列し、急降下して攻撃してきます。各ステージで5機の敵が黄色く点滅しています。倒すと「思い出のハート」が落ちてくるので、画面の下に落ちる前に取ってください(+500点。右上のハートが獲得数)。敵を全滅させると WARNING が出てBGMが変わり、ステージのボスが登場します(画面上部に赤い耐久力ゲージ)。ボスはそれぞれ特徴があります: 大きくて硬い、速くて弾も速い、放射状に弾を撃つ、点滅したあと一直線に体当たり、小型機を5機ずつ3回出す巨大母艦。移動は ← → または A D、ショットは Space または Z、一時停止は Esc または P。ゲームパッドも使えます。各ステージの前後に、管制から誘導してくれるナビゲーターのリナがアドベンチャーゲーム風のウィンドウで話します(Space・Z・Enter・クリックで進みます)。最後の自機がやられると画面が暗くなり、リナの呼びかけに応答がないまま GAME OVER になります。急降下中の敵を倒すと得点2倍です",
helpGame4: "プレイ設定: 難易度(やさしい: 残機5 / ふつう: 3 / むずかしい: 2。敵の弾や急降下の頻度も変わります)、BGM、効果音。変更するとゲームが最初からになります。ハイスコアはこのブラウザに保存されます",
helpGame5: "「リスタート」でタイトル画面からやり直します",
helpGame6: "ステージをクリアするたびに、右の「結果」にそのステージのカードが追加され(新しいものが上)、そのステージを背景にしたリナの勝利の記念カット(ピース・手を振る・サムズアップなど)がバックグラウンドで生成されます。生成中もプレイを続けられます(画像は1枚ずつ順番に作ります)。そのステージでハートを5つ全部取っていた場合は PERFECT! と表示され、カード(ピンク)は勝利の記念カットの代わりにプライベートのリナの写真になります。ステージが進むごとに肌の露出が少しずつ増えます: カフェでの私服 → ノースリーブのワンピース → オフショルダーとショートパンツ → タンクトップとデニムのショートパンツ → 海辺の水着(水着までです。ゲームがネガティブのタグを足して、それ以上にならないようにしています)。5ステージすべてクリアすると ENDING のカードが追加されます。ゲームオーバーになると赤い GAME OVER のカードが追加され、負けたステージを背景に、赤い警告灯の暗い管制室で泣き崩れるリナの敗北の場面が生成されます。カードの「プロンプト」を開くと、ゲームから渡されたプロンプトが種類つきで並びます: 画風(80年代のパソコングラフィック風)・ヒロイン(リナの外見)・シーン・ステージ。使わないものはチェックを外すかプロンプトを編集し、「再生成」を押してください",
helpGame6: "ステージをクリアするたびに、右の「結果」にそのステージのカードが追加され(新しいものが上)、そのステージを背景にした、そのゲームのヒロイン(Star Formation はリナ、Turbo Heart はミサキ、Sky Heart はヒカリ、Smash Heart はナナミ、Knight Heart はカノン、Shutter Heart はユイ、Dungeon Heart はセラなど。いつ生成されるかはゲームごとに違うので、結果タブの「遊び方」を見てください)の勝利の記念カットがバックグラウンドで生成されます。生成中もプレイを続けられます(画像は1枚ずつ順番に作ります)。そのステージでハートを5つ全部取っていた場合は PERFECT! と表示され、カード(ピンク)は勝利の記念カットの代わりに、私服で過ごすヒロインのプライベート写真になります(服装はゲームやステージによって変わります。ゲームがネガティブのタグを足して、水着より先にはならないようにしています)。全ステージをクリアすると ENDING のカードが追加されます。ゲームオーバーになると赤い GAME OVER のカードが追加され、負けたステージを背景にしたヒロインの敗北の場面が生成されます。カードの「プロンプト」を開くと、ゲームから渡されたプロンプトが種類つきで並びます: 画風(80年代のパソコングラフィック風)・ヒロイン(外見)・シーン・ステージ。使わないものはチェックを外すかプロンプトを編集し、「再生成」を押してください",
helpGame7: "ワークフロー: 生成に使うワークフローです(既定は ws_game_sdxl_t2i.json。Gameタブ用に用意した SDXL(Illustrious)の T2I ワークフローで、1216x832、出力先は output/WFS_Game)。プロンプトはワークフローのポジティブプロンプトのノードに書き込みます。ネガティブは「ネガティブプロンプト」設定(空ならワークフロー自身のもの)にゲームのネガティブタグを足したものです。seed は毎回ランダムです",
helpGame8: "「ステージクリアごとに画像を生成する」「エンディング画像も自動で生成する」「ゲームオーバー時も画像を生成する」はオフにできます。オフのときは、カードの「生成」を押したときに生成します。「GenerateUIで開く」は、そのカードのプロンプトを入れたワークフローを GenerateUI に読み込みます。タイトルから新しくゲームを始めるとカードは消えます(画像は output/WFS_Game に残ります)。Game タブを開いている間は、VRAM調整のメッセージを表示しません。設定はブラウザに保存され、バックアップにも含まれます",
tsBuild: "作成 / 更新",
@@ -4810,7 +4822,13 @@ const LANGUAGES = {
helpGame9: "Turbo Heart: 80年代风格的后视角伪3D赛车游戏。沿海岸线共 5 场比赛(海岸公路、红叶山道、夕阳峡谷、夜晚的霓虹城市、黎明海岸)。8 辆车同场竞速,你从最后一位起跑,以前三名完赛才能进入下一场(第四名及以后则游戏结束)。用 ← → 转向,↑ 或 Z 加速,↓ 或 X 刹车,Space 或 C 使用氮气(每场 3 次),Esc 或 P 暂停;也支持手柄。请收集赛道上的 5 颗心。比赛之间机械师美咲会说话,图像机制与 Star Formation 相同(每场的胜利纪念画面、集齐 5 颗心的私人照片、结局、败北场景). 注意障碍物: 堆起来的纸箱(每场 2 处)会挡住部分道路和视线,撞上会被撞得粉碎并减速;油渍(每场 1 处)会让赛车打转两圈;路上可能有行人横穿(每次游戏随机 0 或 1 人),撞到就会游戏结束。",
helpGame10: "Prompt Typer: 输入的文字会原样成为图像提示词的 80 年代风格打字游戏(无背景音乐,仅有音效)。共 10 关、每关 20 个词,每 2 关字数增加。输入的文字(包括打错的)会原样进入提示词。退格可以修改当前的词,但打错的次数不会减少。正确率达到 85% 即可过关。无论是否过关,每关都会生成图像;每关结束后按 Enter 继续(未过关时为重试),R 重试,Q 放弃。在标题画面用 ↑ ↓ 选择打字语言(英语、日语、中文。日语和中文用输入法在输入框中输入,含汉字的词会显示读音,平假名和片假名视为相同),用 ← → 选择开始关卡。日语和中文提示词需要使用能理解该语言的图像模型",
helpGame11: "Sky Heart: 向画面深处飞行的 80 年代风格伪 3D 射击游戏。天空巡逻队的光背着喷气背包飞越全部 5 关(花之平原、水晶峡谷、夕阳之海、霓虹空中都市、月之遗迹),每关最后有首领。子弹会笔直地飞向画面深处,请对准敌人射击;躲开子弹、地面的导弹发射台以及地面上的树木、水晶、岩石、大楼和柱子(从上方或旁边躲开;第 4 关的大楼打 4 发即可摧毁)。用方向键或 WASD 移动,按住 Space 或 Z 射击,Esc 或 P 暂停;也支持手柄。左侧的高度计显示自机和接近中道具的高度。每关空中有 5 颗心、贴近地面也有 5 颗,合计收集 5 颗即可获得私人照片。强化胶囊会出现在空中和地面: 1UP(绿)、可抵挡 3 次攻击的护盾(蓝)、15 秒内一起射击的支援机(橙)。图像机制与 Star Formation 相同",
helpGame12: "Smash Heart: 从自己球场后方观看的 80 年代风格网球游戏(无背景音乐。录制的击球声和观众声、合成的球鞋声、语音合成的主裁判报分)。七海在各自的球场挑战 5 名风格各异的对手。每场 4 局(普通的 15-30-40-平分计分),2-2 为平局,可选择再战或结束。方向键移动,Z 或 Space 击球,X 高吊球;击球瞬间按 ← → 瞄准,↑ 打深远快球,↓ 打放小球。发球时按 Z 抛球,在抛球最高点附近再按 Z(两次失误为双误)。黄色圆圈表示对手的球落点。触碰自己球场上的爱心(每场 5 颗)即可获得私人照片",
helpGame13: "Knight Heart: 80 年代风格的横版卷轴动作游戏。见习骑士花音奔跑、跳跃、投掷武器,挑战全部 5 关(每关最后有首领)。重点是台阶与速度:按住方向键会逐渐加速,下坡更快(惯性会保持一段时间),奔跑中按 ↓ 滑铲(撞飞小型敌人),上坡的尽头就是跳台。跑得越快,跳得越高越远。台阶是不能自动登上的墙,要跳过去。Space 或 X 跳跃(按住跳得更高),Z 或 C 攻击(↑+攻击向正上方,空中 ↓+攻击向正下方),Esc 或 P 暂停。铠甲第一次受伤会碎裂,第二次就失误;VITA(体力)随时间减少,用水果恢复;靴子提高最高速度。首领房间里有平台,大招之前会有预告(首领头上的「!」、着地点或落石处的影子、准星)。游戏结束时可以选择重来本关或放弃(只有放弃时才生成失败画面)。暂停中按 R 消耗 1 条命从本关开头重来。每关 5 颗爱心,全部收集即可获得私人照片",
helpGame14: "Shutter Heart: 拍下的构图会直接成为图像提示词的摄影师游戏。在 5 个外景地为新人模特结衣拍摄作品集。每个外景地有 3 个拍摄地点(用 Q / E 或 1~3 选择),结衣会走过去摆姿势;把地点的标志拍进取景框,就会加入该地点的提示词。方向键移动取景框,Z / X 缩放,A / D 倾斜(荷兰角),W / S 相机高度,Space 快门,Esc 或 P 暂停。姿势和表情是随机的,要看印样才知道。左下生物节律的三条波同时到达高处时拍摄即为 BEST SHOT。选一张超过目标分的照片即可生成图像,该关得分最低的照片也会以灰色的“最差照片”卡片生成。把 5 颗爱心和结衣一起拍进去即可获得私人照片",
helpGame15: "Dungeon Heart: 用 three.js 制作的 80 年代风格第一人称 3D 迷宫 RPG。剑士塞拉深入“星之井”的全部 5 层(每层最后有首领)。↑ ↓ 移动,← → 转向,Q / E 横移,Space / Z / Enter 调查・确定,X 打开菜单(魔法・道具・装备),Esc 或 P 暂停。注意隐藏墙、陷阱、陷坑(调查后可跳过)、旋转地板、黑暗的楼层(用光明魔法照亮)和宝箱怪。战斗为指令式(战斗 / 魔法 / 防御 / 道具 / 装备 / 逃跑),有火、冰、雷、光属性。得到的装备会自动装上,塞拉的立绘随之改变;凑齐与楼层相性好的装备更容易打出会心一击(装备画面的 ◎)。到达新楼层时自动存档,在恢复之泉也能存档;塞拉倒下时可选择从最后的存档重来或放弃。打倒每层首领后生成图像(当前装备的塞拉・最后一击的魔法・本层贵重的财宝・有被打倒首领的背景。集齐本层 5 颗爱心则为私人照片)",
gameJobStagePrivate: (n, name) => `STAGE ${n}${name ? " " + name : ""} - 私人♥`,
gameJobStageWorst: (n, name, sc) => `STAGE ${n}${name ? " " + name : ""} - 最差照片${sc !== null && sc !== undefined ? "(" + sc + "分)" : ""}`,
gameAboutTitle: (name) => `${name} 玩法`,
gameAutoGameover: "游戏结束时也生成图像",
gameJobGameover: (n, name) => `GAME OVER - STAGE ${n}${name ? " " + name : ""}`,
gameEachStage: "每通过一关生成一张图像",
@@ -4846,7 +4864,7 @@ const LANGUAGES = {
gameRestart: "重新开始",
gameResultTitle: "结果",
gameSettingsTab: "设置",
gameResultEmpty: "每通过一关,都会在这里生成莉娜的胜利纪念画面。通过全部关卡后生成结局图像,游戏结束时生成败北场景。",
gameResultEmpty: "游戏中的图像会在这里生成。生成时机因游戏而异(请查看上方“玩法”中的【图像生成】)。",
gameFinalPrompt: "用于生成的提示词(可编辑)",
gameGenerate: "生成",
gameOpenInGenerateUI: "在 GenerateUI 中打开",
@@ -4871,11 +4889,11 @@ const LANGUAGES = {
helpGameCardOverview: "概述",
helpGameCardGen: "图像生成",
helpGame1: "只有安装了单独的游戏包 ComfyUI-WFS-Games 时才会显示 Game 标签页(启动时检查 /wfs_games/manifest)。未安装时,该标签页和本帮助页都不会显示",
helpGame2: "在左侧的“游戏”列表中选择游戏。游戏在中间运行;点击游戏画面后键盘输入只进入游戏(不会影响 Workflow Studio 的其他操作)。切换到其他标签页或窗口时游戏会暂停。右侧窗格分为“结果”(图像卡片)和“设置”(游戏设置和图像生成设置)两个标签页",
helpGame2: "在左侧的“游戏”列表(只有标题)中选择游戏。游戏在中间运行;点击游戏画面后键盘输入只进入游戏(不会影响 Workflow Studio 的其他操作)。切换到其他标签页或窗口时游戏会暂停。右侧窗格分为“结果”(图像卡片;顶部折叠着所选游戏的“玩法”: 概要、操作和生成图像的时机)和“设置”(游戏设置和图像生成设置)两个标签页",
helpGame3: "Star Formation: 80年代街机和电脑(MSX2 / PC-8801)风格的纵向射击游戏——像素画、像素字体、扫描线和芯片音乐风格的背景音乐。共 5 关。敌机编队飞入、列阵,然后俯冲攻击。每关有 5 架敌机闪烁黄色,击落后会掉落“回忆之心”,请在它掉出画面前接住(+500 分;右上角的心形显示获得数)。消灭所有敌机后会出现 WARNING,背景音乐改变,关卡首领登场(画面上方的红色耐久条)。每个首领各有特点: 体型大且耐打、速度快且子弹快、放射状射击、闪烁后直线冲撞、分 3 次每次放出 5 架小型机的巨大母舰。用 ← → 或 A D 移动,Space 或 Z 射击,Esc 或 P 暂停;也支持手柄。在每关的前后,从管制室为你导航的莉娜会在冒险游戏风格的窗口中说话(按 Space、Z、Enter 或点击继续)。最后一架机体被击落后画面变暗,莉娜的呼唤得不到回应,随后 GAME OVER。击落俯冲中的敌机得分翻倍",
helpGame4: "游戏设置: 难度(简单: 5 条命 / 普通: 3 / 困难: 2,敌机射击和俯冲的频率也会变化)、背景音乐和音效。更改后游戏将重新开始。最高分保存在此浏览器中",
helpGame5: "“重新开始”会从标题画面重新开始游戏",
helpGame6: "每通过一关,右侧“结果”中就会添加该关的卡片(最新的在上面),并在后台生成以该关为背景的莉娜胜利纪念画面(比耶、挥手、竖大拇指等);生成期间可以继续游戏(图像按顺序一张一张生成)。如果在该关收集了全部 5 颗心,会显示 PERFECT!,卡片(粉色)会变成莉娜的私人照片,代替胜利纪念画面。随着关卡推进,露出会逐渐增加: 咖啡馆的便服 → 无袖连衣裙 → 露肩上衣和短裤 → 背心和牛仔短裤 → 海边的泳装(最多到泳装;游戏会追加负面标签,不会超过这个程度)。通过全部 5 关后会添加 ENDING 卡片。游戏结束时会添加红色的 GAME OVER 卡片,以失败的关卡为背景,生成莉娜在红色警示灯下昏暗的管制室里哭泣的败北场景。展开卡片的“提示词”可以看到游戏给出的提示词及其种类: 画风(80年代电脑图像风格)、女主角(莉娜的外观)、场景、关卡。取消勾选不需要的提示词或编辑提示词,然后按“重新生成”",
helpGame6: "每通过一关,右侧“结果”中就会添加该关的卡片(最新的在上面),并在后台生成以该关为背景的该游戏女主角(Star Formation 是莉娜、Turbo Heart 是美咲、Sky Heart 是光、Smash Heart 是七海、Knight Heart 是花音、Shutter Heart 是结衣、Dungeon Heart 是塞拉等;生成时机因游戏而异,请查看结果标签页的“玩法”)的胜利纪念画面;生成期间可以继续游戏(图像按顺序一张一张生成)。如果在该关收集了全部 5 颗心,会显示 PERFECT!,卡片(粉色)会变成女主角穿便服的私人照片,代替胜利纪念画面(服装因游戏和关卡而异;游戏会追加负面标签,最多到泳装)。通过全部关卡后会添加 ENDING 卡片。游戏结束时会添加红色的 GAME OVER 卡片,生成以失败的关卡为背景的女主角败北场景。展开卡片的“提示词”可以看到游戏给出的提示词及其种类: 画风(80年代电脑图像风格)、女主角(外观)、场景、关卡。取消勾选不需要的提示词或编辑提示词,然后按“重新生成”",
helpGame7: "工作流: 用于生成的工作流(默认 ws_game_sdxl_t2i.json,为 Game 标签页准备的 SDXL(Illustrious)文生图工作流,1216x832,输出到 output/WFS_Game)。提示词写入工作流的正面提示词节点。负面提示词为“负面提示词”设置(为空时使用工作流自带的)加上游戏的负面标签。seed 每次随机",
helpGame8: "可以关闭“每通过一关生成一张图像”“结局图像也自动生成”和“游戏结束时也生成图像”;关闭时,按卡片上的“生成”才会生成。“在 GenerateUI 中打开”会把带有该卡片提示词的工作流加载到 GenerateUI。从标题画面开始新游戏时卡片会被清除(图像保留在 output/WFS_Game)。打开 Game 标签页时不显示 VRAM 调整的提示。设置保存在浏览器中,并包含在备份中",
tsBuild: "创建 / 更新",
+4
View File
@@ -2070,6 +2070,10 @@
<li id="wfm-help-game-9"></li>
<li id="wfm-help-game-10"></li>
<li id="wfm-help-game-11"></li>
<li id="wfm-help-game-12"></li>
<li id="wfm-help-game-13"></li>
<li id="wfm-help-game-14"></li>
<li id="wfm-help-game-15"></li>
</ul>
</div>
<div class="wfm-help-card">