- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input) , Q! ?0 x; N2 g/ |4 r. p0 X
By Jan Langermann ((DSO Moodding Forum/ Admin)
6 k9 `3 a+ j. }$ s J2 W: p" c' t) h5 p) ?" Q
3 P* n; s' Q, U; a" N: W, ?( f2 lI have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.
" w7 K2 s" F! [% A2 j* s& P. [It also generally explains how to apply changes in ini files globally (and not to a single modification).
( o% L+ j" i5 u4 b. B1 ]* s4 v: `& n, ?
! x# j* ~. l, P0 ^
To swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr".
$ D& Q4 c1 q) H! B7 a. {6 VYou 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! # y9 ]/ K. D0 l
; n) b: Z, C$ J* P8 O- Shut down Darkstar One.
& ^$ A8 g+ |+ O% |& K* u- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\- R1 n, f$ t; x8 Z4 C N+ I9 a
- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.
6 D; s6 N$ A0 F; r- enter the "inifiles" directory.. r6 k4 @/ i- z, {# _9 E9 ], I: Z
- open the file "InputControl.ini".
( M, Q/ y: u1 l$ [8 F- \
2 W% Z0 \, K" x9 DYou can find the following inside:$ z! i% W( T5 Q" p
2 f# ]6 w9 e: k) [& m' w- [FLIGHTCONTROL_FIRE_SECONDARY] ;
/ {+ m8 Z- s: T! S0 v- m- H - Anzahl = 2 ;
9 f9 t& @3 V- t+ [% }2 D- H' _ - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;. {4 O. b1 H; x1 o3 t
- EntryID_1 = INPUT_MOUSE_BUTTON_3 ;& m" O4 t1 a% }# \& z1 X+ @5 |/ A
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
: {: G- b. S" V1 u - EntryID_2 = INPUT_JOYSTICK_BUTTON_2;9 {3 T$ n* Y) b9 o2 E. q* r2 ~
- ( e. W! m" C3 K( h$ W
: y3 M; D* V$ H9 v2 o: d4 [- [FLIGHTCONTROL_FIRE_THIRDLY] ;
2 o5 e& c! t0 z1 ?3 q. q - Anzahl = 2 ;8 q8 p' s0 V$ Y, v: @
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;' m0 l+ P$ x' s5 K/ H0 q8 q7 m: n
- EntryID_1 = INPUT_MOUSE_BUTTON_2 ;
$ c4 `5 K/ a o8 j% d - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
' @( h3 V2 n, n# B - EntryID_2 = INPUT_JOYSTICK_BUTTON_3;3 U. F4 ? o( `1 R- o
复制代码 7 x6 C) a8 {% w8 B1 F
; m( E- a( m- c0 ^
8 ^8 Z; _$ R& V" ~3 J3 `$ f- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)4 z) c, e$ X) l6 o9 c
- Save the file and close it.
5 q; b* z9 q& N7 l& v; d4 T3 p6 M- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).& w' \4 i5 J+ h R: A
- Start DSO. Verify that it has worked by looking at the options menu.
8 ~) P, Y+ l# z8 j4 ]: ]( D6 [0 K- Have fun!; U" H, ?( O! I. m- x1 x8 D
6 z5 @8 J( U* h3 B' `' k/ J9 b0 t. @PS. "Anzahl" is german for "count/number"
. j% I: `$ u; L" x( d& |__________________
- q% m3 J+ q6 E E, T+ H6 MCustomer Support
6 J4 y9 [. X4 t: G3 f3 p/ jMission Scripting Darkstar One- d* R- L" K. Y& f4 o
support form |
|