TSH v4 F18addon.ini File

For troubleshooting purposes and completeness of documentation, all of the F18addon.ini parameters are described below. As in the discussion of the TSH Manager, axis assignments on this page are in the form A#, where A is one of six DirectX axis identifiers (X, Y, Z, R, U, V) and # is the number of the controller ID (1, 2, 3). In F18addon.ini, axis identifiers are as follows:

01 - 06: X1 to V1
21 - 26: X2 to V2
41 - 46: X3 to V3

Here is a typical F18addon.ini file:

[ADDONS]
REPLACE_Z1=00
REPLACE_R1=00
ANTEN_ANALOG=-23
FLIR_ANALOG=23
TDC_ANALOG=100506
FORCE_USBID=1010302
NORMAL_PRIORITY=1
BIG_FONT_IN_HUD=1
MULTI_KEYCONFIG=0
STICK_CALIB2=0
BUTTON_STICK2=0
HIDE_MOUSECURSOR=0
SCREEN_RES=03
COCKPIT_USED=0
TIR=1
DEADZONE_TDC=4000

 

 

REPLACE_Z1=aa
aa=00 --> no replacement
aa=23 --> use Z axis from controller 2 instead of Z axis from controller 1

 

 

REPLACE_R1=aa
aa=00 --> no replacement
aa=22 --> use Y axis from controller 2 instead of R axis from controller 1
aa=24 --> use R axis from controller 2 instead of R axis from controller 1
aa=42 --> use Y axis from controller 3 instead of R axis from controller 1

 

 

ANTEN_ANALOG=aa
aa=00 --> analogue radar antenna elevation + FLIR contrast/brightness disabled

aa=03 --> radar antenna elevation + FLIR contrast/brightness assigned to axis Z1
aa=04 --> radar antenna elevation + FLIR contrast/brightness assigned to axis R1
aa=05 --> radar antenna elevation + FLIR contrast/brightness assigned to axis U1
aa=06 --> radar antenna elevation + FLIR contrast/brightness assigned to axis V1

aa=23 --> radar antenna elevation + FLIR contrast/brightness assigned to axis Z2
aa=24 --> radar antenna elevation + FLIR contrast/brightness assigned to axis R2
aa=25 --> radar antenna elevation + FLIR contrast/brightness assigned to axis U2
aa=26 --> radar antenna elevation + FLIR contrast/brightness assigned to axis V2

if a minus sign (-) is present before aa, the antenna elevation control is reversed.

 

 

FLIR_ANALOG=aa
aa same number as for antenna axis

if a minus sign (-) is present before aa, the FLIR contrast/brightness control is reversed.

 

 

TDC_ANALOG=abccdd
a=0 --> deadzone disabled
a=1 --> deadzone enabled

b=0 --> TDC controlled regardless of TDC_JOYSTICK key
b=1 --> TDC only controlled when TDC_JOYSTICK key is held down

cc=01 --> left/right TDC motion assigned to axis X1
cc=02 --> left/right TDC motion assigned to axis Y1
cc=03 --> left/right TDC motion assigned to axis Z1
cc=04 --> left/right TDC motion assigned to axis R1
cc=05 --> left/right TDC motion assigned to axis U1
cc=06 --> left/right TDC motion assigned to axis V1
cc=21 --> left/right TDC motion assigned to axis X2
cc=22 --> left/right TDC motion assigned to axis Y2
cc=23 --> left/right TDC motion assigned to axis Z2
cc=24 --> left/right TDC motion assigned to axis R2
cc=25 --> left/right TDC motion assigned to axis U2
cc=26 --> left/right TDC motion assigned to axis V2

dd=01 --> up/down TDC motion assigned to axis X1
dd=02 --> up/down TDC motion assigned to axis Y1
dd=03 --> up/down TDC motion assigned to axis Z2
dd=04 --> up/down TDC motion assigned to axis R1
dd=05 --> up/down TDC motion assigned to axis U1
dd=06 --> up/down TDC motion assigned to axis V1
dd=21 --> up/down TDC motion assigned to axis X2
dd=22 --> up/down TDC motion assigned to axis Y2
dd=23 --> up/down TDC motion assigned to axis Z2
dd=24 --> up/down TDC motion assigned to axis R2
dd=25 --> up/down TDC motion assigned to axis U2
dd=26 --> up/down TDC motion assigned to axis V2

 

 

FORCE_USBID=abbccdd
a=0 --> do not force USB IDs
a=1 --> force USB IDs

