- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input) + H: p3 ~+ F; ]
By Jan Langermann ((DSO Moodding Forum/ Admin)
, L! M* w8 f |2 s3 ^* c+ h [$ R* p$ g& P4 d6 U1 M1 }: E8 p
" c* j4 i' I- F$ T8 K& j! O: N
I have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.
* D9 ^# @+ v2 N$ |' V6 J" ?It also generally explains how to apply changes in ini files globally (and not to a single modification).0 R: B e) J9 v- K8 A8 u$ @5 @5 _
h5 m) g* K C; h8 [8 B9 K
% r& a6 x; _8 {! GTo swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr". + N" p# C( |7 m' _/ M- m% V) X
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! * |6 C9 i+ [6 q0 L( d* ?4 f) F
, @% z" e- i8 w& E# ~% d
- Shut down Darkstar One.
. Q$ _! d( e' Y; z- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\( z% r* ^, r A9 y9 x
- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.5 N& l! S" Q# q8 Q+ A3 z
- enter the "inifiles" directory.
9 u: B0 [( ?3 _: I( b( V- open the file "InputControl.ini".
+ {5 ^& g6 ]! j4 E- f% z: D" k m. \
You can find the following inside:. {% g+ j& f4 N% Z7 E" {0 A
4 [' V; t! X/ H2 Y- [FLIGHTCONTROL_FIRE_SECONDARY] ;
2 w d$ r! [ C7 T - Anzahl = 2 ;' R% H/ f$ M# W+ \: V- H
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
; v3 I; U2 s. y3 u - EntryID_1 = INPUT_MOUSE_BUTTON_3 ;
8 F% F! Y, Z9 k% ^4 N, O - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
+ A8 z* \$ B" |9 `2 {; q3 \ - EntryID_2 = INPUT_JOYSTICK_BUTTON_2;7 K/ @ r2 A; A; y4 C" S
- 0 n) q6 }8 }7 n2 X/ i
- / f% Z1 ]) b+ G) F+ F, x, n" V
- [FLIGHTCONTROL_FIRE_THIRDLY] ;' W3 P$ v$ j& G7 W. f
- Anzahl = 2 ;
( c& t5 e3 W2 F% Y9 s - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;2 K1 S+ Y* K* t
- EntryID_1 = INPUT_MOUSE_BUTTON_2 ;- ?; X3 @5 \1 d. l1 g- O
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;9 `, S# ~+ u+ e! f& \" ^! F
- EntryID_2 = INPUT_JOYSTICK_BUTTON_3;
( ?1 ]! q1 N& s s. u1 k& P4 A3 m
复制代码
- d+ P8 c8 {0 a
7 p- |- e% ~- E9 @2 p( X) A; I# g5 H; N$ c R4 x) Y
- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2), O+ {* v! h: _" A! q
- Save the file and close it.2 w( ^5 U+ k" l: I0 T
- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).. D7 O+ m& C. u& t% v( w" j$ d+ i
- Start DSO. Verify that it has worked by looking at the options menu. % w! R- O/ T W
- Have fun!
2 ^& b* L- R; i! V5 ~4 \* x
" x( I! R; X1 y" MPS. "Anzahl" is german for "count/number"
( x: n1 J& G* }" L__________________0 g: x$ L: E. V, j) m
Customer Support Q: X4 ]& t% y) _# d& g
Mission Scripting Darkstar One: M0 S. U2 f7 N
support form |
|