- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input) ; V8 C: R' z6 B4 F+ ~
By Jan Langermann ((DSO Moodding Forum/ Admin)0 [8 {- _# c+ i% c7 _9 [5 i1 F
6 a/ e2 Q7 b& y4 J. V
1 t% O+ k1 l8 _- D9 AI have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.' u5 ~1 S& n1 ^5 G/ O+ `+ w
It also generally explains how to apply changes in ini files globally (and not to a single modification).
+ |, u: c) A, ~4 o* m; f z$ G; e; `8 @( \/ {
2 S# S0 A; z1 s0 q8 ITo swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr". 7 d7 x, z, c: n6 E+ ^6 P& P
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!
. G; G1 k$ M9 v" g
. `# p. V* n. Y, G/ g. r- Shut down Darkstar One.0 w8 m2 Y2 t3 a1 I) Y( @% L
- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\
) L# {/ G: a8 m$ w- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.
% g3 B+ \1 X1 M4 H- w9 _4 D$ ?- enter the "inifiles" directory.
/ S1 y; I! P* ~: r- open the file "InputControl.ini".$ u8 K# k* O) `& d, ^
1 D, w. d' ~6 H( ], E" ^5 F+ c$ }2 j
You can find the following inside:
7 Y! K$ j( G; f- d+ q7 M+ S- , K3 D6 r$ X; A* u0 d
- [FLIGHTCONTROL_FIRE_SECONDARY] ;
2 ~) g. X! {0 B! q! E5 G* j - Anzahl = 2 ;
6 L7 K& w$ a; \ - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;! K' |1 V8 }; K6 \$ ^3 O
- EntryID_1 = INPUT_MOUSE_BUTTON_3 ;+ e3 g* A' m( o t2 V) T3 d; Y
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
$ b& f* A$ n- i% p. P# c& e) p - EntryID_2 = INPUT_JOYSTICK_BUTTON_2;3 v" \3 Z$ n3 e
- / @( x2 p7 r2 ?7 [/ y' g
" K# {& j R: ~$ a) C4 \, Q- [FLIGHTCONTROL_FIRE_THIRDLY] ;: }+ h2 C2 z1 b5 f) r- H- y
- Anzahl = 2 ;2 o( ~5 b7 q' m, D( w4 i
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
$ _0 |( _+ e s - EntryID_1 = INPUT_MOUSE_BUTTON_2 ;
3 G* n3 Y, o! ]+ R/ N9 K: ~$ F2 x - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;0 ?# u" U4 y1 n* K
- EntryID_2 = INPUT_JOYSTICK_BUTTON_3;
$ l, ^) }5 R/ C' L8 j" L) L/ H
复制代码 n; h, @7 y, W# x+ }5 o/ M, h
! ~2 m* W; ~5 e9 {
# a2 F7 U5 u6 v; L
- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)& z/ a2 S5 {5 U- S) ?
- Save the file and close it.
2 a/ s# c% ?+ w) r5 ~- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).
& o! o" S3 t9 Q, m2 B" \- Start DSO. Verify that it has worked by looking at the options menu. 9 H4 \4 U2 i" S0 q' I
- Have fun!
" T A1 d' A8 f, ~( y& J9 p* _! |) f. _. }# f* t
PS. "Anzahl" is german for "count/number"' d" Y( ^6 f b( m1 _4 \
__________________* U* @5 O' Y. o8 v9 W2 O
Customer Support
: q+ E) V9 w. U& G6 Z. g, i6 X0 X! ZMission Scripting Darkstar One
3 n$ W3 j2 R4 E" A- Nsupport form |
|