bb=01 --> Windows controller #1 forced to USB ID1 in-game
bb=02 --> Windows controller #1 forced to USB ID2 in-game
bb=03 --> Windows controller #1 forced to USB ID3 in-game
bb=04 --> Windows controller #1 forced to USB ID4 in-game
bb=05 --> Windows controller #1 forced to USB ID5 in-game
bb=06 --> Windows controller #1 forced to USB ID6 in-game
bb=07 --> Windows controller #1 forced to USB ID7 in-game
bb=08 --> Windows controller #1 forced to USB ID8 in-game
bb=09 --> Windows controller #1 forced to USB ID9 in-game
bb=10 --> Windows controller #1 forced to USB ID10 in-game
bb=11 --> Windows controller #1 forced to USB ID11 in-game
bb=12 --> Windows controller #1 forced to USB ID12 in-game
bb=13 --> Windows controller #1 forced to USB ID13 in-game
bb=14 --> Windows controller #1 forced to USB ID14 in-game
bb=15 --> Windows controller #1 forced to USB ID15 in-game
bb=16 --> Windows controller #1 forced to USB ID16 in-game

cc=01 --> Windows controller #2 forced to USB ID1 in-game
cc=02 --> Windows controller #2 forced to USB ID2 in-game
cc=03 --> Windows controller #2 forced to USB ID3 in-game
cc=04 --> Windows controller #2 forced to USB ID4 in-game
cc=05 --> Windows controller #2 forced to USB ID5 in-game
cc=06 --> Windows controller #2 forced to USB ID6 in-game
cc=07 --> Windows controller #2 forced to USB ID7 in-game
cc=08 --> Windows controller #2 forced to USB ID8 in-game
cc=09 --> Windows controller #2 forced to USB ID9 in-game
cc=10 --> Windows controller #2 forced to USB ID10 in-game
cc=11 --> Windows controller #2 forced to USB ID11 in-game
cc=12 --> Windows controller #2 forced to USB ID12 in-game
cc=13 --> Windows controller #2 forced to USB ID13 in-game
cc=14 --> Windows controller #2 forced to USB ID14 in-game
cc=15 --> Windows controller #2 forced to USB ID15 in-game
cc=16 --> Windows controller #2 forced to USB ID16 in-game

dd=01 --> Windows controller #3 forced to USB ID1 in-game
dd=02 --> Windows controller #3 forced to USB ID2 in-game
dd=03 --> Windows controller #3 forced to USB ID3 in-game
dd=04 --> Windows controller #3 forced to USB ID4 in-game
dd=05 --> Windows controller #3 forced to USB ID5 in-game
dd=06 --> Windows controller #3 forced to USB ID6 in-game
dd=07 --> Windows controller #3 forced to USB ID7 in-game
dd=08 --> Windows controller #3 forced to USB ID8 in-game
dd=09 --> Windows controller #3 forced to USB ID9 in-game
dd=10 --> Windows controller #3 forced to USB ID10 in-game
dd=11 --> Windows controller #3 forced to USB ID11 in-game
dd=12 --> Windows controller #3 forced to USB ID12 in-game
dd=13 --> Windows controller #3 forced to USB ID13 in-game
dd=14 --> Windows controller #3 forced to USB ID14 in-game
dd=15 --> Windows controller #3 forced to USB ID15 in-game
dd=16 --> Windows controller #3 forced to USB ID16 in-game

 

 

NORMAL_PRIORITY=a
a=0 --> F18.exe runs at High priority
a=1 --> F18.exe runs at Normal priority
a=2 --> F18.exe runs at BelowNormal priotiy

 

 

BIG_FONT_IN_HUD=a
a=0 --> normal HUD fonts
a=1 --> big HUD fonts

 

 

MULTI_KEYCONFIG=a
a=0 --> use keyboard mapping selected in-game
a=1 --> use mapping "mk0" in NAV mode, "mk1" in AA mode, and "mk2" in AG mode

 

 

STICK_CALIB2=a
a=0 --> do not use alternate joystick sensitivity
a=1 --> use alternate joystick sensitivity when SW_CALB is toggled

 

 

BUTTON_STICK2=a
a=0 --> do not use Joy2 Buttons
a=1 --> commands mapped to Joy2 Buttons are active in-game

 

 

HIDE_MOUSECURSOR=aa
aa=0 --> do not hide mouse cursor
aa=5 --> hide mouse cursor after 5 seconds of inactive mouse
aa=10 --> hide mouse cursor after 10 seconds of inactive mouse
aa=15 --> hide mouse cursor after 15 seconds of inactive mouse
aa=20 --> hide mouse cursor after 20 seconds of inactive mouse
aa=25 --> hide mouse cursor after 25 seconds of inactive mouse
aa=30 --> hide mouse cursor after 30 seconds of inactive mouse
aa=35 --> hide mouse cursor after 35 seconds of inactive mouse
aa=40 --> hide mouse cursor after 40 seconds of inactive mouse
aa=45 --> hide mouse cursor after 45 seconds of inactive mouse
aa=50 --> hide mouse cursor after 50 seconds of inactive mouse
aa=55 --> hide mouse cursor after 55 seconds of inactive mouse
aa=60 --> hide mouse cursor after 60 seconds of inactive mouse

 

 

