- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input)
i5 n7 K; J* Q- ~By Jan Langermann ((DSO Moodding Forum/ Admin)- V: ]0 H3 V2 t7 C8 Y. l% q
* q. k: L( e3 Y# A2 K: x' [
; D8 ~6 J+ s5 C8 c9 a) D" ~
I have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.
4 [2 A2 M$ o F! S- P0 f( aIt also generally explains how to apply changes in ini files globally (and not to a single modification).
6 B, n% G9 X! H5 C& f" g% K# @& Z- U" @/ Q
/ U! n* _1 W0 Q' r; ?1 T& c7 V. ~, L
To swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr". " M6 Y3 X& T# v+ j2 J* q- A2 f
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!
8 v i' i0 e. z. R2 @# J, w1 X. y& x" U( D5 L
- Shut down Darkstar One.% A4 K. }& B7 ]( Y7 N g8 w) D
- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\
$ @: t6 `( a! ~* g) |- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.
6 `+ H8 U$ L, |3 U- enter the "inifiles" directory.9 L( ?# U9 l) A* z7 Y$ ` W. O. b
- open the file "InputControl.ini".* v+ R! Z Z: d' [; \% Z
9 Z1 L- @5 V0 Q
You can find the following inside:; a5 D$ K7 k4 o8 P4 U/ T9 U7 Y
- * Q- w) K/ N1 Q$ T: @3 H
- [FLIGHTCONTROL_FIRE_SECONDARY] ;2 l% C' z0 k, V, K, O6 t# u# M+ C
- Anzahl = 2 ;1 Y! {- E) M" p9 R6 ~. `
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
- L5 Z" \7 H: a# ^" R8 z ~ - EntryID_1 = INPUT_MOUSE_BUTTON_3 ;
+ J. \6 p: u' ]! Z/ R& W z - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
! Q% W; a" ?3 @ - EntryID_2 = INPUT_JOYSTICK_BUTTON_2;. q+ s v$ `0 b, B
- 2 Z8 G! N$ U- T' i
! o, M1 A( N, E, `& ]4 }- [FLIGHTCONTROL_FIRE_THIRDLY] ;
3 i1 \, q- A5 b& i) ^5 m - Anzahl = 2 ;1 B! P6 C& k$ }/ v
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
& S. q5 |8 e- Q2 Z# @. ^: z - EntryID_1 = INPUT_MOUSE_BUTTON_2 ;
; t7 O1 ^. m! V$ o, E - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
1 I$ E) E3 u' j+ F3 |3 `9 r& H4 i - EntryID_2 = INPUT_JOYSTICK_BUTTON_3;
. @1 g+ E; o! D" t0 _2 |: h5 \
复制代码
7 n8 z5 S" b. B
, V; s! I$ N# h5 \' h2 N0 ~$ z- s$ |0 z7 Y7 p
- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)
7 V- h0 y& N1 V( ]2 n: X- Save the file and close it.
0 E; d: q8 B9 z1 F- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO)., X" w/ q, q" s; H
- Start DSO. Verify that it has worked by looking at the options menu.
% l6 v( p! l) W" _$ S3 W! t- Have fun!0 k. y, P9 Q" u5 y
& I, h% z" b2 k7 ]. G' G! k, ?PS. "Anzahl" is german for "count/number"
$ u! O" b( N7 [" y3 `__________________
# f7 T ^" G [; X* I3 UCustomer Support& ?( X6 K/ `5 v, y
Mission Scripting Darkstar One& N2 ]% e& Y" r& e% L
support form |
|