Nástroje používateľa

Nástoje správy stránok


blog:odborny:2015-11-23-running_gog_jagged_alliance_2_on_mac_os_x_10.10.5

Rozdiely

Tu môžete vidieť rozdiely medzi vybranou verziou a aktuálnou verziou danej stránky.

Odkaz na tento prehľad zmien

Obojstranná predošlá revízia Predchádzajúca revízia
Nasledujúca revízia
Predchádzajúca revízia
blog:odborny:2015-11-23-running_gog_jagged_alliance_2_on_mac_os_x_10.10.5 [2016/11/28 13:53]
Róbert Toth
blog:odborny:2015-11-23-running_gog_jagged_alliance_2_on_mac_os_x_10.10.5 [2021/02/06 19:38] (aktuálne)
Róbert Toth corrected Xmodmap procedure
Riadok 41: Riadok 41:
  
  
-===== Enabling ''end'' and ''delete'' key =====+===== Enabling ''alt'', ''end'' and ''delete'' key =====
  
-For some reason, ''alt'' hotkey is not working at all in Jagged Alliance 2 under Mac OS X. To force mapping of ''Option'' key to ''Alt'' key, do the following:+For some reason, ''Option'' key is not working at all in Jagged Alliance 2 under Mac OS X. Instead, ''cmd'' key works as ''alt'', so if there is a game shortcut that requires pressing ''Alt + X'', you actually need to press ''Cmd + X''
 + 
 +This causes some shortcuts to be unusable, because they are reserved for Mac OS X. **Specifically, cheat for scrolling through item list (by using ''Alt + W'') does not work, because ''Cmd + W'' is reserved by system to function as keyboard shortcut to close window.** To force mapping of ''Option'' key to ''Alt'' key, do the following:
   - Open Terminal   - Open Terminal
   - Go to (''cd'') ''Jagged Alliance 2.app/Contents/Resources/game/Jagged Alliance 2.app/Contents/Frameworks''   - Go to (''cd'') ''Jagged Alliance 2.app/Contents/Resources/game/Jagged Alliance 2.app/Contents/Frameworks''
   - Type ''touch .Xmodmap'' (will create .Xmodmap file)   - Type ''touch .Xmodmap'' (will create .Xmodmap file)
   - Type ''open -e .Xmodmap''   - Type ''open -e .Xmodmap''
-  - Paste these lines into file:((This will also map ''Backspace'' key to ''Delete'' key and key left to Backspace to ''End'' key))<code>+  - Paste these lines into file:<code> 
 +keycode 66 = Alt_L Meta_L 
 +keycode 69 = Alt_R Meta_R 
 +clear mod1 
 +add mod1 = Alt_L Alt_R</code> 
 +  - //(optional)// If you also want to map ''Backspace'' key to ''Delete'' key (so you don't have to press ''Fn + Backspace'' to imitate it) and key left to Backspace to ''End'' key (so you don't have to press ''Fn + right arrow'' to imitate it), add also these lines:<code>
 clear Mod2 clear Mod2
 clear control clear control
Riadok 59: Riadok 66:
  
  
-{{socialshareprivacy2}} +===== (Re)sources ===== 
-{{tag>os-x howto games fresh-install}}+  * [[http://www.columbia.edu/~em36/winekeymap.html|This article]] helped me a lot.
  
 +
 +~~socialite~~
 +{{tag>os-x howto games fresh-install}}
  
 ===== Comments ===== ===== Comments =====
  
 ~~DISQUS~~ ~~DISQUS~~
blog/odborny/2015-11-23-running_gog_jagged_alliance_2_on_mac_os_x_10.10.5.1480337632.txt.gz · Posledná úprava: 2016/11/28 13:53 od Róbert Toth