Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d7e287646d | ||
|
|
cdcd779219 | ||
|
|
42697ce842 | ||
|
|
b2eb8236b4 | ||
|
|
e71949cf21 | ||
|
|
cefbbd13ee | ||
|
|
731e194a70 |
No files matched your search
@@ -1,7 +1,7 @@
|
||||
name: Accessibility barrier
|
||||
description: Something stops or slows you down when you use a keyboard, a screen reader, zoom, high contrast, voice control or a touch screen.
|
||||
title: "[A11y]: "
|
||||
labels: ["accessibility", "triage"]
|
||||
labels: ["accessibility", "needs-triage"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
@@ -77,8 +77,8 @@ body:
|
||||
id: version
|
||||
attributes:
|
||||
label: App version
|
||||
description: From the About page. Example `v1.5.2`.
|
||||
placeholder: v1.5.2
|
||||
description: From the About page. Example `v1.6.0`.
|
||||
placeholder: v1.6.0
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Bug report
|
||||
description: Something is broken or behaving unexpectedly.
|
||||
title: "[Bug]: "
|
||||
labels: ["bug", "triage"]
|
||||
labels: ["bug", "needs-triage"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
@@ -12,8 +12,8 @@ body:
|
||||
id: version
|
||||
attributes:
|
||||
label: App version
|
||||
description: From the About page. Example `v1.5.2`.
|
||||
placeholder: v1.5.2
|
||||
description: From the About page. Example `v1.6.0`.
|
||||
placeholder: v1.6.0
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Feature ideas (maintenance mode)
|
||||
url: https://github.com/poli0981/youtube-generator/discussions/categories/ideas
|
||||
about: YTDescGen is in maintenance mode and takes no new features. Share ideas in Discussions, with no commitment. To add or remove an option in one of the app's lists, use the Option request form.
|
||||
- name: Report a security vulnerability
|
||||
url: https://github.com/poli0981/youtube-generator/security/advisories/new
|
||||
about: Privately, please — never in a public issue. See SECURITY.md.
|
||||
@@ -8,7 +11,7 @@ contact_links:
|
||||
about: How-tos, backup & restore, troubleshooting and the FAQ.
|
||||
- name: Discord
|
||||
url: https://discord.gg/kDM9GMu5vm
|
||||
about: For casual questions, gameplay chat, or quick help. Use a bug report or feature request for anything actionable.
|
||||
about: For casual questions, gameplay chat, or quick help. Use an issue form for anything actionable.
|
||||
- name: All channels and contacts
|
||||
url: https://poli0981.dev/links/
|
||||
about: Email addresses by purpose and every other way to reach the maintainer.
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
name: Feature request
|
||||
description: Suggest a new feature or improvement.
|
||||
title: "[Feature]: "
|
||||
labels: ["enhancement", "triage"]
|
||||
body:
|
||||
- type: textarea
|
||||
id: problem
|
||||
attributes:
|
||||
label: Problem
|
||||
description: What pain point or workflow gap are you running into today?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: proposal
|
||||
attributes:
|
||||
label: Proposed solution
|
||||
description: What should YTDescGen do? Be concrete — UI sketch, example output, etc.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: alternatives
|
||||
attributes:
|
||||
label: Alternatives considered
|
||||
description: Other approaches you thought about and why you ruled them out.
|
||||
- type: dropdown
|
||||
id: scope
|
||||
attributes:
|
||||
label: Scope
|
||||
description: Which surfaces does this affect?
|
||||
multiple: true
|
||||
options:
|
||||
- Editor
|
||||
- Output / preview
|
||||
- Batch
|
||||
- Social captions
|
||||
- Playlist
|
||||
- History
|
||||
- Profiles / presets
|
||||
- Templates (description, title, tags)
|
||||
- Backup & restore
|
||||
- i18n / locales
|
||||
- Settings
|
||||
- Accessibility (keyboard, screen readers, zoom, contrast)
|
||||
- Web app (ytgenerator.stream)
|
||||
- Desktop (Tauri)
|
||||
- Android
|
||||
- Documentation
|
||||
validations:
|
||||
required: true
|
||||
- type: checkboxes
|
||||
id: checks
|
||||
attributes:
|
||||
label: Pre-flight checks
|
||||
options:
|
||||
- label: I searched existing issues and this is not a duplicate.
|
||||
required: true
|
||||
@@ -0,0 +1,62 @@
|
||||
name: Option request
|
||||
description: Add or remove an option in one of the app's lists — a store, platform, genre, video type, content warning, tech note, GPU or upscaler / frame-generation mode.
|
||||
title: "[Option]: "
|
||||
labels: ["option-request", "needs-triage"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
YTDescGen is in **maintenance mode** ([CONTRIBUTING.md → Maintenance mode](https://github.com/poli0981/youtube-generator/blob/main/CONTRIBUTING.md#maintenance-mode)): it takes no new features, but an option people really need can still join — or leave — one of the lists the app already has. For anything else, share the idea in [Discussions → Ideas](https://github.com/poli0981/youtube-generator/discussions/categories/ideas).
|
||||
- type: dropdown
|
||||
id: action
|
||||
attributes:
|
||||
label: Add or remove?
|
||||
options:
|
||||
- Add an option
|
||||
- Remove an option
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: list
|
||||
attributes:
|
||||
label: Which list
|
||||
options:
|
||||
- Store (store links)
|
||||
- Social or donate platform
|
||||
- Game genre
|
||||
- Video type
|
||||
- Content warning
|
||||
- Tech note
|
||||
- GPU (rig catalog)
|
||||
- Upscaler / frame generation (Video settings)
|
||||
- Another list (say which below)
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: option
|
||||
attributes:
|
||||
label: The option
|
||||
description: Its name as it should appear, e.g. "itch.io", "Roguelite", "AMD FSR 4 x4".
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: why
|
||||
attributes:
|
||||
label: Who needs it, and why
|
||||
description: What can't you do today? A link helps — the store page, the vendor's announcement, a video of yours that needed it.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: wording
|
||||
attributes:
|
||||
label: Suggested wording (optional)
|
||||
description: For a content warning or tech note, the editor label and the line the description should print, in any of the eight languages you know.
|
||||
- type: checkboxes
|
||||
id: checks
|
||||
attributes:
|
||||
label: Pre-flight checks
|
||||
options:
|
||||
- label: I searched existing issues and this is not a duplicate.
|
||||
required: true
|
||||
- label: This adds or removes an option in a list the app already has — it is not a new feature.
|
||||
required: true
|
||||
@@ -0,0 +1,69 @@
|
||||
name: Translation or wording fix
|
||||
description: Wording that doesn't fit a culture or region, or a spelling mistake that could mislead — in the interface or in the generated text.
|
||||
title: "[i18n]: "
|
||||
labels: ["i18n", "needs-triage"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
YTDescGen ships eight languages. Vietnamese is native-reviewed; Japanese, Spanish, Korean, Chinese, Portuguese (Brazil) and Indonesian are AI-translated (see [DISCLAIMER.md](https://github.com/poli0981/youtube-generator/blob/main/DISCLAIMER.md)), so corrections from native speakers are very welcome.
|
||||
- type: dropdown
|
||||
id: language
|
||||
attributes:
|
||||
label: Language
|
||||
options:
|
||||
- English (en)
|
||||
- Tiếng Việt (vi)
|
||||
- 日本語 (ja)
|
||||
- Español (es)
|
||||
- 한국어 (ko)
|
||||
- 简体中文 (zh)
|
||||
- Português (BR) (pt-BR)
|
||||
- Bahasa Indonesia (id)
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: where
|
||||
attributes:
|
||||
label: Where
|
||||
options:
|
||||
- The interface (buttons, labels, messages)
|
||||
- The generated title, description or tags
|
||||
- Both
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: current
|
||||
attributes:
|
||||
label: Current text
|
||||
description: Copy it exactly as shown, and say where you saw it — the page or field, or the section of the description. A screenshot helps.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: suggested
|
||||
attributes:
|
||||
label: Suggested text
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: why
|
||||
attributes:
|
||||
label: Why
|
||||
options:
|
||||
- It doesn't fit the culture, region or usual tone
|
||||
- A spelling or grammar mistake that could mislead
|
||||
- The meaning is wrong (a mistranslation)
|
||||
- Something else (say below)
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: details
|
||||
attributes:
|
||||
label: Details (optional)
|
||||
- type: checkboxes
|
||||
id: checks
|
||||
attributes:
|
||||
label: Pre-flight checks
|
||||
options:
|
||||
- label: I searched existing issues and this is not a duplicate.
|
||||
required: true
|
||||
@@ -1,3 +1,10 @@
|
||||
<!--
|
||||
YTDescGen is in maintenance mode (CONTRIBUTING.md → "Maintenance mode"):
|
||||
new features are out of scope, and `feat:` pull requests from outside
|
||||
contributors are closed automatically unless their scope is `options`
|
||||
(an agreed option request), `a11y` or `i18n`.
|
||||
-->
|
||||
|
||||
## Summary
|
||||
|
||||
<!-- 1-3 bullet points describing the change -->
|
||||
@@ -5,6 +12,17 @@
|
||||
-
|
||||
-
|
||||
|
||||
## Scope
|
||||
|
||||
<!-- Tick what this PR is. Anything else is out of scope while YTDescGen is in maintenance mode. -->
|
||||
|
||||
- [ ] Bug fix, broken UI/UX or accessibility fix
|
||||
- [ ] Translation or wording fix
|
||||
- [ ] Add or remove an option in one of the app's lists, agreed in issue #
|
||||
- [ ] Dependency update, security fix, or major language/runtime/framework upgrade
|
||||
- [ ] Cloudflare / Worker change, or a fix for a website incident
|
||||
- [ ] Docs or tests only
|
||||
|
||||
## Type
|
||||
|
||||
- [ ] `feat` — new feature
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
name: Maintenance triage
|
||||
|
||||
# YTDescGen is in maintenance mode (CONTRIBUTING.md → Maintenance mode). This
|
||||
# workflow closes, with a bilingual comment and the `out-of-scope` label:
|
||||
# • any issue or pull request the maintainer labels `out-of-scope`;
|
||||
# • when opened by an outside contributor: issues titled [Feature…] or
|
||||
# labelled `enhancement`, and pull requests titled `feat:` — except the
|
||||
# scopes maintenance mode still takes: `options` (an agreed option
|
||||
# request), `a11y` and `i18n`. The owner, members, collaborators and bots
|
||||
# are skipped.
|
||||
# pull_request_target runs in the base repository so it can comment on and
|
||||
# close pull requests from forks. It never checks out or runs pull request
|
||||
# code, and the script reads titles from the event payload itself instead of
|
||||
# having untrusted text interpolated into it (.github/zizmor.yml says so too).
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened, labeled]
|
||||
pull_request_target:
|
||||
types: [opened, labeled]
|
||||
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
group: maintenance-triage-${{ github.event.issue.number || github.event.pull_request.number }}
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
name: Close out-of-scope requests
|
||||
if: >-
|
||||
(github.event.action == 'labeled' && github.event.label.name == 'out-of-scope') ||
|
||||
(github.event.action == 'opened' &&
|
||||
!contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'),
|
||||
github.event.issue.author_association || github.event.pull_request.author_association))
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: Close if out of scope
|
||||
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
||||
with:
|
||||
script: |
|
||||
const OUT_OF_SCOPE = 'out-of-scope';
|
||||
const TRUSTED = ['OWNER', 'MEMBER', 'COLLABORATOR'];
|
||||
// Feature pull requests maintenance mode still takes.
|
||||
const KEPT_SCOPES = ['options', 'a11y', 'i18n'];
|
||||
const { payload } = context;
|
||||
const isPR = Boolean(payload.pull_request);
|
||||
const item = payload.pull_request ?? payload.issue;
|
||||
if (!item || item.state !== 'open') return;
|
||||
|
||||
const labels = (item.labels ?? []).map((label) => label.name);
|
||||
let reason = null;
|
||||
if (payload.action === 'labeled') {
|
||||
if (payload.label?.name === OUT_OF_SCOPE) reason = 'labelled out-of-scope';
|
||||
} else if (payload.action === 'opened') {
|
||||
const trusted = TRUSTED.includes(item.author_association);
|
||||
const bot = item.user?.type === 'Bot';
|
||||
const title = String(item.title ?? '').trim();
|
||||
if (!trusted && !bot) {
|
||||
if (isPR) {
|
||||
// Conventional Commits: feat:, feat(scope):, feat!:
|
||||
const feat = /^feat(?:\(([^)]*)\))?!?:/i.exec(title);
|
||||
const scope = (feat?.[1] ?? '').trim().toLowerCase();
|
||||
if (feat && !KEPT_SCOPES.includes(scope)) reason = 'feat: pull request';
|
||||
} else if (/^\[feature/i.test(title) || labels.includes('enhancement')) {
|
||||
reason = 'feature request';
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!reason) {
|
||||
core.info(`#${item.number}: within scope, nothing to do.`);
|
||||
return;
|
||||
}
|
||||
|
||||
const ideas = 'https://github.com/poli0981/youtube-generator/discussions/categories/ideas';
|
||||
const policy = 'https://github.com/poli0981/youtube-generator/blob/main/CONTRIBUTING.md#maintenance-mode';
|
||||
const en = isPR ? 'pull request' : 'issue';
|
||||
const vi = isPR ? 'Pull request' : 'Issue';
|
||||
const body = [
|
||||
'<!-- maintenance-triage -->',
|
||||
'Thanks for taking the time to write this. YTDescGen is in **maintenance mode**: it still takes dependency and security updates, major runtime upgrades, fixes for bugs, UI/UX, accessibility and translations, options added to or removed from its lists when people really need them, and Cloudflare or website fixes, but no new features.',
|
||||
'',
|
||||
`This ${en} falls outside that scope, so it has been closed. If it is actually a bug, an accessibility or translation fix, or an option request, reply here and the maintainer will take another look. Ideas are welcome in [Discussions → Ideas](${ideas}). The full policy is in [CONTRIBUTING.md → Maintenance mode](${policy}).`,
|
||||
'',
|
||||
'---',
|
||||
'',
|
||||
'Cảm ơn bạn đã dành thời gian. YTDescGen đang ở **giai đoạn bảo trì**: vẫn nhận cập nhật thư viện và bảo mật, nâng cấp runtime lớn, sửa lỗi, UI/UX, trợ năng (accessibility) và bản dịch, thêm hoặc bỏ một tuỳ chọn trong các danh sách của app khi thật sự có người cần, và sửa lỗi Cloudflare hay website, nhưng không thêm tính năng mới.',
|
||||
'',
|
||||
`${vi} này nằm ngoài phạm vi đó nên đã được đóng. Nếu thực ra đây là lỗi, sửa trợ năng hay bản dịch, hoặc yêu cầu tuỳ chọn, hãy trả lời tại đây để maintainer xem lại. Ý tưởng có thể gửi ở [Discussions → Ideas](${ideas}). Chính sách đầy đủ: [CONTRIBUTING.md → Maintenance mode](${policy}).`,
|
||||
].join('\n');
|
||||
|
||||
const { owner, repo } = context.repo;
|
||||
const number = item.number;
|
||||
await github.rest.issues.createComment({ owner, repo, issue_number: number, body });
|
||||
if (!labels.includes(OUT_OF_SCOPE)) {
|
||||
await github.rest.issues.addLabels({ owner, repo, issue_number: number, labels: [OUT_OF_SCOPE] });
|
||||
}
|
||||
if (isPR) {
|
||||
await github.rest.pulls.update({ owner, repo, pull_number: number, state: 'closed' });
|
||||
} else {
|
||||
await github.rest.issues.update({ owner, repo, issue_number: number, state: 'closed', state_reason: 'not_planned' });
|
||||
}
|
||||
core.notice(`Closed ${en} #${number} as out of scope (${reason}).`);
|
||||
@@ -18,3 +18,9 @@ rules:
|
||||
# actor) to the notifier script through `env:`, never by interpolation.
|
||||
- notify-ci-failure.yml
|
||||
- notify-release-pipeline.yml
|
||||
# Runs on `pull_request_target` so it can label, comment on and close
|
||||
# an out-of-scope pull request from a fork (maintenance mode). It never
|
||||
# checks out the pull request, runs none of its code, and reads the
|
||||
# title from the event payload inside the script — nothing from the
|
||||
# pull request is interpolated into the workflow.
|
||||
- maintenance-triage.yml
|
||||
@@ -2,6 +2,34 @@
|
||||
|
||||
All notable changes to YTDescGen ship as tagged releases on `main`.
|
||||
|
||||
## v1.6.0 — 2026-11-17
|
||||
|
||||
The last feature release: **DLSS 5 Neural Rendering** and more frame-generation modes in Video settings, a **Custom** LUT that prints just "LUT applied", and **JetBrains Qodana** next to SonarCloud. From this version on YTDescGen is in **maintenance mode**: it stays maintained, but takes no new features. Web, desktop and Android all ship as 1.6.0.
|
||||
|
||||
### Added
|
||||
|
||||
- **DLSS 5 Neural Rendering** — a switch in **Video settings** for NVIDIA (RTX 50 series), printed after the DLSS mode: `In-game Setting: Ultra - NVIDIA DLSS Quality + NVIDIA DLSS 5 Neural Rendering + NVIDIA Dynamic Multi Frame Generation`. Picking another vendor turns it off.
|
||||
- **More frame generation** — NVIDIA's **x6** and **Dynamic** Multi Frame Generation (DLSS 4.5), and **Custom…** for every vendor: type what you used (_NVIDIA Smooth Motion_, _Lossless Scaling x3_) and the description prints it as typed.
|
||||
- **Custom LUT** — "Custom" is the LUT field's first suggestion (typing it works too, in any case). **My Rig** then reads just _LUT applied_ — _Có áp dụng LUT_ in Vietnamese, and so on in every output language — without naming your own LUT.
|
||||
- **Option request** and **Translation or wording fix** issue forms.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Maintenance mode.** YTDescGen is feature-complete. Dependency and security updates, major language / runtime / framework upgrades, bug, UI/UX, accessibility and translation fixes, options added to or removed from its lists when people really need them, and Cloudflare or website fixes still land; new features don't. See README → Project status and CONTRIBUTING → Maintenance mode; the README carries a status badge.
|
||||
- The **Feature request** form is gone — ideas go to Discussions → Ideas. A workflow closes feature issues and `feat:` pull requests from outside contributors with an explanation in English and Vietnamese (option requests, accessibility and translation pull requests stay open), and anything the maintainer labels `out-of-scope`.
|
||||
- Bug and accessibility reports carry the `needs-triage` label; the `triage` label they named never existed.
|
||||
|
||||
### Under the hood
|
||||
|
||||
- **Qodana** (JetBrains, Ultimate licence): Qodana for JS in native mode and Qodana for Rust (Early Access, Docker) run on every push and pull request, each with a quality gate of zero problems, reported to Qodana Cloud. Dependabot and fork pull requests, which get no token, skip it; the token never shares a step with `npm ci`. The first run's findings (74 in TypeScript, 12 in Rust) were fixed — React 19.3's deprecated `FormEvent` in the three save forms (now `SubmitEvent`), `[^\s]` written as `\S` in the 18 store and playtest URL patterns, the theme start-up script's globals, two copies of the sorted-JSON helper made one (`stableJson`), Vitest reusing Vite's alias map, `show_main_window` for the desktop's three copies of the same block — or excluded in `qodana.yaml` with the reason written next to each.
|
||||
- **Editor store v22** back-fills `frameGenCustom` and `dlssNeuralRendering`; backups and templates from older versions restore unchanged.
|
||||
- **Dependencies**, the newest releases at least a week old: react-i18next 17.1.13, lucide-react 1.70, zustand 5.1.0, simple-icons 16.37, vite 8.3.7 (rolldown 1.2.18), @vitejs/plugin-react 6.3.0, tailwindcss 4.3.5, typescript-eslint 8.72.2, knip 6.44.2, marked 18.2.0, wrangler 4.159.0. Workflows: sonarqube-scan-action 8.4.1, action-semantic-pull-request 6.1.2, setup-java 6.2.0. Rust: async-executor 1.14.0 → 1.14.1 (1.14.0 was yanked). THIRD_PARTY_NOTICES regenerated.
|
||||
- **Node.js 26.13.1**, the 2026-11-11 security release (16 CVEs, 7 rated high, in HTTP/2 and TLS servers): `.node-version` names the 26 line, so CI picks it up; the app runs no Node server, so nothing else changes.
|
||||
- Held back, still inside the 7-day cooldown: eslint 10.15 / typescript-eslint 8.73 — they move to minimatch 11, which closes the medium, development-only alert #50 — and Tauri 2.12.6.
|
||||
- **Docs**: README, CONTRIBUTING, SECURITY, MAINTAINERS, ROADMAP, FEATURES (upscaler and frame generation, LUT Custom), TECH-SPEC (Qodana, store v22, the rig block), DEVELOPMENT (+ Vietnamese), CONTENT-INVENTORY (+ Vietnamese), CLAUDE.md, version references.
|
||||
- typecheck, typecheck:all, lint, format:check, validate:locales, knip, check:version, check:tauri, check:licenses, check:copyright, **1158 tests** (was 1131), build, cf:check and `cargo fmt` / `clippy` / `test` / `deny` all pass; Qodana reports no problems in either project and SonarCloud none on new code; initial load 279.6 of 280 KB gzip. Verified live: `wrangler dev` on 4.159.0 serves the gate page, `/legal/accessibility` and `robots.txt` and refuses a verify without a token; in the dev server a draft survives a reload on zustand 5.1, a v21 draft migrates to v22, NVIDIA offers x6 / Dynamic / Custom… and the DLSS 5 switch (the Output page prints the line above), switching to AMD turns DLSS 5 off and keeps a Custom frame generation, and a Custom LUT prints "LUT applied" in English and "Có áp dụng LUT" in Vietnamese.
|
||||
- Six manifests bumped 1.5.2 → 1.6.0.
|
||||
|
||||
## v1.5.2 — 2026-11-10
|
||||
|
||||
A maintenance release: the desktop and Android apps move to **Tauri 2.12.5**, with the fixes its window, webview and single-instance layers collected since 2.12.4, and this week's dependency updates are folded in. What the app generates does not change. Web, desktop and Android all ship as 1.5.2.
|
||||
|
||||
@@ -9,6 +9,17 @@
|
||||
- **Repository**: `github.com/poli0981/youtube-generator` · **License**: Apache-2.0 (`LICENSE`, `NOTICE`, REUSE-compliant).
|
||||
- **Maintainer**: poli0981 (SkullMute). Contacts by purpose: see `src/config/about.ts` and README.
|
||||
|
||||
**Status: maintenance mode** (since v1.6.0). Don't propose new features. Every change must fall under the policy in [`CONTRIBUTING.md` → Maintenance mode](CONTRIBUTING.md#maintenance-mode):
|
||||
|
||||
- dependency updates on the regular schedule;
|
||||
- security fixes (a CVE rated high or critical, a serious runtime issue);
|
||||
- major language, runtime or framework upgrades;
|
||||
- bug, UI/UX and accessibility fixes, and adding or removing an option in one of the app's lists (stores, platforms, genres, video types, content warnings, tech notes, GPUs, upscaler / frame-gen modes) when people really need it;
|
||||
- translation fixes (wording that doesn't fit a culture or region, misleading spelling);
|
||||
- Cloudflare / Worker changes the platform forces, website incidents.
|
||||
|
||||
`.github/workflows/maintenance-triage.yml` closes out-of-scope issues and pull requests (label `out-of-scope`); `feat(options)`, `feat(a11y)` and `feat(i18n)` pull requests stay open.
|
||||
|
||||
## Tech Stack
|
||||
|
||||
| Layer | Technology |
|
||||
@@ -181,6 +192,7 @@ npm run generate:brand # favicon, PWA icons, link-preview card from assets/
|
||||
- New video type: `src/config/video-types.ts` + every `templates.json` (titles, intros, pinned-comment greetings).
|
||||
- New content warning / tech note: the id in `CONTENT_WARNINGS` / `TECH_NOTES` (`src/engine/types.ts`), a group in `src/config/content-warning-groups.ts` / `tech-note-groups.ts`, the editor label (`ui.json`) and description line (`templates.json`) in all 8 locales and `_schema.json` — tests fail on any gap — and the row in `docs/CONTENT-INVENTORY.md` (+ vi). Don't repeat a fact that has its own field (language patch, game version, difficulty, the Video settings upscaler).
|
||||
- New store platform: `src/config/platforms.ts` (URL pattern, `tagName`), optionally a name extractor in `src/utils/url-extractors.ts`.
|
||||
- New upscaler / frame-gen option: the id in `src/config/graphics-settings.ts`, the vendor's list in `src/engine/graphics-vendor.ts`, the editor label (`editor.upscaleQuality.<vendor>` / `editor.frameGenMultiplier.<vendor>`, `ui.json`) and the description label (`description.graphics.upscale|frameGen.<vendor>`, `templates.json`) in all 8 locales and `_schema.json` — `tests/engine/graphics-vendor.test.ts` fails on a gap. A new id only widens the lists (no store bump); a new field does need one.
|
||||
- UI changes follow the accessibility checklist in `ACCESSIBILITY.md` (#for-contributors): keyboard, names via `Field` / `IconButton`, announced errors, tokens only, reduced motion, 24 px targets. Generated text gets `lang` (the output language); pages name themselves with `useDocumentTitle`, which `RouteAnnouncer` reads out. Update ACCESSIBILITY.md (+ `docs/i18n/vi/`) when what it promises changes.
|
||||
- Never commit `note.txt`, `warning.txt` or `__pycache__/`; never put real secrets in files (`.dev.vars` holds Cloudflare's public Turnstile test keys only).
|
||||
- SonarCloud (project `poli0981_youtube-generator`) is CI-based: the `sonarcloud` job in `ci.yml` scans every PR from this repository and every push to `main`, with the coverage from `check`; settings in `sonar-project.properties`; Automatic Analysis is off. Keep it at 0 open issues and the quality gate (Sonar way: A ratings, reviewed hotspots, ≤ 3 % duplication, ≥ 80 % coverage on new code) green — the job fails with the gate. Coverage covers what `coverage.include` in `vitest.config.ts` lists (the logic layers); everything else is in `sonar.coverage.exclusions`, because a file missing from the LCOV report counts as 0 % — a new source folder goes into one list or the other. The version passed to the scanner starts each release's new-code period. Fork and Dependabot PRs skip the scan (no `SONAR_TOKEN`). Check a PR with `https://sonarcloud.io/api/issues/search?componentKeys=poli0981_youtube-generator&pullRequest=<n>&resolved=false` and its gate with `https://sonarcloud.io/api/qualitygates/project_status?projectKey=poli0981_youtube-generator&pullRequest=<n>`. Workflows install with `npm ci --ignore-scripts` and call local binaries (`npm run …`), never `npx` for a package that isn't installed.
|
||||
|
||||
+38
-4
@@ -6,6 +6,28 @@ Thanks for taking the time to contribute. Read this once before opening your fir
|
||||
|
||||
Participation is governed by the [Code of Conduct](./CODE_OF_CONDUCT.md). By contributing, you agree to its terms.
|
||||
|
||||
## Maintenance mode
|
||||
|
||||
Since 1.6.0 (November 2026) YTDescGen is in **maintenance mode**. It is feature-complete and stays maintained, but it doesn't grow new features. These changes are still accepted:
|
||||
|
||||
1. **Dependency updates** on a regular schedule (weekly, grouped by Dependabot after a 7-day cooldown).
|
||||
2. **Security fixes**, as soon as possible: a dependency with a high or critical CVE, or a serious security issue in a runtime such as Node.js.
|
||||
3. **Major upgrades** of a language, runtime or framework, for example Node 24 → 26 or TypeScript 6 → 7.
|
||||
4. **Issues and pull requests** that:
|
||||
- add or remove an option in one of the app's lists when people really need it — a store, a social or donate platform, a genre, a video type, a content warning or tech note, a GPU, an upscaler or frame-generation mode (open an [option request](#option-requests) first);
|
||||
- fix a bug, a broken UI/UX or an accessibility barrier.
|
||||
5. **Language fixes**: wording that doesn't fit a culture or region, and spelling mistakes that could mislead (see [i18n Contributions](#i18n-contributions)).
|
||||
6. **Cloudflare / Worker** changes when the platform changes significantly.
|
||||
7. **Website incidents** such as DDoS or bot spam.
|
||||
|
||||
Anything else is out of scope, new features in particular, unless the maintainer judges one genuinely necessary.
|
||||
|
||||
- The [maintenance triage workflow](.github/workflows/maintenance-triage.yml) closes feature issues and `feat:` pull requests from outside contributors automatically — a `feat(options)`, `feat(a11y)` or `feat(i18n)` pull request stays open. It also closes anything the maintainer labels `out-of-scope`.
|
||||
- Feature ideas are welcome in [Discussions → Ideas](https://github.com/poli0981/youtube-generator/discussions/categories/ideas), with no commitment.
|
||||
- If your issue or pull request was closed by mistake, reply to it and the maintainer will take another look.
|
||||
|
||||
Releases ship only when one of these changes needs one, for example a security fix for the desktop and Android apps. The website keeps deploying from `main`.
|
||||
|
||||
## Getting Started
|
||||
|
||||
1. Read the [Development Guide](./docs/DEVELOPMENT.md) — also available in [Vietnamese](./docs/i18n/vi/DEVELOPMENT.md).
|
||||
@@ -32,15 +54,25 @@ Participation is governed by the [Code of Conduct](./CODE_OF_CONDUCT.md). By con
|
||||
Use the templates in `.github/ISSUE_TEMPLATE/`:
|
||||
|
||||
- **Bug report** — only if you can reproduce on the latest release.
|
||||
- **Feature request** — only with a concrete use case, not abstract requests.
|
||||
- **Option request** — add or remove an option in one of the app's lists; see [Option requests](#option-requests).
|
||||
- **Translation or wording fix** — wording that doesn't fit a culture or region, or a spelling mistake that could mislead, in any of the eight languages.
|
||||
- **Accessibility barrier** — anything that gets in the way with a keyboard, a screen reader, zoom, high contrast, voice control or touch. No reproduction on the latest release needed, and you don't need to know the cause. See [ACCESSIBILITY.md](./ACCESSIBILITY.md#reporting-a-barrier).
|
||||
|
||||
There is no feature request form any more: YTDescGen is in [maintenance mode](#maintenance-mode). Share ideas in [Discussions → Ideas](https://github.com/poli0981/youtube-generator/discussions/categories/ideas).
|
||||
|
||||
### Option requests
|
||||
|
||||
The one kind of addition maintenance mode still takes: an option in a list the app already has, when people really need it — a store (store links), a social or donate platform, a genre, a video type, a content warning or tech note, a GPU in the rig catalog, an upscaler or frame-generation mode. Removing one that no longer makes sense works the same way.
|
||||
|
||||
Open an **Option request** issue first: the option's name as it should appear, which list, and who needs it and why (a link to the store page, the vendor's announcement or a video that needed it helps). Once it's agreed, a pull request titled `feat(options): …` is welcome. [ARCHITECTURE.md → Extensibility Points](./docs/ARCHITECTURE.md) and CLAUDE.md's "Important Notes" say which files each kind of option touches, and the checks fail until all eight locales have its strings.
|
||||
|
||||
### Pull Requests
|
||||
|
||||
- Branch from `main` (`feat/…`, `fix/…`, `docs/…`) and open the PR against `main`. Every merge to `main` deploys the web app, so `main` stays releasable.
|
||||
- Commit format and **PR title**: `type(scope): message` — e.g. `feat(engine): add Spanish template support`. Types: `feat`, `fix`, `refactor`, `docs`, `test`, `ci`, `chore`. CI checks the PR title.
|
||||
- Required checks: `check`, `dependency-review`, `workflow-lint`, `reuse`, `pr-title`. When `src-tauri/` changes, the Rust workflow's `lint-and-test` and `cargo-deny` run too, and GitHub's CodeQL code scanning runs on every PR. SonarCloud analyses PRs opened from this repository — its quality gate wants A ratings, reviewed security hotspots, at most 3 % duplication and at least 80 % test coverage on new code in the layers Vitest measures (PRs from forks get no secrets and skip it; the maintainer's merge runs it on `main`). JetBrains Qodana does the same for TypeScript and for the Rust shell, and fails on any problem it finds. Commits on `main` are signed.
|
||||
- PR titles start with a lower-case letter after the colon (`feat(editor): add …`, not `feat(editor): Add …`).
|
||||
- In [maintenance mode](#maintenance-mode) a `feat` pull request from an outside contributor is closed automatically, unless its scope is `options`, `a11y` or `i18n`. A fix is a `fix`.
|
||||
- One logical change per PR. Don't bundle unrelated refactors.
|
||||
- All locale files must stay in lock-step — see the i18n section below.
|
||||
- AI-assisted contributions are welcome but **must be disclosed** in the PR description.
|
||||
@@ -74,15 +106,17 @@ The following are closed without review and may result in a contributor ban —
|
||||
|
||||
## What We Want
|
||||
|
||||
Within [maintenance mode](#maintenance-mode):
|
||||
|
||||
- Bug fixes with a reproduction case and a regression test.
|
||||
- Locale corrections from native speakers.
|
||||
- New content-warning or tech-note IDs with all 8 translations and a clear rationale (especially horror-genre vocabulary) — the checks fail until every locale has its label and description line.
|
||||
- New video types or genres that fit the gameplay no-commentary use case.
|
||||
- Accessibility and mobile-responsive improvements.
|
||||
- An option people really need, agreed in an [option request](#option-requests) first — for example a content-warning or tech-note ID with all 8 translations and a clear rationale (especially horror-genre vocabulary), a store, a genre or a video type that fits the gameplay no-commentary use case.
|
||||
- Accessibility and mobile-responsive fixes.
|
||||
- Performance fixes with a `before/after` measurement.
|
||||
|
||||
## What We Don't Want
|
||||
|
||||
- New features, unless the maintainer judges one genuinely necessary — share the idea in [Discussions → Ideas](https://github.com/poli0981/youtube-generator/discussions/categories/ideas) instead.
|
||||
- Cosmetic refactors with no behavior change.
|
||||
- Adding new runtime dependencies without first opening an issue to discuss the tradeoff.
|
||||
- Renaming files without coordinating with open PRs.
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
YTDescGen is a personal project built by a single maintainer (`@poli0981`) for use with the [`@SkullMute`](https://www.youtube.com/@SkullMute) YouTube channel and shared publicly as open source. It is **not a commercial product** and there is no support obligation.
|
||||
|
||||
Code, documentation, locale translations, and design decisions in this repository were **co-authored with the assistance of Anthropic's Claude Code (Claude Opus models; v1.0.0 through v1.5.1 with Claude Opus 5.5, v1.5.2 with Claude Fable 5.2)**. All commits, releases, and architectural decisions are reviewed and approved by the maintainer before merging.
|
||||
Code, documentation, locale translations, and design decisions in this repository were **co-authored with the assistance of Anthropic's Claude Code (Claude Opus models; v1.0.0 through v1.5.1 and v1.6.0 with Claude Opus 5.5, v1.5.2 with Claude Fable 5.2)**. All commits, releases, and architectural decisions are reviewed and approved by the maintainer before merging.
|
||||
|
||||
This disclosure applies to:
|
||||
|
||||
|
||||
+10
-1
@@ -1,5 +1,7 @@
|
||||
# Maintainers
|
||||
|
||||
Since 1.6.0 the project is in **maintenance mode**: no new features, only the changes listed in [CONTRIBUTING.md → Maintenance mode](./CONTRIBUTING.md#maintenance-mode).
|
||||
|
||||
## Active Maintainers
|
||||
|
||||
### `@poli0981`
|
||||
@@ -12,12 +14,19 @@
|
||||
|
||||
## Maintainer Responsibilities
|
||||
|
||||
- Triage incoming issues and PRs.
|
||||
- Triage incoming issues and PRs, keeping them within the maintenance scope: the [triage workflow](./.github/workflows/maintenance-triage.yml) closes feature requests from outside contributors, and anything labelled `out-of-scope`, with an explanation.
|
||||
- Run the release process: `CHANGELOG.md` entry, version bump, build artifacts, signed tag.
|
||||
- Enforce the [Code of Conduct](./CODE_OF_CONDUCT.md).
|
||||
- Review and approve locale translation contributions.
|
||||
- Coordinate security advisory disclosure per [SECURITY.md](./SECURITY.md).
|
||||
|
||||
## Where to Reach Us
|
||||
|
||||
- Bug reports, translation fixes and option requests: [GitHub Issues](https://github.com/poli0981/youtube-generator/issues)
|
||||
- Feature ideas, with no commitment while in maintenance mode: [Discussions → Ideas](https://github.com/poli0981/youtube-generator/discussions/categories/ideas)
|
||||
- Accessibility barriers: the [Accessibility barrier](https://github.com/poli0981/youtube-generator/issues/new?template=accessibility.yml) form — see [ACCESSIBILITY.md](./ACCESSIBILITY.md)
|
||||
- Vulnerabilities: privately, as [SECURITY.md](./SECURITY.md) describes
|
||||
|
||||
## Becoming a Maintainer
|
||||
|
||||
There is currently no formal pathway. The project has been solo since inception. If you'd like to help maintain a specific area — most realistically, native-speaker review for one of the AI-translated locales (JA / ES / KO / ZH / PT-BR / ID) — open an issue describing what you'd like to take on.
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
|
||||
Generate YouTube titles, descriptions and tags in eight languages. Save your channel as a profile and each game as a preset, and every new video is a few clicks.
|
||||
|
||||
[](#project-status)
|
||||
[](https://github.com/poli0981/youtube-generator/actions/workflows/ci.yml)
|
||||
[](https://github.com/poli0981/youtube-generator/actions/workflows/qodana.yml)
|
||||
[](https://sonarcloud.io/summary/new_code?id=poli0981_youtube-generator)
|
||||
[](./LICENSE)
|
||||
[](./docs/DEVELOPMENT.md)
|
||||
[](https://github.com/poli0981/youtube-generator/releases)
|
||||
@@ -23,6 +27,18 @@ It doesn't talk to the YouTube API and has no account. Your work — profiles, p
|
||||
|
||||
Built for the gameplay no-commentary niche — especially horror / scary games — by someone running the [@SkullMute](https://www.youtube.com/@SkullMute) channel who got tired of pasting the same boilerplate into every video. Released under Apache 2.0 in case it's useful to anyone else.
|
||||
|
||||
## Project status
|
||||
|
||||
**Maintenance mode** since 1.6.0 (November 2026). YTDescGen is feature-complete, and it stays maintained:
|
||||
|
||||
- dependency updates on a regular schedule, and fast fixes for high or critical CVEs and serious runtime security issues;
|
||||
- major language, runtime and framework upgrades (for example Node 24 → 26, TypeScript 6 → 7);
|
||||
- bug, UI/UX and accessibility fixes, and adding or removing an option in one of the app's lists — a store, platform, genre, video type, content warning, GPU or upscaler mode — when people really need it;
|
||||
- translation fixes: wording that doesn't fit a culture or region, and spelling mistakes that could mislead;
|
||||
- changes the Cloudflare or Worker platform forces, and website incidents such as DDoS or bot spam.
|
||||
|
||||
New features are not planned, except the rare one that is genuinely necessary. Feature issues and pull requests outside this list are closed automatically. The full policy is in [CONTRIBUTING.md](./CONTRIBUTING.md#maintenance-mode).
|
||||
|
||||
## Features
|
||||
|
||||
- **20 video types** — Full Gameplay, Part, Boss Fight, Boss No-Hit, Ending, Speedrun, 100%, DLC, NG+, Challenge, Side Quest, Secret, Comparison, Guide, Mods, Collectibles, Livestream, Gacha Quest, Demo, Demo Part.
|
||||
@@ -104,7 +120,7 @@ Architecture overview: [`docs/ARCHITECTURE.md`](./docs/ARCHITECTURE.md).
|
||||
| [Architecture](./docs/ARCHITECTURE.md) | Layer model, data flow, engine design. |
|
||||
| [Features](./docs/FEATURES.md) | Full feature matrix. |
|
||||
| [Content Inventory](./docs/CONTENT-INVENTORY.md) | Every video type, genre, content warning and tech note the editor surfaces. _(Also: [Vietnamese](./docs/i18n/vi/CONTENT-INVENTORY.md).)_ |
|
||||
| [Roadmap](./docs/ROADMAP.md) | What shipped and what's next. |
|
||||
| [Roadmap](./docs/ROADMAP.md) | What shipped, and what maintenance mode still covers. |
|
||||
| [Tech Spec](./docs/TECH-SPEC.md) | Implementation details and configs. |
|
||||
| [i18n Guide](./docs/I18N.md) | Adding new locales. |
|
||||
| [Packaging](./docs/PACKAGING.md) | Tauri desktop + Android release builds and signing. |
|
||||
@@ -121,7 +137,7 @@ Architecture overview: [`docs/ARCHITECTURE.md`](./docs/ARCHITECTURE.md).
|
||||
|
||||
## Contributing
|
||||
|
||||
PRs welcome — read [CONTRIBUTING.md](./CONTRIBUTING.md) first. Native-speaker corrections to the AI-translated locales (JA / ES / KO / ZH / PT-BR / ID) are especially appreciated.
|
||||
YTDescGen is in [maintenance mode](#project-status): bug, accessibility and translation fixes and agreed option requests are welcome — read [CONTRIBUTING.md](./CONTRIBUTING.md) first. Native-speaker corrections to the AI-translated locales (JA / ES / KO / ZH / PT-BR / ID) are especially appreciated. Feature ideas go to [Discussions → Ideas](https://github.com/poli0981/youtube-generator/discussions/categories/ideas).
|
||||
|
||||
## License
|
||||
|
||||
|
||||
+4
-2
@@ -6,8 +6,10 @@ Only the latest released version of YTDescGen receives security updates, and the
|
||||
|
||||
| Version | Supported |
|
||||
| ------- | --------- |
|
||||
| 1.5.x | ✅ |
|
||||
| < 1.5 | ❌ |
|
||||
| 1.6.x | ✅ |
|
||||
| < 1.6 | ❌ |
|
||||
|
||||
YTDescGen has been in [maintenance mode](./CONTRIBUTING.md#maintenance-mode) since 1.6.0. That doesn't change this policy: security fixes keep shipping, and a dependency with a high or critical CVE is fixed as soon as possible.
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
## YTDescGen — Technical Architecture
|
||||
|
||||
Reflects **v1.5.2**. Implementation details (configs, interfaces, file formats, CI) are in [TECH-SPEC.md](TECH-SPEC.md); desktop and Android builds in [PACKAGING.md](PACKAGING.md); running the web deployment in [HOSTING.md](HOSTING.md).
|
||||
Reflects **v1.6.0**. Implementation details (configs, interfaces, file formats, CI) are in [TECH-SPEC.md](TECH-SPEC.md); desktop and Android builds in [PACKAGING.md](PACKAGING.md); running the web deployment in [HOSTING.md](HOSTING.md).
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Content Inventory
|
||||
|
||||
A static manifest of every video type, game genre, content warning, tech note, store, link field and cross-post platform surfaced in YTDescGen's editor (as of v1.3.0). Maintained manually — when adding a new option to one of the source files below, **add a row here too** in the same PR.
|
||||
A static manifest of every video type, game genre, content warning, tech note, store, link field and cross-post platform surfaced in YTDescGen's editor (as of v1.6.0). Maintained manually — when adding a new option to one of the source files below, **add a row here too** in the same PR.
|
||||
|
||||
This file exists for **transparency** — anyone curious about what the editor can describe (without installing the app or reading the source) can scan it in one minute.
|
||||
|
||||
|
||||
+41
-12
@@ -1,6 +1,6 @@
|
||||
# Complete Feature List
|
||||
|
||||
## YTDescGen — All Features (v1.5.2 + Planned)
|
||||
## YTDescGen — All Features (v1.6.0)
|
||||
|
||||
---
|
||||
|
||||
@@ -165,6 +165,9 @@ video editor. The suggestions are LUTs that come with DaVinci Resolve, named
|
||||
the way its LUT menu shows them; any other name is printed as typed. A pasted
|
||||
file name or path (Explorer's _Copy as path_) is cut down to the LUT's name:
|
||||
`"C:\…\Arri\Arri Alexa LogC to Rec709.dat"` → `Arri Alexa LogC to Rec709`.
|
||||
**Custom** (v1.6.0), the first suggestion (typing "custom" works too), is for
|
||||
a LUT of your own: the line then reads just _LUT applied_ (_Có áp dụng LUT_ in
|
||||
Vietnamese), without a name.
|
||||
|
||||
**GPU catalog (v1.0.0)** — 198 models in 29 groups: NVIDIA GeForce (desktop
|
||||
and laptop), AMD Radeon (including integrated), Intel Arc and integrated,
|
||||
@@ -227,6 +230,29 @@ lowering the resolution to or below the source ends the upscale. 1080p 60fps
|
||||
still has no badge, and the Upscale line stays when the graphics settings are
|
||||
hidden. Saved with the channel profile.
|
||||
|
||||
**Upscaler and frame generation** — Video settings › the vendor picks the
|
||||
options the other fields offer, and the `In-game Setting:` line names each
|
||||
one under its brand (kept in English in every language, as viewers search
|
||||
for it):
|
||||
|
||||
| Vendor | Upscaling | Frame generation |
|
||||
| ------ | --------------------------------------------------------------- | ---------------------------------------------------------------------- |
|
||||
| NVIDIA | DLAA, DLSS Quality / Balanced / Performance / Ultra Performance | x2, x3, x4, **x6**, **Dynamic** (Dynamic Multi Frame Gen), **Custom…** |
|
||||
| AMD | FSR Native AA, Quality / Balanced / Performance / Ultra Perf. | x2, x3 (Fluid Motion Frames), **Custom…** |
|
||||
| Intel | XeSS Native AA, Ultra Quality, Quality … Ultra Performance | x2 (XeFG), **Custom…** |
|
||||
|
||||
New in v1.6.0 (bold): NVIDIA's x6 and Dynamic Multi Frame Generation;
|
||||
**Custom…** for every vendor, which prints what you type (_NVIDIA Smooth
|
||||
Motion_, _Lossless Scaling x3_); and, for NVIDIA, a **DLSS 5 Neural
|
||||
Rendering** switch, printed after the DLSS mode:
|
||||
|
||||
```
|
||||
In-game Setting: Ultra - NVIDIA DLSS Quality + NVIDIA DLSS 5 Neural Rendering + NVIDIA Dynamic Multi Frame Generation with Path Tracing
|
||||
```
|
||||
|
||||
Changing the vendor drops what the new one doesn't offer. These settings
|
||||
belong to the draft and to templates, not to the profile.
|
||||
|
||||
With one output language selected, the Output page shows content warnings,
|
||||
tech notes and playthrough notes bilingually (English · output language)
|
||||
unless the output is English; with several languages selected, each tab —
|
||||
@@ -429,17 +455,17 @@ In **Settings › Backup & restore**:
|
||||
|
||||
`Ctrl` on Windows / Linux / Android, `⌘` on a Mac — both work everywhere.
|
||||
|
||||
| Shortcut | Action |
|
||||
| ---------------------------- | --------------------------------------------------------------- |
|
||||
| `Ctrl/⌘+K` | Command palette |
|
||||
| `Ctrl/⌘+Enter` or `Ctrl/⌘+G` | Generate (switch to Output) |
|
||||
| `Ctrl/⌘+Shift+C` | Copy All — same limits and Strict Mode rules as the Output page |
|
||||
| `Ctrl/⌘+S` | Save the current output to History |
|
||||
| `Ctrl/⌘+B` | Collapse / expand the sidebar |
|
||||
| `Alt+T` | Go to the notifications (while any are on screen) |
|
||||
| Shortcut | Action |
|
||||
| ---------------------------- | ------------------------------------------------------------------------------------------------------------ |
|
||||
| `Ctrl/⌘+K` | Command palette |
|
||||
| `Ctrl/⌘+Enter` or `Ctrl/⌘+G` | Generate (switch to Output) |
|
||||
| `Ctrl/⌘+Shift+C` | Copy All — same limits and Strict Mode rules as the Output page |
|
||||
| `Ctrl/⌘+S` | Save the current output to History |
|
||||
| `Ctrl/⌘+B` | Collapse / expand the sidebar |
|
||||
| `Alt+T` | Go to the notifications (while any are on screen) |
|
||||
| `Ctrl/⌘+/` or `?` | Show keyboard shortcuts (`?` only outside text fields, while Settings › Editor › Single-key shortcuts is on) |
|
||||
| `Ctrl/⌘+=` / `Ctrl/⌘+−` | Zoom in / out — desktop app (v1.5.1) |
|
||||
| `Escape` | Close modal |
|
||||
| `Ctrl/⌘+=` / `Ctrl/⌘+−` | Zoom in / out — desktop app (v1.5.1) |
|
||||
| `Escape` | Close modal |
|
||||
|
||||
## 🔧 Settings
|
||||
|
||||
@@ -573,7 +599,10 @@ documents and ticks one "I agree" checkbox.
|
||||
|
||||
## 🔌 Future Extension Points
|
||||
|
||||
See [ROADMAP.md](./ROADMAP.md) for the post-1.0 backlog.
|
||||
**Frozen: YTDescGen is in maintenance mode** (since v1.6.0) and takes no new
|
||||
features — see [CONTRIBUTING.md → Maintenance mode](../CONTRIBUTING.md#maintenance-mode).
|
||||
The ideas below and the [ROADMAP.md](./ROADMAP.md) backlog stay as a record; one
|
||||
moves only if the maintainer judges it genuinely necessary.
|
||||
|
||||
| Extension | Description | Effort |
|
||||
| -------------------- | ----------------------------------------------------------- | ------ |
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
|
||||
## YTDescGen — Tauri 2 Desktop and Android Apps
|
||||
|
||||
Reflects **v1.5.2**: Windows, macOS (Apple silicon) and Linux desktop apps plus an Android APK, all built from the same Tauri 2 project in `src-tauri/`. The web app is deployed separately — see [HOSTING.md](HOSTING.md).
|
||||
Reflects **v1.6.0**: Windows, macOS (Apple silicon) and Linux desktop apps plus an Android APK, all built from the same Tauri 2 project in `src-tauri/`. The web app is deployed separately — see [HOSTING.md](HOSTING.md).
|
||||
|
||||
---
|
||||
|
||||
@@ -62,7 +62,7 @@ The icons come from the one brand logo: `npx tauri icon assets/brand/logo.svg` r
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-cli/schema.json",
|
||||
"productName": "YTDescGen",
|
||||
"version": "1.5.2",
|
||||
"version": "1.6.0",
|
||||
"identifier": "com.skullmute.ytdescgen",
|
||||
"build": {
|
||||
"beforeBuildCommand": "npm run build",
|
||||
|
||||
+71
-13
@@ -2,10 +2,12 @@
|
||||
|
||||
## YTDescGen — Phased Development Plan
|
||||
|
||||
> **Status (2026-11-10): v1.5.2 is the current release.** Phases 1–4 are the original
|
||||
> plan, kept as a record; notes added beside or under an item say what has
|
||||
> changed since. Every release is listed in [CHANGELOG.md](../CHANGELOG.md).
|
||||
> What's next: Phase 5 and the backlog at the end of this page.
|
||||
> **Status (2026-11-17): maintenance mode, from v1.6.0.** YTDescGen is
|
||||
> feature-complete: it stays maintained but takes no new features — see
|
||||
> [Maintenance mode](#maintenance-mode--from-v160) below. Phases 1–4 are the
|
||||
> original plan, kept as a record; notes added beside or under an item say
|
||||
> what has changed since. Every release is listed in
|
||||
> [CHANGELOG.md](../CHANGELOG.md). Phase 5 and the backlog are frozen.
|
||||
|
||||
---
|
||||
|
||||
@@ -373,10 +375,65 @@ collected, and this week's dependency updates; i18next stays on 26.6 to keep
|
||||
the initial load inside its budget —
|
||||
[CHANGELOG.md](../CHANGELOG.md#v152--2026-11-10).
|
||||
|
||||
## v1.6.0 — Maintenance mode begins ✅ SHIPPED 2026-11-17
|
||||
|
||||
The last feature release: DLSS 5 Neural Rendering, NVIDIA's x6 and Dynamic
|
||||
Multi Frame Generation and a Custom frame generation for every vendor in
|
||||
Video settings, and a Custom LUT that prints just "LUT applied". JetBrains
|
||||
Qodana joins SonarCloud, and the project enters
|
||||
[maintenance mode](#maintenance-mode--from-v160) —
|
||||
[CHANGELOG.md](../CHANGELOG.md#v160--2026-11-17).
|
||||
|
||||
---
|
||||
|
||||
## Maintenance mode — from v1.6.0
|
||||
|
||||
**Status**: ongoing since v1.6.0 (November 2026).
|
||||
|
||||
YTDescGen is feature-complete. From 1.6.0 on it is maintained, not extended:
|
||||
no new features unless one is judged genuinely necessary. The accepted
|
||||
changes, and how out-of-scope issues and pull requests are closed, are in
|
||||
[CONTRIBUTING.md → Maintenance mode](../CONTRIBUTING.md#maintenance-mode):
|
||||
|
||||
1. Dependency updates on a regular schedule.
|
||||
2. Security fixes: a dependency with a high or critical CVE, a serious runtime
|
||||
issue.
|
||||
3. Major language, runtime and framework upgrades (Node 24 → 26, TypeScript
|
||||
6 → 7).
|
||||
4. Bug, UI/UX and accessibility fixes, and adding or removing an option in one
|
||||
of the app's lists when people really need it.
|
||||
5. Translation fixes: wording that doesn't fit a culture or region, misleading
|
||||
spelling mistakes.
|
||||
6. Cloudflare / Worker changes the platform forces.
|
||||
7. Website incidents such as DDoS or bot spam.
|
||||
|
||||
What 1.6.0 set up for it:
|
||||
|
||||
- [x] **Policy**: README → Project status, CONTRIBUTING → Maintenance mode,
|
||||
SECURITY, MAINTAINERS, CLAUDE.md.
|
||||
- [x] **Issue forms**: the feature request form is gone; an Option request
|
||||
and a Translation or wording fix form joined Bug report and
|
||||
Accessibility barrier; a Scope checklist in the pull request template.
|
||||
- [x] **Auto-close**: `maintenance-triage.yml` closes, with a bilingual
|
||||
comment and the `out-of-scope` label, feature issues and `feat:` pull
|
||||
requests from outside contributors (`feat(options)`, `feat(a11y)` and
|
||||
`feat(i18n)` stay open), and anything the maintainer labels
|
||||
`out-of-scope`.
|
||||
- [x] **Qodana**: Qodana for JS and Qodana for Rust (Early Access) on every
|
||||
push and pull request, reported to Qodana Cloud, with a gate of zero
|
||||
problems.
|
||||
|
||||
Known maintenance already queued: the GitHub Pages moving notice comes down
|
||||
on 2026-11-29 (issue #177); i18next 27 and Tauri 3 arrive as planned major
|
||||
upgrades when they are ready.
|
||||
|
||||
---
|
||||
|
||||
## Phase 5 — Extensions & Ecosystem (Priority: P2-P3)
|
||||
|
||||
**Frozen while YTDescGen is in maintenance mode.** An item moves only if it
|
||||
falls under the [maintenance policy](../CONTRIBUTING.md#maintenance-mode).
|
||||
|
||||
**Goal**: IDE extension, CLI, community features.
|
||||
**Estimated**: Ongoing
|
||||
|
||||
@@ -423,7 +480,8 @@ the initial load inside its budget —
|
||||
|
||||
## Backlog (after v1.0.0)
|
||||
|
||||
Ideas carried over from the v1.0.0 planning — not scheduled.
|
||||
Ideas carried over from the v1.0.0 planning — not scheduled, and frozen while
|
||||
YTDescGen is in maintenance mode.
|
||||
|
||||
```
|
||||
- [ ] Auto-fill game info from Steam through the Worker — needs rate limiting
|
||||
@@ -441,13 +499,13 @@ Ideas carried over from the v1.0.0 planning — not scheduled.
|
||||
|
||||
## Timeline Summary
|
||||
|
||||
| Phase | Scope | Days | Cumulative |
|
||||
| ------- | ------------------ | ------- | ---------- |
|
||||
| Phase 1 | MVP Core | 3-4 | 3-4 days |
|
||||
| Phase 2 | Profiles & Presets | 2-3 | 5-7 days |
|
||||
| Phase 3 | Polish & Advanced | 2-3 | 7-10 days |
|
||||
| Phase 4 | Desktop App | 2-3 | 9-13 days |
|
||||
| Phase 5 | Extensions | Ongoing | — |
|
||||
| Phase | Scope | Days | Cumulative |
|
||||
| ------- | ------------------ | ------ | ---------- |
|
||||
| Phase 1 | MVP Core | 3-4 | 3-4 days |
|
||||
| Phase 2 | Profiles & Presets | 2-3 | 5-7 days |
|
||||
| Phase 3 | Polish & Advanced | 2-3 | 7-10 days |
|
||||
| Phase 4 | Desktop App | 2-3 | 9-13 days |
|
||||
| Phase 5 | Extensions | Frozen | — |
|
||||
|
||||
**MVP usable after Phase 1** (~3-4 days). Full-featured after Phase 3 (~7-10 days).
|
||||
**v1.0.0 shipped on 2026-09-30; the current release is v1.5.2 (2026-11-10).**
|
||||
**v1.0.0 shipped on 2026-09-30; the current release is v1.6.0 (2026-11-17), the first in maintenance mode.**
|
||||
+11
-8
@@ -2,7 +2,7 @@
|
||||
|
||||
## YTDescGen — Implementation Details
|
||||
|
||||
Reflects **v1.5.2**. The module map and data flow are in [ARCHITECTURE.md](ARCHITECTURE.md), the desktop and Android builds in [PACKAGING.md](PACKAGING.md), and running the web deployment (Cloudflare Worker, Turnstile, secrets, rollback) in [HOSTING.md](HOSTING.md).
|
||||
Reflects **v1.6.0**. The module map and data flow are in [ARCHITECTURE.md](ARCHITECTURE.md), the desktop and Android builds in [PACKAGING.md](PACKAGING.md), and running the web deployment (Cloudflare Worker, Turnstile, secrets, rollback) in [HOSTING.md](HOSTING.md).
|
||||
|
||||
---
|
||||
|
||||
@@ -13,7 +13,7 @@ Reflects **v1.5.2**. The module map and data flow are in [ARCHITECTURE.md](ARCHI
|
||||
```json
|
||||
{
|
||||
"name": "yt-desc-gen",
|
||||
"version": "1.5.2",
|
||||
"version": "1.6.0",
|
||||
"private": true,
|
||||
"license": "Apache-2.0",
|
||||
"type": "module",
|
||||
@@ -347,8 +347,9 @@ export interface GeneratorInput {
|
||||
// liveUrl, scheduledTime, gachaQuestType, chapterName, questName, characterName,
|
||||
// anniversaryYear, gachaVersion.
|
||||
// Video settings: resolution, upscaledFrom (v1.5.0), fps, graphicsPreset (+ graphicsPresetCustom),
|
||||
// skipGraphicsSettings, rayTracingModes, frameGenVendor, frameGenMultiplier,
|
||||
// upscaleQuality, artStyle, videoStyleEra, versionInfo.
|
||||
// skipGraphicsSettings, rayTracingModes, frameGenVendor, frameGenMultiplier
|
||||
// (+ frameGenCustom, v1.6.0), upscaleQuality, dlssNeuralRendering (v1.6.0),
|
||||
// artStyle, videoStyleEra, versionInfo.
|
||||
// Content: timestamps, playlistLink, contactEmail, adEmail, gameKeyEmail,
|
||||
// copyrightEmail, musicAttribution, sponsorName, sponsorPlatform, pubDevName,
|
||||
// thirdPartyAdText,
|
||||
@@ -420,7 +421,7 @@ export interface TitleFormatConfig {
|
||||
|
||||
**Empty channel name** (`channel-phrase.ts`, used by the description, pinned comment and playlist builders): templates render with `CHANNEL_SLOT` (`@@CHANNEL@@`) in place of an empty channel name. `withoutEmptyChannel(text, language)` then removes the words that go with the channel name in that language ("trên kênh", "による", "en", "no", "di", …) and the English "on" (for English, and for locales that still carry English sentences for newer video types), replaces any slot left over with a neutral fallback ("this channel", "kênh", …) and tidies the spacing before punctuation. "…of Hades on ." no longer happens in any of the eight languages.
|
||||
|
||||
**Rig block** (`rig-block.ts`): `buildRigLines(rig, t)` returns `Label: value` lines, shared by the description and the social captions. Labels come from `description.rigLabels.<field>` in the output language, the order is `RIG_FIELDS` (CPU, GPU, RAM, motherboard, storage, OS, monitor, capture, controller, video editor, LUT), and values go through `formatRigValue` (`gpu:nvidia-rtx-5080` → "NVIDIA GeForce RTX 5080"; a text field's `clean` — `cleanCpuName`, and since v1.4.0 `cleanLutName`, which cuts a pasted path or `.cube` / `.dat` file name down to the LUT's name — runs there as well as when the editor field loses focus). Keys that are no longer rig fields are still printed, after the known ones.
|
||||
**Rig block** (`rig-block.ts`): `buildRigLines(rig, t)` returns `Label: value` lines, shared by the description and the social captions. Labels come from `description.rigLabels.<field>` in the output language, the order is `RIG_FIELDS` (CPU, GPU, RAM, motherboard, storage, OS, monitor, capture, controller, video editor, LUT), and values go through `formatRigValue` (`gpu:nvidia-rtx-5080` → "NVIDIA GeForce RTX 5080"; a text field's `clean` — `cleanCpuName`, and since v1.4.0 `cleanLutName`, which cuts a pasted path or `.cube` / `.dat` file name down to the LUT's name — runs there as well as when the editor field loses focus). A field with a `customNoteKey` whose value is "Custom" (any case) prints that templates key as its whole line instead — since v1.6.0 the LUT's "LUT applied" (`description.rigNotes.lut_custom`), for a LUT of one's own. Keys that are no longer rig fields are still printed, after the known ones.
|
||||
|
||||
**Chapters** (`timeline-parser.ts`):
|
||||
|
||||
@@ -474,7 +475,7 @@ interface EditorActions {
|
||||
}
|
||||
|
||||
/** Bump together with a new step in migrateEditorState. */
|
||||
export const EDITOR_STORE_VERSION = 21;
|
||||
export const EDITOR_STORE_VERSION = 22;
|
||||
|
||||
export const useEditorStore = create<EditorData & EditorActions>()(
|
||||
persist(
|
||||
@@ -508,7 +509,7 @@ export function migrateEditorState(persistedState: unknown, version: number): Ed
|
||||
|
||||
| Store | localStorage key | Version | Migration (exported) |
|
||||
| ------------------ | ------------------------ | ----------------------------- | ---------------------------------------------------------------------------------------------- |
|
||||
| `useEditorStore` | `ytdescgen-editor-draft` | `EDITOR_STORE_VERSION` = 21 | `migrateEditorState` |
|
||||
| `useEditorStore` | `ytdescgen-editor-draft` | `EDITOR_STORE_VERSION` = 22 | `migrateEditorState` |
|
||||
| `useProfileStore` | `ytdescgen-profiles` | `PROFILE_STORE_VERSION` = 3 | `migrateProfilesState` |
|
||||
| `usePresetStore` | `ytdescgen-presets` | `PRESET_STORE_VERSION` = 2 | `migratePresetsState` |
|
||||
| `useTemplateStore` | `ytdescgen-templates` | `TEMPLATE_STORE_VERSION` = 2 | `migrateTemplatesState` |
|
||||
@@ -525,6 +526,8 @@ v1.5.0: editor v21 back-fills `upscaledFrom` (recorded at a lower resolution, up
|
||||
|
||||
v1.5.1: the settings gain `singleKeyShortcuts` (default `true`: the bare `?` opens the shortcut list) without a version bump, like `hideScrollbars` — `healSettings` back-fills it and turns anything but a boolean into `true`.
|
||||
|
||||
v1.6.0: editor v22 back-fills `frameGenCustom` (the frame generation typed for the new `"custom"` multiplier) with `""` and `dlssNeuralRendering` (NVIDIA DLSS 5 Neural Rendering) with `false`, coercing values of the wrong type. The multiplier list only widens (`x6` and `dynamic` for NVIDIA, `custom` for every vendor), and the backup whitelist checks it against `FRAMEGEN_MULTIPLIERS`. `normalizeEditorPatch` and the backup import turn `dlssNeuralRendering` off for any vendor but NVIDIA (`coerceDlssNeuralRendering`). Neither field is a profile or preset field, like the rest of the frame-gen settings. The LUT's "Custom" needs no migration: it is a rig value like any LUT name.
|
||||
|
||||
Rules:
|
||||
|
||||
- **localStorage is the only store**, on the web, desktop and Android. The desktop "mirror" file of earlier versions (`storage-adapter.ts`, `saveSettings`, `checkDataFileHealth`) was removed in v1.0.0; it was written next to the data folder and never read back. [PACKAGING.md](PACKAGING.md) covers how the leftover file is recovered.
|
||||
@@ -652,7 +655,7 @@ Then `sonarcloud` (after `check` succeeds):
|
||||
|
||||
## 6. Testing Strategy
|
||||
|
||||
Vitest runs `tests/**/*.test.{ts,tsx}` and `src/**/*.test.{ts,tsx}` in the **node** environment, with `globals: true`: 1131 tests in 54 files at v1.5.2. Directories: `tests/engine`, `store`, `styles` (WCAG AA contrast of the colour tokens), `utils` (backup detect / sanitize / restore, quick entry, validation, the migration page), `worker` (router, rate limits, cookie, Turnstile verdicts, headers, gate language), `build` (legal pages, web-only plugins), `config`, `hooks`, `i18n`, `scripts`. No test renders components: React Testing Library is installed but jsdom is not, so a rendering test would need both jsdom and a `// @vitest-environment jsdom` docblock.
|
||||
Vitest runs `tests/**/*.test.{ts,tsx}` and `src/**/*.test.{ts,tsx}` in the **node** environment, with `globals: true`: 1158 tests in 56 files at v1.6.0. Directories: `tests/engine`, `store`, `styles` (WCAG AA contrast of the colour tokens), `utils` (backup detect / sanitize / restore, quick entry, validation, the migration page), `worker` (router, rate limits, cookie, Turnstile verdicts, headers, gate language), `build` (legal pages, web-only plugins), `config`, `hooks`, `i18n`, `scripts`. No test renders components: React Testing Library is installed but jsdom is not, so a rendering test would need both jsdom and a `// @vitest-environment jsdom` docblock.
|
||||
|
||||
Engine tests build a full `GeneratorInput` and pass a mock translator (`tests/helpers/mock-t.ts`) that reads the real `templates.json` files (en, vi, ja):
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Danh mục Nội dung
|
||||
|
||||
Bản kê khai tĩnh cho mọi loại video, thể loại game, cảnh báo nội dung, ghi chú kỹ thuật, cửa hàng, trường link và nền tảng đăng chéo trong editor của YTDescGen (tính đến v1.3.0). Cập nhật thủ công — khi thêm mục mới vào một trong các file nguồn dưới đây, **thêm dòng tương ứng vào đây** trong cùng PR.
|
||||
Bản kê khai tĩnh cho mọi loại video, thể loại game, cảnh báo nội dung, ghi chú kỹ thuật, cửa hàng, trường link và nền tảng đăng chéo trong editor của YTDescGen (tính đến v1.6.0). Cập nhật thủ công — khi thêm mục mới vào một trong các file nguồn dưới đây, **thêm dòng tương ứng vào đây** trong cùng PR.
|
||||
|
||||
File này tồn tại để **minh bạch** — bất kỳ ai tò mò về việc editor có thể mô tả được gì (mà không cần cài app hay đọc source) đều có thể quét trong một phút.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
YTDescGen là dự án cá nhân do một người duy trì (`@poli0981`) để dùng cho kênh YouTube [`@SkullMute`](https://www.youtube.com/@SkullMute), và chia sẻ công khai dưới dạng mã nguồn mở. Đây **không phải sản phẩm thương mại** và không có nghĩa vụ hỗ trợ.
|
||||
|
||||
Mã nguồn, tài liệu, bản dịch locale, và các quyết định thiết kế trong repo này được **đồng tác giả với sự hỗ trợ của Anthropic's Claude Code (các model Claude Opus; từ bản v1.0.0 đến v1.5.1 dùng Claude Opus 5.5, bản v1.5.2 dùng Claude Fable 5.2)**. Tất cả commit, release, và quyết định kiến trúc được người duy trì xem xét và phê duyệt trước khi merge.
|
||||
Mã nguồn, tài liệu, bản dịch locale, và các quyết định thiết kế trong repo này được **đồng tác giả với sự hỗ trợ của Anthropic's Claude Code (các model Claude Opus; từ bản v1.0.0 đến v1.5.1 và bản v1.6.0 dùng Claude Opus 5.5, bản v1.5.2 dùng Claude Fable 5.2)**. Tất cả commit, release, và quyết định kiến trúc được người duy trì xem xét và phê duyệt trước khi merge.
|
||||
|
||||
Tuyên bố này áp dụng cho:
|
||||
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "yt-desc-gen",
|
||||
"version": "1.5.2",
|
||||
"version": "1.6.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "yt-desc-gen",
|
||||
"version": "1.5.2",
|
||||
"version": "1.6.0",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@fontsource-variable/inter": "^5.3.0",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "yt-desc-gen",
|
||||
"version": "1.5.2",
|
||||
"version": "1.6.0",
|
||||
"private": true,
|
||||
"license": "Apache-2.0",
|
||||
"type": "module",
|
||||
|
||||
Generated
+1
-1
@@ -4914,7 +4914,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "yt-desc-gen"
|
||||
version = "1.5.2"
|
||||
version = "1.6.0"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"tauri",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "yt-desc-gen"
|
||||
version = "1.5.2"
|
||||
version = "1.6.0"
|
||||
description = "YouTube Gameplay Description Generator"
|
||||
authors = ["poli0981"]
|
||||
edition = "2021"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-cli/schema.json",
|
||||
"productName": "YTDescGen",
|
||||
"version": "1.5.2",
|
||||
"version": "1.6.0",
|
||||
"identifier": "com.skullmute.ytdescgen",
|
||||
"build": {
|
||||
"beforeBuildCommand": "npm run build",
|
||||
|
||||
@@ -23,6 +23,7 @@ import {
|
||||
getValidFrameGenMultipliers,
|
||||
coerceUpscaleQuality,
|
||||
coerceFrameGenMultiplier,
|
||||
coerceDlssNeuralRendering,
|
||||
} from "@engine/graphics-vendor";
|
||||
import { upscaleSourcesFor, validUpscaleSource } from "@engine/upscale";
|
||||
import { VIDEO_STYLE_ERA_IDS, type VideoStyleEra } from "@config/video-styles";
|
||||
@@ -101,6 +102,12 @@ export function VideoSettingsForm() {
|
||||
if (coercedQ !== store.upscaleQuality) store.set("upscaleQuality", coercedQ);
|
||||
const coercedM = coerceFrameGenMultiplier(next, store.frameGenMultiplier);
|
||||
if (coercedM !== store.frameGenMultiplier) store.set("frameGenMultiplier", coercedM);
|
||||
// v1.6.0: DLSS 5 Neural Rendering is NVIDIA's; its switch hides for
|
||||
// other vendors, so it turns off rather than linger unseen.
|
||||
const coercedNeural = coerceDlssNeuralRendering(next, store.dlssNeuralRendering);
|
||||
if (coercedNeural !== store.dlssNeuralRendering) {
|
||||
store.set("dlssNeuralRendering", coercedNeural);
|
||||
}
|
||||
}
|
||||
|
||||
// v1.5.0: "Upscaled from" lists only resolutions below the video's own.
|
||||
@@ -211,6 +218,17 @@ export function VideoSettingsForm() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* v1.6.0: "Custom…" frame generation, printed as typed. */}
|
||||
{store.frameGenMultiplier === "custom" && (
|
||||
<Input
|
||||
label={t("editor.frameGenCustom")}
|
||||
maxLength={FIELD_LIMITS.LABEL}
|
||||
placeholder={t("editor.frameGenCustomPlaceholder")}
|
||||
value={store.frameGenCustom}
|
||||
onChange={(e) => store.set("frameGenCustom", e.target.value)}
|
||||
/>
|
||||
)}
|
||||
|
||||
<div className="grid gap-3 sm:grid-cols-2">
|
||||
<Select
|
||||
label={t("editor.upscaleQuality")}
|
||||
@@ -226,6 +244,15 @@ export function VideoSettingsForm() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* v1.6.0: DLSS 5 Neural Rendering — NVIDIA (RTX 50 series) only. */}
|
||||
{store.frameGenVendor === "nvidia" && (
|
||||
<Toggle
|
||||
label={t("editor.dlssNeuralRendering")}
|
||||
checked={store.dlssNeuralRendering}
|
||||
onChange={(v) => store.set("dlssNeuralRendering", v)}
|
||||
/>
|
||||
)}
|
||||
|
||||
<Input
|
||||
label={t("editor.versionInfo")}
|
||||
maxLength={FIELD_LIMITS.LABEL}
|
||||
|
||||
@@ -66,7 +66,11 @@ export interface EditorDefaults {
|
||||
rayTracingModes: RTMode[];
|
||||
frameGenVendor: FrameGenVendor;
|
||||
frameGenMultiplier: FrameGenMultiplier;
|
||||
/** v1.6.0: the frame generation as typed, when the multiplier is `"custom"`. */
|
||||
frameGenCustom: string;
|
||||
upscaleQuality: UpscaleQuality;
|
||||
/** v1.6.0: NVIDIA DLSS 5 Neural Rendering (NVIDIA only). */
|
||||
dlssNeuralRendering: boolean;
|
||||
artStyle: ArtStyle;
|
||||
/** v0.22.0 opt-in. Empty string = no style line in the description. */
|
||||
videoStyleEra: VideoStyleEra;
|
||||
@@ -205,7 +209,9 @@ export const DEFAULTS = {
|
||||
rayTracingModes: [],
|
||||
frameGenVendor: "none",
|
||||
frameGenMultiplier: "none",
|
||||
frameGenCustom: "",
|
||||
upscaleQuality: "none",
|
||||
dlssNeuralRendering: false,
|
||||
artStyle: "none",
|
||||
videoStyleEra: "" satisfies VideoStyleEra,
|
||||
versionInfo: "",
|
||||
|
||||
@@ -60,12 +60,18 @@ export const FRAMEGEN_VENDORS = ["none", "nvidia", "amd", "intel"] as const;
|
||||
export type FrameGenVendor = (typeof FRAMEGEN_VENDORS)[number];
|
||||
|
||||
/**
|
||||
* Frame-generation multiplier — DLSS 4 supports up to x4, FSR 3 up to x3,
|
||||
* Intel XeFG is ramping up. `"none"` means upscaling is in use but frame
|
||||
* generation isn't; useful for builds where DLSS Quality is enabled but
|
||||
* FG was left off.
|
||||
* Frame-generation multiplier — DLSS 4 supports up to x4 and DLSS 4.5 adds
|
||||
* x6 and Dynamic Multi Frame Generation (`"dynamic"`, which picks the
|
||||
* multiplier itself), FSR 3 goes up to x3, Intel XeFG is ramping up.
|
||||
* `"none"` means upscaling is in use but frame generation isn't; useful for
|
||||
* builds where DLSS Quality is enabled but FG was left off.
|
||||
*
|
||||
* v1.6.0: `"custom"` reveals a free-form text field (`frameGenCustom`),
|
||||
* printed as typed — the same escape hatch as the graphics preset's, for
|
||||
* modes the list doesn't name (a driver-level or third-party frame
|
||||
* generator, a newer multiplier).
|
||||
*/
|
||||
export const FRAMEGEN_MULTIPLIERS = ["none", "x2", "x3", "x4", "x6"] as const;
|
||||
export const FRAMEGEN_MULTIPLIERS = ["none", "x2", "x3", "x4", "x6", "dynamic", "custom"] as const;
|
||||
export type FrameGenMultiplier = (typeof FRAMEGEN_MULTIPLIERS)[number];
|
||||
|
||||
/**
|
||||
|
||||
@@ -111,6 +111,21 @@ export interface RigField {
|
||||
readonly clean?: (raw: string) => string;
|
||||
/** Takes both columns of the editor's grid (long values, such as a LUT name). */
|
||||
readonly wide?: boolean;
|
||||
/**
|
||||
* `text` fields (v1.6.0): when the value is "Custom" (any case — the
|
||||
* field's first suggestion), the description prints this templates key
|
||||
* as the whole line instead of "Label: Custom". The LUT's is "LUT
|
||||
* applied", for a LUT of one's own that has no name worth printing.
|
||||
*/
|
||||
readonly customNoteKey?: string;
|
||||
}
|
||||
|
||||
/** The value that selects a field's {@link RigField.customNoteKey} line. */
|
||||
const RIG_CUSTOM_VALUE = "Custom";
|
||||
|
||||
/** True when a rig value is the "Custom" choice (case and spaces ignored). */
|
||||
export function isCustomRigValue(value: string): boolean {
|
||||
return value.trim().toLowerCase() === RIG_CUSTOM_VALUE.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -489,9 +504,11 @@ export function cleanCpuName(raw: string): string {
|
||||
/**
|
||||
* LUTs that come with DaVinci Resolve, named the way its LUT menu shows
|
||||
* them (from Resolve 21's own LUT folder), offered while typing in the
|
||||
* LUT field. Any other LUT's name is accepted as typed.
|
||||
* LUT field. Any other LUT's name is accepted as typed. v1.6.0: "Custom"
|
||||
* comes first — a LUT of one's own, printed as just "LUT applied".
|
||||
*/
|
||||
export const LUT_SUGGESTIONS: readonly string[] = [
|
||||
RIG_CUSTOM_VALUE,
|
||||
"Arri Alexa LogC to Rec709",
|
||||
"Rec709 Kodak 2383 D65",
|
||||
"Rec709 Kodak 2383 D60",
|
||||
@@ -593,6 +610,7 @@ export const RIG_FIELDS: readonly RigField[] = [
|
||||
suggestions: LUT_SUGGESTIONS,
|
||||
clean: cleanLutName,
|
||||
wide: true,
|
||||
customNoteKey: "description.rigNotes.lut_custom",
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -97,6 +97,65 @@ const VENDOR_GFX_BRANDS: Record<"nvidia" | "amd" | "intel", { upscale: string; f
|
||||
intel: { upscale: "Intel XeSS", framegen: "Intel XeFG" },
|
||||
};
|
||||
|
||||
type GfxVendor = keyof typeof VENDOR_GFX_BRANDS;
|
||||
|
||||
/** A translation that exists and isn't blank, else `""`. */
|
||||
function resolvedLabel(t: TranslationFn, key: string): string {
|
||||
const label = t(key);
|
||||
return label && label !== key && label.trim() ? label : "";
|
||||
}
|
||||
|
||||
/**
|
||||
* The upscaling part — v0.11: the vendor-keyed full label first ("NVIDIA
|
||||
* DLAA", "AMD FSR Native AA", "Intel XeSS Ultra Quality"), which embeds the
|
||||
* brand; else the pre-v0.11 flat key with the brand in front, for legacy
|
||||
* locales / unmigrated translations.
|
||||
*/
|
||||
function upscalePart(input: GeneratorInput, vendor: GfxVendor, t: TranslationFn): string {
|
||||
const quality = input.upscaleQuality;
|
||||
if (!quality || quality === "none") return "";
|
||||
const label = resolvedLabel(t, `description.graphics.upscale.${vendor}.${quality}`);
|
||||
if (label) return label;
|
||||
const legacyKey = `description.graphics.upscaleQualityOptions.${quality}`;
|
||||
const legacyLabel = t(legacyKey);
|
||||
return legacyLabel && legacyLabel !== legacyKey
|
||||
? `${VENDOR_GFX_BRANDS[vendor].upscale} ${legacyLabel}`
|
||||
: "";
|
||||
}
|
||||
|
||||
/**
|
||||
* The frame-generation part. The vendor-keyed label embeds the brand AND
|
||||
* the feature name ("NVIDIA Frame Generation x2", "AMD Fluid Motion Frames
|
||||
* x3", "Intel XeFG x2"), with brand + raw multiplier as the fallback for
|
||||
* pre-v0.11 locales. v1.6.0: `"custom"` prints what was typed (like a
|
||||
* custom preset); an empty box prints nothing rather than "custom".
|
||||
*/
|
||||
function frameGenPart(input: GeneratorInput, vendor: GfxVendor, t: TranslationFn): string {
|
||||
const multiplier = input.frameGenMultiplier;
|
||||
if (!multiplier || multiplier === "none") return "";
|
||||
if (multiplier === "custom") return (input.frameGenCustom ?? "").trim();
|
||||
return (
|
||||
resolvedLabel(t, `description.graphics.frameGen.${vendor}.${multiplier}`) ||
|
||||
`${VENDOR_GFX_BRANDS[vendor].framegen} ${multiplier}`
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* The vendor half of the "In-game Setting:" line — e.g. `NVIDIA DLSS
|
||||
* Quality + NVIDIA DLSS 5 Neural Rendering + NVIDIA Multi Frame Generation
|
||||
* x4`. v1.6.0: DLSS 5 Neural Rendering follows the DLSS mode, for NVIDIA
|
||||
* only — a stale flag on another vendor's draft prints nothing.
|
||||
*/
|
||||
function composeVendorModifier(input: GeneratorInput, vendor: GfxVendor, t: TranslationFn): string {
|
||||
const neural =
|
||||
vendor === "nvidia" && input.dlssNeuralRendering
|
||||
? t("description.graphics.dlssNeuralRendering")
|
||||
: "";
|
||||
return [upscalePart(input, vendor, t), neural, frameGenPart(input, vendor, t)]
|
||||
.filter(Boolean)
|
||||
.join(" + ");
|
||||
}
|
||||
|
||||
/**
|
||||
* Compose the value half of the "In-game Setting:" line — e.g.
|
||||
* `Cinematic - NVIDIA Frame Generation x2 with Ray Tracing`.
|
||||
@@ -123,54 +182,11 @@ function composeGraphicsPart(input: GeneratorInput, t: TranslationFn): string {
|
||||
if (resolved && resolved !== key) presetLabel = resolved;
|
||||
}
|
||||
|
||||
// 2. Modifier (upscale + frame-gen). Vendor gates the whole clause —
|
||||
// upscaling/frame-gen quality without a vendor is meaningless.
|
||||
// 2. Modifier (upscale + DLSS 5 + frame-gen). Vendor gates the whole
|
||||
// clause — upscaling/frame-gen quality without a vendor is meaningless.
|
||||
const vendor =
|
||||
input.frameGenVendor && input.frameGenVendor !== "none" ? input.frameGenVendor : null;
|
||||
const upscaleQ =
|
||||
input.upscaleQuality && input.upscaleQuality !== "none" ? input.upscaleQuality : null;
|
||||
const fgMul =
|
||||
input.frameGenMultiplier && input.frameGenMultiplier !== "none"
|
||||
? input.frameGenMultiplier
|
||||
: null;
|
||||
|
||||
let modifier = "";
|
||||
if (vendor) {
|
||||
const brands = VENDOR_GFX_BRANDS[vendor];
|
||||
const parts: string[] = [];
|
||||
if (upscaleQ) {
|
||||
// v0.11: try the vendor-keyed full label first ("NVIDIA DLAA",
|
||||
// "AMD FSR Native AA", "Intel XeSS Ultra Quality"). Fall back to
|
||||
// the pre-v0.11 flat key + brand prefix for legacy locales /
|
||||
// unmigrated translations. The vendor-keyed label embeds the
|
||||
// brand so we don't double-prefix on this path.
|
||||
const newKey = `description.graphics.upscale.${vendor}.${upscaleQ}`;
|
||||
const newLabel = t(newKey);
|
||||
if (newLabel && newLabel !== newKey && newLabel.trim()) {
|
||||
parts.push(newLabel);
|
||||
} else {
|
||||
const legacyKey = `description.graphics.upscaleQualityOptions.${upscaleQ}`;
|
||||
const legacyLabel = t(legacyKey);
|
||||
if (legacyLabel && legacyLabel !== legacyKey) {
|
||||
parts.push(`${brands.upscale} ${legacyLabel}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (fgMul) {
|
||||
// Vendor-keyed full label embeds the brand AND the feature name
|
||||
// ("NVIDIA Frame Generation x2", "AMD Fluid Motion Frames x3",
|
||||
// "Intel XeFG x2"). Fall back to brand + raw multiplier for
|
||||
// pre-v0.11 locales.
|
||||
const newKey = `description.graphics.frameGen.${vendor}.${fgMul}`;
|
||||
const newLabel = t(newKey);
|
||||
if (newLabel && newLabel !== newKey && newLabel.trim()) {
|
||||
parts.push(newLabel);
|
||||
} else {
|
||||
parts.push(`${brands.framegen} ${fgMul}`);
|
||||
}
|
||||
}
|
||||
modifier = parts.join(" + ");
|
||||
}
|
||||
const modifier = vendor ? composeVendorModifier(input, vendor, t) : "";
|
||||
|
||||
// 3. Ray-tracing clause. Each mode runs through i18n; falls back to
|
||||
// the snake_case id if a locale hasn't translated it.
|
||||
|
||||
@@ -6,13 +6,17 @@ import type { FrameGenVendor, FrameGenMultiplier, UpscaleQuality } from "@config
|
||||
* tiers it actually ships:
|
||||
*
|
||||
* - NVIDIA: DLAA (anti-aliasing-only) + 4 quality bins. DLSS 4 supports
|
||||
* multi-frame-gen up to x4.
|
||||
* multi-frame-gen up to x4; DLSS 4.5 adds x6 and Dynamic Multi Frame
|
||||
* Generation (v1.6.0).
|
||||
* - AMD: FSR Native AA + 4 quality bins. FSR 3.1 caps at x3.
|
||||
* - Intel: XeSS Native AA + Ultra Quality + 4 quality bins. Intel XeFG
|
||||
* has only shipped x2.
|
||||
* - none: vendor-agnostic legacy ladder (no DLAA, no Ultra Quality) —
|
||||
* keeps pre-v0.11 presets / templates rendering without coercion loss.
|
||||
*
|
||||
* Every vendor also offers `"custom"` (v1.6.0): the frame generation typed
|
||||
* into `frameGenCustom`, for a mode the list doesn't name.
|
||||
*
|
||||
* Pure functions — used by VideoSettingsForm to filter Select options
|
||||
* and by description-builder / editor-store / template-store to coerce
|
||||
* invalid vendor×quality combos back to `"none"` on rehydrate.
|
||||
@@ -55,16 +59,25 @@ export function getValidUpscaleQualities(vendor: FrameGenVendor): readonly Upsca
|
||||
export function getValidFrameGenMultipliers(vendor: FrameGenVendor): readonly FrameGenMultiplier[] {
|
||||
switch (vendor) {
|
||||
case "nvidia":
|
||||
return ["none", "x2", "x3", "x4"] as const;
|
||||
return ["none", "x2", "x3", "x4", "x6", "dynamic", "custom"] as const;
|
||||
case "amd":
|
||||
return ["none", "x2", "x3"] as const;
|
||||
return ["none", "x2", "x3", "custom"] as const;
|
||||
case "intel":
|
||||
return ["none", "x2"] as const;
|
||||
return ["none", "x2", "custom"] as const;
|
||||
case "none":
|
||||
return ["none"] as const;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* DLSS 5 Neural Rendering (v1.6.0) is NVIDIA's (RTX 50 series): any other
|
||||
* vendor turns it off, the way an invalid quality or multiplier falls back
|
||||
* to `"none"`.
|
||||
*/
|
||||
export function coerceDlssNeuralRendering(vendor: FrameGenVendor, current: boolean): boolean {
|
||||
return vendor === "nvidia" && current;
|
||||
}
|
||||
|
||||
/** Returns `current` if it's valid for the vendor, else `"none"`. */
|
||||
export function coerceUpscaleQuality(
|
||||
vendor: FrameGenVendor,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { RIG_FIELDS, formatRigValue } from "@config/rig-fields";
|
||||
import { RIG_FIELDS, formatRigValue, isCustomRigValue } from "@config/rig-fields";
|
||||
import type { TranslationFn } from "./types";
|
||||
|
||||
/**
|
||||
@@ -9,6 +9,9 @@ import type { TranslationFn } from "./types";
|
||||
* order is {@link RIG_FIELDS}'. Both used to come from the stored object:
|
||||
* every language printed English keys in capitals ("VIDEO EDITOR:"), in
|
||||
* whatever order the fields had first been filled in.
|
||||
*
|
||||
* v1.6.0: a field with a `customNoteKey` set to "Custom" prints that note
|
||||
* as its whole line — the LUT's "LUT applied".
|
||||
*/
|
||||
export function buildRigLines(
|
||||
rig: Partial<Record<string, string>> | undefined,
|
||||
@@ -19,7 +22,9 @@ export function buildRigLines(
|
||||
|
||||
const lines = RIG_FIELDS.flatMap((field) => {
|
||||
const value = formatRigValue(field.id, rig[field.id] ?? "").trim();
|
||||
return value ? [`${t(`description.rigLabels.${field.id}`)}: ${value}`] : [];
|
||||
if (!value) return [];
|
||||
if (field.customNoteKey && isCustomRigValue(value)) return [t(field.customNoteKey)];
|
||||
return [`${t(`description.rigLabels.${field.id}`)}: ${value}`];
|
||||
});
|
||||
|
||||
// Keys that aren't rig fields any more (older versions, hand-edited
|
||||
|
||||
@@ -686,8 +686,12 @@ export interface GeneratorInput {
|
||||
frameGenVendor?: FrameGenVendor;
|
||||
/** Frame-generation multiplier (only meaningful when vendor !== "none"). */
|
||||
frameGenMultiplier?: FrameGenMultiplier;
|
||||
/** v1.6.0: the frame generation as typed, when {@link frameGenMultiplier} is `"custom"`. */
|
||||
frameGenCustom?: string;
|
||||
/** Upscaling quality (DLSS / FSR / XeSS quality preset). */
|
||||
upscaleQuality?: UpscaleQuality;
|
||||
/** v1.6.0: NVIDIA DLSS 5 Neural Rendering — printed only when the vendor is NVIDIA. */
|
||||
dlssNeuralRendering?: boolean;
|
||||
/** High-level art-style descriptor — surfaces a separate line. */
|
||||
artStyle?: ArtStyle;
|
||||
/**
|
||||
|
||||
@@ -52,7 +52,9 @@ export function buildGeneratorInputFromEditor(
|
||||
rayTracingModes: state.rayTracingModes,
|
||||
frameGenVendor: state.frameGenVendor,
|
||||
frameGenMultiplier: state.frameGenMultiplier,
|
||||
frameGenCustom: state.frameGenCustom,
|
||||
upscaleQuality: state.upscaleQuality,
|
||||
dlssNeuralRendering: state.dlssNeuralRendering,
|
||||
artStyle: state.artStyle,
|
||||
videoStyleEra: state.videoStyleEra,
|
||||
versionInfo: state.versionInfo,
|
||||
|
||||
@@ -121,7 +121,10 @@
|
||||
"rayTracing",
|
||||
"frameGenVendor",
|
||||
"frameGenMultiplier",
|
||||
"frameGenCustom",
|
||||
"frameGenCustomPlaceholder",
|
||||
"upscaleQuality",
|
||||
"dlssNeuralRendering",
|
||||
"artStyle",
|
||||
"videoStyle",
|
||||
"videoStyleHelp",
|
||||
@@ -229,10 +232,10 @@
|
||||
],
|
||||
"editor.rtOptions": ["ray_tracing", "full_rt", "path_tracing", "ray_reconstruction"],
|
||||
"editor.frameGenVendorOptions": ["none", "nvidia", "amd", "intel"],
|
||||
"editor.frameGenMultiplierOptions": ["none", "x2", "x3", "x4", "x6"],
|
||||
"editor.frameGenMultiplier.nvidia": ["none", "x2", "x3", "x4"],
|
||||
"editor.frameGenMultiplier.amd": ["none", "x2", "x3"],
|
||||
"editor.frameGenMultiplier.intel": ["none", "x2"],
|
||||
"editor.frameGenMultiplierOptions": ["none", "x2", "x3", "x4", "x6", "dynamic", "custom"],
|
||||
"editor.frameGenMultiplier.nvidia": ["none", "x2", "x3", "x4", "x6", "dynamic", "custom"],
|
||||
"editor.frameGenMultiplier.amd": ["none", "x2", "x3", "custom"],
|
||||
"editor.frameGenMultiplier.intel": ["none", "x2", "custom"],
|
||||
"editor.upscaleQualityOptions": [
|
||||
"none",
|
||||
"native_aa",
|
||||
@@ -1593,7 +1596,8 @@
|
||||
"videoLabel",
|
||||
"inGameSettingLabel",
|
||||
"versionLabel",
|
||||
"upscaleLabel"
|
||||
"upscaleLabel",
|
||||
"dlssNeuralRendering"
|
||||
],
|
||||
"description.graphics.presetOptions": [
|
||||
"low",
|
||||
@@ -1642,7 +1646,7 @@
|
||||
"performance",
|
||||
"ultra_performance"
|
||||
],
|
||||
"description.graphics.frameGen.nvidia": ["none", "x2", "x3", "x4"],
|
||||
"description.graphics.frameGen.nvidia": ["none", "x2", "x3", "x4", "x6", "dynamic"],
|
||||
"description.graphics.frameGen.amd": ["none", "x2", "x3"],
|
||||
"description.graphics.frameGen.intel": ["none", "x2"],
|
||||
"description.graphics.artStyleOptions": [
|
||||
@@ -1725,6 +1729,7 @@
|
||||
"controller",
|
||||
"video_editor",
|
||||
"lut"
|
||||
]
|
||||
],
|
||||
"description.rigNotes": ["lut_custom"]
|
||||
}
|
||||
}
|
||||
@@ -534,7 +534,9 @@
|
||||
"none": "",
|
||||
"x2": "NVIDIA Frame Generation x2",
|
||||
"x3": "NVIDIA Multi Frame Generation x3",
|
||||
"x4": "NVIDIA Multi Frame Generation x4"
|
||||
"x4": "NVIDIA Multi Frame Generation x4",
|
||||
"x6": "NVIDIA Multi Frame Generation x6",
|
||||
"dynamic": "NVIDIA Dynamic Multi Frame Generation"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
@@ -561,7 +563,8 @@
|
||||
"videoLabel": "Video",
|
||||
"inGameSettingLabel": "In-game Setting",
|
||||
"versionLabel": "Version",
|
||||
"upscaleLabel": "Upscale"
|
||||
"upscaleLabel": "Upscale",
|
||||
"dlssNeuralRendering": "NVIDIA DLSS 5 Neural Rendering"
|
||||
},
|
||||
"videoSettings": {
|
||||
"styleLine": "Edited in {{era}} style using {{editor}}",
|
||||
@@ -597,6 +600,9 @@
|
||||
"controller": "Controller",
|
||||
"video_editor": "Video Editor",
|
||||
"lut": "LUT"
|
||||
},
|
||||
"rigNotes": {
|
||||
"lut_custom": "LUT applied"
|
||||
}
|
||||
},
|
||||
"pinnedComment": {
|
||||
|
||||
@@ -207,23 +207,32 @@
|
||||
"x2": "x2",
|
||||
"x3": "x3",
|
||||
"x4": "x4",
|
||||
"x6": "x6"
|
||||
"x6": "x6",
|
||||
"dynamic": "Dynamic",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.nvidia": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Frame Gen)",
|
||||
"x3": "x3 (Multi Frame Gen)",
|
||||
"x4": "x4 (Multi Frame Gen)"
|
||||
"x4": "x4 (Multi Frame Gen)",
|
||||
"x6": "x6 (Multi Frame Gen)",
|
||||
"dynamic": "Dynamic (Multi Frame Gen)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.amd": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Fluid Motion Frames)",
|
||||
"x3": "x3 (Fluid Motion Frames)"
|
||||
"x3": "x3 (Fluid Motion Frames)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.intel": {
|
||||
"none": "None",
|
||||
"x2": "x2 (XeFG)"
|
||||
"x2": "x2 (XeFG)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenCustom": "Custom frame generation",
|
||||
"frameGenCustomPlaceholder": "e.g. NVIDIA Smooth Motion, Lossless Scaling x3",
|
||||
"upscaleQuality": "Upscaling Quality",
|
||||
"upscaleQualityOptions": {
|
||||
"none": "None",
|
||||
@@ -258,6 +267,7 @@
|
||||
"performance": "XeSS Performance",
|
||||
"ultra_performance": "XeSS Ultra Performance"
|
||||
},
|
||||
"dlssNeuralRendering": "DLSS 5 Neural Rendering",
|
||||
"artStyle": "Art Style",
|
||||
"artStyleOptions": {
|
||||
"none": "— Not set —",
|
||||
|
||||
@@ -534,7 +534,9 @@
|
||||
"none": "",
|
||||
"x2": "NVIDIA Frame Generation x2",
|
||||
"x3": "NVIDIA Multi Frame Generation x3",
|
||||
"x4": "NVIDIA Multi Frame Generation x4"
|
||||
"x4": "NVIDIA Multi Frame Generation x4",
|
||||
"x6": "NVIDIA Multi Frame Generation x6",
|
||||
"dynamic": "NVIDIA Dynamic Multi Frame Generation"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
@@ -561,7 +563,8 @@
|
||||
"videoLabel": "Video",
|
||||
"inGameSettingLabel": "In-game Setting",
|
||||
"versionLabel": "Version",
|
||||
"upscaleLabel": "Upscale"
|
||||
"upscaleLabel": "Upscale",
|
||||
"dlssNeuralRendering": "NVIDIA DLSS 5 Neural Rendering"
|
||||
},
|
||||
"videoSettings": {
|
||||
"styleLine": "Editado con estilo {{era}} usando {{editor}}",
|
||||
@@ -597,6 +600,9 @@
|
||||
"controller": "Mando",
|
||||
"video_editor": "Editor de Video",
|
||||
"lut": "LUT"
|
||||
},
|
||||
"rigNotes": {
|
||||
"lut_custom": "LUT aplicada"
|
||||
}
|
||||
},
|
||||
"pinnedComment": {
|
||||
|
||||
@@ -207,23 +207,32 @@
|
||||
"x2": "x2",
|
||||
"x3": "x3",
|
||||
"x4": "x4",
|
||||
"x6": "x6"
|
||||
"x6": "x6",
|
||||
"dynamic": "Dynamic",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.nvidia": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Frame Gen)",
|
||||
"x3": "x3 (Multi Frame Gen)",
|
||||
"x4": "x4 (Multi Frame Gen)"
|
||||
"x4": "x4 (Multi Frame Gen)",
|
||||
"x6": "x6 (Multi Frame Gen)",
|
||||
"dynamic": "Dynamic (Multi Frame Gen)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.amd": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Fluid Motion Frames)",
|
||||
"x3": "x3 (Fluid Motion Frames)"
|
||||
"x3": "x3 (Fluid Motion Frames)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.intel": {
|
||||
"none": "None",
|
||||
"x2": "x2 (XeFG)"
|
||||
"x2": "x2 (XeFG)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenCustom": "Custom frame generation",
|
||||
"frameGenCustomPlaceholder": "e.g. NVIDIA Smooth Motion, Lossless Scaling x3",
|
||||
"upscaleQuality": "Upscaling Quality",
|
||||
"upscaleQualityOptions": {
|
||||
"none": "None",
|
||||
@@ -258,6 +267,7 @@
|
||||
"performance": "XeSS Performance",
|
||||
"ultra_performance": "XeSS Ultra Performance"
|
||||
},
|
||||
"dlssNeuralRendering": "DLSS 5 Neural Rendering",
|
||||
"artStyle": "Art Style",
|
||||
"artStyleOptions": {
|
||||
"none": "— Not set —",
|
||||
|
||||
@@ -534,7 +534,9 @@
|
||||
"none": "",
|
||||
"x2": "NVIDIA Frame Generation x2",
|
||||
"x3": "NVIDIA Multi Frame Generation x3",
|
||||
"x4": "NVIDIA Multi Frame Generation x4"
|
||||
"x4": "NVIDIA Multi Frame Generation x4",
|
||||
"x6": "NVIDIA Multi Frame Generation x6",
|
||||
"dynamic": "NVIDIA Dynamic Multi Frame Generation"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
@@ -561,7 +563,8 @@
|
||||
"videoLabel": "Video",
|
||||
"inGameSettingLabel": "Pengaturan dalam game",
|
||||
"versionLabel": "Versi",
|
||||
"upscaleLabel": "Upscale"
|
||||
"upscaleLabel": "Upscale",
|
||||
"dlssNeuralRendering": "NVIDIA DLSS 5 Neural Rendering"
|
||||
},
|
||||
"videoSettings": {
|
||||
"styleLine": "Diedit dengan gaya {{era}} memakai {{editor}}",
|
||||
@@ -597,6 +600,9 @@
|
||||
"controller": "Kontroler",
|
||||
"video_editor": "Editor Video",
|
||||
"lut": "LUT"
|
||||
},
|
||||
"rigNotes": {
|
||||
"lut_custom": "LUT diterapkan"
|
||||
}
|
||||
},
|
||||
"pinnedComment": {
|
||||
|
||||
@@ -207,23 +207,32 @@
|
||||
"x2": "x2",
|
||||
"x3": "x3",
|
||||
"x4": "x4",
|
||||
"x6": "x6"
|
||||
"x6": "x6",
|
||||
"dynamic": "Dinamis",
|
||||
"custom": "Kustom…"
|
||||
},
|
||||
"frameGenMultiplier.nvidia": {
|
||||
"none": "Tidak ada",
|
||||
"x2": "x2 (Frame Gen)",
|
||||
"x3": "x3 (Multi Frame Gen)",
|
||||
"x4": "x4 (Multi Frame Gen)"
|
||||
"x4": "x4 (Multi Frame Gen)",
|
||||
"x6": "x6 (Multi Frame Gen)",
|
||||
"dynamic": "Dynamic (Multi Frame Gen)",
|
||||
"custom": "Kustom…"
|
||||
},
|
||||
"frameGenMultiplier.amd": {
|
||||
"none": "Tidak ada",
|
||||
"x2": "x2 (Fluid Motion Frames)",
|
||||
"x3": "x3 (Fluid Motion Frames)"
|
||||
"x3": "x3 (Fluid Motion Frames)",
|
||||
"custom": "Kustom…"
|
||||
},
|
||||
"frameGenMultiplier.intel": {
|
||||
"none": "Tidak ada",
|
||||
"x2": "x2 (XeFG)"
|
||||
"x2": "x2 (XeFG)",
|
||||
"custom": "Kustom…"
|
||||
},
|
||||
"frameGenCustom": "Frame Gen kustom",
|
||||
"frameGenCustomPlaceholder": "mis. NVIDIA Smooth Motion, Lossless Scaling x3",
|
||||
"upscaleQuality": "Kualitas Upscaling",
|
||||
"upscaleQualityOptions": {
|
||||
"none": "Tidak ada",
|
||||
@@ -258,6 +267,7 @@
|
||||
"performance": "XeSS Performance",
|
||||
"ultra_performance": "XeSS Ultra Performance"
|
||||
},
|
||||
"dlssNeuralRendering": "DLSS 5 Neural Rendering",
|
||||
"artStyle": "Gaya visual",
|
||||
"artStyleOptions": {
|
||||
"none": "— Tidak diatur —",
|
||||
|
||||
@@ -534,7 +534,9 @@
|
||||
"none": "",
|
||||
"x2": "NVIDIA Frame Generation x2",
|
||||
"x3": "NVIDIA Multi Frame Generation x3",
|
||||
"x4": "NVIDIA Multi Frame Generation x4"
|
||||
"x4": "NVIDIA Multi Frame Generation x4",
|
||||
"x6": "NVIDIA Multi Frame Generation x6",
|
||||
"dynamic": "NVIDIA Dynamic Multi Frame Generation"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
@@ -561,7 +563,8 @@
|
||||
"videoLabel": "Video",
|
||||
"inGameSettingLabel": "In-game Setting",
|
||||
"versionLabel": "Version",
|
||||
"upscaleLabel": "Upscale"
|
||||
"upscaleLabel": "Upscale",
|
||||
"dlssNeuralRendering": "NVIDIA DLSS 5 Neural Rendering"
|
||||
},
|
||||
"videoSettings": {
|
||||
"styleLine": "{{editor}}で{{era}}スタイルに編集",
|
||||
@@ -597,6 +600,9 @@
|
||||
"controller": "コントローラー",
|
||||
"video_editor": "動画編集ソフト",
|
||||
"lut": "LUT"
|
||||
},
|
||||
"rigNotes": {
|
||||
"lut_custom": "LUT適用"
|
||||
}
|
||||
},
|
||||
"pinnedComment": {
|
||||
|
||||
@@ -207,23 +207,32 @@
|
||||
"x2": "x2",
|
||||
"x3": "x3",
|
||||
"x4": "x4",
|
||||
"x6": "x6"
|
||||
"x6": "x6",
|
||||
"dynamic": "Dynamic",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.nvidia": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Frame Gen)",
|
||||
"x3": "x3 (Multi Frame Gen)",
|
||||
"x4": "x4 (Multi Frame Gen)"
|
||||
"x4": "x4 (Multi Frame Gen)",
|
||||
"x6": "x6 (Multi Frame Gen)",
|
||||
"dynamic": "Dynamic (Multi Frame Gen)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.amd": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Fluid Motion Frames)",
|
||||
"x3": "x3 (Fluid Motion Frames)"
|
||||
"x3": "x3 (Fluid Motion Frames)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.intel": {
|
||||
"none": "None",
|
||||
"x2": "x2 (XeFG)"
|
||||
"x2": "x2 (XeFG)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenCustom": "Custom frame generation",
|
||||
"frameGenCustomPlaceholder": "e.g. NVIDIA Smooth Motion, Lossless Scaling x3",
|
||||
"upscaleQuality": "Upscaling Quality",
|
||||
"upscaleQualityOptions": {
|
||||
"none": "None",
|
||||
@@ -258,6 +267,7 @@
|
||||
"performance": "XeSS Performance",
|
||||
"ultra_performance": "XeSS Ultra Performance"
|
||||
},
|
||||
"dlssNeuralRendering": "DLSS 5 Neural Rendering",
|
||||
"artStyle": "Art Style",
|
||||
"artStyleOptions": {
|
||||
"none": "— Not set —",
|
||||
|
||||
@@ -534,7 +534,9 @@
|
||||
"none": "",
|
||||
"x2": "NVIDIA Frame Generation x2",
|
||||
"x3": "NVIDIA Multi Frame Generation x3",
|
||||
"x4": "NVIDIA Multi Frame Generation x4"
|
||||
"x4": "NVIDIA Multi Frame Generation x4",
|
||||
"x6": "NVIDIA Multi Frame Generation x6",
|
||||
"dynamic": "NVIDIA Dynamic Multi Frame Generation"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
@@ -561,7 +563,8 @@
|
||||
"videoLabel": "Video",
|
||||
"inGameSettingLabel": "In-game Setting",
|
||||
"versionLabel": "Version",
|
||||
"upscaleLabel": "Upscale"
|
||||
"upscaleLabel": "Upscale",
|
||||
"dlssNeuralRendering": "NVIDIA DLSS 5 Neural Rendering"
|
||||
},
|
||||
"videoSettings": {
|
||||
"styleLine": "{{editor}}로 {{era}} 스타일 편집",
|
||||
@@ -597,6 +600,9 @@
|
||||
"controller": "컨트롤러",
|
||||
"video_editor": "영상 편집 프로그램",
|
||||
"lut": "LUT"
|
||||
},
|
||||
"rigNotes": {
|
||||
"lut_custom": "LUT 적용"
|
||||
}
|
||||
},
|
||||
"pinnedComment": {
|
||||
|
||||
@@ -207,23 +207,32 @@
|
||||
"x2": "x2",
|
||||
"x3": "x3",
|
||||
"x4": "x4",
|
||||
"x6": "x6"
|
||||
"x6": "x6",
|
||||
"dynamic": "Dynamic",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.nvidia": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Frame Gen)",
|
||||
"x3": "x3 (Multi Frame Gen)",
|
||||
"x4": "x4 (Multi Frame Gen)"
|
||||
"x4": "x4 (Multi Frame Gen)",
|
||||
"x6": "x6 (Multi Frame Gen)",
|
||||
"dynamic": "Dynamic (Multi Frame Gen)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.amd": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Fluid Motion Frames)",
|
||||
"x3": "x3 (Fluid Motion Frames)"
|
||||
"x3": "x3 (Fluid Motion Frames)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.intel": {
|
||||
"none": "None",
|
||||
"x2": "x2 (XeFG)"
|
||||
"x2": "x2 (XeFG)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenCustom": "Custom frame generation",
|
||||
"frameGenCustomPlaceholder": "e.g. NVIDIA Smooth Motion, Lossless Scaling x3",
|
||||
"upscaleQuality": "Upscaling Quality",
|
||||
"upscaleQualityOptions": {
|
||||
"none": "None",
|
||||
@@ -258,6 +267,7 @@
|
||||
"performance": "XeSS Performance",
|
||||
"ultra_performance": "XeSS Ultra Performance"
|
||||
},
|
||||
"dlssNeuralRendering": "DLSS 5 Neural Rendering",
|
||||
"artStyle": "Art Style",
|
||||
"artStyleOptions": {
|
||||
"none": "— Not set —",
|
||||
|
||||
@@ -534,7 +534,9 @@
|
||||
"none": "",
|
||||
"x2": "NVIDIA Frame Generation x2",
|
||||
"x3": "NVIDIA Multi Frame Generation x3",
|
||||
"x4": "NVIDIA Multi Frame Generation x4"
|
||||
"x4": "NVIDIA Multi Frame Generation x4",
|
||||
"x6": "NVIDIA Multi Frame Generation x6",
|
||||
"dynamic": "NVIDIA Dynamic Multi Frame Generation"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
@@ -561,7 +563,8 @@
|
||||
"videoLabel": "Vídeo",
|
||||
"inGameSettingLabel": "Configuração no jogo",
|
||||
"versionLabel": "Versão",
|
||||
"upscaleLabel": "Upscale"
|
||||
"upscaleLabel": "Upscale",
|
||||
"dlssNeuralRendering": "NVIDIA DLSS 5 Neural Rendering"
|
||||
},
|
||||
"videoSettings": {
|
||||
"styleLine": "Editado no estilo {{era}} usando {{editor}}",
|
||||
@@ -597,6 +600,9 @@
|
||||
"controller": "Controle",
|
||||
"video_editor": "Editor de vídeo",
|
||||
"lut": "LUT"
|
||||
},
|
||||
"rigNotes": {
|
||||
"lut_custom": "LUT aplicada"
|
||||
}
|
||||
},
|
||||
"pinnedComment": {
|
||||
|
||||
@@ -207,23 +207,32 @@
|
||||
"x2": "x2",
|
||||
"x3": "x3",
|
||||
"x4": "x4",
|
||||
"x6": "x6"
|
||||
"x6": "x6",
|
||||
"dynamic": "Dinâmico",
|
||||
"custom": "Personalizado…"
|
||||
},
|
||||
"frameGenMultiplier.nvidia": {
|
||||
"none": "Nenhum",
|
||||
"x2": "x2 (Frame Gen)",
|
||||
"x3": "x3 (Multi Frame Gen)",
|
||||
"x4": "x4 (Multi Frame Gen)"
|
||||
"x4": "x4 (Multi Frame Gen)",
|
||||
"x6": "x6 (Multi Frame Gen)",
|
||||
"dynamic": "Dynamic (Multi Frame Gen)",
|
||||
"custom": "Personalizado…"
|
||||
},
|
||||
"frameGenMultiplier.amd": {
|
||||
"none": "Nenhum",
|
||||
"x2": "x2 (Fluid Motion Frames)",
|
||||
"x3": "x3 (Fluid Motion Frames)"
|
||||
"x3": "x3 (Fluid Motion Frames)",
|
||||
"custom": "Personalizado…"
|
||||
},
|
||||
"frameGenMultiplier.intel": {
|
||||
"none": "Nenhum",
|
||||
"x2": "x2 (XeFG)"
|
||||
"x2": "x2 (XeFG)",
|
||||
"custom": "Personalizado…"
|
||||
},
|
||||
"frameGenCustom": "Frame Gen personalizado",
|
||||
"frameGenCustomPlaceholder": "ex.: NVIDIA Smooth Motion, Lossless Scaling x3",
|
||||
"upscaleQuality": "Qualidade do upscaling",
|
||||
"upscaleQualityOptions": {
|
||||
"none": "Nenhuma",
|
||||
@@ -258,6 +267,7 @@
|
||||
"performance": "XeSS Performance",
|
||||
"ultra_performance": "XeSS Ultra Performance"
|
||||
},
|
||||
"dlssNeuralRendering": "DLSS 5 Neural Rendering",
|
||||
"artStyle": "Estilo de arte",
|
||||
"artStyleOptions": {
|
||||
"none": "— Não definido —",
|
||||
|
||||
@@ -534,7 +534,9 @@
|
||||
"none": "",
|
||||
"x2": "NVIDIA Frame Generation x2",
|
||||
"x3": "NVIDIA Multi Frame Generation x3",
|
||||
"x4": "NVIDIA Multi Frame Generation x4"
|
||||
"x4": "NVIDIA Multi Frame Generation x4",
|
||||
"x6": "NVIDIA Multi Frame Generation x6",
|
||||
"dynamic": "NVIDIA Dynamic Multi Frame Generation"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
@@ -561,7 +563,8 @@
|
||||
"videoLabel": "Video",
|
||||
"inGameSettingLabel": "In-game Setting",
|
||||
"versionLabel": "Version",
|
||||
"upscaleLabel": "Upscale"
|
||||
"upscaleLabel": "Upscale",
|
||||
"dlssNeuralRendering": "NVIDIA DLSS 5 Neural Rendering"
|
||||
},
|
||||
"videoSettings": {
|
||||
"styleLine": "Dựng theo phong cách {{era}} bằng {{editor}}",
|
||||
@@ -597,6 +600,9 @@
|
||||
"controller": "Tay cầm",
|
||||
"video_editor": "Phần mềm dựng video",
|
||||
"lut": "LUT"
|
||||
},
|
||||
"rigNotes": {
|
||||
"lut_custom": "Có áp dụng LUT"
|
||||
}
|
||||
},
|
||||
"pinnedComment": {
|
||||
|
||||
@@ -207,23 +207,32 @@
|
||||
"x2": "x2",
|
||||
"x3": "x3",
|
||||
"x4": "x4",
|
||||
"x6": "x6"
|
||||
"x6": "x6",
|
||||
"dynamic": "Dynamic",
|
||||
"custom": "Tùy chỉnh…"
|
||||
},
|
||||
"frameGenMultiplier.nvidia": {
|
||||
"none": "Không",
|
||||
"x2": "x2 (Frame Gen)",
|
||||
"x3": "x3 (Multi Frame Gen)",
|
||||
"x4": "x4 (Multi Frame Gen)"
|
||||
"x4": "x4 (Multi Frame Gen)",
|
||||
"x6": "x6 (Multi Frame Gen)",
|
||||
"dynamic": "Dynamic (Multi Frame Gen)",
|
||||
"custom": "Tùy chỉnh…"
|
||||
},
|
||||
"frameGenMultiplier.amd": {
|
||||
"none": "Không",
|
||||
"x2": "x2 (Fluid Motion Frames)",
|
||||
"x3": "x3 (Fluid Motion Frames)"
|
||||
"x3": "x3 (Fluid Motion Frames)",
|
||||
"custom": "Tùy chỉnh…"
|
||||
},
|
||||
"frameGenMultiplier.intel": {
|
||||
"none": "Không",
|
||||
"x2": "x2 (XeFG)"
|
||||
"x2": "x2 (XeFG)",
|
||||
"custom": "Tùy chỉnh…"
|
||||
},
|
||||
"frameGenCustom": "Frame Gen tuỳ chỉnh",
|
||||
"frameGenCustomPlaceholder": "vd: NVIDIA Smooth Motion, Lossless Scaling x3",
|
||||
"upscaleQuality": "Chất lượng Upscale",
|
||||
"upscaleQualityOptions": {
|
||||
"none": "Không",
|
||||
@@ -258,6 +267,7 @@
|
||||
"performance": "XeSS Performance",
|
||||
"ultra_performance": "XeSS Ultra Performance"
|
||||
},
|
||||
"dlssNeuralRendering": "DLSS 5 Neural Rendering",
|
||||
"artStyle": "Phong cách hình ảnh",
|
||||
"artStyleOptions": {
|
||||
"none": "— Chưa chọn —",
|
||||
|
||||
@@ -534,7 +534,9 @@
|
||||
"none": "",
|
||||
"x2": "NVIDIA Frame Generation x2",
|
||||
"x3": "NVIDIA Multi Frame Generation x3",
|
||||
"x4": "NVIDIA Multi Frame Generation x4"
|
||||
"x4": "NVIDIA Multi Frame Generation x4",
|
||||
"x6": "NVIDIA Multi Frame Generation x6",
|
||||
"dynamic": "NVIDIA Dynamic Multi Frame Generation"
|
||||
},
|
||||
"amd": {
|
||||
"none": "",
|
||||
@@ -561,7 +563,8 @@
|
||||
"videoLabel": "Video",
|
||||
"inGameSettingLabel": "In-game Setting",
|
||||
"versionLabel": "Version",
|
||||
"upscaleLabel": "Upscale"
|
||||
"upscaleLabel": "Upscale",
|
||||
"dlssNeuralRendering": "NVIDIA DLSS 5 Neural Rendering"
|
||||
},
|
||||
"videoSettings": {
|
||||
"styleLine": "使用 {{editor}} 以 {{era}} 风格剪辑",
|
||||
@@ -597,6 +600,9 @@
|
||||
"controller": "手柄",
|
||||
"video_editor": "视频编辑软件",
|
||||
"lut": "LUT"
|
||||
},
|
||||
"rigNotes": {
|
||||
"lut_custom": "已应用 LUT"
|
||||
}
|
||||
},
|
||||
"pinnedComment": {
|
||||
|
||||
@@ -207,23 +207,32 @@
|
||||
"x2": "x2",
|
||||
"x3": "x3",
|
||||
"x4": "x4",
|
||||
"x6": "x6"
|
||||
"x6": "x6",
|
||||
"dynamic": "Dynamic",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.nvidia": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Frame Gen)",
|
||||
"x3": "x3 (Multi Frame Gen)",
|
||||
"x4": "x4 (Multi Frame Gen)"
|
||||
"x4": "x4 (Multi Frame Gen)",
|
||||
"x6": "x6 (Multi Frame Gen)",
|
||||
"dynamic": "Dynamic (Multi Frame Gen)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.amd": {
|
||||
"none": "None",
|
||||
"x2": "x2 (Fluid Motion Frames)",
|
||||
"x3": "x3 (Fluid Motion Frames)"
|
||||
"x3": "x3 (Fluid Motion Frames)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenMultiplier.intel": {
|
||||
"none": "None",
|
||||
"x2": "x2 (XeFG)"
|
||||
"x2": "x2 (XeFG)",
|
||||
"custom": "Custom…"
|
||||
},
|
||||
"frameGenCustom": "Custom frame generation",
|
||||
"frameGenCustomPlaceholder": "e.g. NVIDIA Smooth Motion, Lossless Scaling x3",
|
||||
"upscaleQuality": "Upscaling Quality",
|
||||
"upscaleQualityOptions": {
|
||||
"none": "None",
|
||||
@@ -258,6 +267,7 @@
|
||||
"performance": "XeSS Performance",
|
||||
"ultra_performance": "XeSS Ultra Performance"
|
||||
},
|
||||
"dlssNeuralRendering": "DLSS 5 Neural Rendering",
|
||||
"artStyle": "Art Style",
|
||||
"artStyleOptions": {
|
||||
"none": "— Not set —",
|
||||
|
||||
@@ -27,7 +27,11 @@ import {
|
||||
isUpscaledFrom,
|
||||
} from "@config/graphics-settings";
|
||||
import { isVideoStyleEra, type VideoStyleEra } from "@config/video-styles";
|
||||
import { coerceUpscaleQuality, coerceFrameGenMultiplier } from "@engine/graphics-vendor";
|
||||
import {
|
||||
coerceUpscaleQuality,
|
||||
coerceFrameGenMultiplier,
|
||||
coerceDlssNeuralRendering,
|
||||
} from "@engine/graphics-vendor";
|
||||
import {
|
||||
GACHA_QUEST_TYPES,
|
||||
DEFAULT_GACHA_QUEST_TYPE,
|
||||
@@ -81,7 +85,17 @@ export interface EditorData {
|
||||
rayTracingModes: RTMode[];
|
||||
frameGenVendor: FrameGenVendor;
|
||||
frameGenMultiplier: FrameGenMultiplier;
|
||||
/**
|
||||
* v1.6.0: the frame generation as typed, printed when
|
||||
* {@link frameGenMultiplier} is `"custom"` (e.g. "NVIDIA Smooth Motion").
|
||||
*/
|
||||
frameGenCustom: string;
|
||||
upscaleQuality: UpscaleQuality;
|
||||
/**
|
||||
* v1.6.0: NVIDIA DLSS 5 Neural Rendering, printed after the DLSS mode.
|
||||
* NVIDIA only: another vendor turns it off (`coerceDlssNeuralRendering`).
|
||||
*/
|
||||
dlssNeuralRendering: boolean;
|
||||
artStyle: ArtStyle;
|
||||
/**
|
||||
* Video-style era opt-in (v0.22.0). When non-empty, the description
|
||||
@@ -270,6 +284,10 @@ export function normalizeEditorPatch(
|
||||
if (typeof patch.frameGenMultiplier === "string") {
|
||||
out.frameGenMultiplier = coerceFrameGenMultiplier(vendor, patch.frameGenMultiplier);
|
||||
}
|
||||
// v1.6.0: DLSS 5 Neural Rendering is NVIDIA's.
|
||||
if (typeof patch.dlssNeuralRendering === "boolean") {
|
||||
out.dlssNeuralRendering = coerceDlssNeuralRendering(vendor, patch.dlssNeuralRendering);
|
||||
}
|
||||
}
|
||||
// v0.11: legacy `spoilerWarning` / `matureWarning` booleans on profiles
|
||||
// / presets / templates need to be expressed as checklist items in the
|
||||
@@ -419,7 +437,9 @@ const initialState: EditorData = {
|
||||
rayTracingModes: [...DEFAULTS.editor.rayTracingModes],
|
||||
frameGenVendor: DEFAULTS.editor.frameGenVendor,
|
||||
frameGenMultiplier: DEFAULTS.editor.frameGenMultiplier,
|
||||
frameGenCustom: DEFAULTS.editor.frameGenCustom,
|
||||
upscaleQuality: DEFAULTS.editor.upscaleQuality,
|
||||
dlssNeuralRendering: DEFAULTS.editor.dlssNeuralRendering,
|
||||
artStyle: DEFAULTS.editor.artStyle,
|
||||
videoStyleEra: DEFAULTS.editor.videoStyleEra,
|
||||
versionInfo: DEFAULTS.editor.versionInfo,
|
||||
@@ -493,7 +513,7 @@ export function editorDataOf(state: EditorData): EditorData {
|
||||
* Bump together with a new step in {@link migrateEditorState}; backups
|
||||
* record this number so an import can run the steps a draft still needs.
|
||||
*/
|
||||
export const EDITOR_STORE_VERSION = 21;
|
||||
export const EDITOR_STORE_VERSION = 22;
|
||||
|
||||
export const useEditorStore = create<EditorState>()(
|
||||
persist(
|
||||
@@ -649,6 +669,12 @@ export const useEditorStore = create<EditorState>()(
|
||||
// upscaled to `resolution` in the video editor) joined the
|
||||
// schema. Additive: back-fills to "" (not upscaled); a value
|
||||
// outside UPSCALED_FROM_OPTIONS coerces to "".
|
||||
// v21 → v22: v1.6.0. `frameGenCustom` (the frame generation typed
|
||||
// for the new `"custom"` multiplier) and `dlssNeuralRendering`
|
||||
// (NVIDIA DLSS 5 Neural Rendering) joined the schema.
|
||||
// Additive: back-fill to "" and false; non-string / non-boolean
|
||||
// values coerce to them. The new multipliers (`x6` for NVIDIA,
|
||||
// `dynamic`, `custom`) only widen the lists.
|
||||
version: EDITOR_STORE_VERSION,
|
||||
migrate: (persistedState, version) => migrateEditorState(persistedState, version),
|
||||
partialize: (state) => editorDataOf(state),
|
||||
@@ -928,6 +954,12 @@ export function migrateEditorState(persistedState: unknown, version: number): Ed
|
||||
// v1.5.0 upscaled video. Additive back-fill + defensive coercion.
|
||||
if (!isUpscaledFrom(state.upscaledFrom)) state.upscaledFrom = "";
|
||||
}
|
||||
if (version < 22) {
|
||||
// v1.6.0 custom frame generation + DLSS 5. Additive back-fill +
|
||||
// defensive coercion.
|
||||
if (typeof state.frameGenCustom !== "string") state.frameGenCustom = "";
|
||||
if (typeof state.dlssNeuralRendering !== "boolean") state.dlssNeuralRendering = false;
|
||||
}
|
||||
return { ...initialState, ...state } as EditorData;
|
||||
}
|
||||
|
||||
|
||||
@@ -323,6 +323,123 @@ describe("buildDescription", () => {
|
||||
expect(result).toContain("In-game Setting: High - Intel XeSS Ultra Quality + Intel XeFG x2");
|
||||
});
|
||||
|
||||
describe("v1.6.0: x6, Dynamic and Custom frame generation, DLSS 5 Neural Rendering", () => {
|
||||
const settingLine = (text: string) =>
|
||||
text.split("\n").find((line) => line.startsWith("In-game Setting:"));
|
||||
|
||||
it("names NVIDIA x6 and Dynamic Multi Frame Generation", () => {
|
||||
const t = createMockT("en");
|
||||
const x6 = buildDescription(
|
||||
makeInput({
|
||||
graphicsPreset: "ultra",
|
||||
frameGenVendor: "nvidia",
|
||||
upscaleQuality: "performance",
|
||||
frameGenMultiplier: "x6",
|
||||
}),
|
||||
t,
|
||||
);
|
||||
expect(settingLine(x6)).toBe(
|
||||
"In-game Setting: Ultra - NVIDIA DLSS Performance + NVIDIA Multi Frame Generation x6",
|
||||
);
|
||||
const dynamic = buildDescription(
|
||||
makeInput({
|
||||
graphicsPreset: "ultra",
|
||||
frameGenVendor: "nvidia",
|
||||
frameGenMultiplier: "dynamic",
|
||||
}),
|
||||
t,
|
||||
);
|
||||
expect(settingLine(dynamic)).toBe(
|
||||
"In-game Setting: Ultra - NVIDIA Dynamic Multi Frame Generation",
|
||||
);
|
||||
});
|
||||
|
||||
it("prints a custom frame generation as typed, for any vendor", () => {
|
||||
const result = buildDescription(
|
||||
makeInput({
|
||||
graphicsPreset: "high",
|
||||
frameGenVendor: "amd",
|
||||
upscaleQuality: "quality",
|
||||
frameGenMultiplier: "custom",
|
||||
frameGenCustom: " Lossless Scaling x3 ",
|
||||
}),
|
||||
createMockT("en"),
|
||||
);
|
||||
expect(settingLine(result)).toBe(
|
||||
"In-game Setting: High - AMD FSR Quality + Lossless Scaling x3",
|
||||
);
|
||||
});
|
||||
|
||||
it("prints nothing for an empty custom box — not the word “custom”", () => {
|
||||
const result = buildDescription(
|
||||
makeInput({
|
||||
graphicsPreset: "high",
|
||||
frameGenVendor: "intel",
|
||||
upscaleQuality: "quality",
|
||||
frameGenMultiplier: "custom",
|
||||
frameGenCustom: " ",
|
||||
}),
|
||||
createMockT("en"),
|
||||
);
|
||||
expect(settingLine(result)).toBe("In-game Setting: High - Intel XeSS Quality");
|
||||
});
|
||||
|
||||
it("puts DLSS 5 Neural Rendering after the DLSS mode and before frame generation", () => {
|
||||
const result = buildDescription(
|
||||
makeInput({
|
||||
graphicsPreset: "ultra",
|
||||
frameGenVendor: "nvidia",
|
||||
upscaleQuality: "quality",
|
||||
dlssNeuralRendering: true,
|
||||
frameGenMultiplier: "dynamic",
|
||||
rayTracingModes: ["path_tracing"],
|
||||
}),
|
||||
createMockT("en"),
|
||||
);
|
||||
expect(settingLine(result)).toBe(
|
||||
"In-game Setting: Ultra - NVIDIA DLSS Quality + NVIDIA DLSS 5 Neural Rendering + NVIDIA Dynamic Multi Frame Generation with Path Tracing",
|
||||
);
|
||||
});
|
||||
|
||||
it("prints DLSS 5 Neural Rendering on its own, in every output language", () => {
|
||||
const vi = buildDescription(
|
||||
makeInput({
|
||||
language: "vi",
|
||||
graphicsPreset: "ultra",
|
||||
frameGenVendor: "nvidia",
|
||||
dlssNeuralRendering: true,
|
||||
}),
|
||||
createMockT("vi"),
|
||||
);
|
||||
expect(vi).toContain("NVIDIA DLSS 5 Neural Rendering");
|
||||
});
|
||||
|
||||
it("ignores a DLSS 5 flag left on another vendor's draft", () => {
|
||||
const result = buildDescription(
|
||||
makeInput({
|
||||
graphicsPreset: "ultra",
|
||||
frameGenVendor: "amd",
|
||||
upscaleQuality: "quality",
|
||||
dlssNeuralRendering: true,
|
||||
}),
|
||||
createMockT("en"),
|
||||
);
|
||||
expect(settingLine(result)).toBe("In-game Setting: Ultra - AMD FSR Quality");
|
||||
});
|
||||
|
||||
it("keeps the brand + multiplier fallback for a locale without the label", () => {
|
||||
// A mock translator that knows no frame-gen label at all.
|
||||
const en = createMockT("en");
|
||||
const bare = (key: string, options?: Record<string, string>) =>
|
||||
key.startsWith("description.graphics.frameGen.") ? key : en(key, options);
|
||||
const result = buildDescription(
|
||||
makeInput({ graphicsPreset: "ultra", frameGenVendor: "nvidia", frameGenMultiplier: "x6" }),
|
||||
bare,
|
||||
);
|
||||
expect(settingLine(result)).toBe("In-game Setting: Ultra - NVIDIA Frame Generation x6");
|
||||
});
|
||||
});
|
||||
|
||||
it("emits multiple RT modes joined with commas", () => {
|
||||
const t = createMockT("en");
|
||||
const result = buildDescription(
|
||||
@@ -751,6 +868,28 @@ describe("buildDescription", () => {
|
||||
expect(noLut).not.toContain("LUT:");
|
||||
});
|
||||
|
||||
it("prints a Custom LUT as just “LUT applied”, in the output language (v1.6.0)", () => {
|
||||
const rig = { video_editor: "davinci_resolve_studio|21.2", lut: "Custom" };
|
||||
const lineAfter = (text: string, line: string) => {
|
||||
const lines = text.split("\n");
|
||||
const at = lines.indexOf(line);
|
||||
return at >= 0 ? lines[at + 1] : undefined;
|
||||
};
|
||||
const en = buildDescription(makeInput({ rig }), createMockT("en"));
|
||||
expect(lineAfter(en, "Video Editor: DaVinci Resolve Studio 21.2")).toBe("LUT applied");
|
||||
expect(en).not.toContain("LUT: Custom");
|
||||
|
||||
const vi = buildDescription(makeInput({ language: "vi", rig }), createMockT("vi"));
|
||||
expect(lineAfter(vi, "Phần mềm dựng video: DaVinci Resolve Studio 21.2")).toBe(
|
||||
"Có áp dụng LUT",
|
||||
);
|
||||
|
||||
// Typed rather than picked: any case, stray spaces.
|
||||
const typed = buildDescription(makeInput({ rig: { lut: " cUSTOM " } }), createMockT("ja"));
|
||||
expect(typed).toContain("LUT適用");
|
||||
expect(typed).not.toContain("LUT: ");
|
||||
});
|
||||
|
||||
it("prints rig lines in a fixed order, whatever order they were filled in", () => {
|
||||
const t = createMockT("en");
|
||||
const result = buildDescription(
|
||||
|
||||
@@ -0,0 +1,126 @@
|
||||
import { describe, it, expect } from "vitest";
|
||||
import {
|
||||
coerceDlssNeuralRendering,
|
||||
coerceFrameGenMultiplier,
|
||||
coerceUpscaleQuality,
|
||||
getValidFrameGenMultipliers,
|
||||
getValidUpscaleQualities,
|
||||
} from "@engine/graphics-vendor";
|
||||
import {
|
||||
FRAMEGEN_MULTIPLIERS,
|
||||
FRAMEGEN_VENDORS,
|
||||
UPSCALE_QUALITIES,
|
||||
} from "@config/graphics-settings";
|
||||
import { normalizeEditorPatch } from "@store/editor-store";
|
||||
import { compareCodeUnits } from "@utils/sort";
|
||||
import { schemaKeys } from "../helpers/locale-schema";
|
||||
|
||||
const VENDORS = FRAMEGEN_VENDORS.filter((vendor) => vendor !== "none");
|
||||
const sorted = (list: readonly string[]) => [...list].sort(compareCodeUnits);
|
||||
|
||||
describe("getValidFrameGenMultipliers", () => {
|
||||
it("offers NVIDIA x6, Dynamic and Custom (v1.6.0)", () => {
|
||||
expect(getValidFrameGenMultipliers("nvidia")).toEqual([
|
||||
"none",
|
||||
"x2",
|
||||
"x3",
|
||||
"x4",
|
||||
"x6",
|
||||
"dynamic",
|
||||
"custom",
|
||||
]);
|
||||
});
|
||||
|
||||
it("offers Custom to AMD and Intel too, and only `none` without a vendor", () => {
|
||||
expect(getValidFrameGenMultipliers("amd")).toEqual(["none", "x2", "x3", "custom"]);
|
||||
expect(getValidFrameGenMultipliers("intel")).toEqual(["none", "x2", "custom"]);
|
||||
expect(getValidFrameGenMultipliers("none")).toEqual(["none"]);
|
||||
});
|
||||
|
||||
it("offers only values the stored lists know", () => {
|
||||
for (const vendor of FRAMEGEN_VENDORS) {
|
||||
for (const multiplier of getValidFrameGenMultipliers(vendor)) {
|
||||
expect(FRAMEGEN_MULTIPLIERS).toContain(multiplier);
|
||||
}
|
||||
for (const quality of getValidUpscaleQualities(vendor)) {
|
||||
expect(UPSCALE_QUALITIES).toContain(quality);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
describe("coercion", () => {
|
||||
it("keeps a value the vendor offers and falls back to `none` otherwise", () => {
|
||||
expect(coerceFrameGenMultiplier("nvidia", "dynamic")).toBe("dynamic");
|
||||
expect(coerceFrameGenMultiplier("amd", "dynamic")).toBe("none");
|
||||
expect(coerceFrameGenMultiplier("amd", "custom")).toBe("custom");
|
||||
expect(coerceFrameGenMultiplier("none", "custom")).toBe("none");
|
||||
expect(coerceFrameGenMultiplier("intel", undefined)).toBe("none");
|
||||
expect(coerceUpscaleQuality("nvidia", "dlaa")).toBe("dlaa");
|
||||
expect(coerceUpscaleQuality("amd", "dlaa")).toBe("none");
|
||||
expect(coerceUpscaleQuality("intel", undefined)).toBe("none");
|
||||
});
|
||||
|
||||
it("keeps DLSS 5 Neural Rendering for NVIDIA only", () => {
|
||||
expect(coerceDlssNeuralRendering("nvidia", true)).toBe(true);
|
||||
expect(coerceDlssNeuralRendering("nvidia", false)).toBe(false);
|
||||
for (const vendor of ["amd", "intel", "none"] as const) {
|
||||
expect(coerceDlssNeuralRendering(vendor, true)).toBe(false);
|
||||
}
|
||||
});
|
||||
|
||||
it("applies the same rules to a profile, preset or template patch", () => {
|
||||
expect(
|
||||
normalizeEditorPatch({
|
||||
frameGenVendor: "amd",
|
||||
frameGenMultiplier: "custom",
|
||||
frameGenCustom: "Lossless Scaling x3",
|
||||
dlssNeuralRendering: true,
|
||||
}),
|
||||
).toMatchObject({
|
||||
frameGenMultiplier: "custom",
|
||||
frameGenCustom: "Lossless Scaling x3",
|
||||
dlssNeuralRendering: false,
|
||||
});
|
||||
expect(
|
||||
normalizeEditorPatch({
|
||||
frameGenVendor: "nvidia",
|
||||
frameGenMultiplier: "dynamic",
|
||||
dlssNeuralRendering: true,
|
||||
}),
|
||||
).toMatchObject({ frameGenMultiplier: "dynamic", dlssNeuralRendering: true });
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* The editor and the description read their labels from vendor-keyed keys
|
||||
* that `_schema.json` lists for all eight locales (`validate:locales`). The
|
||||
* mock `t` prints a missing key as-is, so without this a new option could
|
||||
* ship with no label and every test still pass.
|
||||
*/
|
||||
describe("a label for every option", () => {
|
||||
it("has an editor label for each vendor's multipliers and qualities", () => {
|
||||
for (const vendor of VENDORS) {
|
||||
expect(schemaKeys("ui", `editor.frameGenMultiplier.${vendor}`)).toEqual(
|
||||
sorted(getValidFrameGenMultipliers(vendor)),
|
||||
);
|
||||
expect(schemaKeys("ui", `editor.upscaleQuality.${vendor}`)).toEqual(
|
||||
sorted(getValidUpscaleQualities(vendor)),
|
||||
);
|
||||
}
|
||||
expect(schemaKeys("ui", "editor.frameGenMultiplierOptions")).toEqual(
|
||||
sorted(FRAMEGEN_MULTIPLIERS),
|
||||
);
|
||||
});
|
||||
|
||||
it("has a description label for each vendor's options but the typed custom one", () => {
|
||||
for (const vendor of VENDORS) {
|
||||
expect(schemaKeys("templates", `description.graphics.frameGen.${vendor}`)).toEqual(
|
||||
sorted(getValidFrameGenMultipliers(vendor).filter((m) => m !== "custom")),
|
||||
);
|
||||
expect(schemaKeys("templates", `description.graphics.upscale.${vendor}`)).toEqual(
|
||||
sorted(getValidUpscaleQualities(vendor)),
|
||||
);
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -4,6 +4,7 @@ import {
|
||||
cleanLutName,
|
||||
CPU_SUGGESTIONS,
|
||||
formatRigValue,
|
||||
isCustomRigValue,
|
||||
LUT_SUGGESTIONS,
|
||||
migrateRig,
|
||||
RIG_FIELDS,
|
||||
@@ -207,6 +208,35 @@ describe("LUT (v1.4.0)", () => {
|
||||
"Arri Alexa LogC to Rec709",
|
||||
);
|
||||
});
|
||||
|
||||
it("offers “Custom” first, which prints as the “LUT applied” note (v1.6.0)", () => {
|
||||
expect(LUT_SUGGESTIONS[0]).toBe("Custom");
|
||||
const field = RIG_FIELDS.find((f) => f.id === "lut");
|
||||
expect(field?.customNoteKey).toBe("description.rigNotes.lut_custom");
|
||||
});
|
||||
});
|
||||
|
||||
describe("isCustomRigValue", () => {
|
||||
it("matches “Custom” in any case, with stray spaces", () => {
|
||||
expect(isCustomRigValue("Custom")).toBe(true);
|
||||
expect(isCustomRigValue(" cUSTOM ")).toBe(true);
|
||||
});
|
||||
|
||||
it("does not match a name that merely contains it", () => {
|
||||
expect(isCustomRigValue("Custom Teal Orange")).toBe(false);
|
||||
expect(isCustomRigValue("")).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe("custom notes", () => {
|
||||
it("has a description line in every locale for each field's note", () => {
|
||||
const notes = RIG_FIELDS.flatMap((f) => (f.customNoteKey ? [f.customNoteKey] : []));
|
||||
expect(notes.length).toBeGreaterThan(0);
|
||||
for (const key of notes) {
|
||||
const at = key.lastIndexOf(".");
|
||||
expect(schemaKeys("templates", key.slice(0, at))).toContain(key.slice(at + 1));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
describe("cleanLutName", () => {
|
||||
|
||||
@@ -69,7 +69,9 @@ function makeEditorData(overrides: Partial<EditorData> = {}): EditorData {
|
||||
rayTracingModes: [...DEFAULTS.editor.rayTracingModes] as RTMode[],
|
||||
frameGenVendor: DEFAULTS.editor.frameGenVendor as FrameGenVendor,
|
||||
frameGenMultiplier: DEFAULTS.editor.frameGenMultiplier as FrameGenMultiplier,
|
||||
frameGenCustom: DEFAULTS.editor.frameGenCustom,
|
||||
upscaleQuality: DEFAULTS.editor.upscaleQuality as UpscaleQuality,
|
||||
dlssNeuralRendering: DEFAULTS.editor.dlssNeuralRendering,
|
||||
artStyle: DEFAULTS.editor.artStyle as ArtStyle,
|
||||
videoStyleEra: DEFAULTS.editor.videoStyleEra,
|
||||
versionInfo: DEFAULTS.editor.versionInfo,
|
||||
|
||||
@@ -492,3 +492,51 @@ describe("migrateEditorState — v20 → v21 (v1.5.0 upscaled video)", () => {
|
||||
expect(migrateEditorState({ ...once }, 20)).toEqual(once);
|
||||
});
|
||||
});
|
||||
|
||||
describe("migrateEditorState — v21 → v22 (v1.6.0 custom frame generation, DLSS 5)", () => {
|
||||
function makeV21Persisted(overrides: Record<string, unknown> = {}): Record<string, unknown> {
|
||||
const full = migrateEditorState(makeV9Persisted(), 9) as unknown as Record<string, unknown>;
|
||||
delete full.frameGenCustom;
|
||||
delete full.dlssNeuralRendering;
|
||||
return { ...full, ...overrides };
|
||||
}
|
||||
|
||||
it("back-fills an empty custom frame generation and DLSS 5 off", () => {
|
||||
const migrated = migrateEditorState(makeV21Persisted(), 21);
|
||||
expect(migrated.frameGenCustom).toBe("");
|
||||
expect(migrated.dlssNeuralRendering).toBe(false);
|
||||
});
|
||||
|
||||
it("coerces values of the wrong type", () => {
|
||||
const migrated = migrateEditorState(
|
||||
makeV21Persisted({ frameGenCustom: 6, dlssNeuralRendering: "yes" }),
|
||||
21,
|
||||
);
|
||||
expect(migrated.frameGenCustom).toBe("");
|
||||
expect(migrated.dlssNeuralRendering).toBe(false);
|
||||
});
|
||||
|
||||
it("keeps the frame-gen choices a v21 draft made, and running it again changes nothing", () => {
|
||||
const once = migrateEditorState(
|
||||
makeV21Persisted({
|
||||
frameGenVendor: "nvidia",
|
||||
frameGenMultiplier: "x4",
|
||||
upscaleQuality: "quality",
|
||||
}),
|
||||
21,
|
||||
);
|
||||
expect(once.frameGenVendor).toBe("nvidia");
|
||||
expect(once.frameGenMultiplier).toBe("x4");
|
||||
expect(once.upscaleQuality).toBe("quality");
|
||||
expect(migrateEditorState({ ...once }, 21)).toEqual(once);
|
||||
});
|
||||
|
||||
it("keeps values a newer draft already holds", () => {
|
||||
const migrated = migrateEditorState(
|
||||
makeV21Persisted({ frameGenCustom: "NVIDIA Smooth Motion", dlssNeuralRendering: true }),
|
||||
21,
|
||||
);
|
||||
expect(migrated.frameGenCustom).toBe("NVIDIA Smooth Motion");
|
||||
expect(migrated.dlssNeuralRendering).toBe(true);
|
||||
});
|
||||
});
|
||||
@@ -47,6 +47,34 @@ describe("sanitizeEditorFields", () => {
|
||||
expect(out).not.toHaveProperty("set");
|
||||
});
|
||||
|
||||
it("keeps v1.6.0 frame generation and DLSS 5 fields, typed as the editor holds them", () => {
|
||||
expect(
|
||||
sanitizeEditorFields({
|
||||
frameGenVendor: "nvidia",
|
||||
frameGenMultiplier: "dynamic",
|
||||
frameGenCustom: "NVIDIA Smooth Motion",
|
||||
dlssNeuralRendering: true,
|
||||
}),
|
||||
).toEqual({
|
||||
frameGenVendor: "nvidia",
|
||||
frameGenMultiplier: "dynamic",
|
||||
frameGenCustom: "NVIDIA Smooth Motion",
|
||||
dlssNeuralRendering: true,
|
||||
});
|
||||
const wrong = sanitizeEditorFields({
|
||||
frameGenVendor: "amd",
|
||||
frameGenMultiplier: "x6",
|
||||
frameGenCustom: 3,
|
||||
dlssNeuralRendering: true,
|
||||
});
|
||||
// x6 is NVIDIA's; DLSS 5 too. A number is not a typed name.
|
||||
expect(wrong).toEqual({
|
||||
frameGenVendor: "amd",
|
||||
frameGenMultiplier: "none",
|
||||
dlssNeuralRendering: false,
|
||||
});
|
||||
});
|
||||
|
||||
it("never copies prototype keys", () => {
|
||||
const raw = JSON.parse('{"__proto__": {"polluted": true}, "social": {"__proto__": "x"}}');
|
||||
const out = sanitizeEditorFields(raw);
|
||||
|
||||
Reference in new issue
Block a user