@@ -46,7 +46,7 @@ def createDefault():
4646 "bind BTN_NORTH" : "weapprev" ,
4747 "bind BTN_BACK" : "cmd help" ,
4848 "bind BTN_GUIDE" : "" ,
49- "bind STICK_LEFT" : "" ,
49+ "bind STICK_LEFT" : "+gyroaction " ,
5050 "bind STICK_RIGHT" : "centerview" ,
5151 "bind DP_UP" : "cycleweap weapon_plasmabeam weapon_boomer weapon_chaingun weapon_etf_rifle weapon_machinegun weapon_blaster" ,
5252 "bind DP_DOWN" : "cycleweap weapon_supershotgun weapon_shotgun weapon_chainfist" ,
@@ -102,21 +102,20 @@ def generate(self, system, rom, playersControllers, metadata, guns, wheels, game
102102 if not defaultConfig .exists ():
103103 createDefault ()
104104
105- romName = rom .name
106105 swapButtons = "1" if esSettings .getInvertButtonsValue () else "0"
107-
108106 commandArray = [ "/usr/bin/yquake2/quake2" , "-cfgdir" , "configs/yquake2" ,
109107 "+set" , "joy_confirm" , swapButtons ]
110108
111109 if pad := Controller .find_player_number (playersControllers , 1 ):
112110 commandArray .extend ([ "+set" , "in_initjoy" , str (pad .index + 1 ) ])
113111
114112 # Mission Packs
115- if "reckoning" in romName .lower ():
113+ romName = rom .name .lower ()
114+ if "reckoning" in romName :
116115 commandArray .extend (["+set" , "game" , "xatrix" ])
117- elif "zero" in romName . lower () :
116+ elif "ground" in romName or " zero" in romName :
118117 commandArray .extend (["+set" , "game" , "rogue" ])
119- elif "zaero" in romName . lower () :
118+ elif "zaero" in romName :
120119 commandArray .extend (["+set" , "game" , "zaero" ])
121120
122121 return Command .Command (
0 commit comments