+
    KiF  c                   s`   R t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
HtHt ^ RIHtHtHtHt ^ RIHt R	 tR
 tR tR tR t. R]! R4      RRRRR]! R4      RRR]P2                  P5                  R4      RRR.R]! R4      /NR]! R4      RRRR R]! R!4      RR"R]! R#4      /NR]! R4      RR$RR R]! R%4      RRR]! R&4      /NR]! R'4      RR(RR)R]! R*4      R+]RR,R-R. R]! R/4      /NR]! R'4      RR0RR R]! R14      RR"R-]P6                  ! R04      R]! R24      /NR]! R'4      RR3RR R]! R44      RR"R5]R6RR]! R74      /NR]! R'4      RR8R]! R94      RR RR"R6RR5]R-]! 4       R]! R:4      /	NR]! R'4      RR;R]! R<4      RR R]RJR6RR-]RJR]! R=4      /NR]! R'4      RR>RR)R]! R?4      R+]RR@R5]R6RR]! RA4      /	NR]! R'4      RRBRR)R]! RC4      R+]RR@R5]R6RR]! RD4      /	NR]! R'4      RRERR)R]! RF4      R6RR5]R+]RR@R]! RG4      /	NR]! RH4      RRIRR R]! RJ4      RR"R-]P6                  ! RI4      ;'       d    ]P8                  P;                  4       R]! RK4      /NR]! RH4      RRLRR R]! RM4      R6R"RR"RNRIR-]! ]P6                  ! RI4      4      R]! RO4      /	NR]! RH4      RRPRR R]! RQ4      R6RRR"RNRIR-]! ]P6                  ! RI4      4      R]! RR4      /	NR]! RH4      RRSRRTR]! RU4      R+]P>                  R6RRNRIR-]P6                  ! RI4      R]! RV4      /	NR]! RH4      RRWRRTR]! RX4      R+]P>                  RNRIR-]P6                  ! RI4      R]! RY4      /NR]! RH4      RRZR]! R[4      RR)R+]! R\4      R]3]! R^4      R,3]! R_4      R`33RR]RNRIR-]P6                  ! RI4      R]! Ra4      /	NR]! RH4      RRbR]! Rc4      R6RRRdRNRIR-]P6                  ! RI4      R]! Re4      /NR]! RH4      RRfR]! Rg4      R6R"RRdRNRIR-]P6                  ! RI4      R]! Rh4      /NR]! RH4      RRiR]! Rj4      R6RRRdRNRIR-]P6                  ! RI4      R]! Rk4      /NR]! Rl4      RRmRR R]! Rn4      RR"R]! Ro4      /NR]! Rl4      RRpRRdR]! Rq4      RRrRNRmR]! Rs4      /NR]! Rl4      RRtRR R]P8                  PA                  4       R-]P8                  PA                  4       R]! Ru4      R]! Rv4      /NR]! Rw4      RRxRR R]! Ry4      RR"R6RR-]P6                  ! Rz4      ;'       g    ]P6                  ! R{4      R]! R|4      /NR]! R}4      RR~RR R]! R4      RR"R5]R6RR]! R4      /NR]! R}4      RRRRR]! R4      R6RR]! R4      /NR]! R}4      RRRRdR]! R4      R6RR]! R4      /NR]! R4      RRR]! R4      RR RR"R6RR]! R4      /NR]! R4      RRR]! R4      RRTR+]PB                  R]PD                  ! 4       R6RR]! R4      /NR]! R4      RRRRR]! R4      R]! R4      /NR]! R4      RRRRTR]! R4      R+]RR,R6R"R]! R4      /NR]! R4      RRRRdR]! R4      R6RR]! R4      /NR]! R4      RRRRR]! R4      R6RR]! R4      /NR]! R4      RRRRR]! R4      R6RR]! R4      /NR]! R4      RRRR R]! R4      R6RRR"RNRR]! R4      /NR]! R4      RRRRR]! R4      R6RR]! R4      /NR]! R4      RRRRdR]! R4      R6RR]! R4      /NR]! R4      RRRRdR]! R4      R6RR]! R4      /NR]! R4      RRRRdR]! R4      R6RR]! R4      /Nt#R t$R# )zOptions list for system config.N)OrderedDict)gettext)pgettext)runners)linuxsystem)DISPLAY_MANAGERSCREEN_SAVER_INHIBITORis_compositing_enabledis_display_x11)GPUSc                 s    \         P                  ! 4       p \        \        W 4      4      pVP	                  ^ \        R4      R34       V# )zbReturn list of available resolutions as label, value tuples
