- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input) 9 w; b2 R' [( B: P
By Jan Langermann ((DSO Moodding Forum/ Admin)
. U$ V% J+ c7 _3 Q( U/ i- p- v e; B, W5 Q& e: i0 \0 r. V$ W
8 ^5 O! p! K3 O9 O2 S) }9 x$ sI have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.( ` G A- K) t# j: q
It also generally explains how to apply changes in ini files globally (and not to a single modification).
, V+ }7 Z. B9 x7 H1 F/ q' e3 |. G5 J: Q( T
, B& r" }0 W4 I# o5 v4 B6 dTo swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr". ; l3 D5 G" v: C) f( U" E
You 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!
! O/ {/ Q( O2 i4 |$ Q a+ f- N
- Shut down Darkstar One.% ?1 U9 [" [) F$ x/ H1 y: m
- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\
4 ?4 G4 W$ L+ g9 q- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.) I8 p( y+ Q6 A7 y& ~
- enter the "inifiles" directory.6 Q, w N5 h, y4 m$ l* M& ]
- open the file "InputControl.ini".$ g9 G2 b3 F$ Y1 R& W
+ s/ o# C) ]3 j' R1 _: t2 l+ l4 oYou can find the following inside:- v3 n2 Z% q/ G
- ( G8 _5 p, P5 E7 J( Q. h
- [FLIGHTCONTROL_FIRE_SECONDARY] ;
* y9 ]9 e5 E# L8 q9 v( L3 _2 ~$ j - Anzahl = 2 ;$ X; ^* h3 C; r$ w/ V/ D
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
9 J! c, ~! H! q - EntryID_1 = INPUT_MOUSE_BUTTON_3 ;
% {3 o; ~7 D; |+ r) ^; q& b- ~ - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
. o9 Q/ ?0 F! {) Y$ x0 }2 u - EntryID_2 = INPUT_JOYSTICK_BUTTON_2;
& y# w8 P4 S4 c9 Z$ T, u - : g! B J3 f* s: v8 V+ A$ H
- + c9 j( g; P3 ^3 B/ V1 O5 X: E, |6 Y
- [FLIGHTCONTROL_FIRE_THIRDLY] ;
1 y4 S2 b# l3 \( P) d - Anzahl = 2 ;
$ X5 W T# m8 S; T( J - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
M1 e) r" u( k& r& K) d) a% K - EntryID_1 = INPUT_MOUSE_BUTTON_2 ;
8 z" l$ ~0 B0 |1 P& v o - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;! R/ u7 O' w# I+ V
- EntryID_2 = INPUT_JOYSTICK_BUTTON_3;
3 m% V( b1 R' c1 v2 S, o8 S
复制代码 + U) h3 p; H; ]5 T, C' Y
$ x# N* t Q1 `) K
$ D8 N3 V' Y- d6 y% b5 }8 r- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)! H7 y/ A) b! o T# s1 z
- Save the file and close it.. c% P- r, O! S4 Z
- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).+ L6 I- f9 m/ ]$ z6 f. Y" g
- Start DSO. Verify that it has worked by looking at the options menu.
* j% W# H4 G" m: f- Have fun!
: f8 q/ ^% J9 B( f: v0 N, w$ n% i
V! {, j' ^) a |PS. "Anzahl" is german for "count/number"; y+ f: s, k# f5 a8 U: g x4 {
__________________* G& }4 ?" R# D+ e E
Customer Support
/ ~5 s6 ?; y/ ~& U& V7 q1 NMission Scripting Darkstar One g! C7 ~+ h3 {1 s ]- M" i3 X6 u3 b
support form |
|