- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input)
6 M' ^9 y/ b7 bBy Jan Langermann ((DSO Moodding Forum/ Admin)
+ W' c) m! V* {
1 y: y! U+ Y- \: q2 q& q& u9 G" C' L4 |6 P8 w. D* {7 U
I have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.
# c Z) o3 ?0 t2 _It also generally explains how to apply changes in ini files globally (and not to a single modification).
5 ~% I* H& z" ^ q, p+ R* j
: _: P% m3 V. {- }1 [1 m
! A5 E/ S* F. p% ~To swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr".
5 D4 r' g* l0 l& S! A3 p; m% cYou 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!
! q q& w# N% K! p, M
' |& t$ l I( D4 m( i- Shut down Darkstar One.
! p( h# a7 a, z4 S- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\
/ X4 K4 ~# v0 w+ `6 J% J% E+ Q4 h Y- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.2 Y9 F S2 k% A& C1 @" C; K% I" v
- enter the "inifiles" directory.& F( `. r4 q& h2 _! b1 Z
- open the file "InputControl.ini".0 W& ~5 {9 _9 w; \7 ^( d
* W- d7 `) G3 d' YYou can find the following inside:
$ M* f8 |4 Q- c$ o! N1 b- 8 r) O |! b. D/ E5 B: I; W5 u% ]9 j, R
- [FLIGHTCONTROL_FIRE_SECONDARY] ;; M X2 V' B" D T4 G4 x6 I8 ]
- Anzahl = 2 ;2 ?3 t: j! c3 s
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
8 M+ N9 \: j; _/ K4 J0 E5 k \ - EntryID_1 = INPUT_MOUSE_BUTTON_3 ;( L3 u: T# T8 \7 C \% m
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
5 f5 v8 ] I7 F& L( T% i - EntryID_2 = INPUT_JOYSTICK_BUTTON_2;7 F1 B* w9 w# ]8 l- q, }
# F* M# V* G% W' }6 o- 2 j" N. _, ?3 n7 o- ]1 c
- [FLIGHTCONTROL_FIRE_THIRDLY] ;
3 S" o+ h; m+ k" r1 [" o' [6 z% j - Anzahl = 2 ;% \5 g9 Q: R* S& V; j
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;. T8 d. [9 [; @% F3 ]! e
- EntryID_1 = INPUT_MOUSE_BUTTON_2 ;2 |7 m1 f4 ^5 r# d- r2 m3 J
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;- d* Q- c5 y$ G2 `
- EntryID_2 = INPUT_JOYSTICK_BUTTON_3;8 g$ {2 q0 X p* b" |; ^1 F8 \: U z
复制代码 1 j2 c! Y8 k% @8 a3 h
/ ^6 u7 z! _ g% I: j# k
% {* x" f) ~' ]- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)
8 O0 c1 H5 y0 b- n6 b! U* A- Save the file and close it.
6 j+ c$ M3 V% ^4 i( L( z- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).) p& w6 Z. r7 w. u* F
- Start DSO. Verify that it has worked by looking at the options menu. 4 S3 ^% Z q' I1 P& r! x* H9 o: W
- Have fun!
0 X! m% t$ k, h3 D( Q( n: x0 I
8 `) f% C+ W8 H& }! s4 D6 H. pPS. "Anzahl" is german for "count/number"
0 {! B2 s2 |3 b- L9 y E__________________7 s7 P2 ~1 E, f6 I+ s/ G- p
Customer Support
, M4 p+ z" n5 V- pMission Scripting Darkstar One" O, j% \+ ~& ?
support form |
|