- UID
- 311
- UCC
-
- 声望
-
- 好评
-
- 贡献
-
- 最后登录
- 1970-1-1
|
Editing .ini files (e.g. to remap input) - O, x$ I: v% z/ B, t* y8 r
By Jan Langermann ((DSO Moodding Forum/ Admin)
! X0 C! A; o. e+ h6 s1 k+ K \, }5 [& o2 @
, l- V2 o+ v1 G
I have written this guide for a user who had a problem with inverted mouse buttons. It applies to other input reconfigurations as well.
+ R9 T& P4 c0 D+ @" \) iIt also generally explains how to apply changes in ini files globally (and not to a single modification).' _8 w% {# d! w
4 k$ I4 }! k: i. S( J6 J
- [" A6 ^6 b1 P2 s6 s. aTo swap mouse button 2 and 3, edit the "InputControl.ini". That file is located inside the archive "ds_add.cpr".
, u; X' k% a; O2 u8 q5 N/ eYou 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! ) h3 R2 b5 l- _. ^7 Q. H( N
7 M5 i' t* X# X/ @4 Z8 G- Shut down Darkstar One.1 J8 q h2 D' M7 l j2 \
- delete the file ControlDefinitions.bin from your My Documents\Ascaron Entertainment\Darkstar One\
# K$ A+ Y W2 Z# ^5 @* d I _, _ f3 s- extract the files from ds_add.cpr including all subfolders into the main DSO directory. Delete the archive file afterwards.
: ]/ S6 X a: L+ a; @2 f j- enter the "inifiles" directory." h" ~ F9 L* |& _. ~
- open the file "InputControl.ini".
/ R' j$ t7 v4 T) A7 w: N8 t2 e( w: ^3 H( \* _ z- b
You can find the following inside:( O( ^* V X$ C+ M
- 0 c" v0 Q& K. l
- [FLIGHTCONTROL_FIRE_SECONDARY] ;
" R$ ]' T4 A0 q$ O: g - Anzahl = 2 ;
& S/ m6 d0 j$ T" ` - DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;
+ \/ y1 f1 V# j7 R( v8 ~0 O - EntryID_1 = INPUT_MOUSE_BUTTON_3 ;6 }3 N' w# C2 _8 b
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;
) b9 M8 B7 G# b9 U9 x) o - EntryID_2 = INPUT_JOYSTICK_BUTTON_2;5 S9 N4 F. i1 a
- ! A4 _& L* J2 F% b
2 h8 N( Q$ p+ Z3 F- [FLIGHTCONTROL_FIRE_THIRDLY] ;6 b: G. d. p- b0 r- \
- Anzahl = 2 ;; f" G2 l Z9 K: Q. O+ G5 ^* w/ |' I
- DeviceID_1 = INPUT_DEVICE_ID_MOUSE ;" P; J# ? h0 u: J T$ x
- EntryID_1 = INPUT_MOUSE_BUTTON_2 ;+ u4 |* ]* j1 R0 x7 ~7 C# `
- DeviceID_2 = INPUT_DEVICE_ID_JOYSTICK;: `& h8 b1 q, v
- EntryID_2 = INPUT_JOYSTICK_BUTTON_3;
; |/ B. Z: b# a$ x$ ~0 |' V2 Z9 y! T
复制代码
7 j: v; L' {( d& L
: j7 s2 p; p" G$ N, u( p# u# N+ |: N! D: j. l) ?" C" C
- Switch the numbers after INPUT_MOUSE_BUTTON_ (2 becomes 3; 3 becomes 2)
) {+ j" \, c' g- Save the file and close it.1 ^& i8 l; t* F. z/ h, q
- Delete the file "inifiles.bin" (It will be newly created during the next start of DSO).6 A6 ]5 Y, d3 w/ q: D. `* N' w
- Start DSO. Verify that it has worked by looking at the options menu.
* C+ `" r. \! {6 s# J# d& p0 e- Have fun!
$ j/ E. H1 h( g2 h6 z. i: B$ T
4 F9 | t T7 YPS. "Anzahl" is german for "count/number"
& \ O6 N* {, K+ i/ f; ]; C1 ___________________6 [/ p2 \- {" u; }6 M7 z* I
Customer Support( K9 c/ M" _4 p6 W! A% h
Mission Scripting Darkstar One
2 E ~. Y$ A/ g) tsupport form |
|