- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input) 1 A5 Z9 m2 n% }0 x( \
By Jan Langermann ((DSO Moodding Forum/ Admin)
5 v$ j x* E& k. Z6 L
6 \; R/ r- ~' f2 O, x A/ ^0 e2 I5 `( E. O: ?% W: ^ E0 I
I have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.
/ X/ b" B L- _( w2 j# IIt also generally explains how to apply changes in ini files globally (and not to a single modification).
$ ], m/ ?- H' C* l1 S7 O3 I$ l9 x% a
* h( A1 _! s; }* n( d. H( [
To swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr". / `- V0 K4 J0 ?
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!
, P% L3 l0 v% m/ d$ l: O* a- T8 m9 W E5 {0 H, W# o) F4 Q
- Shut down Darkstar One.+ c* K+ q* Z; q4 u/ ~
- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\7 _/ \& f/ @# y
- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.3 }! x" @. ~& d6 @/ h. I8 Q% e
- enter the "inifiles" directory.! U. [) q$ i3 T% e5 R% ~. O$ [
- open the file "InputControl.ini".
/ n% X7 S% T5 o8 A! }2 L( ?, M! f% A+ h6 x0 a5 h
You can find the following inside:
9 g. T; J. w6 X. R$ M3 S8 x3 Z
1 o0 c/ q9 W- q; m/ i% _" q- [FLIGHTCONTROL_FIRE_SECONDARY] ;
) x$ {* c# L# Z% y9 \" c - Anzahl = 2 ;3 R- U3 S$ B( l+ z. d
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;( ?* o, f$ _% _& h- _6 M4 _
- EntryID_1 = INPUT_MOUSE_BUTTON_3 ;
5 Q' G4 k( V4 Q - DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
3 I; q# O* E5 f, X$ _6 \ - EntryID_2 = INPUT_JOYSTICK_BUTTON_2;1 G0 z3 M# z% q4 d
- 9 r1 F' c& D Z9 o8 C
. x2 P" F4 m* S/ @$ _4 u; j- [FLIGHTCONTROL_FIRE_THIRDLY] ;
7 w* @) d# Z- m! r. O1 v9 P9 V - Anzahl = 2 ;
, P8 }6 B# ]9 V) ^1 G - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;3 M: F% |0 n' U' W, u
- EntryID_1 = INPUT_MOUSE_BUTTON_2 ;2 `) ^1 N. Y# @9 O) O
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
& N/ p6 o, g+ ~6 d/ } - EntryID_2 = INPUT_JOYSTICK_BUTTON_3;
1 G! v/ L1 r: p
复制代码 0 s/ E( z( K9 F1 E
; q$ u6 k" y, H3 n9 {' P
$ _4 R& f: v7 [9 M- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)
7 b) J k+ N" J* y/ H P2 _- Save the file and close it.8 @8 u* {) |8 m, G# a9 R1 B
- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).' U/ I9 p9 E% c0 L# u
- Start DSO. Verify that it has worked by looking at the options menu. 9 j- U: h4 d8 V9 U6 B1 m
- Have fun!8 b- q1 H# I* \9 P; _
1 X# Q4 I; t/ c! X" R6 TPS. "Anzahl" is german for "count/number"0 f; k8 H' m8 W0 B) t5 F* |' N
__________________
% ^1 m/ S- z# ^( U0 E9 XCustomer Support$ x* n# _' c; |+ ^( d- f
Mission Scripting Darkstar One( }1 N2 @+ Q; L; I/ ~2 Y. \3 V
support form |
|