+
    KiP  c                   sT    ^ RI H t ^ RIHt ^ RIHtHtHt ^ RIH	t	  ! R R]	4      t
R# )i    )gettext)path)DirectoryNotFoundErrorGameConfigErrorMissingGameExecutableError)Runnerc                   sP  a a ] tR t^t o]! R4      t]! R4      t]! R4      .tRtRt	Rt
RtRRR	R
R]! R4      R]! R4      /RRR	RRRR]! R4      R]! R4      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      R03]! R14      R23.R3R/RR4R	RRRR]! R54      R]! R64      R]! R4      R3]! R74      R83]! R94      R:3]! R;4      R<3]! R=4      R>3]! R?4      R@3]! RA4      RB3.R3R/RRCR	RDRRR]! RE4      R]! RF4      /RRGR	RDRRR]! RH4      R]! RI4      /RRJR	R
R]! RK4      RLRR]! RM4      /RRNR	ROR]! RP4      R]! RQ4      R3RR/RRSR	RTR]! RU4      R]! RV4      RW^ RX^cR3^ /RRYR	RZRRR]! R[4      R]! R\4      /RR]R	RZRRR]! R^4      R]! R_4      /RR`R	RORRRa]! Rb4      R]! Rc4      R]! Rd4      R3RR/RReR	RORRRa]! Rb4      R]! Rf4      R]! Rg4      R3RR/RRhR	RTRRRa]! Rb4      R]! Ri4      R]! Rj4      RW^ RXRkR3^ /	RRlR	RDRRRa]! Rb4      R]! Rm4      R]! Rn4      /RRoR	RDRRRa]! Rb4      R]! Rp4      R]! Rq4      /RRrR	RDRRRa]! Rb4      R]! Rs4      R]! Rt4      /.tRRuR	RRRRa]! R54      R]! Rv4      R]! Rw4      R]! R4      R3]! Rx4      Rx3]! Ry4      Ry3]! Rz4      Rz3.R3R/RR{R	RRRRa]! R54      R]! R|4      R]! R}4      R]! R4      R3]! Rx4      Rx3]! Ry4      Ry3.R3R/RR~R	RTRRRa]! R54      R]! R4      R]! R4      RWRRXRR3R/	RRR	RORa]! R4      R]! R4      R]! R4      R3R/RRR	RTRa]! R4      R]! R4      R]! R4      RW^ RX^dR3^d/RRR	RTRa]! R4      R]! R4      R]! R4      RW^ RX^dR3^d/RRR	RZRRRa]! R4      R]! R4      R]! R4      /RRR	RORa]! R4      R]! R4      R]! R4      R3RR/RRR	RRa]! R4      RRR]! R4      R]! R4      R]! R4      R3]! R4      R3]! R4      R3.R3R/RRR	RRa]! R4      R]! R4      R]! R4      R]! R4      R3]! R4      R3]! R4      R3.R3R/RRR	RORa]! R4      R]! R4      R]! R4      R3RR/RRR	RORa]! R4      R]! R4      R]! R4      R3R/RRR	RTRa]! R4      R]! R4      R]! R4      RW^ RXRkR3^</RRR	RRa]! R4      R]! R4      R]! R4      R]! R4      R3]! R4      R3]! R4      R3.R3R/RRR	RORa]! R4      R]! R4      R]! R4      R3R/RRR	R
Ra]! R4      R]! R4      R]! R4      /RRR	R
Ra]! R4      R]! R4      R]! R4      /RRR	R
Ra]! R4      R]! R4      R]! R4      /.t]R 4       tRV 3R lltV 3R ltR tR tRtVtV ;t# )easyrpgzEasyRPG PlayerzRuns RPG Maker 2000/2003 gamesZLinuxTZproject_pathzeasyrpg/easyrpg-playerzPhttps://easyrpg.org/downloads/player/0.8.1.1/easyrpg-player-0.8.1.1-linux.tar.gzZoptionZtype	directoryZlabelzGame directoryZhelpz3Select the directory of the game. <b>(required)</b>encodingZchoiceZadvancedZEncodingzfInstead of auto detecting the encoding or using the one in RPG_RT.ini, the specified encoding is used.ZchoicesZAuto zAuto (ignore RPG_RT.ini)ZautozWestern EuropeanZ1252zCentral/Eastern EuropeanZ1250ZJapaneseZ932ZCyrillicZ1251ZKoreanZ949zChinese (Simplified)Z936zChinese (Traditional)Z950ZGreekZ1253ZTurkishZ1254ZHebrewZ1255ZArabicZ1256ZBalticZ1257ZThaiZ874ZdefaultengineZEnginez/Disable auto detection of the simulated engine.z%RPG Maker 2000 engine (v1.00 - v1.10)Zrpg2kz%RPG Maker 2000 engine (v1.50 - v1.51)Z	rpg2kv150z'RPG Maker 2000 (English release) engineZrpg2kez%RPG Maker 2003 engine (v1.00 - v1.04)Zrpg2k3z&RPG Maker 2003 engine (v1.05 - v1.09a)Z
rpg2k3v105z'RPG Maker 2003 (English release) engineZrpg2k3eZpatchZstringZPatchesa  Instead of autodetecting patches used by this game, force emulation of certain patches.

Available patches:
<b>common-this</b>: "This Event" in common events<b>dynrpg</b>: DynRPG patch by Cherry<b>key-patch</b>: Key Patch by Ineluki<b>maniac</b>: Maniac Patch by BingShan<b>pic-unlock</b>: Pictures are not blocked by messages<b>rpg2k3-cmds</b>: Support all RPG Maker 2003 event commands in any version of the engine

You can provide multiple patches or use 'none' to disable all engine patches.languageZLanguagez9Load the game translation in the language/LANG directory.	save_pathz	Save pathZwarn_if_non_writable_parentztInstead of storing save files in the game directory they are stored in the specified path. The directory must exist.Znew_gameZboolzNew gamez3Skip the title scene and start a new game directly.Fload_game_idZrangezLoad game IDz>Skip the title scene and load SaveXX.lsd.
Set to 0 to disable.ZminZmaxrecord_inputZfilezRecord inputz3Records all button input to the specified log file.replay_inputzReplay inputzReplays button input from the specified log file, as generated by 'Record input'.
If the RNG seed and the state of the save file directory is also the same as it was when the log was recorded, this should reproduce an identical run to the one recorded.	test_playZsectionZDebugz	Test playzEnable TestPlay (debug) mode.
hide_titlez
Hide titlez<Hide the title background image and center the command menu.start_map_idzStart map IDzyOverwrite the map used for new games and use MapXXXX.lmu instead.
Set to 0 to disable.

Incompatible with 'Load game ID'.i'  start_positionzStart positionzOverwrite the party start position and move the party to the specified position.
Provide two numbers separated by a space.

Incompatible with 'Load game ID'.start_partyzStart partyzOverwrite the starting party members with the actors with the specified IDs.
Provide one to four numbers separated by spaces.

Incompatible with 'Load game ID'.battle_testzBattle testz5Start a battle test with the specified monster party.autobattle_algozAutoBattle algorithmzWhich AutoBattle algorithm to use.

<b>RPG_RT</b>: The default RPG_RT compatible algorithm, including RPG_RT bugs.
<b>RPG_RT+</b>: The default RPG_RT compatible algorithm, with bug-fixes.
<b>ATTACK</b>: Like RPG_RT+ but only physical attacks, no skills.ZRPG_RTzRPG_RT+ZATTACKenemyai_algozEnemyAI algorithmzWhich EnemyAI algorithm to use.

<b>RPG_RT</b>: The default RPG_RT compatible algorithm, including RPG_RT bugs.
<b>RPG_RT+</b>: The default RPG_RT compatible algorithm, with bug-fixes.
seedzRNG seedz5Seeds the random number generator.
Use -1 to disable.iaudioZAudiozEnable audiozSwitch off to disable audio.music_volumez
BGM volumezVolume of the background music.sound_volumez
SFX volumezVolume of the sound effects.	soundfontZ	Soundfontz7Soundfont in sf2 format to use when playing MIDI files.
fullscreenZGraphicsZ
FullscreenzStart in fullscreen mode.game_resolutionzGame resolutionz_Force a different game resolution.

This is experimental and can cause glitches or break games!u   320×240 (4:3, Original)Zoriginalu   416×240 (16:9, Widescreen)Z
widescreenu   560×240 (21:9, Ultrawide)Z	ultrawidescalingZScalingzHow the video output is scaled.

<b>Nearest</b>: Scale to screen size (causes scaling artifacts)
<b>Integer</b>: Scale to multiple of the game resolution
<b>Bilinear</b>: Like Nearest, but output is blurred to avoid artifacts
ZNearestZnearestZIntegerZintegerZBilinearZbilinearstretchZStretchzSIgnore the aspect ratio and stretch video output to the entire width of the screen.vsynczEnable VSyncz2Switch off to disable VSync and use the FPS limit.	fps_limitz	FPS limitzsSet a custom frames per second limit.
If unspecified, the default is 60 FPS.
Set to 0 to disable the frame limiter.show_fpszShow FPSz!Enable frames per second counter.ZDisabledoffzFullscreen & title barZonzFullscreen, title bar & windowfullrtpzRuntime Packagez
Enable RTPz<Switch off to disable support for the Runtime Package (RTP).rpg2k_rtp_pathzRPG2000 RTP locationzWFull path to a directory containing an extracted RPG Maker 2000 Run-Time-Package (RTP).rpg2k3_rtp_pathzRPG2003 RTP locationzWFull path to a directory containing an extracted RPG Maker 2003 Run-Time-Package (RTP).rpg_rtp_pathzFallback RTP locationz3Full path to a directory containing a combined RTP.c                s    V P                   P                  R 4      pV'       d   \        P                  ! V4      # V P                  P                  V P
                  4      pV'       d   \        P                  ! V4      # R# )r   r	   )Z	game_datagetr   
expandusergame_configentry_point_option)self	game_pathZentry_point   &  ;/usr/lib/python3.14/site-packages/lutris/runners/easyrpg.pyr/   Zeasyrpg.game_path  s[    NN&&{3	??9-- &&**4+B+BC??;//    c                s  < \         SV `  WR 7      pV P                  P                  R4      pV'       d   WCR&   V P                  P                  R4      pV'       d   WSR&   V P                  P                  R4      pV'       d   WcR&   V# ))disable_runtimer'   ZRPG2K_RTP_PATHr(   ZRPG2K3_RTP_PATHr)   ZRPG_RTP_PATH)superget_envrunner_configr*   )r.   Zos_envr3   envr'   r(   r)   	__class__s   &&&    r1   r5   Zeasyrpg.get_env  s    gofoF++//0@A$2 !,,001BC%4!"))--n=".
r2   c                s  < \         SV `  4       pV P                  P                  R 4      pV'       d   VP	                  RV34       V P                  P                  R4      pV'       d   VP	                  RV34       V P                  P                  R4      pV'       d   VP	                  R\        V4      34       V P                  R,          '       g   VP                  R4       V P                  P                  R4      pV'       d   VP	                  R	\        V4      34       V P                  P                  R
4      pV'       d   VP	                  R\        V4      34       V P                  P                  R4      pV'       d   VP	                  RV34       V P                  R,          '       d   VP                  R4       MVP                  R4       V P                  P                  R4      pV'       d   VP	                  RV34       V P                  P                  R4      p	V	'       d   VP	                  RV	34       V P                  R,          '       d   VP                  R4       V P                  R,          '       g   VP                  R4       V P                  P                  R4      p
V
'       d   VP	                  R\        V
4      34       V P                  P                  R4      pVR8w  d   VP                  R4       VR8X  d   VP                  R4       V P                  R ,          '       g   VP                  R!4       V# )"r   z--autobattle-algor   z--enemyai-algor   z--seedr   z
--no-audior   z--music-volumer   z--sound-volumer   z--soundfontr   z--fullscreenz--windowr   z--game-resolutionr   z	--scalingr    z	--stretchr!   z
--no-vsyncr"   z--fps-limitr#   r$   z
--show-fpsr%   z--fps-render-windowr&   z--no-rtp)r4   get_commandr6   r*   extendstrappend)r.   cmdr   r   r   r   r   r   r   r   r"   r#   r8   s   &           r1   r9   Zeasyrpg.get_command  s   g!# ,,001BCJJ+_=>))--n=JJ(,78!!%%f-JJ#d),- !!'**JJ|$))--n=JJ(#l*;<=))--n=JJ(#l*;<=&&**;7	JJy12 l++JJ~&JJz",,001BCJJ+_=>$$((3JJW-.i((JJ{#!!'**JJ|$&&**;7	JJs9~67%%))*5uJJ|$vJJ,- !!%((JJz"
r2   c                s    V P                  4       pV P                  '       d4   \        P                  ! V P                  4      pVP	                  R V34       RVRV P                  4       /# )--project-pathcommandr7   )r9   Zdefault_pathr   r+   r:   r5   )r.   r=   r/   r0   r1   get_run_dataZeasyrpg.get_run_data  sW     (9(9:IJJ()453t||~66r2   c                s   V P                   '       g   \        \        R 4      4      h\        P                  ! V P                   4      '       g   \        V P                   R7      hV P                  4       pVP                  RV P                   34       V P                  P                  R4      pV'       d   VP                  RV34       V P                  P                  R4      pV'       d   VP                  RV34       V P                  P                  R4      pVR8X  d   VP                  R	4       M+V'       d$   VP                  R
.VP                  4       O54       V P                  P                  R4      pV'       d   VP                  RV34       V P                  P                  R4      pV'       d\   \        P                  ! V4      p\        P                  ! V4      '       g   \        V P                   R7      hVP                  RV34       V P                  P                  R4      pV'       d*   \        P                  ! V4      pVP                  RV34       V P                  P                  R4      pV'       dR   \        P                  ! V4      p\        P                  ! V4      '       g   \        VR7      hVP                  RV34       V P                  P                  R4      p	V	'       d   VP                  R\        V	4      34       V P                  R,          '       d   VP                  R4       V P                  R,          '       d   VP                  R4       V P                  P                  R4      p
V
'       d   VP                  R\        V
4      34       V P                  P                  R4      pV'       d$   VP                  R.VP                  4       O54       V P                  P                  R4      pV'       d$   VP                  R.VP                  4       O54       V P                  P                  R 4      pV'       d   VP                  R!V34       R"V/# )#zNo game directory provided)r   r>   r   z
--encodingr
   z--enginepatchesZnonez
--no-patchz	--patchesr   z
--languager   z--save-pathr   z--record-inputr   )Zfilenamez--replay-inputr   z--load-game-idr   z--test-playr   z--hide-titler   z--start-map-idr   z--start-positionr   z--start-partyr   z--battle-testr?   )r/   r   _r   Zisdirr   r9   r:   r,   r*   r<   Zsplitr+   Zisfiler   r;   )r.   r=   r   r
   rA   r   r   r   r   r   r   r   r   r   s   &             r1   playZeasyrpg.play  sH   ~~~!!$@"ABBzz$..))(4>>BB 

$dnn56##''
3JJh/0!!%%h/JJ
F+,""&&y1fJJ|$JJ6gmmo67##''
3JJh/0$$((5		2I::i((,t~~FFJJy12''++N;??<8LJJ(,78''++N;??<8L;;|,,0,GGJJ(,78''++N;JJ(#l*;<= K((JJ}%L))JJ~&''++N;JJ(#l*;<=))--.>?JJ*D^-A-A-CDE&&**=9JJ>+*;*;*=>?&&**=9JJ563r2    i)FF)Z__name__Z
__module__Z__qualname__Z__firstlineno__rB   Z
human_nameZdescriptionZ	platformsZrunnable_aloner-   Zrunner_executableZdownload_urlZgame_optionsZrunner_optionsZpropertyr/   r5   r9   r@   rC   Z__static_attributes__Z__classdictcell__Z__classcell__)r8   Z__classdict__s   @@r1   r   r      s	    #$J45K7IN'0eL nKQ'(AKL		
 jHQz]Ax 6B-.7%&/-.7:&:'8e$)*E2*+U37V$9v&8f%8f%8f%6E"" r3	
8 hHQx[AGH6B:;WE:;[I<=xH:;XF;<lK<=yI r	
$ gHQy\Ad
	
$ jHQz]AQR	
 kKQ{^)4A,		
 jFQz]AKLu	
 nGQ~&AWX12q	
 nFQ~&AKL	
 nFQ~&Ai
	
 kFqzQ{^A56u	
 lFqzQ|_ATUu	
 nGqzQ~&A4
 14q	
  &HqzQ'(A4	
 mHqzQ}%A4	
 mHqzQ}%AMN	
axLx 'Hq{Q-.AT 6B8h'9y)8h'	 r%	
* nHq{Q*+A]
 6B8h'9y)
 r!	
& fGq{Qz]ANO2:r
	
 gFqzQ~&A45t	
 nGqzQ|_A7813s		
 nGqzQ|_A4513s		
 kFqzQ{^AOP	
 lFq}Q|_A12u	
 'Hq}Q()As -.
;01<@/0+>
 z	
" iHq}Qy\A\ 9y)9y):
+
 z!	
& iFq}Qy\Aklu	
 gFq}Q~&AJKt	
 kGq}Q{^A9
 14r	
 jHq}Qz]A9::&+,d334f=
 u	
 eFq*+Q|_ATUt	
 &Kq*+Q-.Aop	
 'Kq*+Q-.Aop	
 nKq*+Q./AKL	
CHNT 
 
"BH7J  J r2   r   N)r    rB   Zosr   Zlutris.exceptionsr   r   r   Zlutris.runners.runnerr   r   rD   r2   r1   <module>rE      s$       a a )B	 f B	 r2   