suitable for inclusion in drop-downs.
zKeep currentoff)r   get_resolutionslistzipinsert_)ZresolutionsZresolution_choices     6/usr/lib/python3.14/site-packages/lutris/sysoptions.pyget_resolution_choicesr      sB     "113Kc+;<a!N"3U!;<    c                 s   \        RR4      R3\        R4      R3\        R4      R3\        R4      R	3\        R
4      R3\        R4      R3\        R4      R3\        R4      R3\        R4      R3\        R4      R3\        R4      R3\        R4      R3\        R4      R3\        R4      R3\        R4      R3\        R 4      R!3\        R"4      R#3\        R$4      R%3.# )&z^Return list of available locales as label, value tuples
suitable for inclusion in drop-downs.
localeZSystem ZChinesez
zh_CN.utf8ZCroatianz
hr_HR.utf8ZDutchz
nl_NL.utf8ZEnglishz
en_US.utf8ZFinnishz
fi_FI.utf8ZFrenchz
fr_FR.utf8ZGeorgianz
ka_GE.utf8ZGermanz
de_DE.utf8ZGreekz
el_GR.utf8ZItalianz
it_IT.utf8ZJapanesez
ja_JP.utf8ZKoreanz
ko_KR.utf8zPortuguese (Brazilian)z
pt_BR.utf8ZPolishz
pl_PL.utf8ZRussianz
ru_RU.utf8ZSpanishz
es_ES.utf8ZTurkishz
tr_TR.utf8)C_r    r   r   get_locale_choicesr      s    
 
Hh	$	
9|$	
:%	
7\"	
9|$	
9|$	
8l#	
:%	
8l#	
7\"	
9|$	
:%	
8l#	
#	$l3	
8l#	
9|$	
9|$	
9|$% r   c                  s    \        R 4      R3.p \        P                  ! 4        F"  w  rV P                  VP                  V34       K$  	  V # )ZAutor   )r   r
   ZitemsappendZ
short_name)choicesZcardgpus      r   get_gpu_listr   2   s>    &	2GZZ\	-. "Nr   c                 s    \         P                  ! 4       p \        \        W 4      4      pVP	                  ^ \        R4      R34       VP	                  ^\        R4      R34       V# )z%Return list of outputs for drop-downsOffr   ZPrimaryZprimary)r   get_display_namesr   r   r   r   )displaysZoutput_choicesr   r   get_output_choicesr!   9   sW    002H#h12N!ah./!a	lI67r   c                 s    \        R4      R3.p \        P                  ! 4       p\        V4       F!  w  r#V P	                  V\        V4      34       K#  	  V # )zdReturn a list of output with their index.
This is used to indicate to SDL 1.2 which monitor to use.
r   r   )r   r   r   Z	enumerater   Zstr)r   r    ZindexZoutputs       r   get_output_listr"   B   sR     %% !G002H"8, 	E
+, - Nr   ZsectionZLutrisoptionZ	game_pathZtypeZ	directoryZlabelzDefault installation folderZwarn_if_non_writable_parentTZdefaultz~/GamesZscoperunnerr   Zhelpz0The default folder where you install your games.Zdisable_runtimeboolzDisable Lutris RuntimeFzThe Lutris Runtime loads some libraries before running the game, which can cause some incompatibilities in some cases. Check this option to disable it.Zprefer_system_libszPrefer system librarieszTWhen the runtime is enabled, prioritize the system libraries over the provided ones.ZDisplayr   ZchoiceZGPUr   r   Z	conditionc                  s&    \        \        4      ^8  # )i   )Zlenr
   r   r   r   <lambda>r&   u   s    SY]r   zGPU to use to run gamesZmangohudzFPS counter (MangoHud)zNDisplay the game's FPS + other information. Requires MangoHud to be installed.Zreset_desktopzRestore resolution on game exitZ	availableZadvancedzSome games don't restore your screen resolution when 
