- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input)
. C0 ~+ T# Y8 N) gBy Jan Langermann ((DSO Moodding Forum/ Admin)6 ^; _' I9 }+ u- M% m
7 ~# q, K' A# F% s0 f, X7 U! _ O# \+ j6 a/ Z2 O' a
I have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well./ a, G& X9 @& L4 Y- t9 w9 s
It also generally explains how to apply changes in ini files globally (and not to a single modification).# ]/ Q8 x, O+ i0 t
3 R# H. F8 T* h
2 D J" Z; s0 V# D
To swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr".
+ e$ E0 Z" _7 u Y5 B: G$ DYou 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! & U- h% x1 M1 t9 \1 o" {6 s
+ v& W6 w* k; i; @, v
- Shut down Darkstar One.0 N- c' @! E& i* X
- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\; o; D( ~# s0 x$ e0 z
- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.8 A: n/ R( [ e; R) P, r
- enter the "inifiles" directory.+ s+ i/ K( e" {7 Z
- open the file "InputControl.ini".4 B# n8 k1 B9 I V/ o/ j0 S! \
9 p- X" m0 u# @
You can find the following inside:
. s2 z( m- p# g8 j8 c. E: \2 X: j
& n, J) U5 x, K9 ?" t/ c5 x- [FLIGHTCONTROL_FIRE_SECONDARY] ;
d& |2 ]4 Y+ B, K) H - Anzahl = 2 ;
2 z' `: o( {. A. q7 |8 f9 J. U - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;8 e' D: g/ i; O$ u X/ U. S4 q2 ]
- EntryID_1 = INPUT_MOUSE_BUTTON_3 ;
% T0 H3 A% W0 g4 ~1 T; Q - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;; i0 w1 `0 Z. z. x% G& G8 w$ ?
- EntryID_2 = INPUT_JOYSTICK_BUTTON_2;1 n! w2 ~ j7 c5 F1 N$ e
- ( H4 h% w2 z% M+ t+ n! }3 t$ ~
- # l( P" a# \) C' L2 p& k
- [FLIGHTCONTROL_FIRE_THIRDLY] ;9 L9 Y5 d7 L) Y+ ]5 z4 o
- Anzahl = 2 ;) @+ D* U; Z: Y5 `3 ?
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;( z% U) ~: a3 b X, |; g9 R& P
- EntryID_1 = INPUT_MOUSE_BUTTON_2 ;* j* W9 w* V* s2 U* v5 s
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;* C0 t8 h6 r0 o3 q2 }* f* _; Y
- EntryID_2 = INPUT_JOYSTICK_BUTTON_3;+ W5 b& s w1 D
复制代码 * K3 G9 z! W5 b, q
4 [* p2 ]5 n4 X9 `: _8 s
! H4 e' g9 [0 A3 q' J
- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)
$ ^) C6 l7 u( s$ T- c- Save the file and close it.
& n/ H3 I* ~$ ~, u! [: V, V" I! { D4 x- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).4 ?# \) d+ F7 S5 b9 w( [" w
- Start DSO. Verify that it has worked by looking at the options menu. m, m8 I( _6 b9 E! ^: l
- Have fun! C+ @; M. M' B# {( G; h
! v# H7 ?* U9 @7 P2 D2 N
PS. "Anzahl" is german for "count/number"
! E) w N" ?& N__________________
- e T# r$ H" m8 @7 F% iCustomer Support9 F- Y m: D# D
Mission Scripting Darkstar One6 C" ~1 z' m3 k& ]& X+ M2 X
support form |
|