- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input)
$ O$ w0 Y7 @/ |# v; O9 _. L; @* MBy Jan Langermann ((DSO Moodding Forum/ Admin)( U, n2 F+ t! \ ]
, g" l2 G9 m' o, f" T
- H% V+ u& G1 rI have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.
6 C& A2 {: ^5 y/ G% U- {( nIt also generally explains how to apply changes in ini files globally (and not to a single modification).5 O z- p$ t: k9 G9 d
- X, D4 E& T& V/ a$ w. c
2 E. O5 E2 x& V. Z6 RTo swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr".
! I& {3 Q3 {, _% `; rYou 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! & n( j9 @9 @) a; j! @: o
: G% m* H' ~: ^1 r) I
- Shut down Darkstar One.0 ]: u- ~8 h$ N. B% q# P6 R
- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\5 S O& e b9 C" h9 B c
- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.: n6 _" k# z' {
- enter the "inifiles" directory.. Q G% O* @. n3 r# m
- open the file "InputControl.ini".2 l2 Q6 T6 _. J7 w' m e" N ~7 D
. t! W7 Z2 K9 YYou can find the following inside:' O5 L5 u8 ?+ B* w; ]2 T- Y
+ L9 v! h$ F- l! Y- [FLIGHTCONTROL_FIRE_SECONDARY] ;
^# ]+ j# |; u5 S9 j8 R2 | - Anzahl = 2 ;
7 D; k& w- n) f - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
- ` w: e4 @9 O, E - EntryID_1 = INPUT_MOUSE_BUTTON_3 ;/ [" A7 z: B1 v) W
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
) C! L& X0 L' ~+ |1 v - EntryID_2 = INPUT_JOYSTICK_BUTTON_2;( _1 S6 [9 ~4 R, m; V7 _2 l" t
4 q% [% _2 k$ u6 I9 G! }' h
+ B0 J3 ^0 _) J6 f, y2 M; m# s* B( T- [FLIGHTCONTROL_FIRE_THIRDLY] ;' |0 Z% a2 J6 G$ \0 V) B
- Anzahl = 2 ;
' S$ l: q: h. F) }+ }1 r+ @ - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
9 ^7 E8 w. A5 h. w% {( x - EntryID_1 = INPUT_MOUSE_BUTTON_2 ;
) J0 v3 f$ K) b0 z6 M - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
3 I& q: O t- ]1 l - EntryID_2 = INPUT_JOYSTICK_BUTTON_3;8 e6 y4 x2 K3 ]8 ^4 i
复制代码 % }4 f' {% ?" A0 b
7 S3 R* W8 ], u) H2 W' h( U/ w
. K. _. F% d9 K' z* s/ E: F- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)4 R% S3 z- r* [# s
- Save the file and close it.
# j" p- ]7 i6 c" |- ~- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).
; N0 ^. q) _& l1 @' R/ a- Start DSO. Verify that it has worked by looking at the options menu. & O/ ?$ M, R2 ]# E
- Have fun!) ^( I1 Y" y) b2 L Y7 h
$ P5 u4 l0 v' G9 X L
PS. "Anzahl" is german for "count/number"
8 V. s1 O+ |. U5 i Z! {__________________
6 f& d" I* b8 B$ m1 u% Q) WCustomer Support0 Z$ w, m( ?0 i( h( }7 r
Mission Scripting Darkstar One" r- i$ H1 Q3 r+ \! W) h7 y! O8 q
support form |
|