- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input) # a9 W* L6 x7 L( V- Q
By Jan Langermann ((DSO Moodding Forum/ Admin)
2 G( t2 N7 R* C* v& k0 E
/ \0 B; p- R: ^- M+ O }% b4 i9 z
6 D2 M4 f, {- R' w% Q# AI have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.0 X Z# F( G+ ^! U. E9 ?8 E- r
It also generally explains how to apply changes in ini files globally (and not to a single modification).
1 t/ C- Z8 r: G5 U
( U: h! {& Y2 k8 }) p$ c
- G. r' M1 h; I! ^/ DTo swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr". + O1 S2 [9 y# h
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! u, e2 w5 x+ U2 R8 a' J0 T
# k; g: c) e+ r1 E2 b- Shut down Darkstar One.1 X* h( `2 h2 d2 J2 Y( C1 S$ G
- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\
7 j6 U% \3 f8 E6 S0 H2 t- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards. m4 w: B$ Z# F
- enter the "inifiles" directory.
. E; z1 G, D2 g9 C7 F- open the file "InputControl.ini".9 t/ E4 Z% I, J
; I0 j* H" \! QYou can find the following inside:6 \3 n: H4 y" z( X- W; Z- o, N
- ( h" d3 O9 v( E) ~" i
- [FLIGHTCONTROL_FIRE_SECONDARY] ;) A( O" ?$ v& r9 t( `" E! I
- Anzahl = 2 ;* |9 o2 y K4 h8 S2 J, j6 X4 l3 ^
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
2 S- N1 h3 g5 F - EntryID_1 = INPUT_MOUSE_BUTTON_3 ;
/ d% \! H$ }# V' O- ~ - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
3 A4 Q* K7 V2 W2 T - EntryID_2 = INPUT_JOYSTICK_BUTTON_2;
* ]) H( E+ \- A% }& }! \
, s/ l/ P8 c6 w- {5 h( {9 s- 3 g3 Z' r2 E* D% i9 u2 u
- [FLIGHTCONTROL_FIRE_THIRDLY] ;. I+ _1 c) p9 m. F; J5 k
- Anzahl = 2 ;
( B* D% O. d' n1 |; @! B! y6 o - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;. Z% T" s' T/ M; N
- EntryID_1 = INPUT_MOUSE_BUTTON_2 ;: P" S0 |; r9 n; U. S4 t/ g; @1 n
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
# l! X; P1 j' R9 O! W. U0 }& d - EntryID_2 = INPUT_JOYSTICK_BUTTON_3;
8 I/ T% f" i& H& g2 Y$ X
复制代码 ; e. O5 @8 a& l' ~6 q3 t
7 O) [8 S0 Z0 f/ C; ?) |
$ ?: j$ Q1 g- @$ t/ i
- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)" v i4 H# ?* u
- Save the file and close it.7 ], E) P5 \/ L/ Q# s
- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).- z" ~6 z/ F1 U. ]0 n2 ~9 B
- Start DSO. Verify that it has worked by looking at the options menu. % b& W: C3 L* ~) h% ]0 i7 L- d
- Have fun!8 y5 r8 D5 T: C
! M$ ]7 i) x5 G4 b
PS. "Anzahl" is german for "count/number"
; x, l4 H. H$ o* M7 o) x/ H__________________
3 s" ?7 K e- \1 E$ CCustomer Support
, h! I/ @; z- E* zMission Scripting Darkstar One3 V! \" E2 f" u3 w+ ]* i; a
support form |
|