- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input) ! R; D& B- }! S; @
By Jan Langermann ((DSO Moodding Forum/ Admin)$ ^* V7 a8 u3 P6 n! K. K
9 _, N0 f7 l$ A3 s0 {+ w+ g7 J: F; a/ v
I have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.* b/ y5 i$ l, @! [, `
It also generally explains how to apply changes in ini files globally (and not to a single modification).
% @; n8 C: B* J) m* x
4 h, C& l( H) d S7 W9 k( [ [
* k: Q$ U9 Z1 k- G, V, h) O) n+ ^To swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr".
5 ^: l7 ^- \( a+ N/ DYou 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! " S. W" B0 R/ y" q2 b
' `/ b8 D7 ] x) j. M9 p/ V- Shut down Darkstar One.
" ]- p l; [, K# k+ D- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\
+ K( n2 i( |% V: z9 J- w- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.
9 y" ~, G, @" B- enter the "inifiles" directory.
2 o0 Y/ C1 d+ G3 B1 n$ c- open the file "InputControl.ini".9 h8 E6 W" E1 W8 j% Q. Z
% L" B2 }; F# g5 [You can find the following inside:+ K$ q/ a0 F! Y% p7 M% K
- 8 p. t, F2 j8 L
- [FLIGHTCONTROL_FIRE_SECONDARY] ;1 }; L/ V( O H5 u
- Anzahl = 2 ;1 j6 Y; i! q& H. M1 g' Z6 E
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
4 R7 E7 e6 x% P$ d - EntryID_1 = INPUT_MOUSE_BUTTON_3 ;- ]. ^2 }$ M: J, N3 Y
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
! F0 w5 W- V3 n2 {" p; q - EntryID_2 = INPUT_JOYSTICK_BUTTON_2;
) T1 L0 Z7 ^: i8 R
0 O! {; B6 N+ ~+ F) `- E
1 _ c8 ?' y1 H M8 k- [FLIGHTCONTROL_FIRE_THIRDLY] ;
( Y4 ?! G" H: c# L0 k - Anzahl = 2 ;
- Y# `: M( p9 `* U. v - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;( n4 ?; x; I, U' G: J
- EntryID_1 = INPUT_MOUSE_BUTTON_2 ;$ |* }% s) Q1 A8 `- A
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;9 H1 j; W( d6 o* l. f* u6 i: u
- EntryID_2 = INPUT_JOYSTICK_BUTTON_3;2 j- D% U: u% `4 h
复制代码 9 \$ T6 q( ^5 c$ E, i# z6 s* a
. ^# P# P/ n* H8 y/ O0 ?" L
0 \9 }5 K# d3 y5 k2 r: X
- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)& ~) O/ v; d/ m7 o7 W4 Z: _: t. \
- Save the file and close it.
: J c. K% n1 i/ W( z0 R- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).
7 \" J8 p ?* ]3 s' s6 b. o- Start DSO. Verify that it has worked by looking at the options menu. 1 k4 R" }0 H7 O6 [7 |; b+ G
- Have fun!
3 @1 j/ G) T/ x3 T* s; c% P- E2 {9 |, e. F, H
PS. "Anzahl" is german for "count/number"! E7 I; W6 h# D6 E% l9 G: z9 ?4 H# I( I
__________________7 F' U" \, W5 _9 L8 X: ?4 ~8 H
Customer Support
4 ?8 L4 H, w, p. f8 p! XMission Scripting Darkstar One
6 j! ~: D, B1 r- Y( }5 Jsupport form |
|