- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input)
, P5 X3 f' H& ~6 jBy Jan Langermann ((DSO Moodding Forum/ Admin)& o/ b6 Q2 Q% o( O& d1 N
+ Q0 m7 G2 K H1 |% y5 D, W
6 l) Q( b5 K: ^2 L' uI have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well./ r6 E4 \& ]/ |, Z& G' ?
It also generally explains how to apply changes in ini files globally (and not to a single modification).
, }" [& Z" n' k4 M) T1 I9 q3 @6 X% j5 [( f: W( ?
+ Q, G. r _6 K- P3 s
To swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr".
4 ]+ M ^& \3 Y4 X2 nYou 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! : W. {5 U- y2 I. U7 p5 ?
* `9 P @. b4 q2 U- Shut down Darkstar One.0 @" T- a3 F9 M1 z9 Q
- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\
`5 k, M. I5 Y4 @$ o- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.
* N* O" p4 E* \' E& I: @" O- enter the "inifiles" directory.
* U2 ^& u% ^6 J7 p- open the file "InputControl.ini".% O1 F7 B6 }3 D( C: F; B
* w; N0 t2 h, {. C: }0 L1 ]& oYou can find the following inside:
- I3 t8 k; t6 a2 s! n1 ~- v- ) O+ K! U; A' X
- [FLIGHTCONTROL_FIRE_SECONDARY] ;$ }) m! _5 k4 q+ [7 W" t
- Anzahl = 2 ;5 W* C8 z* W, ^2 w
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
O7 H8 P4 w. X: Q& P$ J - EntryID_1 = INPUT_MOUSE_BUTTON_3 ;
( E" I5 d" G3 C! E' _( j - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
) ?4 }1 X! P1 L2 U' R/ I - EntryID_2 = INPUT_JOYSTICK_BUTTON_2;
! w4 N& v" R# l) [( t5 x; N
& ^' y( z/ @ u+ H; Q C
0 z) o' M7 n0 h/ a" r" I- [FLIGHTCONTROL_FIRE_THIRDLY] ;
! e& t8 j( a5 P+ h8 M b" Y - Anzahl = 2 ;' l8 C/ z* v ]- @" C4 o
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
( K6 g: i% A7 Y% C; k' N+ |* C3 n - EntryID_1 = INPUT_MOUSE_BUTTON_2 ;! V2 O7 M1 H k
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;1 h7 T/ s6 I4 k8 b' |1 R7 i
- EntryID_2 = INPUT_JOYSTICK_BUTTON_3;( k5 h9 j# f4 V7 ~
复制代码
8 V2 J" i. h k1 V3 J+ S8 n0 w) f/ O9 H% t5 f2 E
8 g' x0 r' C2 ~/ b- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)
' s5 L1 o1 N. B9 z+ e' r- Save the file and close it.
! A6 e9 p8 Q5 J* B5 K5 \- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).
7 ^8 G1 _- h2 f6 K e1 G# P# v- Start DSO. Verify that it has worked by looking at the options menu. V c7 ~. {0 M& p
- Have fun!
; }8 y9 i7 F# l) d( p' d; \# q; p( s- L1 M+ [" t
PS. "Anzahl" is german for "count/number"1 j: ]7 L& c7 H* u, f. \4 ^6 W' l0 E
__________________
+ H: i/ M( |5 s2 d1 ?4 YCustomer Support* E. x1 x( l1 I+ E" g7 D# j
Mission Scripting Darkstar One' U( p+ Q+ W8 X& ^, D3 _9 E
support form |
|