diff --git a/Config.in b/Config.in index 9548418bdd0..d073d024fcc 100644 --- a/Config.in +++ b/Config.in @@ -610,6 +610,7 @@ menu "Utils" source "$BR2_EXTERNAL_BATOCERA_PATH/package/batocera/utils/box64/Config.in" source "$BR2_EXTERNAL_BATOCERA_PATH/package/batocera/utils/sdl2-touch-test/Config.in" source "$BR2_EXTERNAL_BATOCERA_PATH/package/batocera/utils/batocera-torrent/Config.in" + source "$BR2_EXTERNAL_BATOCERA_PATH/package/batocera/utils/gamescope/Config.in" endmenu menu "Utils Host" diff --git a/package/batocera/core/batocera-configgen/configgen/configgen/emulatorlauncher.py b/package/batocera/core/batocera-configgen/configgen/configgen/emulatorlauncher.py index bb2cad1c5b6..3163ad0e270 100644 --- a/package/batocera/core/batocera-configgen/configgen/configgen/emulatorlauncher.py +++ b/package/batocera/core/batocera-configgen/configgen/configgen/emulatorlauncher.py @@ -34,6 +34,7 @@ from .gun import Gun from .utils import bezels as bezelsUtil, metadata, videoMode, wheelsUtils from .utils.evmapy import evmapy +from .utils.gamescope import add_gamescope_arguments from .utils.hotkeygen import set_hotkeygen_context from .utils.logger import setup_logging from .utils.overlayfs import mount_overlayfs @@ -278,6 +279,8 @@ def start_rom(args: argparse.Namespace, maxnbplayers: int, rom: Path, original_r _logger.error("Failed to draw_gun_borders for gun_borders") _logger.error(e) + add_gamescope_arguments(cmd, system, gameResolution) + with profiler.pause(): monitor_thread.start() exitCode = runCommand(cmd) diff --git a/package/batocera/core/batocera-configgen/configgen/configgen/utils/gamescope.py b/package/batocera/core/batocera-configgen/configgen/configgen/utils/gamescope.py new file mode 100644 index 00000000000..d1f8852da6c --- /dev/null +++ b/package/batocera/core/batocera-configgen/configgen/configgen/utils/gamescope.py @@ -0,0 +1,132 @@ +from __future__ import annotations + +import logging +import os +import subprocess +from pathlib import Path +from typing import TYPE_CHECKING + +from ..exceptions import BatoceraException + +if TYPE_CHECKING: + from ..Command import Command + from ..Emulator import Emulator + from ..types import Resolution + +_logger = logging.getLogger(__name__) + +def is_GBM_Supported() -> bool: + try: + eglinfo_bin = Path("/usr/bin/eglinfo") + if not eglinfo_bin.exists(): + return False + + eglCmd = '/usr/bin/eglinfo | grep EGL_KHR_platform_gbm' + eglCmdResult = subprocess.run(eglCmd, shell=True, capture_output=True, text=True) + grep_return_code = eglCmdResult.returncode + + return grep_return_code == 0 + + except Exception: + return False + +def add_gamescope_arguments(command: Command, system: Emulator, CurrentResolution: Resolution, /) -> None: + + if not system.config.get_bool("gamescope"): + return + + if not is_GBM_Supported(): + raise BatoceraException("GPU driver don't support gamescope") + + gamescope_arguments = ["/usr/bin/gamescope"] + + # Retrieve output resolution from system options. + # if not defined, inherit from the current screen resolution + output_resolution = system.config.get_str("gamescope_output_resolution") + if output_resolution: + output_width, _, output_height = output_resolution.partition("x") + else: + output_width = f'{CurrentResolution["width"]}' + output_height = f'{CurrentResolution["height"]}' + + gamescope_arguments.extend([ + "-W", output_width.strip(), + "-H", output_height.strip() + ]) + + # Retrieve nested resolution from system options. + # default undefined inherit from gamescopt_output_resoluton + # the nested_resolution is upscaled|downscaled to output_resolution + + nested_resolution = system.config.get_str("gamescope_nested_resolution") + if nested_resolution: + nested_width, _, nested_height = nested_resolution.partition("x") + gamescope_arguments.extend([ + "-w", nested_width.strip(), + "-h", nested_height.strip() + ]) + + # Retrieve nested refresh rate. + # Default is undefined with output refresh forced to 60hz + # if nested refresh is defined, output refresh is equal to nested refresh + nested_refresh = system.config.get_str("gamescope_nested_refresh") + if nested_refresh: + gamescope_arguments.extend(["-r", str(nested_refresh)]) + + # Framerate limit, used by gamescope as a divisor of the refresh rate. + framerate_limit = system.config.get_str("gamescope_framerate_limit") + if framerate_limit: + gamescope_arguments.extend(["--framerate-limit", framerate_limit]) + + # Upscaler type. + # default is stretched if undefined + scaler = system.config.get_str("gamescope_scaler") + if scaler: + gamescope_arguments.extend(["-S", scaler]) + + # Upscaler filter. + # default is linear if undefined + upscale_filter = system.config.get_str("gamescope_filter") + if upscale_filter: + gamescope_arguments.extend(["-F", upscale_filter]) + + # Upscaler sharpness + sharpness = system.config.get_str("gamescope_sharpness") + if sharpness: + gamescope_arguments.extend(["--sharpness", sharpness]) + + if system.config.get_bool("gamescope_hdr"): + sdr_gamut = system.config.get_str("gamescope_sdr_gamut_wideness") + if sdr_gamut: + gamescope_arguments.extend(["--sdr-gamut-wideness", sdr_gamut]) + + hdr_sdr_nits = system.config.get_str("gamescope_hdr_sdr_content_nits") + if hdr_sdr_nits: + gamescope_arguments.extend(["--hdr-sdr-content-nits", hdr_sdr_nits]) + + if system.config.get_bool("gamescope_hdr_itm_enabled"): + gamescope_arguments.append("--hdr-itm-enabled") + + hdr_itm_sdr_nits = system.config.get_str("gamescope_hdr_itm_sdr_nits") + if hdr_itm_sdr_nits: + gamescope_arguments.extend(["--hdr-itm-sdr-nits", hdr_itm_sdr_nits]) + + hdr_itm_target = system.config.get_str("gamescope_hdr_itm_target_nits") + if hdr_itm_target: + gamescope_arguments.extend(["--hdr-itm-target-nits", hdr_itm_target]) + + #expose native nested wayland to bypass Xwayland when possible + if os.environ.get("WAYLAND_DISPLAY"): + gamescope_arguments.append("--expose-wayland") + + #always fullscreen + gamescope_arguments.append("-f") + + # Reshade effect. + reshade_effect = system.config.get_str("gamescope_reshade_effect") + if reshade_effect: + gamescope_arguments.extend(["--reshade-effect", reshade_effect]) + + gamescope_arguments.append("--") + + command.array = gamescope_arguments + command.array diff --git a/package/batocera/core/batocera-system/Config.in b/package/batocera/core/batocera-system/Config.in index 3dfc406daf0..7a28e2be8b5 100644 --- a/package/batocera/core/batocera-system/Config.in +++ b/package/batocera/core/batocera-system/Config.in @@ -579,6 +579,8 @@ config BR2_PACKAGE_BATOCERA_SYSTEM BR2_PACKAGE_BATOCERA_TARGET_RK3588 || \ BR2_PACKAGE_BATOCERA_TARGET_RK3588_SDIO || \ BR2_PACKAGE_BATOCERA_TARGET_RK3588_MAINLINE + # gamescope + select BR2_PACKAGE_GAMESCOPE if BR2_PACKAGE_BATOCERA_TARGET_X86_64_ANY help Install the batocera.linux system files diff --git a/package/batocera/emulationstation/batocera-es-system/_global.emulator.yml b/package/batocera/emulationstation/batocera-es-system/_global.emulator.yml index b8f9f9ae7f8..4cb875e38b6 100644 --- a/package/batocera/emulationstation/batocera-es-system/_global.emulator.yml +++ b/package/batocera/emulationstation/batocera-es-system/_global.emulator.yml @@ -15,6 +15,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits - ai_service_enabled - ai_target_lang - ai_service_url diff --git a/package/batocera/emulationstation/batocera-es-system/batocera-es-system.mk b/package/batocera/emulationstation/batocera-es-system/batocera-es-system.mk index eb24ba34272..b76cdf2f4cf 100644 --- a/package/batocera/emulationstation/batocera-es-system/batocera-es-system.mk +++ b/package/batocera/emulationstation/batocera-es-system/batocera-es-system.mk @@ -17,6 +17,7 @@ HOST_BATOCERA_ES_SYSTEM_DEPENDENCIES = host-python-batocera-common $(eval $(call register,_shared.emulator.yml _global.emulator.yml lexaloffle.emulator.yml sh.emulator.yml)) $(eval $(call register-if-kconfig,BR2_PACKAGE_BATOCERA_TARGET_X86_64_ANY,tdp._shared.emulator.yml)) +$(eval $(call register-if-kconfig,BR2_PACKAGE_GAMESCOPE,gamescope._shared.emulator.yml)) $(eval $(call register-if-none-of,$(BATOCERA_SYSTEM_ARCH),s905 bcm2835 bcm2836,hud._shared.emulator.yml)) $(eval $(call register-if-kconfig,BR2_PACKAGE_STELLA,stella.emulator.yml)) diff --git a/package/batocera/emulationstation/batocera-es-system/gamescope._shared.emulator.yml b/package/batocera/emulationstation/batocera-es-system/gamescope._shared.emulator.yml new file mode 100644 index 00000000000..d526ec30b02 --- /dev/null +++ b/package/batocera/emulationstation/batocera-es-system/gamescope._shared.emulator.yml @@ -0,0 +1,202 @@ +# gamescope options. Registered only when gamescope is actually built, +# which replaces the archs_include the old es_features.yml used. +# See batocera-es-system.mk. +custom_features: + gamescope: + submenu: GAMESCOPE + prompt: GAMESCOPE ENABLE + description: Enable GameScope compositor for enhanced game display. Default Off. + choices: + 'Off': 0 + 'On': 1 + before: ai_service_enabled + gamescope_output_resolution: + submenu: GAMESCOPE + prompt: OUTPUT RESOLUTION + description: Select the output resolution for GameScope. Default is current monitor resolution. + choices: + 640x480: 640x480 + 576x768: 576x768 + 800x600: 800x600 + 960x720: 960x720 + 1024x768: 1024x768 + 1280x720: 1280x720 + 1440x1080: 1440x1080 + 1920x1080: 1920x1080 + 2048x1080: 2048x1080 + 2560x1444: 2560x1444 + 3840x2160: 3840x2160 + 4096x2160: 4096x2160 + before: ai_service_enabled + gamescope_nested_resolution: + submenu: GAMESCOPE + prompt: GAME NESTED RESOLUTION + description: Select the game (nested) resolution for GameScope. Default is output resolution. + choices: + 640x480: 640x480 + 576x768: 576x768 + 800x600: 800x600 + 960x720: 960x720 + 1024x768: 1024x768 + 1280x720: 1280x720 + 1440x1080: 1440x1080 + 1920x1080: 1920x1080 + 2048x1080: 2048x1080 + 2560x1444: 2560x1444 + 3840x2160: 3840x2160 + 4096x2160: 4096x2160 + before: ai_service_enabled + gamescope_nested_refresh: + submenu: GAMESCOPE + prompt: GAME REFRESH RATE + description: Set the refresh rate (fps) for the game when using GameScope. Default 60Hz. + choices: + 60Hz: 60 + 75Hz: 75 + 120Hz: 120 + 138Hz: 138 + 144Hz: 144 + 150Hz: 150 + 165Hz: 165 + 170Hz: 170 + 175Hz: 175 + 180Hz: 180 + 200Hz: 200 + 240Hz: 240 + 270Hz: 270 + 275Hz: 275 + 280Hz: 280 + 360Hz: 360 + 390Hz: 390 + 480Hz: 480 + 540Hz: 540 + before: ai_service_enabled + gamescope_framerate_limit: + submenu: GAMESCOPE + prompt: FRAMERATE LIMIT + description: Set a simple framerate limit. Used as a divisor of the refresh rate, rounds down (e.g., 60 / 59 -> 60fps, 60 / 25 -> 30fps). + choices: + '1': 1 + '2': 2 + '3': 3 + '4': 4 + '6': 6 + '10': 10 + '15': 15 + '30': 30 + '60': 60 + before: ai_service_enabled + gamescope_scaler: + submenu: GAMESCOPE + prompt: GAMESCOPE SCALER + description: Choose the upscaler type for GameScope. Default stretch. + choices: + integer: integer + fit: fit + fill: fill + stretch: stretch + before: ai_service_enabled + gamescope_filter: + submenu: GAMESCOPE + prompt: GAMESCOPE FILTER + description: Choose the upscaler filter for GameScope. Default linear. + choices: + linear: linear + nearest: nearest + fsr: fsr + nis: nis + pixel: pixel + before: ai_service_enabled + gamescope_sharpness: + submenu: GAMESCOPE + prompt: GAMESCOPE SHARPNESS + description: Set the upscaler sharpness (0 for maximum sharpness, 20 for minimum). + choices: + '0': 0 + '5': 5 + '10': 10 + '15': 15 + '20': 20 + before: ai_service_enabled + gamescope_reshade_effect: + submenu: GAMESCOPE + prompt: GAMESCOPE RESHADE EFFECT + description: Specify a ReShade shader effect to use with GameScope. + # free text, as it was in the old choice-less es_features.yml entry + preset: input + before: ai_service_enabled + gamescope_hdr: + submenu: GAMESCOPE + prompt: GAMESCOPE HDR + description: Enable HDR mode in GameScope if supported. + choices: + 'Off': 0 + 'On': 1 + before: ai_service_enabled + gamescope_sdr_gamut_wideness: + submenu: GAMESCOPE + prompt: SDR GAMUT WIDENESS + description: Set the 'wideness' of the gamut for SDR content. + choices: + '0': 0 + '0.25': 0.25 + '0.5': 0.5 + '0.75': 0.75 + '1': 1 + before: ai_service_enabled + gamescope_hdr_sdr_content_nits: + submenu: GAMESCOPE + prompt: HDR SDR CONTENT NITS + description: 'Set the luminance of SDR content in nits. Default: 400 nits.' + choices: + '100': 100 + '200': 200 + '300': 300 + '400': 400 + '500': 500 + '600': 600 + '700': 700 + '800': 800 + '900': 900 + '1000': 1000 + before: ai_service_enabled + gamescope_hdr_itm_enabled: + submenu: GAMESCOPE + prompt: HDR ITM ENABLED + description: Enable SDR->HDR inverse tone mapping. + choices: + 'Off': 0 + 'On': 1 + before: ai_service_enabled + gamescope_hdr_itm_sdr_nits: + submenu: GAMESCOPE + prompt: HDR ITM SDR NITS + description: 'Set the luminance (in nits) of SDR content used as input for inverse tone mapping. Default: 100 nits, Max: 1000 nits.' + choices: + '100': 100 + '200': 200 + '300': 300 + '400': 400 + '500': 500 + '600': 600 + '700': 700 + '800': 800 + '900': 900 + '1000': 1000 + before: ai_service_enabled + gamescope_hdr_itm_target_nits: + submenu: GAMESCOPE + prompt: HDR ITM TARGET NITS + description: 'Set the target luminance (in nits) of the inverse tone mapping process. Default: 1000 nits, Max: 10000 nits.' + choices: + '1000': 1000 + '2000': 2000 + '3000': 3000 + '4000': 4000 + '5000': 5000 + '6000': 6000 + '7000': 7000 + '8000': 8000 + '9000': 9000 + '10000': 10000 + before: ai_service_enabled diff --git a/package/batocera/emulationstation/batocera-es-system/lexaloffle.emulator.yml b/package/batocera/emulationstation/batocera-es-system/lexaloffle.emulator.yml index ff0f9b68e01..7d1db69c841 100644 --- a/package/batocera/emulationstation/batocera-es-system/lexaloffle.emulator.yml +++ b/package/batocera/emulationstation/batocera-es-system/lexaloffle.emulator.yml @@ -12,3 +12,18 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits diff --git a/package/batocera/emulationstation/batocera-es-system/sh.emulator.yml b/package/batocera/emulationstation/batocera-es-system/sh.emulator.yml index a39df0cbf10..5db9ae8af56 100644 --- a/package/batocera/emulationstation/batocera-es-system/sh.emulator.yml +++ b/package/batocera/emulationstation/batocera-es-system/sh.emulator.yml @@ -12,5 +12,20 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - ports diff --git a/package/batocera/emulators/amiberry/amiberry.emulator.yml b/package/batocera/emulators/amiberry/amiberry.emulator.yml index a68fc61511e..3ddb815c678 100644 --- a/package/batocera/emulators/amiberry/amiberry.emulator.yml +++ b/package/batocera/emulators/amiberry/amiberry.emulator.yml @@ -13,6 +13,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: amiberry_linemode: group: ADVANCED OPTIONS diff --git a/package/batocera/emulators/azahar/azahar.emulator.yml b/package/batocera/emulators/azahar/azahar.emulator.yml index 39471229397..06ed9931fa8 100644 --- a/package/batocera/emulators/azahar/azahar.emulator.yml +++ b/package/batocera/emulators/azahar/azahar.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: azahar_screen_layout: prompt: SCREEN LAYOUT diff --git a/package/batocera/emulators/bigpemu/bigpemu.emulator.yml b/package/batocera/emulators/bigpemu/bigpemu.emulator.yml index 8379beb93a5..69fc1f8510b 100644 --- a/package/batocera/emulators/bigpemu/bigpemu.emulator.yml +++ b/package/batocera/emulators/bigpemu/bigpemu.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits features: - padtokeyboard custom_features: diff --git a/package/batocera/emulators/cemu-common/cemu.emulator.yml b/package/batocera/emulators/cemu-common/cemu.emulator.yml index 94c896f521c..8ff7355fe4c 100644 --- a/package/batocera/emulators/cemu-common/cemu.emulator.yml +++ b/package/batocera/emulators/cemu-common/cemu.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits - use_wheels - wheel_rotation - wheel_deadzone diff --git a/package/batocera/emulators/citron/citron.emulator.yml b/package/batocera/emulators/citron/citron.emulator.yml index 15cf139a3e1..e85c2107bb5 100644 --- a/package/batocera/emulators/citron/citron.emulator.yml +++ b/package/batocera/emulators/citron/citron.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: citron_scale: submenu: VIDEO diff --git a/package/batocera/emulators/clk/clk.emulator.yml b/package/batocera/emulators/clk/clk.emulator.yml index d5da4d9f8a1..89e47381ddc 100644 --- a/package/batocera/emulators/clk/clk.emulator.yml +++ b/package/batocera/emulators/clk/clk.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - enterprise - name: amstradcpc diff --git a/package/batocera/emulators/dosbox-staging/dosbox_staging.emulator.yml b/package/batocera/emulators/dosbox-staging/dosbox_staging.emulator.yml index b99de612199..697dfa831c3 100644 --- a/package/batocera/emulators/dosbox-staging/dosbox_staging.emulator.yml +++ b/package/batocera/emulators/dosbox-staging/dosbox_staging.emulator.yml @@ -13,6 +13,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - name: dos exclude_extensions: diff --git a/package/batocera/emulators/dosbox-x/dosbox-x.emulator.yml b/package/batocera/emulators/dosbox-x/dosbox-x.emulator.yml index 1b2080d6371..594dc58d648 100644 --- a/package/batocera/emulators/dosbox-x/dosbox-x.emulator.yml +++ b/package/batocera/emulators/dosbox-x/dosbox-x.emulator.yml @@ -13,6 +13,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - name: dos as_emulator: dosboxx diff --git a/package/batocera/emulators/dosbox/dosbox.emulator.yml b/package/batocera/emulators/dosbox/dosbox.emulator.yml index dcff51f6394..d0423e73837 100644 --- a/package/batocera/emulators/dosbox/dosbox.emulator.yml +++ b/package/batocera/emulators/dosbox/dosbox.emulator.yml @@ -13,6 +13,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: dosbox_cpu_core: submenu: EMULATION diff --git a/package/batocera/emulators/drastic/drastic.emulator.yml b/package/batocera/emulators/drastic/drastic.emulator.yml index c40e32699b8..9bbf380e27a 100644 --- a/package/batocera/emulators/drastic/drastic.emulator.yml +++ b/package/batocera/emulators/drastic/drastic.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: drastic_hires: prompt: ENHANCED RENDERING RESOLUTION diff --git a/package/batocera/emulators/duckstation-common/duckstation.emulator.yml b/package/batocera/emulators/duckstation-common/duckstation.emulator.yml index 082ef6d844e..bf2157fb1e4 100644 --- a/package/batocera/emulators/duckstation-common/duckstation.emulator.yml +++ b/package/batocera/emulators/duckstation-common/duckstation.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits - use_guns - use_wheels - wheel_rotation diff --git a/package/batocera/emulators/easyrpg/easyrpg-player/easyrpg.emulator.yml b/package/batocera/emulators/easyrpg/easyrpg-player/easyrpg.emulator.yml index 1e8d6ff61f2..02f934ea721 100644 --- a/package/batocera/emulators/easyrpg/easyrpg-player/easyrpg.emulator.yml +++ b/package/batocera/emulators/easyrpg/easyrpg-player/easyrpg.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: testplay: prompt: TEST PLAY diff --git a/package/batocera/emulators/eka2l1/eka2l1.emulator.yml b/package/batocera/emulators/eka2l1/eka2l1.emulator.yml index 764a28df0b0..a4371c4e028 100644 --- a/package/batocera/emulators/eka2l1/eka2l1.emulator.yml +++ b/package/batocera/emulators/eka2l1/eka2l1.emulator.yml @@ -10,5 +10,20 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - ngage diff --git a/package/batocera/emulators/flycast/flycast.emulator.yml b/package/batocera/emulators/flycast/flycast.emulator.yml index 0ffb8036a64..61b694cb5c4 100644 --- a/package/batocera/emulators/flycast/flycast.emulator.yml +++ b/package/batocera/emulators/flycast/flycast.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits - use_wheels - wheel_rotation - wheel_deadzone diff --git a/package/batocera/emulators/fsuae/fsuae.emulator.yml b/package/batocera/emulators/fsuae/fsuae.emulator.yml index 34ff256abbf..70bf821a5eb 100644 --- a/package/batocera/emulators/fsuae/fsuae.emulator.yml +++ b/package/batocera/emulators/fsuae/fsuae.emulator.yml @@ -13,6 +13,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - name: amiga1200 as_core: diff --git a/package/batocera/emulators/gsplus/gsplus.emulator.yml b/package/batocera/emulators/gsplus/gsplus.emulator.yml index cd9c70cdc7e..a3551a8cd48 100644 --- a/package/batocera/emulators/gsplus/gsplus.emulator.yml +++ b/package/batocera/emulators/gsplus/gsplus.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: gsplus_bios_filename: prompt: GSPLUS BIOS FILENAME diff --git a/package/batocera/emulators/hatari/hatari.emulator.yml b/package/batocera/emulators/hatari/hatari.emulator.yml index 0a0e6873c44..5a6bdea4766 100644 --- a/package/batocera/emulators/hatari/hatari.emulator.yml +++ b/package/batocera/emulators/hatari/hatari.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: model: prompt: MODEL diff --git a/package/batocera/emulators/ikemen/ikemen.emulator.yml b/package/batocera/emulators/ikemen/ikemen.emulator.yml index b9c6b0b9673..95c6ec9cc51 100644 --- a/package/batocera/emulators/ikemen/ikemen.emulator.yml +++ b/package/batocera/emulators/ikemen/ikemen.emulator.yml @@ -12,5 +12,20 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - ikemen diff --git a/package/batocera/emulators/lightspark/lightspark.emulator.yml b/package/batocera/emulators/lightspark/lightspark.emulator.yml index 9af21a7c4d6..17e8209fa84 100644 --- a/package/batocera/emulators/lightspark/lightspark.emulator.yml +++ b/package/batocera/emulators/lightspark/lightspark.emulator.yml @@ -12,5 +12,20 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - flash diff --git a/package/batocera/emulators/lindbergh-loader/lindbergh-loader.emulator.yml b/package/batocera/emulators/lindbergh-loader/lindbergh-loader.emulator.yml index a7e8f894ce4..350dc88079c 100644 --- a/package/batocera/emulators/lindbergh-loader/lindbergh-loader.emulator.yml +++ b/package/batocera/emulators/lindbergh-loader/lindbergh-loader.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits - use_guns - use_wheels - wheel_rotation diff --git a/package/batocera/emulators/mame/mame.emulator.yml b/package/batocera/emulators/mame/mame.emulator.yml index 082752eb37a..1855284b77f 100644 --- a/package/batocera/emulators/mame/mame.emulator.yml +++ b/package/batocera/emulators/mame/mame.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits - use_guns - use_wheels - wheel_rotation diff --git a/package/batocera/emulators/melonds/melonds.emulator.yml b/package/batocera/emulators/melonds/melonds.emulator.yml index 84e4466fc49..b8e18bdd214 100644 --- a/package/batocera/emulators/melonds/melonds.emulator.yml +++ b/package/batocera/emulators/melonds/melonds.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: melonds_renderer: prompt: GRAPHICS API diff --git a/package/batocera/emulators/mupen64plus/mupen64plus-core/mupen64plus.emulator.yml b/package/batocera/emulators/mupen64plus/mupen64plus-core/mupen64plus.emulator.yml index e7101c5805d..c448830f47f 100644 --- a/package/batocera/emulators/mupen64plus/mupen64plus-core/mupen64plus.emulator.yml +++ b/package/batocera/emulators/mupen64plus/mupen64plus-core/mupen64plus.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits - use_wheels - wheel_rotation - wheel_deadzone diff --git a/package/batocera/emulators/openmsx/openmsx.emulator.yml b/package/batocera/emulators/openmsx/openmsx.emulator.yml index c207d892095..e77a86469a0 100644 --- a/package/batocera/emulators/openmsx/openmsx.emulator.yml +++ b/package/batocera/emulators/openmsx/openmsx.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: openmsx_loading: prompt: LOADING SPEED diff --git a/package/batocera/emulators/ppsspp/ppsspp.emulator.yml b/package/batocera/emulators/ppsspp/ppsspp.emulator.yml index 506e7f35e19..94d70919eb2 100644 --- a/package/batocera/emulators/ppsspp/ppsspp.emulator.yml +++ b/package/batocera/emulators/ppsspp/ppsspp.emulator.yml @@ -8,6 +8,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits - rewind custom_features: internal_resolution: diff --git a/package/batocera/emulators/python-pyxel/pyxel.emulator.yml b/package/batocera/emulators/python-pyxel/pyxel.emulator.yml index 2295cd281cb..46a3141f391 100644 --- a/package/batocera/emulators/python-pyxel/pyxel.emulator.yml +++ b/package/batocera/emulators/python-pyxel/pyxel.emulator.yml @@ -12,5 +12,20 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - pyxel diff --git a/package/batocera/emulators/redream/redream.emulator.yml b/package/batocera/emulators/redream/redream.emulator.yml index 2fc28d8d377..a6b0660e879 100644 --- a/package/batocera/emulators/redream/redream.emulator.yml +++ b/package/batocera/emulators/redream/redream.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: redreamResolution: prompt: RENDERING RESOLUTION diff --git a/package/batocera/emulators/retroarch/retroarch/libretro.emulator.yml b/package/batocera/emulators/retroarch/retroarch/libretro.emulator.yml index fd91d997f71..75c035a0efb 100644 --- a/package/batocera/emulators/retroarch/retroarch/libretro.emulator.yml +++ b/package/batocera/emulators/retroarch/retroarch/libretro.emulator.yml @@ -14,6 +14,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits - ai_service_enabled - ai_target_lang - ai_service_url diff --git a/package/batocera/emulators/rpcs3/rpcs3.emulator.yml b/package/batocera/emulators/rpcs3/rpcs3.emulator.yml index 6171ad26b06..0dad85536b7 100644 --- a/package/batocera/emulators/rpcs3/rpcs3.emulator.yml +++ b/package/batocera/emulators/rpcs3/rpcs3.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits - use_guns - use_wheels - wheel_rotation diff --git a/package/batocera/emulators/ryujinx/ryujinx.emulator.yml b/package/batocera/emulators/ryujinx/ryujinx.emulator.yml index cf96ccaeefc..e04a0d630c5 100644 --- a/package/batocera/emulators/ryujinx/ryujinx.emulator.yml +++ b/package/batocera/emulators/ryujinx/ryujinx.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: ryujinx_api: prompt: GRAPHICS API diff --git a/package/batocera/emulators/scummvm/scummvm.emulator.yml b/package/batocera/emulators/scummvm/scummvm.emulator.yml index 0876c0ebe2e..cebf3afc44b 100644 --- a/package/batocera/emulators/scummvm/scummvm.emulator.yml +++ b/package/batocera/emulators/scummvm/scummvm.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: scumm_scale: prompt: SCALE FACTOR diff --git a/package/batocera/emulators/shadps4/shadps4.emulator.yml b/package/batocera/emulators/shadps4/shadps4.emulator.yml index a04093e9cc5..4405265041d 100644 --- a/package/batocera/emulators/shadps4/shadps4.emulator.yml +++ b/package/batocera/emulators/shadps4/shadps4.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: shadps4_fsr: submenu: GRAPHICS diff --git a/package/batocera/emulators/simcoupe/samcoupe.emulator.yml b/package/batocera/emulators/simcoupe/samcoupe.emulator.yml index 02dba772d39..98e4f9d898e 100644 --- a/package/batocera/emulators/simcoupe/samcoupe.emulator.yml +++ b/package/batocera/emulators/simcoupe/samcoupe.emulator.yml @@ -12,5 +12,20 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - samcoupe diff --git a/package/batocera/emulators/solarus-engine/solarus.emulator.yml b/package/batocera/emulators/solarus-engine/solarus.emulator.yml index 777352a686a..0f2af447df9 100644 --- a/package/batocera/emulators/solarus-engine/solarus.emulator.yml +++ b/package/batocera/emulators/solarus-engine/solarus.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: joystick: prompt: CONTROL CHOICE diff --git a/package/batocera/emulators/supermodel-common/supermodel.emulator.yml b/package/batocera/emulators/supermodel-common/supermodel.emulator.yml index 026f1365f72..38e632de40b 100644 --- a/package/batocera/emulators/supermodel-common/supermodel.emulator.yml +++ b/package/batocera/emulators/supermodel-common/supermodel.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits - use_wheels - wheel_rotation - wheel_deadzone diff --git a/package/batocera/emulators/tsugaru/tsugaru.emulator.yml b/package/batocera/emulators/tsugaru/tsugaru.emulator.yml index 25435f71b47..f2c41110fae 100644 --- a/package/batocera/emulators/tsugaru/tsugaru.emulator.yml +++ b/package/batocera/emulators/tsugaru/tsugaru.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: cdrom_speed: group: ADVANCED OPTIONS diff --git a/package/batocera/emulators/vice/vice.emulator.yml b/package/batocera/emulators/vice/vice.emulator.yml index d76617d8848..a1cc7a70a53 100644 --- a/package/batocera/emulators/vice/vice.emulator.yml +++ b/package/batocera/emulators/vice/vice.emulator.yml @@ -13,6 +13,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: noborder: group: ADVANCED OPTIONS diff --git a/package/batocera/emulators/vpinball/vpinball.emulator.yml b/package/batocera/emulators/vpinball/vpinball.emulator.yml index d150d22e333..279cdc7d3e0 100644 --- a/package/batocera/emulators/vpinball/vpinball.emulator.yml +++ b/package/batocera/emulators/vpinball/vpinball.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: vpinball_folders: group: EXPERT SETTINGS diff --git a/package/batocera/emulators/x16emu/x16emu.emulator.yml b/package/batocera/emulators/x16emu/x16emu.emulator.yml index 4b7ec6692a5..6d85fa6d92a 100644 --- a/package/batocera/emulators/x16emu/x16emu.emulator.yml +++ b/package/batocera/emulators/x16emu/x16emu.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: x16emu_scale: prompt: RENDERING RESOLUTION diff --git a/package/batocera/emulators/xemu/xemu.emulator.yml b/package/batocera/emulators/xemu/xemu.emulator.yml index 9b4f13d158e..c3abc7a4618 100644 --- a/package/batocera/emulators/xemu/xemu.emulator.yml +++ b/package/batocera/emulators/xemu/xemu.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: xemu_api: prompt: GRAPHICS API diff --git a/package/batocera/emulators/xenia-edge/xenia-edge.emulator.yml b/package/batocera/emulators/xenia-edge/xenia-edge.emulator.yml index df42bbe25ca..bb512e23c36 100644 --- a/package/batocera/emulators/xenia-edge/xenia-edge.emulator.yml +++ b/package/batocera/emulators/xenia-edge/xenia-edge.emulator.yml @@ -11,6 +11,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: xenia_edge_render_target_path: submenu: GRAPHICS diff --git a/package/batocera/emulators/xroar/xroar.emulator.yml b/package/batocera/emulators/xroar/xroar.emulator.yml index 96883d2429f..6e7aac89ce5 100644 --- a/package/batocera/emulators/xroar/xroar.emulator.yml +++ b/package/batocera/emulators/xroar/xroar.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: xroar_machine: prompt: Machine Type diff --git a/package/batocera/emulators/ymir/ymir.emulator.yml b/package/batocera/emulators/ymir/ymir.emulator.yml index d2ca2f6b077..b007a83a1c6 100644 --- a/package/batocera/emulators/ymir/ymir.emulator.yml +++ b/package/batocera/emulators/ymir/ymir.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: ymir_aspect: prompt: ASPECT RATIO diff --git a/package/batocera/ports/abuse/abuse.emulator.yml b/package/batocera/ports/abuse/abuse.emulator.yml index 6b1f2c0cf32..abc05418060 100644 --- a/package/batocera/ports/abuse/abuse.emulator.yml +++ b/package/batocera/ports/abuse/abuse.emulator.yml @@ -12,5 +12,20 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - abuse diff --git a/package/batocera/ports/bstone/bstone.emulator.yml b/package/batocera/ports/bstone/bstone.emulator.yml index cb8938c354e..cb783d3d552 100644 --- a/package/batocera/ports/bstone/bstone.emulator.yml +++ b/package/batocera/ports/bstone/bstone.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: bstone_widescreen: prompt: ENABLE WIDESCREEN diff --git a/package/batocera/ports/catacombgl/catacombgl.emulator.yml b/package/batocera/ports/catacombgl/catacombgl.emulator.yml index 89b014fd9a6..74b403f3441 100644 --- a/package/batocera/ports/catacombgl/catacombgl.emulator.yml +++ b/package/batocera/ports/catacombgl/catacombgl.emulator.yml @@ -12,5 +12,20 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - catacomb diff --git a/package/batocera/ports/cdogs/cdogs.emulator.yml b/package/batocera/ports/cdogs/cdogs.emulator.yml index 1bd751c8175..9fa643bb3a8 100644 --- a/package/batocera/ports/cdogs/cdogs.emulator.yml +++ b/package/batocera/ports/cdogs/cdogs.emulator.yml @@ -12,5 +12,20 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - cdogs diff --git a/package/batocera/ports/cgenius/cgenius.emulator.yml b/package/batocera/ports/cgenius/cgenius.emulator.yml index 4bece93c134..9cb857f7c6c 100644 --- a/package/batocera/ports/cgenius/cgenius.emulator.yml +++ b/package/batocera/ports/cgenius/cgenius.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: cgenius_aspect: prompt: ASPECT RATIO diff --git a/package/batocera/ports/devilutionx/devilutionx.emulator.yml b/package/batocera/ports/devilutionx/devilutionx.emulator.yml index a0da679cb06..dde9cbfa056 100644 --- a/package/batocera/ports/devilutionx/devilutionx.emulator.yml +++ b/package/batocera/ports/devilutionx/devilutionx.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: devilutionx_stretch: prompt: STRETCH TO FILL diff --git a/package/batocera/ports/dhewm3/dhewm3.emulator.yml b/package/batocera/ports/dhewm3/dhewm3.emulator.yml index 42fd9d6d9ae..9e4689db3bf 100644 --- a/package/batocera/ports/dhewm3/dhewm3.emulator.yml +++ b/package/batocera/ports/dhewm3/dhewm3.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: dhewm3_brightness: prompt: BRIGHTNESS diff --git a/package/batocera/ports/dxx-rebirth/dxx-rebirth.emulator.yml b/package/batocera/ports/dxx-rebirth/dxx-rebirth.emulator.yml index 5df0deeea99..c4f85cc09c8 100644 --- a/package/batocera/ports/dxx-rebirth/dxx-rebirth.emulator.yml +++ b/package/batocera/ports/dxx-rebirth/dxx-rebirth.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: rebirth_vsync: prompt: VSYNC diff --git a/package/batocera/ports/ecwolf/ecwolf.emulator.yml b/package/batocera/ports/ecwolf/ecwolf.emulator.yml index 64d316a889e..57044692af7 100644 --- a/package/batocera/ports/ecwolf/ecwolf.emulator.yml +++ b/package/batocera/ports/ecwolf/ecwolf.emulator.yml @@ -12,5 +12,20 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - ecwolf diff --git a/package/batocera/ports/eduke32/eduke32.emulator.yml b/package/batocera/ports/eduke32/eduke32.emulator.yml index 99176415fb6..df798c03f92 100644 --- a/package/batocera/ports/eduke32/eduke32.emulator.yml +++ b/package/batocera/ports/eduke32/eduke32.emulator.yml @@ -11,6 +11,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: nologo: prompt: SKIP INTRO VIDEOS diff --git a/package/batocera/ports/etlegacy/etlegacy.emulator.yml b/package/batocera/ports/etlegacy/etlegacy.emulator.yml index 1f253d2adb8..846627e3229 100644 --- a/package/batocera/ports/etlegacy/etlegacy.emulator.yml +++ b/package/batocera/ports/etlegacy/etlegacy.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits features: - padtokeyboard custom_features: diff --git a/package/batocera/ports/fallout1-ce/fallout1-ce.emulator.yml b/package/batocera/ports/fallout1-ce/fallout1-ce.emulator.yml index 9a469f8b879..9cae6b78d1d 100644 --- a/package/batocera/ports/fallout1-ce/fallout1-ce.emulator.yml +++ b/package/batocera/ports/fallout1-ce/fallout1-ce.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits features: - padtokeyboard custom_features: diff --git a/package/batocera/ports/fallout2-ce/fallout2-ce.emulator.yml b/package/batocera/ports/fallout2-ce/fallout2-ce.emulator.yml index 848035ddf68..9b2052a859e 100644 --- a/package/batocera/ports/fallout2-ce/fallout2-ce.emulator.yml +++ b/package/batocera/ports/fallout2-ce/fallout2-ce.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits features: - padtokeyboard custom_features: diff --git a/package/batocera/ports/gzdoom/gzdoom.emulator.yml b/package/batocera/ports/gzdoom/gzdoom.emulator.yml index e1c3ac81787..85536419ba1 100644 --- a/package/batocera/ports/gzdoom/gzdoom.emulator.yml +++ b/package/batocera/ports/gzdoom/gzdoom.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits features: - padtokeyboard custom_features: diff --git a/package/batocera/ports/ioquake3/ioquake3.emulator.yml b/package/batocera/ports/ioquake3/ioquake3.emulator.yml index 217e775003f..890c47d6f33 100644 --- a/package/batocera/ports/ioquake3/ioquake3.emulator.yml +++ b/package/batocera/ports/ioquake3/ioquake3.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits features: - padtokeyboard custom_features: diff --git a/package/batocera/ports/iortcw/iortcw.emulator.yml b/package/batocera/ports/iortcw/iortcw.emulator.yml index 3c1e75ca174..c231ef797d8 100644 --- a/package/batocera/ports/iortcw/iortcw.emulator.yml +++ b/package/batocera/ports/iortcw/iortcw.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits features: - padtokeyboard custom_features: diff --git a/package/batocera/ports/jazz2-native/jazz2-native.emulator.yml b/package/batocera/ports/jazz2-native/jazz2-native.emulator.yml index 03ca7b115e1..7e732158dc7 100644 --- a/package/batocera/ports/jazz2-native/jazz2-native.emulator.yml +++ b/package/batocera/ports/jazz2-native/jazz2-native.emulator.yml @@ -12,5 +12,20 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - jazz2 diff --git a/package/batocera/ports/openjazz/openjazz.emulator.yml b/package/batocera/ports/openjazz/openjazz.emulator.yml index b3dea502750..abcefe6f89d 100644 --- a/package/batocera/ports/openjazz/openjazz.emulator.yml +++ b/package/batocera/ports/openjazz/openjazz.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: jazz_resolution: prompt: RENDERING RESOLUTION diff --git a/package/batocera/ports/openjk/openjk.emulator.yml b/package/batocera/ports/openjk/openjk.emulator.yml index 9797e841cb6..939e7173762 100644 --- a/package/batocera/ports/openjk/openjk.emulator.yml +++ b/package/batocera/ports/openjk/openjk.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: openjk_colour: submenu: VIDEO diff --git a/package/batocera/ports/openjkdf2/openjkdf2.emulator.yml b/package/batocera/ports/openjkdf2/openjkdf2.emulator.yml index 1f5f03b1562..7cd88cf741a 100644 --- a/package/batocera/ports/openjkdf2/openjkdf2.emulator.yml +++ b/package/batocera/ports/openjkdf2/openjkdf2.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: jkdf2_difficulty: prompt: DIFFICULTY diff --git a/package/batocera/ports/openmohaa/openmohaa.emulator.yml b/package/batocera/ports/openmohaa/openmohaa.emulator.yml index 279b0970cfb..809b1f97d9d 100644 --- a/package/batocera/ports/openmohaa/openmohaa.emulator.yml +++ b/package/batocera/ports/openmohaa/openmohaa.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: mohaa_colour: submenu: VIDEO diff --git a/package/batocera/ports/raze/raze.emulator.yml b/package/batocera/ports/raze/raze.emulator.yml index 477bbe5cde2..e742348437f 100644 --- a/package/batocera/ports/raze/raze.emulator.yml +++ b/package/batocera/ports/raze/raze.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits features: - padtokeyboard custom_features: diff --git a/package/batocera/ports/sonic-mania/sonic-mania.emulator.yml b/package/batocera/ports/sonic-mania/sonic-mania.emulator.yml index 6d101b3991a..794d9ba9210 100644 --- a/package/batocera/ports/sonic-mania/sonic-mania.emulator.yml +++ b/package/batocera/ports/sonic-mania/sonic-mania.emulator.yml @@ -8,6 +8,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits features: - padtokeyboard custom_features: diff --git a/package/batocera/ports/sonic2013/sonic2013.emulator.yml b/package/batocera/ports/sonic2013/sonic2013.emulator.yml index 9c48e5d4a18..5c5b642a3f8 100644 --- a/package/batocera/ports/sonic2013/sonic2013.emulator.yml +++ b/package/batocera/ports/sonic2013/sonic2013.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: language: prompt: LANGUAGE diff --git a/package/batocera/ports/sonic3-air/sonic3-air.emulator.yml b/package/batocera/ports/sonic3-air/sonic3-air.emulator.yml index 54b720e5882..9df4971a354 100644 --- a/package/batocera/ports/sonic3-air/sonic3-air.emulator.yml +++ b/package/batocera/ports/sonic3-air/sonic3-air.emulator.yml @@ -8,6 +8,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits features: - padtokeyboard systems: diff --git a/package/batocera/ports/soniccd/soniccd.emulator.yml b/package/batocera/ports/soniccd/soniccd.emulator.yml index 693b158e577..58584ecde91 100644 --- a/package/batocera/ports/soniccd/soniccd.emulator.yml +++ b/package/batocera/ports/soniccd/soniccd.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: language: prompt: LANGUAGE diff --git a/package/batocera/ports/taradino/taradino.emulator.yml b/package/batocera/ports/taradino/taradino.emulator.yml index 19a85673174..f2b07881d04 100644 --- a/package/batocera/ports/taradino/taradino.emulator.yml +++ b/package/batocera/ports/taradino/taradino.emulator.yml @@ -12,5 +12,20 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - rott diff --git a/package/batocera/ports/theforceengine/theforceengine.emulator.yml b/package/batocera/ports/theforceengine/theforceengine.emulator.yml index d98ec7cc67f..fe1da6aa15a 100644 --- a/package/batocera/ports/theforceengine/theforceengine.emulator.yml +++ b/package/batocera/ports/theforceengine/theforceengine.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits custom_features: force_render_res: submenu: GRAPHICS diff --git a/package/batocera/ports/trx/trx.emulator.yml b/package/batocera/ports/trx/trx.emulator.yml index c404e3a949b..01a0dd4a14f 100644 --- a/package/batocera/ports/trx/trx.emulator.yml +++ b/package/batocera/ports/trx/trx.emulator.yml @@ -12,5 +12,20 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - traider diff --git a/package/batocera/ports/vkquake/vkquake.emulator.yml b/package/batocera/ports/vkquake/vkquake.emulator.yml index dd8762a46cd..ea06e87ab2a 100644 --- a/package/batocera/ports/vkquake/vkquake.emulator.yml +++ b/package/batocera/ports/vkquake/vkquake.emulator.yml @@ -12,5 +12,20 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - quake diff --git a/package/batocera/ports/vkquake2/vkquake2.emulator.yml b/package/batocera/ports/vkquake2/vkquake2.emulator.yml index 0e2ecc45dfb..b969d5ca963 100644 --- a/package/batocera/ports/vkquake2/vkquake2.emulator.yml +++ b/package/batocera/ports/vkquake2/vkquake2.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits systems: - name: quake2 exclude_extensions: diff --git a/package/batocera/ports/vkquake3/vkquake3.emulator.yml b/package/batocera/ports/vkquake3/vkquake3.emulator.yml index 389a5915c3c..98138a55ca7 100644 --- a/package/batocera/ports/vkquake3/vkquake3.emulator.yml +++ b/package/batocera/ports/vkquake3/vkquake3.emulator.yml @@ -10,6 +10,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits features: - padtokeyboard custom_features: diff --git a/package/batocera/utils/batocera-pygame/pygame.emulator.yml b/package/batocera/utils/batocera-pygame/pygame.emulator.yml index b15bb831838..f11c0f874a8 100644 --- a/package/batocera/utils/batocera-pygame/pygame.emulator.yml +++ b/package/batocera/utils/batocera-pygame/pygame.emulator.yml @@ -12,6 +12,21 @@ shared_features: - bezel.tattoo_corner - bezel.tattoo_file - bezel.resize_tattoo + - gamescope + - gamescope_nested_resolution + - gamescope_output_resolution + - gamescope_nested_refresh + - gamescope_framerate_limit + - gamescope_scaler + - gamescope_filter + - gamescope_sharpness + - gamescope_reshade_effect + - gamescope_hdr + - gamescope_sdr_gamut_wideness + - gamescope_hdr_sdr_content_nits + - gamescope_hdr_itm_enabled + - gamescope_hdr_itm_sdr_nits + - gamescope_hdr_itm_target_nits - use_guns systems: - pygame diff --git a/package/batocera/utils/gamescope/Config.in b/package/batocera/utils/gamescope/Config.in new file mode 100644 index 00000000000..f84a1327a7b --- /dev/null +++ b/package/batocera/utils/gamescope/Config.in @@ -0,0 +1,31 @@ +config BR2_PACKAGE_GAMESCOPE + bool "gamescope" + select BR2_PACKAGE_HWDATA + select BR2_PACKAGE_LIBDISPLAY_INFO + select BR2_PACKAGE_LIBINPUT + select BR2_PACKAGE_LIBXCB + select BR2_PACKAGE_LIBXKBCOMMON + select BR2_PACKAGE_PIXMAN + select BR2_PACKAGE_VULKAN_HEADERS + select BR2_PACKAGE_VULKAN_LOADER + select BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_WAYLAND_PROTOCOLS + select BR2_PACKAGE_XCB_UTIL_WM + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXCOMPOSITE + select BR2_PACKAGE_XLIB_LIBXCURSOR + select BR2_PACKAGE_XLIB_LIBXDAMAGE + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXFIXES + select BR2_PACKAGE_XLIB_LIBXI + select BR2_PACKAGE_XLIB_LIBXMU + select BR2_PACKAGE_XLIB_LIBXRENDER + select BR2_PACKAGE_XLIB_LIBXRES + select BR2_PACKAGE_XLIB_LIBXTST + select BR2_PACKAGE_XLIB_LIBXXF86VM + select BR2_PACKAGE_XWAYLAND + + help + SteamOS session compositing window manager + + https://github.com/Plagman/gamescope diff --git a/package/batocera/utils/gamescope/gamescope.mk b/package/batocera/utils/gamescope/gamescope.mk new file mode 100644 index 00000000000..3d729e6f43b --- /dev/null +++ b/package/batocera/utils/gamescope/gamescope.mk @@ -0,0 +1,108 @@ +################################################################################ +# +# gamescope +# +################################################################################ + +GAMESCOPE_VERSION = 3.16.25 +GAMESCOPE_SITE = https://github.com/ValveSoftware/gamescope +GAMESCOPE_SITE_METHOD = git +GAMESCOPE_GIT_SUBMODULES=YES + +GAMESCOPE_DEPENDENCIES += host-glslang hwdata libdisplay-info libinput libxcb libxkbcommon +GAMESCOPE_DEPENDENCIES += pixman udev vulkan-headers vulkan-loader wayland wayland-protocols +GAMESCOPE_DEPENDENCIES += xcb-util-wm xwayland +GAMESCOPE_DEPENDENCIES += xlib_libX11 xlib_libXcomposite xlib_libXcursor xlib_libXdamage +GAMESCOPE_DEPENDENCIES += xlib_libXext xlib_libXfixes xlib_libXi xlib_libXmu xlib_libXrender +GAMESCOPE_DEPENDENCIES += xlib_libXres xlib_libXtst xlib_libXxf86vm + +GAMESCOPE_CONF_OPTS = --wrap-mode=default +GAMESCOPE_CONF_OPTS += -Dbenchmark=disabled +GAMESCOPE_CONF_OPTS += -Denable_openvr_support=false +GAMESCOPE_CONF_OPTS += -Dinput_emulation=disabled +GAMESCOPE_CONF_OPTS += -Denable_tests=false + +GAMESCOPE_FALLBACK_DEPS = wlroots,libliftoff,vkroots,luajit,libdecor-0,libseat + +GAMESCOPE_CONF_OPTS += --force-fallback-for=$(GAMESCOPE_FALLBACK_DEPS) +GAMESCOPE_CONF_OPTS += -Dluajit:default_library=static +GAMESCOPE_CONF_OPTS += -Dluajit:luajit=false +GAMESCOPE_CONF_OPTS += -Dlibdecor:default_library=static +GAMESCOPE_CONF_OPTS += -Dlibdecor:dbus=disabled +GAMESCOPE_CONF_OPTS += -Dlibdecor:demo=false +GAMESCOPE_CONF_OPTS += -Dlibdecor:gtk=disabled + +GAMESCOPE_CONF_OPTS += -Dseatd:default_library=static +GAMESCOPE_CONF_OPTS += -Dseatd:libseat-builtin=enabled +GAMESCOPE_CONF_OPTS += -Dseatd:libseat-logind=disabled +GAMESCOPE_CONF_OPTS += -Dseatd:man-pages=disabled +GAMESCOPE_CONF_OPTS += -Dseatd:server=disabled + +GAMESCOPE_CONF_OPTS += -Dlibliftoff:werror=false +GAMESCOPE_CONF_OPTS += -Dseatd:werror=false +GAMESCOPE_CONF_OPTS += -Dwlroots:werror=false + +GAMESCOPE_EXTRA_DOWNLOADS += https://gitlab.freedesktop.org/libdecor/libdecor/-/archive/0.2.1/libdecor-0.2.1.tar.gz +GAMESCOPE_EXTRA_DOWNLOADS += https://git.sr.ht/~kennylevinsen/seatd/archive/0.9.0.tar.gz +GAMESCOPE_EXTRA_DOWNLOADS += https://github.com/mesonbuild/wrapdb/releases/download/luajit_2.1.1720049189-3/luajit-2.1.1720049189.tar.gz +GAMESCOPE_EXTRA_DOWNLOADS += https://github.com/mesonbuild/wrapdb/releases/download/luajit_2.1.1720049189-3/luajit_2.1.1720049189-3_patch.zip + +define GAMESCOPE_ADD_STATIC_SUBPROJECTS + mkdir -p $(@D)/subprojects/packagefiles $(@D)/subprojects/packagecache + cp -f $(GAMESCOPE_PKGDIR)/subprojects/*.wrap $(@D)/subprojects/ + cp -f $(GAMESCOPE_PKGDIR)/subprojects/packagefiles/* $(@D)/subprojects/packagefiles/ + cp -f $(GAMESCOPE_DL_DIR)/libdecor-0.2.1.tar.gz $(@D)/subprojects/packagecache/ + cp -f $(GAMESCOPE_DL_DIR)/0.9.0.tar.gz $(@D)/subprojects/packagecache/seatd-0.9.0.tar.gz + cp -f $(GAMESCOPE_DL_DIR)/luajit-2.1.1720049189.tar.gz $(@D)/subprojects/packagecache/ + cp -f $(GAMESCOPE_DL_DIR)/luajit_2.1.1720049189-3_patch.zip $(@D)/subprojects/packagecache/ +endef +GAMESCOPE_PRE_CONFIGURE_HOOKS += GAMESCOPE_ADD_STATIC_SUBPROJECTS + +ifeq ($(BR2_PACKAGE_LIBAVIF),y) +GAMESCOPE_DEPENDENCIES += libavif +GAMESCOPE_CONF_OPTS += -Davif_screenshots=enabled +else +GAMESCOPE_CONF_OPTS += -Davif_screenshots=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +GAMESCOPE_DEPENDENCIES += libcap +GAMESCOPE_CONF_OPTS += -Drt_cap=enabled +else +GAMESCOPE_CONF_OPTS += -Drt_cap=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBDRM),y) +GAMESCOPE_DEPENDENCIES += libdrm +GAMESCOPE_CONF_OPTS += -Ddrm_backend=enabled +else +GAMESCOPE_CONF_OPTS += -Ddrm_backend=disabled +endif + +ifeq ($(BR2_PACKAGE_PIPEWIRE),y) +GAMESCOPE_DEPENDENCIES += pipewire +GAMESCOPE_CONF_OPTS += -Dpipewire=enabled +else +GAMESCOPE_CONF_OPTS += -Dpipewire=disabled +endif + +ifeq ($(BR2_PACKAGE_SDL2),y) +GAMESCOPE_DEPENDENCIES += sdl2 +GAMESCOPE_CONF_OPTS += -Dsdl2_backend=enabled +else +GAMESCOPE_CONF_OPTS += -Dsdl2_backend=disabled +endif + +define GAMESCOPE_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/usr/bin + $(INSTALL) -D $(@D)/buildroot-build/src/gamescope $(TARGET_DIR)/usr/bin/gamescope + $(INSTALL) -D $(@D)/buildroot-build/src/gamescopereaper $(TARGET_DIR)/usr/bin/gamescopereaper + $(INSTALL) -D $(@D)/buildroot-build/src/gamescopestream $(TARGET_DIR)/usr/bin/gamescopestream + $(INSTALL) -D $(@D)/buildroot-build/src/gamescopectl $(TARGET_DIR)/usr/bin/gamescopectl + + mkdir -p $(TARGET_DIR)/usr/share/gamescope + cp -dpfr $(@D)/scripts $(TARGET_DIR)/usr/share/gamescope/scripts + cp -dpfr $(@D)/looks $(TARGET_DIR)/usr/share/gamescope/looks +endef + +$(eval $(meson-package)) diff --git a/package/batocera/utils/gamescope/subprojects/libdecor.wrap b/package/batocera/utils/gamescope/subprojects/libdecor.wrap new file mode 100644 index 00000000000..d01994bf4e2 --- /dev/null +++ b/package/batocera/utils/gamescope/subprojects/libdecor.wrap @@ -0,0 +1,11 @@ +[wrap-file] +directory = libdecor-0.2.1 +source_url = https://gitlab.freedesktop.org/libdecor/libdecor/-/archive/0.2.1/libdecor-0.2.1.tar.gz +source_filename = libdecor-0.2.1.tar.gz +source_hash = ebbb60cb43fefd34d0d4460f0de226fa28ba5b7566f09e0e170481316256e133 +diff_files = libdecor-0.2.1-build-static.patch + +# Upstream declares the library with shared_library() and never calls +# meson.override_dependency(), hence the patch above and the explicit variable. +[provide] +libdecor-0 = libdecor_dep diff --git a/package/batocera/utils/gamescope/subprojects/luajit.wrap b/package/batocera/utils/gamescope/subprojects/luajit.wrap new file mode 100644 index 00000000000..1783ee3969f --- /dev/null +++ b/package/batocera/utils/gamescope/subprojects/luajit.wrap @@ -0,0 +1,15 @@ +# LuaJIT has no meson build system of its own, so this uses the meson port +# maintained in the meson WrapDB. Both files are served from the WrapDB github +# release so that they have a usable file name in $(DL_DIR). +[wrap-file] +directory = LuaJIT-04dca7911ea255f37be799c18d74c305b921c1a6 +source_url = https://github.com/mesonbuild/wrapdb/releases/download/luajit_2.1.1720049189-3/luajit-2.1.1720049189.tar.gz +source_filename = luajit-2.1.1720049189.tar.gz +source_hash = 346b028d9ba85e04b7e23a43cc51ec076574d2efc0d271d4355141b0145cd6e0 +patch_url = https://github.com/mesonbuild/wrapdb/releases/download/luajit_2.1.1720049189-3/luajit_2.1.1720049189-3_patch.zip +patch_filename = luajit_2.1.1720049189-3_patch.zip +patch_hash = f08a308599ff48ad73a8020ea592f1cd0f0b19bd9e9246a10503888d51889fe3 +wrapdb_version = 2.1.1720049189-3 + +[provide] +dependency_names = luajit diff --git a/package/batocera/utils/gamescope/subprojects/packagefiles/libdecor-0.2.1-build-static.patch b/package/batocera/utils/gamescope/subprojects/packagefiles/libdecor-0.2.1-build-static.patch new file mode 100644 index 00000000000..4936232f680 --- /dev/null +++ b/package/batocera/utils/gamescope/subprojects/packagefiles/libdecor-0.2.1-build-static.patch @@ -0,0 +1,31 @@ +--- a/src/meson.build ++++ b/src/meson.build +@@ -92,7 +92,7 @@ + ) + + ## core decor library +-libdecor = shared_library(libdecor_name, ++libdecor = library(libdecor_name, + sources: [ + libdecor_sources, + libdecor_built_sources, +@@ -116,11 +116,18 @@ + ], + dependencies: [ + wayland_client_dep, ++ dl_dep, ++ cursor_settings_dep, + ], + ) + + ## decor plugins +-subdir('plugins') ++# Plugins are dlopen()ed from the installed plugin directory, so they are of no ++# use to a consumer that links libdecor statically. Skipping them also avoids ++# pulling cairo/pango into the build just to produce dead code. ++if get_option('default_library') != 'static' ++ subdir('plugins') ++endif + + ## pkg-config file + pkg.generate( diff --git a/package/batocera/utils/gamescope/subprojects/seatd.wrap b/package/batocera/utils/gamescope/subprojects/seatd.wrap new file mode 100644 index 00000000000..87767a4f191 --- /dev/null +++ b/package/batocera/utils/gamescope/subprojects/seatd.wrap @@ -0,0 +1,10 @@ +[wrap-file] +directory = seatd-0.9.0 +source_url = https://git.sr.ht/~kennylevinsen/seatd/archive/0.9.0.tar.gz +source_filename = seatd-0.9.0.tar.gz +source_hash = 4276d1380c67e30a63c289b35f7bf955e126e6daf3596cd5aa6080670aa1214c + +# The subproject is named "seatd" because that is the fallback name the wlroots +# subproject uses when it looks up libseat. +[provide] +dependency_names = libseat