SCREEN_RES=aa
aa=00 --> resolution set in-game
aa=01 --> use resolution of 640x480
aa=02 --> use resolution of 800x600
aa=03 --> use resolution of 1024x768
aa=04 --> use resolution of 1152x864
aa=05 --> use resolution of 1280x768
aa=06 --> use resolution of 1280x720
aa=07 --> use resolution of 1280x960
aa=08 --> use resolution of 1280x1024
aa=09 --> use resolution of 1360x768
aa=10 --> use resolution of 1400x1050
aa=11 --> use resolution of 1600x900
aa=12 --> use resolution of 1600x1024
aa=13 --> use resolution of 1600x1200
aa=14 --> use resolution of 1920x480
aa=15 --> use resolution of 1920x1200
aa=16 --> use resolution of 2048x1536
aa=20 --> use resolution of desktop

 

 

COCKPIT_USED=a
a=0 --> Use F-18 Cockpit always
a=1 --> Use Switchable Cockpits

 

 

TIR=a
a=0 --> Enhanced TrackIR disabled
a=1 --> Enhanced TrackIR enabled

 

 

DEADZONE_TDC=aaaa
0≤a≤5000 --> controls TDC deadzone relative to raw axis values (0 to 65536)
a>5000 --> same as a=5000

 

 

ANTEN_LIMIT=aa (not shown - must be manually added to F18addon.ini)
aa is any number between 1 and 100; determines what percentage of in-game radar antenna motion is possible for 100% of physical axis motion

 

 

ID_AXES=aa*bb*cc*dd*ee*ff*gg*hh*ii* (not shown - must be manually added to F18addon.ini)
aa=00 --> radar antenna elevation + FLIR contrast/brightness assigned to axis ID 00
aa=01 --> radar antenna elevation + FLIR contrast/brightness assigned to axis ID 01
aa=02 --> radar antenna elevation + FLIR contrast/brightness assigned to axis ID 02
aa=03 --> radar antenna elevation + FLIR contrast/brightness assigned to axis ID 03
aa=04 --> radar antenna elevation + FLIR contrast/brightness assigned to axis ID 04
aa=05 --> radar antenna elevation + FLIR contrast/brightness assigned to axis ID 05
aa=06 --> radar antenna elevation + FLIR contrast/brightness assigned to axis ID 06
aa=07 --> radar antenna elevation + FLIR contrast/brightness assigned to axis ID 07
aa=08 --> radar antenna elevation + FLIR contrast/brightness assigned to axis ID 08
aa=09 --> radar antenna elevation + FLIR contrast/brightness assigned to axis ID 09

bb not used (future analogue functions)
cc not used (future analogue functions)
dd not used (future analogue functions)
ee not used (future analogue functions)
ff not used (future analogue functions)
gg not used (future analogue functions)
hh not used (future analogue functions)
ii not used (future analogue functions)

NAME_ID00=aaa (not shown - must be manually added to F18addon.ini)
aaa --> 3-character identifier of ID 00, displayed on UFC

NAME_ID01=aaa (not shown - must be manually added to F18addon.ini)

aaa --> 3-character identifier of ID 01, displayed on UFC

NAME_ID02=aaa (not shown - must be manually added to F18addon.ini)
aaa --> 3-character identifier of ID 02, displayed on UFC

NAME_ID03=aaa (not shown - must be manually added to F18addon.ini)
aaa --> 3-character identifier of ID 03, displayed on UFC

NAME_ID04=aaa (not shown - must be manually added to F18addon.ini)
aaa --> 3-character identifier of ID 04, displayed on UFC

NAME_ID05=aaa (not shown - must be manually added to F18addon.ini)
aaa --> 3-character identifier of ID 05, displayed on UFC

NAME_ID06=aaa (not shown - must be manually added to F18addon.ini)
aaa --> 3-character identifier of ID 06, displayed on UFC

NAME_ID07=aaa (not shown - must be manually added to F18addon.ini)
aaa --> 3-character identifier of ID 07, displayed on UFC

NAME_ID08=aaa (not shown - must be manually added to F18addon.ini)
aaa --> 3-character identifier of ID 08, displayed on UFC

NAME_ID09=aaa (not shown - must be manually added to F18addon.ini)
aaa --> 3-character identifier of ID 09, displayed on UFC

 

 

DIGITAL_AXES=a*b* (not shown - must be manually added to F18addon.ini)
a=0 --> radar antenna elevation is analogue
a=1 --> radar antenna elevation is digital

b=0 --> FLIR contrast/brightness is analogue
b=1 --> FLIR contrast/brightness is digital