- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input)
0 r: a' M- }, m3 ^! g( IBy Jan Langermann ((DSO Moodding Forum/ Admin), ], j" Z9 Y1 K+ m. n
8 @- }) e& a! ~: g2 b+ X
3 H" }+ C% p7 {! \% V% C& G- D
I have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.
- x- n/ H" i& X( c& s* Z% vIt also generally explains how to apply changes in ini files globally (and not to a single modification)./ [% p0 b& ~* }6 |
0 v' w; }0 a' M) U0 T* S
! M2 o; _, j& i5 t
To swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr". 6 f2 C& p9 N0 g; r
You need to follow these steps. Do so at your own risk and make backups of files you delete to reduce the risk of having to reinstall! 4 c3 R5 B) l: i4 m1 i
4 X) f+ Y9 H0 P) w
- Shut down Darkstar One.
8 N4 Y! _) R( Q( h- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\6 G& z% M8 R" f7 b x5 `
- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.( X2 Y; ?5 I7 d* a5 e0 B3 M1 n. H
- enter the "inifiles" directory.
9 b7 p% Q7 h( o8 L- open the file "InputControl.ini".
1 S; S; G# v3 u) i/ w2 \4 A9 f1 _, V7 H( n8 P8 x
You can find the following inside:
+ W7 A1 {( w* h1 e% x5 a0 `
* Y, [5 P" H6 x$ ?- [FLIGHTCONTROL_FIRE_SECONDARY] ;
' e/ d1 n8 }7 ?* m' n0 I* O - Anzahl = 2 ;
* u3 ?8 L6 t6 f9 ]0 _0 u/ Q - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
: k3 x( W4 \8 e" I( x - EntryID_1 = INPUT_MOUSE_BUTTON_3 ;
6 p7 B/ Z, ^7 o" R5 ~/ B* ]4 q/ G9 K - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;" \, g. \6 q0 L7 X8 y
- EntryID_2 = INPUT_JOYSTICK_BUTTON_2;0 }" _( y+ D ?6 \; k& X
4 _& Y( \ x, B
# x4 u* \2 U. ], K+ W- [FLIGHTCONTROL_FIRE_THIRDLY] ;0 {% T, `5 M) P: ?, d; i
- Anzahl = 2 ;! P% j+ [3 Q/ ?$ h* Q( d
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
0 K5 n( w8 z4 m9 ]! P - EntryID_1 = INPUT_MOUSE_BUTTON_2 ;% p: z5 `' n9 s+ L3 t
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
9 ?! p5 z9 k5 _2 \2 [" N - EntryID_2 = INPUT_JOYSTICK_BUTTON_3;1 O' O& ~, {2 B$ c9 H% G5 }
复制代码 + B. ]3 l k; G/ L: S7 R7 k
' y- c; y$ y5 S+ s1 F
# T" c& N9 F: Z# k, s- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)
) X3 T$ U2 H8 o- Save the file and close it.2 h9 S0 t$ i0 W2 v" {+ w7 ^
- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).
& {- b' e6 M; {* |$ I- Start DSO. Verify that it has worked by looking at the options menu.
# [5 B# k5 U" U( a5 b+ ~3 o- Have fun!
, A7 k: z. M* Z7 U& g. q
: p! H4 F0 X1 M+ }/ P4 ~. DPS. "Anzahl" is german for "count/number"9 V8 S) O6 h6 B: b1 r6 ~
__________________
3 _ e4 X C# H0 p7 I) vCustomer Support3 k) }2 Y% w4 J' L! Y
Mission Scripting Darkstar One) L9 y" X7 i2 p. s2 [# @
support form |
|