Supreme Commander

Supreme Commander

Not enough ratings
3dconnexion device configuration
By ludogator
Basic 3dconnexion device config for camera control.
   
Award
Favorite
Favorited
Unfavorite
Step by step tutorial
NOTE! This is a basic config file made just to have transition moves covered by space mouse. Further tweaks and improvements are welcome :). See the end of the page for some tips.

1. Create a new txt file on your desktop and save it with xml extension.

2. Copy the below code and paste it to created file


<?xml version="1.0" encoding="UTF-8"?>
<!--
(c) Copyright 3Dconnexion. All rights reserved.
$Revision: 16358 $
-->
<AppCfg Default="true" xmlns="" CfgFormatVersion="1.3" ThisFileVersion="1.8">
<CfgProperties>
<ID>ID_STR_Supreme Commander</ID>
<Name>STR_Supreme Commander</Name>
<InheritsFromID>ID_Base_Cfg</InheritsFromID>
</CfgProperties>
<AuthorInfo>
<DriverVersion>17.6.1</DriverVersion>
<Created>
<Tool>3DxService.exe</Tool>
<Version>17.5.5</Version>
<Date>2017:11:2:28:10:58:11:745</Date>
<User>3DxCfgAdmin</User>
</Created>
<LastChange>
<Tool>XMLCfgEditor.exe</Tool>
<Version>17.6.1</Version>
<Date>6/27/2019 10:04:51 AM UTC</Date>
<User>jwick</User>
</LastChange>
</AuthorInfo>
<AppInfo>
<Signature>
<Name>Supreme Commander</Name>
<ExecutableName>SupremeCommander.EXE</ExecutableName>
<Transport>KMJ</Transport>
</Signature>
</AppInfo>
<Settings>
<ResponseCurve>1.00</ResponseCurve>
<!--<OverallScale>0.68</OverallScale>-->
</Settings>
<Devices>
<Device>
<Name>Standard 3D Mouse</Name>
<VendorID>0</VendorID>
<ProductID>0</ProductID>
<AxisFilter>None</AxisFilter>
<CurrentButtonBank>Default</CurrentButtonBank>
<CurrentAxisBank>Default</CurrentAxisBank>
<AxisBank Default="true">
<Name>STR_DEFAULT_BANK</Name>
<ID>Default</ID>
<!--zoom-->
<Axis>
<Enabled>True</Enabled>
<Input>
<ActionID>HIDMultiAxis_z</ActionID>
<Min>-512</Min>
<Max>511</Max>
<Deadband>70</Deadband>
</Input>
<Output>
<Reversed>false</Reversed>
<ActionID>HIDMouse_Wheel</ActionID>
</Output>
</Axis>
<Axis>
<Enabled>True</Enabled>
<Input>
<ActionID>HIDMultiAxis_Ry</ActionID>
<Min>-512</Min>
<Max>511</Max>
<Deadband>150</Deadband>
</Input>
<Output>
<Reversed>false</Reversed>
<ActionID>HIDMouse_X</ActionID>
<Modifiers>
<Modifier>MiddleMouse</Modifier>
</Modifiers>
</Output>
</Axis>
<Axis>
<Enabled>True</Enabled>
<Input>
<ActionID>HIDMultiAxis_Rx</ActionID>
<Min>-512</Min>
<Max>511</Max>
<Deadband>150</Deadband>
</Input>
<Output>
<Reversed>true</Reversed>
<ActionID>HIDMouse_Y</ActionID>
<Modifiers>
<Modifier>MiddleMouse</Modifier>
</Modifiers>
</Output>
</Axis>
</AxisBank>
<ButtonBank Default="true">
<Name>STR_DEFAULT_BUTTONBANK</Name>
<ID>Default</ID>

</ButtonBank>
</Device>
</Devices>
</AppCfg>

3. Save file and copy it to your 3dconnexion cfg folder:
C:\Program Files\3Dconnexion\3DxWare\3DxWinCore\Cfg

4. Run the game. Device driver should detect the exe file and load the config. Steering is realised by transitions on axes.

5. Fine tune the config for your needs using 3dconnexion properties (remember to make sure Supreme Commander config is loaded - if you use the device for work, you know how to do it :))

---------------

General tips for customizing the file

1. Config file generally activates when 3dconnexion driver detects that the pointed exe file (SupremeCommander.exe in our case) is executed. You can change executable file name to force the file to activate config with other program (for example Forged Alliance ;))

2. Each assignment in the file is placed between <axis></axis> brackets.

2.1 <input> - this corresponds to move performed on the space mouse. There are 6 possible inputs for axes, each for one DOF - three translations and three rotations.

HIDMultiAxis_X
is a translation input

HIDMultiAxis_RX
is a rotation input

<deadband> is basically a deadzone. Play with its values to learn how it performs

2.2 <output> - as the name suggests. 3dconnexion driver can emulate joystick, keyboard and mouse. In case of this config file, it emulates combinations of mouse move along x and y axes with middle mouse button pressed.

<modifier> - this is the additional button/key meant to be pressed while output is realised.

Unfortunately, possible modifiers are only: Control, Shift, Alt, Windows, LeftMouse, MiddleMouse, RightMouse. This means that no combo with Spacebar can be made - no camera rotations are possible without some kind of a workaround. I decided to abandon finding a solution, but you are welcome to try.
1 Comments
JaKeL 13 Dec, 2023 @ 6:29pm 
Great writeup for a niche piece of hardware. Thank you!