- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input)
; q, ~& |: {' d$ s& IBy Jan Langermann ((DSO Moodding Forum/ Admin)9 E- |& K, |2 n) }
. T/ y" m! ]9 @8 E* a$ x$ U/ |
- O# N/ S: @" `+ EI have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.
7 B! w7 c2 U% a6 Q) F% @It also generally explains how to apply changes in ini files globally (and not to a single modification)./ y9 i! B7 j- d" g8 L- n
7 V) M( v) N# R# e, B" B- ^: a# W. W" D& _; P& t
To swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr".
( I" m ^8 q) w9 j3 i( A) R3 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!
/ n6 _7 x+ y" I. A. Z1 }" P: R r+ C3 W
- Shut down Darkstar One. b# _! S# {) g5 _
- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\5 y& [0 U7 g4 R. J
- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.
0 s- ^# m* S# ~5 \$ G! Q' R- enter the "inifiles" directory.' f0 z; @1 Z- l
- open the file "InputControl.ini".
2 F% ]" S, X: ]: d: b
* v; c/ _( z- ~/ [4 v. A' oYou can find the following inside:2 h# C* Q/ n* S; s! j! J
- ! j0 u% w* S8 {$ U" ?* _
- [FLIGHTCONTROL_FIRE_SECONDARY] ;
3 M- r& a( w- V' @" s - Anzahl = 2 ;
) A# {. d) i6 y( o - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;1 L9 p! E8 c+ ]! N
- EntryID_1 = INPUT_MOUSE_BUTTON_3 ;
: w( A6 {8 c) e! h/ v! b - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
# f' V L$ L7 D: e+ W - EntryID_2 = INPUT_JOYSTICK_BUTTON_2;# _6 x- J* ?; ~ t" h
$ q3 s5 T6 [$ a, y! _: q# _# z
% P' v) Y6 s: F- [FLIGHTCONTROL_FIRE_THIRDLY] ;
' z/ m" ^$ I) J8 g1 u3 G% R% W - Anzahl = 2 ;
- \$ y# u5 ~ D4 @- S" w0 w5 v - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
( p: r/ E+ Q2 f) d& W( T4 j/ } - EntryID_1 = INPUT_MOUSE_BUTTON_2 ;
( j5 a% W# G1 ?. F3 ~; @ - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
- R1 D5 m- b) w - EntryID_2 = INPUT_JOYSTICK_BUTTON_3;
% ?. c0 N0 s/ L
复制代码
6 A& R9 z" h& ~" ~$ V
) b3 I8 ?3 u6 ~6 m$ Z* g& e1 M! L+ m: l; \7 w5 P
- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)
" `9 g }6 G7 V& U! B- Save the file and close it.) }4 u: B: L8 B
- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).& Z- H2 C9 a1 w' X' S. i% v) |
- Start DSO. Verify that it has worked by looking at the options menu. 8 U( G2 j! Z4 g6 H1 g W
- Have fun!: O& D" C( p3 L7 O! F
/ q y, J4 w1 X Z# T/ o
PS. "Anzahl" is german for "count/number"; {+ R* b/ K0 [6 Y
__________________: A/ m, Y0 p# G9 H. x( }+ W
Customer Support, j. ~' }; P5 z: c
Mission Scripting Darkstar One: R" M A) M# L
support form |
|