- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input)
* Y5 N4 [0 k4 S8 B: ]By Jan Langermann ((DSO Moodding Forum/ Admin)
1 t+ F) o8 Z7 L) r" W. E
4 {" s m% Y6 {0 o, r6 V. W
. R( \( O% i/ p& L9 n! rI have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.
2 x# ?7 g0 a$ {: H5 ^0 YIt also generally explains how to apply changes in ini files globally (and not to a single modification).
, U/ I5 X+ Z: L% \" H# U6 |3 N, X8 I1 k4 T* t
" {0 |( {, m6 s& k# x8 `To swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr". : E9 U: C( u6 j& ~- I: G) D4 a+ \
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!
% T7 i' y( d+ N8 @/ C9 O5 ^* a9 ?2 V) s0 [/ B
- Shut down Darkstar One.
2 _9 X1 R- h( A! [0 B: _2 ]- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\% O" G, f6 `7 ]( Q8 e& r
- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.: Z) @$ y+ j/ o2 x9 N' x
- enter the "inifiles" directory.: X$ N/ i) J: J3 w
- open the file "InputControl.ini".# ~' t) Q! h% h: H) O
5 e" P. N1 r6 |- jYou can find the following inside:! v3 x# V: [0 h6 L1 d
- 2 k8 c, h8 b8 q/ v3 W
- [FLIGHTCONTROL_FIRE_SECONDARY] ;# z1 K& r+ H D
- Anzahl = 2 ;
- h& `7 X3 \6 }/ R4 \/ ~: h& p - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
6 ^# ]" w8 F( q* B# r# ~ - EntryID_1 = INPUT_MOUSE_BUTTON_3 ;3 b0 }1 N" w$ c- Y b
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
O0 z& {% u) L/ N4 y& r) h - EntryID_2 = INPUT_JOYSTICK_BUTTON_2;9 C9 W# Q9 x. ` ~- V
- H$ Y9 u8 C; C! G4 K+ o n- 5 H+ v( E, R, J
- [FLIGHTCONTROL_FIRE_THIRDLY] ;' P% g3 S5 l) N6 c. V
- Anzahl = 2 ;
, G7 |9 S# g: C" I8 e N - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
; o# T$ f. b0 ]1 v7 d - EntryID_1 = INPUT_MOUSE_BUTTON_2 ;$ ^& p1 `) O# W6 j- f) y& V
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;$ K% b; k9 R2 a% k) {
- EntryID_2 = INPUT_JOYSTICK_BUTTON_3;
; d, T% G" Y7 A r
复制代码
+ z0 e3 f/ h6 ^
' b, X# [: J9 W: H# b
' X* n: T$ D' F% m& R- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)
* P3 M: \) k, Q1 ]( X- Save the file and close it.$ X4 _; {. Z" W, Z
- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).: s. U L v1 h6 k7 D
- Start DSO. Verify that it has worked by looking at the options menu.
( |$ t4 j# ?: M5 e! t' i- Have fun!
( z+ e% E6 B5 c
3 A/ j) p2 E8 i7 r FPS. "Anzahl" is german for "count/number"
$ _) e5 J4 o. _/ G/ ?! x" S3 P__________________# G, B& G; Y. C% Y) Y
Customer Support
" r1 H& L9 H% U; C8 l8 Z- L* |Mission Scripting Darkstar One/ M/ f, f; V0 W3 x) _6 d
support form |
|