I figured out how to assign actions to keys like mouse wheel, mouse button 4/5, numpad5… . I also learned how to change the “fixed keys” like reset-camera-position. Log out of the game before making any changes to your preferences otherwise they will be overwritten. I cannot guarantee that any of the following will work in the new engine, I only tested the old one.
Fixed keys
Find the Login.cfg
of your account, typically located at:
%localappdata%\Funcom\Anarchy Online\<hash>\Anarchy Online\Prefs\<account>\Login.cfg
Edit it with a text editor. Replace the number with the key bind of your desire (list of key codes below). For example, changing camera reset to key k
, replace this line:
KEY_COMMAND_CAMERA_RESET 75
with:
KEY_COMMAND_CAMERA_RESET 92
Key bindings
Open the Prefs.xml
of your character in a text editor. You can find the file at:
%localappdata%\Funcom\Anarchy Online\<hash>\Anarchy Online\Prefs\<account>\<char>\Prefs.xml
To figure out which directory belongs to which character you can do a text search for your character’s name, assuming AOIA has renamed some of your backpacks.
In that file look for a section that starts with:
<Archive name="KeyBindings" code="0">
In it you will find several blocks like these, each representing one key bind and one or more actions assigned to it:
<Archive code="0">
<Int32 name="Input" value="108" />
<Int64 name="Provider" value="2252130499" />
</Archive>
It is easiest to log into the game, assign some unique, known key bind to an action, log out and look for the key binding’s Input
value in the file. Then change the value to your liking
For example, the snippet above shows Bar 01_01
assigned to 1
. To change the key bind to mouse button 4, simply replace 108 with 122 and save the file:
<Archive code="0">
<Int32 name="Input" value="122" />
<Int64 name="Provider" value="2252130499" />
</Archive>
List of all key codes
Click to expand
0 = Inactive
1 = LeftPress
2 = LeftDoubleClick
3 = LeftPressHold (no effect)
4 = LeftRelease (no effect)
5 = RightPress
6 = RightDoubleClick
7 = RightPressHold (no effect)
8 = RightRelease (no effect)
9 = MiddlePress (mouse wheel click)
10 = MiddleDoubleClick (mouse wheel double click)
11 = MiddlePressHold (no effect)
12 = MiddleRelease (no effect)
13 = MouseWheelMove
14 = ESC
15 = TAB
16 = CAPS_LOCK
17 = SHIFT
18 = CTRL
19 = ALT
20 = SHIFT_RIGHT
21 = CTRL_RIGHT
22 = ALT_RIGHT
23 = SPACE
24 = ENTER
25 = BACKSPACE
26 = INSERT
27 = DELETE
28 = HOME
29 = END
30 = PGUP
31 = PGDN
32 = CursorLeft
33 = CursorRight
34 = CursorUp
35 = CursorDown
36 = PIPE
37 = PERIOD
38 = COMMA
39 = F1
40 = F2
41 = F3
42 = F4
43 = F5
44 = F6
45 = F7
46 = F8
47 = F9
48 = F10
49 = F11
50 = F12
51 = F13
52 = F14
53 = F15
54 = F16
55 = F17
56 = F18
57 = F19
58 = F20
59 = F21
60 = F22
61 = F23
62 = F24
63 = SCROLL
64 = PAUSE
65 = NUMPAD_NUMLOCK
66 = NUMPAD_DIV
67 = NUMPAD_MUL
68 = NUMPAD_SUB
69 = NUMPAD_ADD
70 = NUMPAD_0
71 = NUMPAD_1
72 = NUMPAD_2
73 = NUMPAD_3
74 = NUMPAD_4
75 = NUMPAD_5
76 = NUMPAD_6
77 = NUMPAD_7
78 = NUMPAD_8
79 = NUMPAD_9
80 = NUMPAD_DECIMAL
81 = AnyTextKey
82 = A
83 = B
84 = C
85 = D
86 = E
87 = F
88 = G
89 = H
90 = I
91 = J
92 = K
93 = L
94 = M
95 = N
96 = O
97 = P
98 = Q
99 = R
100 = S
101 = T
102 = U
103 = V
104 = W
105 = X
106 = Y
107 = Z
108 = 1
109 = 2
110 = 3
111 = 4
112 = 5
113 = 6
114 = 7
115 = 8
116 = 9
117 = 0
118 = SLASH
119 = MouseMove (no effect)
120 = MouseMoveDelta (no effect)
121 = XButton1Press (mouse button 5 click)
122 = XButton2Press (mouse button 4 click)
123 = XButton1Release (no effect)
124 = XButton2Release (no effect)
125 = XButton1DoubleClick (mouse button 5 double click)
126 = XButton2DoubleClick (mouse button 4 double click)
127 = -blank-
128+ = -crash-
For modifier keys, simply add the following value to the key code:
SHIFT = 2^17 = 131072
CTRL = 2^18 = 262144
ALT = 2^19 = 524288
CTRL+SHIFT = 2^17 + 2^18 = 393216
CTRL+ALT = 2^18 + 2^19 = 786432
ALT+SHIFT = 2^19 + 2^17 = 655360
CTRL+ALT+SHIFT = 2^18 + 2^19 + 2^17 = 917504