ok-script 2.0.11__tar.gz → 2.0.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ok_script-2.0.11/ok_script.egg-info → ok_script-2.0.12}/PKG-INFO +1 -1
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/__init__.py +3 -1
- ok_script-2.0.12/ok/core/capture_labels.py +8 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/start_controller.py +4 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/capture_methods/__init__.py +1 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/capture_methods/update.py +12 -2
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/capture_methods/windows_graphics.py +14 -9
- ok_script-2.0.12/ok/device/capture_methods/windows_graphics_hdr.py +59 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/en_US.qm +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/en_US.ts +89 -1
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/es_ES.qm +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/es_ES.ts +89 -1
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/ja_JP.qm +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/ja_JP.ts +89 -1
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/ko_KR.qm +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/ko_KR.ts +89 -1
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/zh_CN.qm +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/zh_CN.ts +89 -1
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/zh_TW.qm +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/zh_TW.ts +89 -1
- ok_script-2.0.12/ok/ui/qt/resources.py +20338 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/start/SelectCaptureListView.py +4 -2
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/web/app.py +2 -1
- ok_script-2.0.12/ok/ui/web/static/app.js +11 -0
- {ok_script-2.0.11 → ok_script-2.0.12/ok_script.egg-info}/PKG-INFO +1 -1
- {ok_script-2.0.11 → ok_script-2.0.12}/ok_script.egg-info/SOURCES.txt +3 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_start_controller.py +23 -0
- ok_script-2.0.12/tests/test_translation_fallback.py +116 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_web_app.py +16 -0
- ok_script-2.0.12/tests/test_windows_graphics_hdr.py +87 -0
- ok_script-2.0.11/ok/ui/qt/resources.py +0 -19519
- ok_script-2.0.11/ok/ui/web/static/app.js +0 -11
- ok_script-2.0.11/tests/test_translation_fallback.py +0 -53
- {ok_script-2.0.11 → ok_script-2.0.12}/LICENSE.txt +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/MANIFEST.in +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/README.md +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/diagnostics/qq_trace.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/__main__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/alas/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/alas/emulator_base.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/alas/emulator_windows.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/alas/platform_windows.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/alas/utils.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/capture/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/capture/adb/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/capture/adb/deep.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/capture/adb/minitouch.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/capture/adb/nemu_ipc.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/capture/adb/nemu_utils.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/capture/adb/pool.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/capture/adb/timer.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/capture/adb/util.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/capture/windows/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/capture/windows/d3d11.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/capture/windows/dump.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/cli.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/config_schema.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/downloads.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/events.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/icons.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/notifications.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/screenshot.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/script_editing.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/script_packager.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/script_templates.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/task_manager.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/template_store.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/translation.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/core/ui_config.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/DeviceManager.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/capture.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/capture_methods/adb.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/capture_methods/base.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/capture_methods/bitblt.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/capture_methods/bitblt_utils.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/capture_methods/browser.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/capture_methods/desktop_duplication.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/capture_methods/hwnd_window.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/capture_methods/image.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/capture_methods/nemu_ipc.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/capture_methods/types.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/interaction.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/interaction_methods/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/interaction_methods/adb.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/interaction_methods/base.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/interaction_methods/browser.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/interaction_methods/do_nothing.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/interaction_methods/foreground_post_message.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/interaction_methods/genshin.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/interaction_methods/keys.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/interaction_methods/post_message.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/interaction_methods/pydirect.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/interaction_methods/pynput.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/interaction_methods/swipe.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/device/intercation.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/feature/Box.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/feature/Feature.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/feature/FeatureSet.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/feature/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/gui/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/gui/util/pyappify_startup.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/notification/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/notification/manager.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/notification/messenger_images.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/notification/pipeline.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/notification/ppocr.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/notification/providers.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/notification/system.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/notification/windows_messenger.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ocr/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ocr/download_paddle_model.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/Foundation/Collections.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/Foundation/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/Globalization/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/Graphics/Capture/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/Graphics/DirectX/Direct3D11/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/Graphics/DirectX/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/Graphics/Imaging/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/Graphics/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/Media/Ocr/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/Media/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/Security/Cryptography/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/Security/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/Storage/Streams/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/Storage/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/UI/ViewManagement/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/UI/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/Windows/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/delegate.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/export.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/idldsl.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/inspectable.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/roapi.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/types.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/rotypes/winstring.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/task/DiagnosisTask.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/task/TaskExecutor.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/task/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/task/exceptions.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/task/task.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/task/web.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/test/OKTestRunner.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/test/RunTests.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/test/TaskTestCase.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/test/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/third_party/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/third_party/paperclip.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/overlay/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/overlay/win32_gdi.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/Communicate.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/MainWindow.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/MessageWindow.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/StartController.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/TabTitles.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/about/AboutTab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/about/HttpTextEdit.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/about/LinksBar.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/about/ProjectCard.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/about/UpdateCard.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/about/VersionCard.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/about/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/common/OKIcon.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/common/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/common/accent_color.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/common/config.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/common/design_system.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/common/icons.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/common/style_sheet.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/debug/DebugTab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/debug/OverlayWidget.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/debug/RunCodeTab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/debug/Screenshot.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/debug/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/events.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/GettextTranslator.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/path.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/i18n/update.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/overlay/OverlayWindow.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/overlay/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/dark/card.qss +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/dark/discord.svg +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/dark/heart.svg +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/dark/message_window.qss +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/dark/setting_interface.qss +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/dark/status_bar.qss +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/dark/stop.svg +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/dark/tab.qss +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/light/card.qss +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/light/discord.svg +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/light/heart.svg +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/light/message_window.qss +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/light/setting_interface.qss +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/light/status_bar.qss +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/light/stop.svg +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qss/light/tab.qss +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/qt.qrc +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/settings/GlobalConfigCard.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/settings/GlobalConfigTab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/settings/SettingTab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/settings/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/start/LogWindow.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/start/SelectInteractionListView.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/start/StartCard.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/start/StartTab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/start/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/ConfigCard.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/ConfigItemFactory.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/ConfigLabelAndWidget.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/EditTaskTab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/LabelAndButtons.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/LabelAndDoubleSpinBox.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/LabelAndDropDown.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/LabelAndFileSelector.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/LabelAndGlobal.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/LabelAndLineEdit.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/LabelAndList.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/LabelAndMultiSelection.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/LabelAndSpinBox.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/LabelAndSwitchButton.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/LabelAndTextEdit.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/LabelAndWidget.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/MarkUpWindow.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/ModifyListDialog.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/ModifyListItem.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/OneTimeTaskTab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/PythonHighlighter.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/RecordScript.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/ScheduleTaskTab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/ScriptPackager.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/StartButton.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/TaskCard.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/TaskManger.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/TaskOpButton.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/TaskTab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/TemplateFactory.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/TemplateTab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/TooltipTableWidget.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/TriggerTaskTab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/tasks/schedule_index_sync.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/util/Alert.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/util/InitWorker.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/util/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/util/app.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/util/download.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/util/pip_util.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/util/pyappify_startup.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/util/touch_scroll.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/util/windows_thumbnail.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/BaseLoading.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/BaseWindow.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/Card.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/CustomTab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/EmptyCard.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/ExpandCardLayout.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/FlowLayout.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/FramelessDialog.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/ImageWidget.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/ListTableWidgetItem.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/NumericTableWidgetItem.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/OkCompactSpinBox.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/SortingTableWidgetItem.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/StartLoadingDialog.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/StatusBar.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/Tab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/TabWidget.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/UpdateConfigWidgetItem.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/WidgetWithVLabel.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/YesNonWidgetItem.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/qt/widget/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/web/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/web/requirements.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/web/server.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/web/static/chunk-fluent.js +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/web/static/chunk-react.js +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/web/static/index.css +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/ui/web/static/index.html +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/update/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/update/copy_ok_folder.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/update/inline_ok_requirements.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/Analytics.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/GlobalConfig.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/__init__.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/blur.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/clazz.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/collection.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/color.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/config.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/explorer.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/file.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/gpu_driver_settings.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/handler.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/i18n.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/logger.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/partial_sync_repo.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/print_hwnd.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/process.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/window.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok/util/windows_schedule.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok_script.egg-info/dependency_links.txt +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok_script.egg-info/entry_points.txt +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok_script.egg-info/not-zip-safe +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok_script.egg-info/requires.txt +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/ok_script.egg-info/top_level.txt +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/pyproject.toml +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/scripts/generate_web_i18n.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/setup.cfg +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/setup.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_accent_color.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_app.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_base_interaction.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_blur.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_box.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_capture_update.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_cli.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_config_card.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_core_events.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_core_ui_services.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_device_manager.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_expand_card_layout.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_explorer.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_global_config.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_gpu_driver_settings.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_handler.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_headless_imports.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_inline_ok_requirements.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_logger.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_main_window_notifications.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_main_window_startup_tab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_main_window_system_theme.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_missing_frame.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_navigation_state.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_nemu_ipc_capture.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_notifications.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_ok_mutex.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_overlay_custom_draw.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_overlay_lifecycle.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_package_metadata.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_process.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_process_mutex.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_pyappify_startup_update.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_qt_events.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_qt_legacy_imports.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_qt_page_layout.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_runtime_startup.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_schedule_startup.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_schedule_task_index_sync.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_start_tab_overlay.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_task_executor_queue.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_task_ui.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_template_tab.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_touch_scroll.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_ui_config.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_web_i18n.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_web_server.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_web_task_tabs.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_web_ui_pages.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_web_ui_tasks.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_windows_graphics_capture.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_windows_schedule_target_parse.py +0 -0
- {ok_script-2.0.11 → ok_script-2.0.12}/tests/test_windows_schedule_xml.py +0 -0
|
@@ -29,6 +29,7 @@ if TYPE_CHECKING:
|
|
|
29
29
|
ImageCaptureMethod,
|
|
30
30
|
NemuIpcCaptureMethod,
|
|
31
31
|
WindowsGraphicsCaptureMethod,
|
|
32
|
+
WindowsGraphicsCaptureHDRMethod,
|
|
32
33
|
)
|
|
33
34
|
from ok.device.interaction import (
|
|
34
35
|
BaseInteraction,
|
|
@@ -125,6 +126,7 @@ _LAZY_IMPORTS = {
|
|
|
125
126
|
'BrowserCaptureMethod': ('ok.device.capture', 'BrowserCaptureMethod'),
|
|
126
127
|
'ADBCaptureMethod': ('ok.device.capture', 'ADBCaptureMethod'),
|
|
127
128
|
'WindowsGraphicsCaptureMethod': ('ok.device.capture', 'WindowsGraphicsCaptureMethod'),
|
|
129
|
+
'WindowsGraphicsCaptureHDRMethod': ('ok.device.capture', 'WindowsGraphicsCaptureHDRMethod'),
|
|
128
130
|
'BitBltCaptureMethod': ('ok.device.capture', 'BitBltCaptureMethod'),
|
|
129
131
|
'NemuIpcCaptureMethod': ('ok.device.capture', 'NemuIpcCaptureMethod'),
|
|
130
132
|
'DesktopDuplicationCaptureMethod': ('ok.device.capture', 'DesktopDuplicationCaptureMethod'),
|
|
@@ -714,7 +716,7 @@ class OK:
|
|
|
714
716
|
capture_methods = windows_config.get('capture_method', [])
|
|
715
717
|
available_methods = []
|
|
716
718
|
for method in capture_methods:
|
|
717
|
-
if method
|
|
719
|
+
if method in ('WGC', 'WGC_HDR'):
|
|
718
720
|
if wgc_available():
|
|
719
721
|
available_methods.append(method)
|
|
720
722
|
else:
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"""Capture labels shared by the Qt and web interfaces."""
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
def capture_method_label(method_name):
|
|
5
|
+
return {
|
|
6
|
+
'WGC': 'WGC - Fast, support HDR (not AutoHDR)',
|
|
7
|
+
'WGC_HDR': 'WGC_HDR - Only use when using Windows AutoHDR (Not Recommended)',
|
|
8
|
+
}.get(method_name, method_name)
|
|
@@ -228,6 +228,10 @@ class StartController:
|
|
|
228
228
|
device = device_manager.get_preferred_device()
|
|
229
229
|
if not device or device.get('device') != 'windows':
|
|
230
230
|
return
|
|
231
|
+
from ok.device.capture_methods.windows_graphics_hdr import WindowsGraphicsCaptureHDRMethod
|
|
232
|
+
|
|
233
|
+
if isinstance(getattr(device_manager, 'capture_method', None), WindowsGraphicsCaptureHDRMethod):
|
|
234
|
+
return
|
|
231
235
|
hwnd_window = getattr(device_manager, 'hwnd_window', None)
|
|
232
236
|
target_exe_path = getattr(hwnd_window, 'exe_full_path', None) or device.get('full_path')
|
|
233
237
|
if is_auto_hdr_enabled(target_exe_path):
|
|
@@ -24,3 +24,4 @@ from ok.device.capture_methods.nemu_ipc import NemuIpcCaptureMethod
|
|
|
24
24
|
from ok.device.capture_methods.types import ColorChannel, ImageShape, decimal, is_digit, is_valid_hwnd
|
|
25
25
|
from ok.device.capture_methods.update import get_capture, get_win_graphics_capture, update_capture_method
|
|
26
26
|
from ok.device.capture_methods.windows_graphics import WindowsGraphicsCaptureMethod
|
|
27
|
+
from ok.device.capture_methods.windows_graphics_hdr import WindowsGraphicsCaptureHDRMethod
|
|
@@ -7,6 +7,7 @@ from ok.device.capture_methods import bitblt
|
|
|
7
7
|
from ok.device.capture_methods.bitblt import BitBltCaptureMethod, ForegroundBitBltCaptureMethod
|
|
8
8
|
from ok.device.capture_methods.desktop_duplication import DesktopDuplicationCaptureMethod
|
|
9
9
|
from ok.device.capture_methods.windows_graphics import WindowsGraphicsCaptureMethod
|
|
10
|
+
from ok.device.capture_methods.windows_graphics_hdr import WindowsGraphicsCaptureHDRMethod
|
|
10
11
|
from ok.task.exceptions import CaptureBusyException
|
|
11
12
|
|
|
12
13
|
logger = Logger.get_logger(__name__)
|
|
@@ -25,6 +26,10 @@ def update_capture_method(config, capture_method, hwnd, exit_event=None, selecte
|
|
|
25
26
|
if win_graphic := get_win_graphics_capture(capture_method, hwnd, exit_event):
|
|
26
27
|
logger.info(f'use WGC capture')
|
|
27
28
|
return win_graphic
|
|
29
|
+
elif method_name == 'WGC_HDR':
|
|
30
|
+
if win_graphic := get_win_graphics_capture(capture_method, hwnd, exit_event, hdr=True):
|
|
31
|
+
logger.info('use WGC_HDR capture')
|
|
32
|
+
return win_graphic
|
|
28
33
|
elif method_name in ('BitBlt', 'BitBlt_RenderFull'):
|
|
29
34
|
bitblt.render_full = (method_name == 'BitBlt_RenderFull')
|
|
30
35
|
logger.info(f'use {method_name} capture render_full: {bitblt.render_full}')
|
|
@@ -44,11 +49,16 @@ def update_capture_method(config, capture_method, hwnd, exit_event=None, selecte
|
|
|
44
49
|
logger.error(f'update_capture_method exception, return None: {e}')
|
|
45
50
|
return None
|
|
46
51
|
|
|
47
|
-
def get_win_graphics_capture(capture_method, hwnd, exit_event):
|
|
52
|
+
def get_win_graphics_capture(capture_method, hwnd, exit_event, hdr=False):
|
|
48
53
|
if not windows_graphics_available():
|
|
49
54
|
return None
|
|
50
55
|
|
|
51
|
-
target_method = WindowsGraphicsCaptureMethod
|
|
56
|
+
target_method = WindowsGraphicsCaptureHDRMethod if hdr else WindowsGraphicsCaptureMethod
|
|
57
|
+
# HDR inherits SDR's lifecycle, but must not be reused when switching
|
|
58
|
+
# back to SDR: the frame pool and CPU pixel formats are different.
|
|
59
|
+
if not hdr and isinstance(capture_method, WindowsGraphicsCaptureHDRMethod):
|
|
60
|
+
capture_method.close()
|
|
61
|
+
capture_method = None
|
|
52
62
|
capture_method = get_capture(capture_method, target_method, hwnd, exit_event)
|
|
53
63
|
|
|
54
64
|
try:
|
|
@@ -25,7 +25,17 @@ WGC_FRAME_WAIT_TIMEOUT = 4.0
|
|
|
25
25
|
|
|
26
26
|
class WindowsGraphicsCaptureMethod(BaseWindowsCaptureMethod):
|
|
27
27
|
name = "Windows Graphics Capture"
|
|
28
|
-
description = "
|
|
28
|
+
description = "Fast, support HDR (not AutoHDR)"
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def pixel_format(self):
|
|
32
|
+
from ok.rotypes.Windows.Graphics.DirectX import DirectXPixelFormat
|
|
33
|
+
return DirectXPixelFormat.B8G8R8A8UIntNormalized
|
|
34
|
+
|
|
35
|
+
def read_mapped_frame(self, mapinfo):
|
|
36
|
+
return np.ctypeslib.as_array(ctypes.cast(mapinfo.pData, PBYTE),
|
|
37
|
+
(self.last_size.Height, mapinfo.RowPitch // 4, 4))[
|
|
38
|
+
:, :self.last_size.Width].copy()
|
|
29
39
|
|
|
30
40
|
def __init__(self, hwnd_window):
|
|
31
41
|
super().__init__(hwnd_window)
|
|
@@ -114,10 +124,7 @@ class WindowsGraphicsCaptureMethod(BaseWindowsCaptureMethod):
|
|
|
114
124
|
immediate_dc.CopyResource(self.cputex, tex)
|
|
115
125
|
mapinfo = immediate_dc.Map(self.cputex, 0, self.d3d11.D3D11_MAP_READ, 0)
|
|
116
126
|
mapped = True
|
|
117
|
-
|
|
118
|
-
(self.last_size.Height, mapinfo.RowPitch // 4, 4))[
|
|
119
|
-
:, :self.last_size.Width].copy()
|
|
120
|
-
return img
|
|
127
|
+
return self.read_mapped_frame(mapinfo)
|
|
121
128
|
except OSError as e:
|
|
122
129
|
if e.winerror == self.d3d11.DXGI_ERROR_DEVICE_REMOVED or e.winerror == self.d3d11.DXGI_ERROR_DEVICE_RESET:
|
|
123
130
|
need_reset_framepool = True
|
|
@@ -213,7 +220,6 @@ class WindowsGraphicsCaptureMethod(BaseWindowsCaptureMethod):
|
|
|
213
220
|
from ok.rotypes.Windows.Graphics.Capture import Direct3D11CaptureFramePool, \
|
|
214
221
|
IGraphicsCaptureItemInterop, \
|
|
215
222
|
IGraphicsCaptureItem, GraphicsCaptureItem
|
|
216
|
-
from ok.rotypes.Windows.Graphics.DirectX import DirectXPixelFormat
|
|
217
223
|
from ok.rotypes.Windows.Graphics.DirectX.Direct3D11 import IDirect3DDevice, \
|
|
218
224
|
IDirect3DDxgiInterfaceAccess
|
|
219
225
|
from ok.rotypes.roapi import GetActivationFactory
|
|
@@ -236,7 +242,7 @@ class WindowsGraphicsCaptureMethod(BaseWindowsCaptureMethod):
|
|
|
236
242
|
self.evtoken = item.add_Closed(delegate)
|
|
237
243
|
|
|
238
244
|
self.frame_pool = Direct3D11CaptureFramePool.CreateFreeThreaded(self.rtdevice,
|
|
239
|
-
|
|
245
|
+
self.pixel_format,
|
|
240
246
|
1, item.Size)
|
|
241
247
|
self.session = self.frame_pool.CreateCaptureSession(item)
|
|
242
248
|
pool = self.frame_pool
|
|
@@ -428,14 +434,13 @@ class WindowsGraphicsCaptureMethod(BaseWindowsCaptureMethod):
|
|
|
428
434
|
|
|
429
435
|
def reset_framepool(self, size, reset_device=False):
|
|
430
436
|
logger.info(f'reset_framepool')
|
|
431
|
-
from ok.rotypes.Windows.Graphics.DirectX import DirectXPixelFormat
|
|
432
437
|
if self.cputex:
|
|
433
438
|
self.cputex.Release()
|
|
434
439
|
self.cputex = None
|
|
435
440
|
if reset_device:
|
|
436
441
|
self.create_device()
|
|
437
442
|
self.frame_pool.Recreate(self.rtdevice,
|
|
438
|
-
|
|
443
|
+
self.pixel_format, 2, size)
|
|
439
444
|
|
|
440
445
|
def crop_image(self, frame):
|
|
441
446
|
if frame is not None:
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"""FP16 WGC capture with BetterGI's fixed HDR-to-SDR exposure conversion."""
|
|
2
|
+
|
|
3
|
+
from functools import lru_cache
|
|
4
|
+
import ctypes
|
|
5
|
+
|
|
6
|
+
import numpy as np
|
|
7
|
+
|
|
8
|
+
from ok.device.capture_methods.bitblt_utils import PBYTE
|
|
9
|
+
from ok.device.capture_methods.windows_graphics import WindowsGraphicsCaptureMethod
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
@lru_cache(maxsize=1)
|
|
13
|
+
def _half_float_tables():
|
|
14
|
+
"""Map every binary16 encoding to an SDR color or linear alpha byte.
|
|
15
|
+
|
|
16
|
+
Algorithm reference: BetterGI HdrToSdrShader at commit
|
|
17
|
+
4118e28f3d0e071d49dadf56762441342680f321:
|
|
18
|
+
https://github.com/babalae/better-genshin-impact/blob/4118e28f3d0e071d49dadf56762441342680f321/Fischless.GameCapture/Graphics/Helpers/HdrToSdrShader.cs
|
|
19
|
+
Uses quarter exposure and Chilliant's linear-to-sRGB approximation.
|
|
20
|
+
This independent NumPy implementation tabulates the math once, avoiding
|
|
21
|
+
full-frame floating-point temporaries and square roots on every capture.
|
|
22
|
+
"""
|
|
23
|
+
values = np.arange(65536, dtype=np.uint16).view(np.float16).astype(np.float32)
|
|
24
|
+
np.nan_to_num(values, copy=False, nan=0.0, posinf=65504.0, neginf=0.0)
|
|
25
|
+
alpha = np.rint(np.clip(values, 0, 1) * 255).astype(np.uint8)
|
|
26
|
+
linear = np.clip(values * 0.25, 0, 1)
|
|
27
|
+
root = np.sqrt(linear)
|
|
28
|
+
fourth_root = np.sqrt(root)
|
|
29
|
+
eighth_root = np.sqrt(fourth_root)
|
|
30
|
+
srgb = (0.662002687 * root + 0.684122060 * fourth_root
|
|
31
|
+
- 0.323583601 * eighth_root - 0.0225411470 * linear)
|
|
32
|
+
color = np.rint(np.clip(srgb, 0, 1) * 255).astype(np.uint8)
|
|
33
|
+
color.flags.writeable = alpha.flags.writeable = False
|
|
34
|
+
return color, alpha
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class WindowsGraphicsCaptureHDRMethod(WindowsGraphicsCaptureMethod):
|
|
38
|
+
name = "Windows Graphics Capture HDR"
|
|
39
|
+
description = "Only use when using Windows AutoHDR (Not Recommended)"
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
def pixel_format(self):
|
|
43
|
+
from ok.rotypes.Windows.Graphics.DirectX import DirectXPixelFormat
|
|
44
|
+
return DirectXPixelFormat.R16G16B16A16Float
|
|
45
|
+
|
|
46
|
+
def read_mapped_frame(self, mapinfo):
|
|
47
|
+
height, width = self.last_size.Height, self.last_size.Width
|
|
48
|
+
# RowPitch includes driver padding. The buffer is only valid until
|
|
49
|
+
# Unmap, so return an owned BGRA array just like the SDR capture path.
|
|
50
|
+
buffer = np.ctypeslib.as_array(ctypes.cast(mapinfo.pData, PBYTE),
|
|
51
|
+
(height * mapinfo.RowPitch,))
|
|
52
|
+
rgba_bits = np.ndarray((height, width, 4), dtype=np.uint16,
|
|
53
|
+
buffer=buffer, strides=(mapinfo.RowPitch, 8, 2))
|
|
54
|
+
color, alpha = _half_float_tables()
|
|
55
|
+
bgra = np.empty((height, width, 4), dtype=np.uint8)
|
|
56
|
+
for destination, source in enumerate((2, 1, 0)):
|
|
57
|
+
bgra[:, :, destination] = color[rgba_bits[:, :, source]]
|
|
58
|
+
bgra[:, :, 3] = alpha[rgba_bits[:, :, 3]]
|
|
59
|
+
return bgra
|
|
Binary file
|
|
@@ -592,7 +592,7 @@
|
|
|
592
592
|
</message>
|
|
593
593
|
<message>
|
|
594
594
|
<source>WGC</source>
|
|
595
|
-
<translation>WGC -
|
|
595
|
+
<translation>WGC - Fast, support HDR (not AutoHDR)</translation>
|
|
596
596
|
</message>
|
|
597
597
|
<message>
|
|
598
598
|
<source>BitBlt</source>
|
|
@@ -602,6 +602,22 @@
|
|
|
602
602
|
<source>DXGI</source>
|
|
603
603
|
<translation>DXGI - Slowest, use as backup</translation>
|
|
604
604
|
</message>
|
|
605
|
+
<message>
|
|
606
|
+
<source>WGC - Fast, support HDR (not AutoHDR)</source>
|
|
607
|
+
<translation>WGC - Fast, support HDR (not AutoHDR)</translation>
|
|
608
|
+
</message>
|
|
609
|
+
<message>
|
|
610
|
+
<source>WGC_HDR - Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
611
|
+
<translation>WGC_HDR - Only use when using Windows AutoHDR (Not Recommended)</translation>
|
|
612
|
+
</message>
|
|
613
|
+
<message>
|
|
614
|
+
<source>Fast, support HDR (not AutoHDR)</source>
|
|
615
|
+
<translation>Fast, support HDR (not AutoHDR)</translation>
|
|
616
|
+
</message>
|
|
617
|
+
<message>
|
|
618
|
+
<source>Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
619
|
+
<translation>Only use when using Windows AutoHDR (Not Recommended)</translation>
|
|
620
|
+
</message>
|
|
605
621
|
</context>
|
|
606
622
|
<context>
|
|
607
623
|
<name>SettingTab</name>
|
|
@@ -1714,6 +1730,42 @@
|
|
|
1714
1730
|
<source>Auto HDR is enabled, tasks might not work correctly!</source>
|
|
1715
1731
|
<translation>Auto HDR is enabled, tasks might not work correctly!</translation>
|
|
1716
1732
|
</message>
|
|
1733
|
+
<message>
|
|
1734
|
+
<source>WGC - Fast, support HDR (not AutoHDR)</source>
|
|
1735
|
+
<translation>WGC - Fast, support HDR (not AutoHDR)</translation>
|
|
1736
|
+
</message>
|
|
1737
|
+
<message>
|
|
1738
|
+
<source>WGC_HDR - Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
1739
|
+
<translation>WGC_HDR - Only use when using Windows AutoHDR (Not Recommended)</translation>
|
|
1740
|
+
</message>
|
|
1741
|
+
<message>
|
|
1742
|
+
<source>Resolution {resolution} check failed, some tasks might not work correctly!</source>
|
|
1743
|
+
<translation>Resolution {resolution} check failed, some tasks might not work correctly!</translation>
|
|
1744
|
+
</message>
|
|
1745
|
+
<message>
|
|
1746
|
+
<source>, the supported ratio is {supported_ratio}</source>
|
|
1747
|
+
<translation>, the supported ratio is {supported_ratio}</translation>
|
|
1748
|
+
</message>
|
|
1749
|
+
<message>
|
|
1750
|
+
<source>, the supported min resolution is {min_size}</source>
|
|
1751
|
+
<translation>, the supported min resolution is {min_size}</translation>
|
|
1752
|
+
</message>
|
|
1753
|
+
<message>
|
|
1754
|
+
<source>{vendor} {feature} is enabled and may cause malfunctions!</source>
|
|
1755
|
+
<translation>{vendor} {feature} is enabled and may cause malfunctions!</translation>
|
|
1756
|
+
</message>
|
|
1757
|
+
<message>
|
|
1758
|
+
<source>GPU Driver Warning</source>
|
|
1759
|
+
<translation>GPU Driver Warning</translation>
|
|
1760
|
+
</message>
|
|
1761
|
+
<message>
|
|
1762
|
+
<source>Fast, support HDR (not AutoHDR)</source>
|
|
1763
|
+
<translation>Fast, support HDR (not AutoHDR)</translation>
|
|
1764
|
+
</message>
|
|
1765
|
+
<message>
|
|
1766
|
+
<source>Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
1767
|
+
<translation>Only use when using Windows AutoHDR (Not Recommended)</translation>
|
|
1768
|
+
</message>
|
|
1717
1769
|
</context>
|
|
1718
1770
|
<context>
|
|
1719
1771
|
<name>ScheduleTaskTable</name>
|
|
@@ -3708,6 +3760,42 @@
|
|
|
3708
3760
|
<source>Auto HDR is enabled, tasks might not work correctly!</source>
|
|
3709
3761
|
<translation>Auto HDR is enabled, tasks might not work correctly!</translation>
|
|
3710
3762
|
</message>
|
|
3763
|
+
<message>
|
|
3764
|
+
<source>WGC - Fast, support HDR (not AutoHDR)</source>
|
|
3765
|
+
<translation>WGC - Fast, support HDR (not AutoHDR)</translation>
|
|
3766
|
+
</message>
|
|
3767
|
+
<message>
|
|
3768
|
+
<source>WGC_HDR - Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
3769
|
+
<translation>WGC_HDR - Only use when using Windows AutoHDR (Not Recommended)</translation>
|
|
3770
|
+
</message>
|
|
3771
|
+
<message>
|
|
3772
|
+
<source>Resolution {resolution} check failed, some tasks might not work correctly!</source>
|
|
3773
|
+
<translation>Resolution {resolution} check failed, some tasks might not work correctly!</translation>
|
|
3774
|
+
</message>
|
|
3775
|
+
<message>
|
|
3776
|
+
<source>, the supported ratio is {supported_ratio}</source>
|
|
3777
|
+
<translation>, the supported ratio is {supported_ratio}</translation>
|
|
3778
|
+
</message>
|
|
3779
|
+
<message>
|
|
3780
|
+
<source>, the supported min resolution is {min_size}</source>
|
|
3781
|
+
<translation>, the supported min resolution is {min_size}</translation>
|
|
3782
|
+
</message>
|
|
3783
|
+
<message>
|
|
3784
|
+
<source>{vendor} {feature} is enabled and may cause malfunctions!</source>
|
|
3785
|
+
<translation>{vendor} {feature} is enabled and may cause malfunctions!</translation>
|
|
3786
|
+
</message>
|
|
3787
|
+
<message>
|
|
3788
|
+
<source>GPU Driver Warning</source>
|
|
3789
|
+
<translation>GPU Driver Warning</translation>
|
|
3790
|
+
</message>
|
|
3791
|
+
<message>
|
|
3792
|
+
<source>Fast, support HDR (not AutoHDR)</source>
|
|
3793
|
+
<translation>Fast, support HDR (not AutoHDR)</translation>
|
|
3794
|
+
</message>
|
|
3795
|
+
<message>
|
|
3796
|
+
<source>Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
3797
|
+
<translation>Only use when using Windows AutoHDR (Not Recommended)</translation>
|
|
3798
|
+
</message>
|
|
3711
3799
|
</context>
|
|
3712
3800
|
<context>
|
|
3713
3801
|
<name>UpdateCard</name>
|
|
Binary file
|
|
@@ -590,7 +590,7 @@
|
|
|
590
590
|
</message>
|
|
591
591
|
<message>
|
|
592
592
|
<source>WGC</source>
|
|
593
|
-
<translation>WGC -
|
|
593
|
+
<translation>WGC - Rápido, compatible con HDR (no AutoHDR)</translation>
|
|
594
594
|
</message>
|
|
595
595
|
<message>
|
|
596
596
|
<source>BitBlt</source>
|
|
@@ -600,6 +600,22 @@
|
|
|
600
600
|
<source>DXGI</source>
|
|
601
601
|
<translation>DXGI - Más lento, usado como respaldo</translation>
|
|
602
602
|
</message>
|
|
603
|
+
<message>
|
|
604
|
+
<source>WGC - Fast, support HDR (not AutoHDR)</source>
|
|
605
|
+
<translation>WGC - Rápido, compatible con HDR (no AutoHDR)</translation>
|
|
606
|
+
</message>
|
|
607
|
+
<message>
|
|
608
|
+
<source>WGC_HDR - Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
609
|
+
<translation>WGC_HDR - Usar solo con Windows AutoHDR (no recomendado)</translation>
|
|
610
|
+
</message>
|
|
611
|
+
<message>
|
|
612
|
+
<source>Fast, support HDR (not AutoHDR)</source>
|
|
613
|
+
<translation>Rápido, compatible con HDR (no AutoHDR)</translation>
|
|
614
|
+
</message>
|
|
615
|
+
<message>
|
|
616
|
+
<source>Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
617
|
+
<translation>Usar solo con Windows AutoHDR (no recomendado)</translation>
|
|
618
|
+
</message>
|
|
603
619
|
</context>
|
|
604
620
|
<context>
|
|
605
621
|
<name>SettingTab</name>
|
|
@@ -1712,6 +1728,42 @@
|
|
|
1712
1728
|
<source>Auto HDR is enabled, tasks might not work correctly!</source>
|
|
1713
1729
|
<translation>El HDR automático está activado, ¡las tareas podrían no funcionar correctamente!</translation>
|
|
1714
1730
|
</message>
|
|
1731
|
+
<message>
|
|
1732
|
+
<source>WGC - Fast, support HDR (not AutoHDR)</source>
|
|
1733
|
+
<translation>WGC - Rápido, compatible con HDR (no AutoHDR)</translation>
|
|
1734
|
+
</message>
|
|
1735
|
+
<message>
|
|
1736
|
+
<source>WGC_HDR - Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
1737
|
+
<translation>WGC_HDR - Usar solo con Windows AutoHDR (no recomendado)</translation>
|
|
1738
|
+
</message>
|
|
1739
|
+
<message>
|
|
1740
|
+
<source>Resolution {resolution} check failed, some tasks might not work correctly!</source>
|
|
1741
|
+
<translation>La comprobación de la resolución {resolution} falló, ¡algunas tareas podrían no funcionar correctamente!</translation>
|
|
1742
|
+
</message>
|
|
1743
|
+
<message>
|
|
1744
|
+
<source>, the supported ratio is {supported_ratio}</source>
|
|
1745
|
+
<translation>, la proporción admitida es {supported_ratio}</translation>
|
|
1746
|
+
</message>
|
|
1747
|
+
<message>
|
|
1748
|
+
<source>, the supported min resolution is {min_size}</source>
|
|
1749
|
+
<translation>, la resolución mínima admitida es {min_size}</translation>
|
|
1750
|
+
</message>
|
|
1751
|
+
<message>
|
|
1752
|
+
<source>{vendor} {feature} is enabled and may cause malfunctions!</source>
|
|
1753
|
+
<translation>¡Se ha activado {vendor} {feature} y puede causar fallos de funcionamiento!</translation>
|
|
1754
|
+
</message>
|
|
1755
|
+
<message>
|
|
1756
|
+
<source>GPU Driver Warning</source>
|
|
1757
|
+
<translation>Advertencia del controlador de GPU</translation>
|
|
1758
|
+
</message>
|
|
1759
|
+
<message>
|
|
1760
|
+
<source>Fast, support HDR (not AutoHDR)</source>
|
|
1761
|
+
<translation>Rápido, compatible con HDR (no AutoHDR)</translation>
|
|
1762
|
+
</message>
|
|
1763
|
+
<message>
|
|
1764
|
+
<source>Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
1765
|
+
<translation>Usar solo con Windows AutoHDR (no recomendado)</translation>
|
|
1766
|
+
</message>
|
|
1715
1767
|
</context>
|
|
1716
1768
|
<context>
|
|
1717
1769
|
<name>ScheduleTaskTable</name>
|
|
@@ -3706,6 +3758,42 @@
|
|
|
3706
3758
|
<source>Auto HDR is enabled, tasks might not work correctly!</source>
|
|
3707
3759
|
<translation>El HDR automático está activado, ¡las tareas podrían no funcionar correctamente!</translation>
|
|
3708
3760
|
</message>
|
|
3761
|
+
<message>
|
|
3762
|
+
<source>WGC - Fast, support HDR (not AutoHDR)</source>
|
|
3763
|
+
<translation>WGC - Rápido, compatible con HDR (no AutoHDR)</translation>
|
|
3764
|
+
</message>
|
|
3765
|
+
<message>
|
|
3766
|
+
<source>WGC_HDR - Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
3767
|
+
<translation>WGC_HDR - Usar solo con Windows AutoHDR (no recomendado)</translation>
|
|
3768
|
+
</message>
|
|
3769
|
+
<message>
|
|
3770
|
+
<source>Resolution {resolution} check failed, some tasks might not work correctly!</source>
|
|
3771
|
+
<translation>La comprobación de la resolución {resolution} falló, ¡algunas tareas podrían no funcionar correctamente!</translation>
|
|
3772
|
+
</message>
|
|
3773
|
+
<message>
|
|
3774
|
+
<source>, the supported ratio is {supported_ratio}</source>
|
|
3775
|
+
<translation>, la proporción admitida es {supported_ratio}</translation>
|
|
3776
|
+
</message>
|
|
3777
|
+
<message>
|
|
3778
|
+
<source>, the supported min resolution is {min_size}</source>
|
|
3779
|
+
<translation>, la resolución mínima admitida es {min_size}</translation>
|
|
3780
|
+
</message>
|
|
3781
|
+
<message>
|
|
3782
|
+
<source>{vendor} {feature} is enabled and may cause malfunctions!</source>
|
|
3783
|
+
<translation>¡Se ha activado {vendor} {feature} y puede causar fallos de funcionamiento!</translation>
|
|
3784
|
+
</message>
|
|
3785
|
+
<message>
|
|
3786
|
+
<source>GPU Driver Warning</source>
|
|
3787
|
+
<translation>Advertencia del controlador de GPU</translation>
|
|
3788
|
+
</message>
|
|
3789
|
+
<message>
|
|
3790
|
+
<source>Fast, support HDR (not AutoHDR)</source>
|
|
3791
|
+
<translation>Rápido, compatible con HDR (no AutoHDR)</translation>
|
|
3792
|
+
</message>
|
|
3793
|
+
<message>
|
|
3794
|
+
<source>Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
3795
|
+
<translation>Usar solo con Windows AutoHDR (no recomendado)</translation>
|
|
3796
|
+
</message>
|
|
3709
3797
|
</context>
|
|
3710
3798
|
<context>
|
|
3711
3799
|
<name>UpdateCard</name>
|
|
Binary file
|
|
@@ -590,7 +590,7 @@
|
|
|
590
590
|
</message>
|
|
591
591
|
<message>
|
|
592
592
|
<source>WGC</source>
|
|
593
|
-
<translation>WGC -
|
|
593
|
+
<translation>WGC - 高速、HDR 対応(AutoHDR 非対応)</translation>
|
|
594
594
|
</message>
|
|
595
595
|
<message>
|
|
596
596
|
<source>BitBlt</source>
|
|
@@ -600,6 +600,22 @@
|
|
|
600
600
|
<source>DXGI</source>
|
|
601
601
|
<translation>DXGI - 最も遅い、バックアップとして使用</translation>
|
|
602
602
|
</message>
|
|
603
|
+
<message>
|
|
604
|
+
<source>WGC - Fast, support HDR (not AutoHDR)</source>
|
|
605
|
+
<translation>WGC - 高速、HDR 対応(AutoHDR 非対応)</translation>
|
|
606
|
+
</message>
|
|
607
|
+
<message>
|
|
608
|
+
<source>WGC_HDR - Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
609
|
+
<translation>WGC_HDR - Windows AutoHDR 使用時のみ使用(非推奨)</translation>
|
|
610
|
+
</message>
|
|
611
|
+
<message>
|
|
612
|
+
<source>Fast, support HDR (not AutoHDR)</source>
|
|
613
|
+
<translation>高速、HDR 対応(AutoHDR 非対応)</translation>
|
|
614
|
+
</message>
|
|
615
|
+
<message>
|
|
616
|
+
<source>Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
617
|
+
<translation>Windows AutoHDR 使用時のみ使用(非推奨)</translation>
|
|
618
|
+
</message>
|
|
603
619
|
</context>
|
|
604
620
|
<context>
|
|
605
621
|
<name>SettingTab</name>
|
|
@@ -1704,6 +1720,42 @@
|
|
|
1704
1720
|
<source>Auto HDR is enabled, tasks might not work correctly!</source>
|
|
1705
1721
|
<translation>自動HDRが有効です。タスクが正常に動作しない可能性があります!</translation>
|
|
1706
1722
|
</message>
|
|
1723
|
+
<message>
|
|
1724
|
+
<source>WGC - Fast, support HDR (not AutoHDR)</source>
|
|
1725
|
+
<translation>WGC - 高速、HDR 対応(AutoHDR 非対応)</translation>
|
|
1726
|
+
</message>
|
|
1727
|
+
<message>
|
|
1728
|
+
<source>WGC_HDR - Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
1729
|
+
<translation>WGC_HDR - Windows AutoHDR 使用時のみ使用(非推奨)</translation>
|
|
1730
|
+
</message>
|
|
1731
|
+
<message>
|
|
1732
|
+
<source>Resolution {resolution} check failed, some tasks might not work correctly!</source>
|
|
1733
|
+
<translation>解像度{resolution}のチェックに失敗しました。一部のタスクが正常に動作しない可能性があります!</translation>
|
|
1734
|
+
</message>
|
|
1735
|
+
<message>
|
|
1736
|
+
<source>, the supported ratio is {supported_ratio}</source>
|
|
1737
|
+
<translation>、サポートされている比率は{supported_ratio}です</translation>
|
|
1738
|
+
</message>
|
|
1739
|
+
<message>
|
|
1740
|
+
<source>, the supported min resolution is {min_size}</source>
|
|
1741
|
+
<translation>、サポートされている最小解像度は{min_size}です</translation>
|
|
1742
|
+
</message>
|
|
1743
|
+
<message>
|
|
1744
|
+
<source>{vendor} {feature} is enabled and may cause malfunctions!</source>
|
|
1745
|
+
<translation>{vendor} {feature} が有効になっており、誤動作の原因になる可能性があります!</translation>
|
|
1746
|
+
</message>
|
|
1747
|
+
<message>
|
|
1748
|
+
<source>GPU Driver Warning</source>
|
|
1749
|
+
<translation>GPU ドライバー警告</translation>
|
|
1750
|
+
</message>
|
|
1751
|
+
<message>
|
|
1752
|
+
<source>Fast, support HDR (not AutoHDR)</source>
|
|
1753
|
+
<translation>高速、HDR 対応(AutoHDR 非対応)</translation>
|
|
1754
|
+
</message>
|
|
1755
|
+
<message>
|
|
1756
|
+
<source>Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
1757
|
+
<translation>Windows AutoHDR 使用時のみ使用(非推奨)</translation>
|
|
1758
|
+
</message>
|
|
1707
1759
|
</context>
|
|
1708
1760
|
<context>
|
|
1709
1761
|
<name>ScheduleTaskTable</name>
|
|
@@ -3698,6 +3750,42 @@
|
|
|
3698
3750
|
<source>Auto HDR is enabled, tasks might not work correctly!</source>
|
|
3699
3751
|
<translation>自動HDRが有効です。タスクが正常に動作しない可能性があります!</translation>
|
|
3700
3752
|
</message>
|
|
3753
|
+
<message>
|
|
3754
|
+
<source>WGC - Fast, support HDR (not AutoHDR)</source>
|
|
3755
|
+
<translation>WGC - 高速、HDR 対応(AutoHDR 非対応)</translation>
|
|
3756
|
+
</message>
|
|
3757
|
+
<message>
|
|
3758
|
+
<source>WGC_HDR - Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
3759
|
+
<translation>WGC_HDR - Windows AutoHDR 使用時のみ使用(非推奨)</translation>
|
|
3760
|
+
</message>
|
|
3761
|
+
<message>
|
|
3762
|
+
<source>Resolution {resolution} check failed, some tasks might not work correctly!</source>
|
|
3763
|
+
<translation>解像度{resolution}のチェックに失敗しました。一部のタスクが正常に動作しない可能性があります!</translation>
|
|
3764
|
+
</message>
|
|
3765
|
+
<message>
|
|
3766
|
+
<source>, the supported ratio is {supported_ratio}</source>
|
|
3767
|
+
<translation>、サポートされている比率は{supported_ratio}です</translation>
|
|
3768
|
+
</message>
|
|
3769
|
+
<message>
|
|
3770
|
+
<source>, the supported min resolution is {min_size}</source>
|
|
3771
|
+
<translation>、サポートされている最小解像度は{min_size}です</translation>
|
|
3772
|
+
</message>
|
|
3773
|
+
<message>
|
|
3774
|
+
<source>{vendor} {feature} is enabled and may cause malfunctions!</source>
|
|
3775
|
+
<translation>{vendor} {feature} が有効になっており、誤動作の原因になる可能性があります!</translation>
|
|
3776
|
+
</message>
|
|
3777
|
+
<message>
|
|
3778
|
+
<source>GPU Driver Warning</source>
|
|
3779
|
+
<translation>GPU ドライバー警告</translation>
|
|
3780
|
+
</message>
|
|
3781
|
+
<message>
|
|
3782
|
+
<source>Fast, support HDR (not AutoHDR)</source>
|
|
3783
|
+
<translation>高速、HDR 対応(AutoHDR 非対応)</translation>
|
|
3784
|
+
</message>
|
|
3785
|
+
<message>
|
|
3786
|
+
<source>Only use when using Windows AutoHDR (Not Recommended)</source>
|
|
3787
|
+
<translation>Windows AutoHDR 使用時のみ使用(非推奨)</translation>
|
|
3788
|
+
</message>
|
|
3701
3789
|
</context>
|
|
3702
3790
|
<context>
|
|
3703
3791
|
<name>UpdateCard</name>
|
|
Binary file
|