closed or when they crash. This is when this option comes 
into play to save your bacon.Zdisable_compositorzDisable desktop effectsz]Disable desktop effects while game is running, reducing stuttering and increasing performanceZdisable_screen_saverzPrevent sleepz=Prevents the computer from suspending when a game is running.Zsdl_video_fullscreenzSDL 1.2 Fullscreen Monitorr   z{Hint SDL 1.2 games to use a specific monitor when going fullscreen by setting the SDL_VIDEO_FULLSCREEN environment variableZdisplayzTurn off monitors exceptzOnly keep the selected screen active while the game is running. 
This is useful if you have a dual-screen setup, and are 
having display issues when running a game in fullscreen.Z
resolutionzSwitch resolution toz;Switch to this screen resolution while the game is running.Z	GamescopeZ	gamescopezEnable Gamescopez^Use gamescope to draw the game window isolated from your desktop.
Toggle fullscreen: Super + FZgamescope_hdrzEnable HDR (Experimental)Zconditional_onzIEnable HDR for games that support it.
Requires Plasma 6 and VK_hdr_layer.Zgamescope_force_grab_cursorzRelative Mouse ModezAlways use relative mouse mode instead of flipping
dependent on cursor visibility
Can help with games where the player's camera faces the floorZgamescope_output_resZchoice_with_entryzOutput ResolutionzSet the resolution used by gamescope.
Resizing the gamescope window will update these settings.

<b>Custom Resolutions:</b> (width)x(height)Zgamescope_game_reszGame ResolutionzYSet the maximum resolution used by the game.

<b>Custom Resolutions:</b> (width)x(height)Zgamescope_window_modezWindow ModeZ
Fullscreenz-fZWindowedZ
Borderlessz-bzVRun gamescope in fullscreen, windowed or borderless mode
Toggle fullscreen : Super + FZgamescope_fsr_sharpnessz	FSR LevelZstringuf   Use AMD FidelityFX™ Super Resolution 1.0 for upscaling.
Upscaler sharpness from 0 (max) to 20 (min).Zgamescope_fps_limiterzFramerate LimiterzDSet a frame-rate limit for gamescope specified in frames per second.Zgamescope_flagszCustom SettingszeSet additional flags for gamescope (if available).
See 'gamescope --help' for a full list of options.ZCPUZ
single_cpuzRestrict number of cores usedz3Restrict the game to a maximum number of CPU cores.Zlimit_cpu_countzRestrict number of cores toZ1zXMaximum number of CPU cores to be used, if 'Restrict number of cores used' is turned on.ZgamemodezEnable Feral GameModezDRequest a set of optimisations be temporarily applied to the host OSZAudioZpulse_latencyzReduce PulseAudio latencyZ
pulseaudiozpipewire-pulsezYSet the environment variable PULSE_LATENCY_MSEC=60 to improve audio quality on some gamesZInputZuse_us_layoutzSwitch to US keyboard layoutz9Switch to US keyboard QWERTY layout while game is runningZantimicro_configZfilezAntiMicroX Profilez"Path to an AntiMicroX profile fileZsdl_gamecontrollerconfigzSDL2 gamepad mappingzjSDL_GAMECONTROLLERCONFIG mapping string or path to a custom gamecontrollerdb.txt file containing mappings.zText based gamesZterminalzCLI modezqEnable a terminal for text-based games. Only useful for ASCII based games. May cause issues with graphical games.Zterminal_appzText based games emulatorzThe terminal emulator used with the CLI mode. Choose from the list of detected terminal apps or enter the terminal's command or path.zGame executionZenvZmappingzEnvironment variablesz(Environment variables loaded at run timer   ZLocalezYCan be used to force certain locale for an app. Fixes encoding issues in legacy software.Zprefix_commandzCommand prefixzJCommand line instructions to add in front of the game's execution command.Zmanual_commandzManual scriptz1Script to execute from the game's contextual menuZprelaunch_commandZcommand_linezPre-launch scriptz(Script to execute before the game startsZprelaunch_waitz%Wait for pre-launch script completionz7Run the game only once the pre-launch script has exitedZpostexit_commandzPost-exit scriptz%Script to execute when the game exitsZinclude_processeszInclude processeszWhat processes to include in process monitoring. This is to override the built-in exclude list.
Space-separated list, processes including spaces can be wrapped in quotation marks.Zexclude_processeszExclude processeszWhat processes to exclude in process monitoring. For example background processes that stick around after the game has been closed.
Space-separated list, processes including spaces can be wrapped in quotation marks.Z
killswitchzKillswitch filezvPath to a file which will stop the game when deleted 
(usually /dev/input/js0 to stop the game on joystick unplugging)c                s   \         p \        P                  ! V 4      ! 4       pTP                  '       d   \        R T 4       4      pTP                   FX  pTR,          pTP                  T4      '       d2   Y5,          P                  4       Y5&   Y5,          P                  T4       KT  YCT&   KZ  	  \        TP                  4       4      pT#   \        P                   d    Tu # i ; i)z?Return system options updated with overrides from given runner.c              3   s6   "   T F  qR ,          V3x  K  	  R# 5i)r#   Nr   )Z.0Zopts   & r   Z	<genexpr>Z(with_runner_overrides.<locals>.<genexpr>  s     HX 4s   r#   )system_optionsr   Zimport_runnerZInvalidRunnerErrorZsystem_options_overrider    ZgetZcopyZupdater   Zvalues)Zrunner_slugZoptionsr$   Z	opts_dictr#   Zkeys   &     r   with_runner_overridesr(     s    G&&{35 %%%HHH	44F"C}}S!!!*!4!4!6	%%f-!'# 5 y'')*N %% s   C
 
C$#C$)%Z__doc__ZosZcollectionsr    r   r   r   r   Zlutrisr   Zlutris.utilr   r   Zlutris.util.displayr   r   r   r	   Zlutris.util.graphics.gpur
   r   r   r   r!   r"   ZpathZ
expanduserZcan_find_executableZLINUX_SYSTEMZnvidia_gamescope_supportr%   r   Zgamemode_availableZget_terminal_appsZget_default_terminalr'   r(   r   r   r   <module>r)      s/   % 	 #   "  % o o )4
i1X;+01%t277%%i0(H%DE	i 	1X;#+,5/
i0 	1X;&,-4hi/i@ 	1Y<%5<2*+,	?iT 	1Y<*+,5V//
;bcSif 	1Y</455^D,
eiB 	1Y<&,-5D^+-qr
AiX 	1Y<(?#)5D+47QR	Wil 	1Y<(/0?5^D#
kiJ 	1Y<)-.%5^DG
Iij 	1Y<,)*D^)5OP
ii@ 	1[>+%&5V//<nnASASAlAlAnstiR 	1[>/./E5+T&44[AB^_
Qih 	1[>/()D5+T&44[ABL
giF 	1[>(#&'?22D+V//<:
Eif 	1[>&#$%?22+V//<op	eiz 	1[>)=!|_d#z]B|_d#

 	4+V//<klyiX 	1[>+;D+V//<u
Wip 	1[>)&'E+V//<XY	oiD 	1[>#$%D+V//<t
Ci\ 	1U8,235GH[il 	1U8#013,lmki~ 	1U8*5%%88:U''::<*+XY}iP 	1W:/./5DV//=mmA[A[\lAmmn	Oid 	1W:/125^DMN	cix 	1W:$'(D67wiH	 	1W:,)*Dx
	G	i\	 	1'(*:5DX
[	it	 	1'(../#5**5--/D.
s	iP
 	1%&%	*+<=O
i^
 	1%&(#8&2Emn	]
ir
 	1%&"#$D^_q
iB 	1%&"?#DEFAiR 	1%&%&'D<=Qib 	1%&":;D5-KL	aiv 	1%&$%&D9:uiF 	1%&%&'D1
Ei` 	1%&%&'D1
_i| 	1%&,$%D
{iXr   