- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input) & B" }+ z) x4 C* C9 U0 ~
By Jan Langermann ((DSO Moodding Forum/ Admin)
. |9 z+ X! l$ E _# T+ b9 y2 \% r5 d+ `% m- z5 _
9 M9 r* h+ m/ N6 O! e( }I have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.! Q' }; C& c! c# i
It also generally explains how to apply changes in ini files globally (and not to a single modification)./ t; N" I: _8 N& x9 ^9 s
3 h4 Y' d: N# V" v& d( m
6 y$ z# D) c1 I( G( u; z. [To swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr".
: ]) E0 A0 G0 Z9 r8 T6 xYou 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! . V+ [5 n) z) R( Z# T7 m7 ~* X8 q
, E! K' r& M8 E: g! @- Shut down Darkstar One./ o8 m' R+ f) x- A
- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\
& u4 b& z/ b8 E& v2 D& S- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.
7 N% ?7 F8 Q! v- K- enter the "inifiles" directory.
/ \4 x6 T' g0 }8 |9 P9 l- open the file "InputControl.ini".: `4 G" C" M* F. k4 b* A
6 R! ]( e5 S! V4 }' f, H DYou can find the following inside:
1 y6 D7 W0 X- H& [$ C( _- 6 V& U" M8 t% `$ \1 ^! e
- [FLIGHTCONTROL_FIRE_SECONDARY] ;) j% h7 N4 B i k8 m# j9 e( J& N
- Anzahl = 2 ;
6 R8 o. c# ~/ f, Q9 m1 I' Z+ d - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ; ], z) K% e9 z+ H: x2 z
- EntryID_1 = INPUT_MOUSE_BUTTON_3 ;
1 Z5 k. Y: P; q/ q - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;7 e; j- M3 s$ @/ G1 b4 N6 L, `& Q" V- M
- EntryID_2 = INPUT_JOYSTICK_BUTTON_2;
' h" x' {+ F s
9 M) Z, P% r( B$ I! U- 5 d+ i2 T0 L/ u7 k2 w
- [FLIGHTCONTROL_FIRE_THIRDLY] ;4 N+ L* X$ V; ~7 b# ^ o( T
- Anzahl = 2 ;6 i; s* o7 D) O6 ^
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
) h9 q2 n: ~ Q - EntryID_1 = INPUT_MOUSE_BUTTON_2 ;3 Y) Q- ]) p9 z1 i
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
5 N' s5 ]/ q6 L5 r* e d - EntryID_2 = INPUT_JOYSTICK_BUTTON_3;
1 Y) n( y$ L" I# n+ ^
复制代码
- S# h; Q' z9 M/ @/ _* o( f+ v" r( u: N3 a# ^
: w& s, n. {1 B( z
- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)
- _! a: E5 x8 V* D M- Save the file and close it.
2 x+ _8 m+ m0 D0 | ]0 Y$ E/ K- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).3 `3 g8 \* Q2 w! L# p2 p! t
- Start DSO. Verify that it has worked by looking at the options menu.
, X+ W: f+ e9 Q* S- Have fun!
6 T8 w( N- M& h8 |$ @- |4 Y4 L+ z
PS. "Anzahl" is german for "count/number"
( I9 b7 d& R6 S9 K/ Z: C- l__________________
% z# J6 U0 W( zCustomer Support& ^) |- N# c( f$ I$ j& @
Mission Scripting Darkstar One, S# d1 m! X9 P# K9 j) V
support form |
|