Jump to content
The simFlight Network Forums

Editing the FSUIPC.Ini file


Recommended Posts

Hi,

I am having trouble identifying the ini file. Is this the file in notepad that lists all the button presses?

I am getting a message when I am trying to change a button on my Saitek joystick. It says that is has other assignments and I need to go into the Ini file and edit it. When I look at the file in notepad with all the button presses I cannot recognize the button that FSUIPC has identified. In the menu it shows as A 0, and there is no such number in the notepad file, they are 5 or 6 digits or 2 numbers such as 70=30 and another set of numbers for example. Am I in the right file as the only other one is the dll file and I can't open that.

Can you help me?

Thanks

Rob

Link to comment
Share on other sites

I am having trouble identifying the ini file. Is this the file in notepad that lists all the button presses?

An INI file, known to Windows as "Configuration settings", is a file with ".INI" as its filetype. If you want to be able to identify files properly you really ought to go into Windows Explorer folder options and de-select the option telling Windows to hide the filetypes from you!

I am getting a message when I am trying to change a button on my Saitek joystick. It says that is has other assignments and I need to go into the Ini file and edit it.

This means that at some timer you HAVE edited the INI file and assigned two actions to the same button! Once you start doing this for a button, you always need to do it for the button, because there's no way to edit multiple assignments for one button in the options. (I don't think it is worth making the options over-complicated for the few users needing to do such things).

When I look at the file in notepad with all the button presses I cannot recognize the button that FSUIPC has identified. In the menu it shows as A 0, and there is no such number in the notepad file, they are 5 or 6 digits or 2 numbers such as 70=30 and another set of numbers for example

The fact that your joystick is being assigned a letter ("A") is positive proof that you HAVE edited the INI file before! By default all joysticks are known by their Windows ID number (0 - 15). You evidently selected the option at some time to assign letters instead!

First find the [buttons] section. The should be line [buttons] or, if you are using Profiles or Aircraft-Specific assignments, one or more [buttons.] sections. In those the number to the left of the = is merely a sequence number. The button A 0 will be seen as "A,0" on the right-hand side. Do a search.

Am I in the right file as the only other one is the dll file and I can't open that.

There must be a LOG file too -- that can also be opened in notepad, and is known to Windows as a "text file".

If you can see the DLL you should also see the KEY, INI and LOG files. All three are always there if you've ever run FSUIPC.

Information about the INI file is given, and in great details for Buttons, in the Advanced Users document.

Pete

Link to comment
Share on other sites

Hi Peter,

I have looked at the ini file and cannot find any reference in any line to the button press A, 0; or A anything. I had the Saitek joystick numbered as 1 and alpha as A. The button I am looking for is A,2. There are alpha numeric lines with UA, PD etc but none with either an A or a 1.

Below is my ini file.

Hope you can help here.

Thanks

Rob

[General]

History=QB2I44ORCMSEUB6WQRK4E

WindSmoothing=Yes

AutoTaxiWind=No

PropTaxiWind=No

TimeSetMode=Partial

WhiteMessages=No

ThrottleSyncAll=No

GraduatedVisibility=No

LowerVisAltitude=0

UpperVisAltitude=25000

UpperVisibility=6000

GenerateCirrus=Yes

WindShearSharp=No

UpperWindGusts=No

ExtendMetarMaxVis=Yes

CorrectVSsign=Yes

MouseWheelTrim=No

MouseWheelTrimSpeed=1

AxisInterceptIfDirect=No

DisconnTrimForAP=No

ZeroElevForAPAlt=No

AutoClearWeather=Yes

ExtendTopWind=Yes

WindSmoothness=5

SmoothPressure=No

PressureSmoothness=5

SmoothVisibility=Yes

VisibilitySmoothness=2

MaxSurfaceWind=0

WindLimitLevel=200

WindDiscardLevel=400

WindAjustAltitude=No

WindAjustAltitudeBy=2000

MinimumVisibility=0

MaximumVisibilityFewClouds=0

MaximumVisibility=0

MaximumVisibilityOvercast=0

MaximumVisibilityRainy=0

OneCloudLayer=No

ThinClouds=No

ThinThunderClouds=No

CloudThinness=1000

ThunderCloudThinness=10000

CloudTurbulence=No

CloudIcing=No

WindTurbulence=No

SuppressAllGusts=No

ExternalOptionControl=Yes

AutoTuneADF=No

KeepFS98CloudCover=No

ShowPMcontrols=No

MagicBattery=No

RudderSpikeRemoval=No

ElevatorSpikeRemoval=No

AileronSpikeRemoval=No

ReversedElevatorTrim=No

StopAutoFuel=No

TrapUserInterrupt=Yes

NavFreq50KHz=No

ClockSync=No

SmoothIAS=Yes

SetVisUpperAlt=No

VisUpperAltLimit=6000

MaxIce=3

MinIce=-1

WindSmoothingDelay=0

WindSmoothAirborneOnly=No

LimitWindVariance=No

VisSmoothingDelay=0

VisSmoothAirborneOnly=No

TrafficControlDirect=Yes

SuppressCloudTurbulence=No

SuppressWindTurbulence=No

SpoilerIncrement=512

ZapSound=firework

ShortAircraftNameOk=No

TCASid=Flight

TCASrange=40

TrafficScanPerFrame=10

AxisCalibration=No

CentredDialogue=Yes

ShowMultilineWindow=Yes

SuppressSingleline=No

SuppressMultilineFS=No

ClearWeatherDynamics=Yes

OwnWeatherChanges=No

FixWindows=No

FixControlAccel=No

WeatherReadInterval=4

MoveBGLvariables=Yes

TimeForSelect=4

WeatherReadsFast=No

MainMenu=&Modules

SubMenu=&FSUIPC ...

LogButtonsKeys=Yes

UseProfiles=No

[JoystickCalibration]

ExcludeThrottleSet=Yes

ExcludeMixtureSet=Yes

ExcludePropPitchSet=Yes

SepRevsJetsOnly=No

ApplyHeloTrim=No

FlapsSetControl=0

FlapDetents=No

ReverserControl=66292

Reverser1Control=66422

Reverser2Control=66425

Reverser3Control=66428

Reverser4Control=66431

MaxThrottleForReverser=256

AileronTrimControl=0

RudderTrimControl=0

CowlFlaps1Control=0

CowlFlaps2Control=0

CowlFlaps3Control=0

CowlFlaps4Control=0

MaxSteerSpeed=60

[MacroFiles]

1=737 OHD

2=737ADDONS

[Keys]

2=190,10,65752,0

4=69,8,M1:40,0

28=70,8,M1:64,0

30=72,8,M1:260,0

32=73,8,M1:261,0

35=74,8,M1:262,0

38=75,8,M1:263,0

40=49,9,M1:120,0

42=82,8,M1:121,0

44=50,9,M1:300,0

46=84,8,M1:301,0

48=88,8,M1:302,0

50=65,9,M1:280,0

52=66,9,M1:283,0

54=67,9,M1:282,0

56=68,9,M1:281,0

58=69,9,M1:362,0

62=72,9,M1:189,0

64=73,9,M1:194,0

66=74,9,M1:200,0

68=75,9,M1:201,0

71=79,9,M1:190,0

73=84,9,M1:196,0

75=85,9,M1:202,0

79=86,9,M1:198,0

81=79,8,M1:15,0

83=88,9,M1:17,0

85=89,9,66379,0

87=65,10,66239,0

89=66,10,66240,0

91=76,10,65751,0

93=67,10,66495,0

95=68,10,66494,0

96=82,9,65860,0

98=69,10,M1:197,0

100=51,9,M1:2,0

102=71,10,M1:3,0

104=73,10,M1:42,0

106=74,10,M1:41,0

108=77,10,M1:361,0

111=78,10,M1:360,0

113=52,10,M1:193,0

115=53,10,M1:195,0

117=88,10,M1:240,0

119=74,11,M2:8,0

123=191,11,M2:19,0

125=49,11,M2:20,0

126=66,11,M2:21,0

[Monitor]

Display=4

[buttons]

15=PA,6,CM1:60,0

17=PA,7,CM1:168,0

23=PA,1,C65567,0

24=UA,6,CM1:61,0

29=P174,15,K85,8

30=P174,14,K85,8

31=P174,12,K86,8

32=P174,13,K86,8

34=P174,1,CM1:12,0

35=P174,10,C65615,0

45=UA,7,CM1:168,0

53=P170,0,K122,15

54=P170,6,K113,13

57=P101,0,K55,9

58=P101,7,K54,15

59=P101,6,K55,15

60=P101,1,K56,9

61=PA,6,K13,9

62=PA,2,K90,8

63=P175,0,CM2:16,0

65=P175,2,K83,10

74=PA,19,CM1:361,0

75=PA,21,CM1:41,0

76=PA,20,CM1:42,0

77=P174,9,C65607,0

78=P174,11,C65615,0

79=P174,8,C65607,0

80=P101,5,K83,10

85=UA,21,CM1:42,0

86=PA,22,CM2:21,0

87=UA,22,CM2:19,0

88=PA,23,CM2:20,0

90=UA,23,CM2:22,0

91=P109,0,CM1:240,0

93=U109,0,CM1:240,0

94=P174,23,CM2:4,0

95=P174,22,CM2:4,0

96=P109,1,CM2:14,0

97=P174,21,CM2:27,0

ButtonRepeat=20,10

98=PA,2,K90,8

99=PD,7,CM1:168,0

100=PD,8,CM1:241,0

101=PD,9,CM1:242,0

102=PD,10,CM1:243,0

103=PD,11,CM1:244,0

104=PD,12,CM1:245,0

105=PD,13,CM1:246,0

107=PD,17,CM1:20,0

108=UD,7,CM1:168,0

109=UD,8,CM1:241,0

110=UD,9,CM1:242,0

111=UD,10,CM1:243,0

112=UD,11,CM1:244,0

113=UD,12,CM1:245,0

114=UD,13,CM1:246,0

116=UD,17,CM1:20,0

117=PD,4,CM1:22,0

118=UD,4,CM1:21,0

119=PD,0,CM1:5,0

120=UD,0,CM1:4,0

121=PD,1,CM1:7,0

122=UD,1,CM1:6,0

123=PD,2,CM1:9,0

124=UD,2,CM1:8,0

125=PD,3,CM1:11,0

126=UD,3,CM1:10,0

127=PD,16,CM1:40,0

128=UD,16,CM1:40,0

129=PD,20,CM1:42,0

131=PD,21,CM1:41,0

132=UD,21,CM1:42,0

133=PD,19,CM1:361,0

134=PD,18,CM1:360,0

135=UD,18,CM1:361,0

138=PA,15,C65615,0

139=PA,17,C65607,0

140=PD,23,CM2:3,0

142=PD,22,CM2:5,0

144=P174,18,CM2:13,0

145=P174,19,CM2:13,0

146=P174,17,CM2:12,0

147=P175,3,CM2:10,0

148=P174,16,CM2:12,0

149=U109,1,CM2:15,0

150=UD,22,CM2:17,0

151=UD,23,CM2:4,0

152=P109,2,CM2:18,0

153=PD,6,CM1:60,0

154=UD,6,CM1:61,0

155=PD,5,CM1:65,0

156=UD,5,CM1:66,0

157=PA,9,K121,8

158=P175,5,CM2:22,0

159=P109,3,C66064,0

160=U109,3,C66065,0

161=P109,4,C65853,0

162=U109,4,C66068,0

[JoyNames]

AutoAssignLetters=Yes

A=Saitek X52 Flight Stick (USB)

B=GoFlight GF-RC Rudder Controls

C=GoFlight GF-TQ6 Throttle System

D=BU0836X Interface

2=GoFlight GF-RC Rudder Controls

3=GoFlight GF-TQ6 Throttle System

4=BU0836X Interface

1=Saitek X52 Flight Stick (USB)

Link to comment
Share on other sites

I have looked at the ini file and cannot find any reference in any line to the button press A, 0; or A anything. I had the Saitek joystick numbered as 1 and alpha as A. The button I am looking for is A,2. There are alpha numeric lines with UA, PD etc but none with either an A or a 1.

U is "Up" or release, P is "Press", as documented.

You say "nothing with either an A or a 1", so what is this?

23=PA,1,C65567,0 <<<<<<<<<<<<<<<<< A,1 Both A and 2 !!!

Why didn't you simply search for A,2 if that's the one you wanted -- I did suggest that, but you ignored my suggestion? There are TWO entries for Pressing A,2, both of which you seem to not be able to see for some reason?

This is presumably the one you wanted to change? It looks like you have the button set to press "Z" twice, for some reason?

62=PA,2,K90,8

98=PA,2,K90,8

Please do try looking a little more carefully next time. It would save us both a lot of time!

Regards

Pete

Link to comment
Share on other sites

Hi Peter,

Thanks for your help. I did not realize that PA was the same as A, as that is what I was looking for. Also I do not know how to search for button assignments. Do I do that in notepad or with the menu in Modules with FS open?

Thanks

Rob

Link to comment
Share on other sites

I did not realize that PA was the same as A, as that is what I was looking for.

I said to look for "A,0" because originally you said it was button 0 on A. It turns out you wanted A,2. The surrounding letters or numbers were not relevant to such a search -- why would you try to look for "A" on its own? It would be meaningless having a line just with "A" on it, or even "A,0". Obviously the parameter lines themselves have to have other information on them, to tell them what to do!!!

The "P" means "Press", the stuff after the "A,2" tells FSUIPC what to do. If you want to understand more, just look in the Advanced Users document which details the format in full.

Also I do not know how to search for button assignments. Do I do that in notepad

Searching for text in a text file can be done with ANY editor, notepad included. Look in the menus. Have you never used any editor before? I'm sure there's Help there too.

... or with the menu in Modules with FS open?

Er, sorry. What does that mean? We were talking about editing a file. There's no file editor provided in FS!

Pete

Link to comment
Share on other sites

I did not look for the letter A. I looked for A, 2. As per your previous email you said the numbers on the right of the = sign would be A,0. So I was looking for that conbination and also A,2. There was no mention by you of a possible further letter such as P or U or other as I pointed out in my email.

As for editing I used the "find" facility in notepad and it didn't find anything. I tried several versions of PA,2, A,2, A 2 etc. I presume this is the editor you are referring to. I do not know of any other editors relating to notepad.

Thanks

Rob

Link to comment
Share on other sites

I did not look for the letter A. I looked for A, 2. As per your previous email you said the numbers on the right of the = sign would be A,0. So I was looking for that conbination and also A,2. There was no mention by you of a possible further letter such as P or U or other as I pointed out in my email.

Hmm. I see I have to spell every little thing out for you -- how do you think FSUIPC knows what to do if there's no information there other than your button number?

Sorry, I cannot go on with this inane exchange. I respectfully suggest you refer to the documentation supplied for further enlightenment.

As for editing I used the "find" facility in notepad and it didn't find anything. I tried several versions of PA,2, A,2, A 2 etc. I presume this is the editor you are referring to. I do not know of any other editors relating to notepad.

There are many many text editors available -- whoever said they need to have any relationship to Notepad, which just happens to be the freebie editor supplied with Windows? And most certainly Notepad finds the A,2 in your file when I try it here. You are evidently making a mistake.

Anyway, I showed you clearly where the parameters were, and you must have edited them before in any case for them to be there (and for the joysticks to be lettered, not numbered, so I'm not sure why you are regressing so much now.

Best call an end to this thread. It's going in silly circles.

Pete

Link to comment
Share on other sites

im running vista. i want to edit the .ini file to read "useprofiles=yes". when i change the no to a yes & try to save, im given the following error message: "access to C:\program files (x86)\microsoftgames\flightsimulator9\modules\fsuipc.ini was denied". ive tried to edit every way i know with no luck. when i try to do the same thing on my laptop, which is xp, i have no problems at all.

please disregard this & my next post. i worked with the editor for about an hour, called a so called expert on the subject & finally gave up & poted here. ive learned i had to click on 'compatibilty files' before i could edit. at least thats what i think! i must have hit the correct button somewhere because it all works well now

Link to comment
Share on other sites

an update to my last post above. ive tried editing from the edit menu in notepad & now get a new error message. "cannot create the c:\program files (x86)\microsoft games\flight simulator 9\modules\fsuipc.ini file. make sure that the path and file name are correct".

Link to comment
Share on other sites

an update to my last post above. ive tried editing from the edit menu in notepad & now get a new error message. "cannot create the c:\program files (x86)\microsoft games\flight simulator 9\modules\fsuipc.ini file. make sure that the path and file name are correct".

In Vista, all "Program files" folders are protected against user alteration. Because FS9 is not Vista-aware, and does need to write to its own folders, Vista actually puts its files elsewhere and what you see, in Program Files, are mere aliasses, not the real files, and even if you could alter them it wouldn't affect the originals.

There are only two ways around this that I know of -- either reinstall FS9 someplace else (C:\FS9 is nice and short), or start Windows Explorer by right-clicking it and selecting "run as administrator", which should give it enough privileges for you to see the real files and edit them.

Quite honestly, you'll experience far fewer problems in the future with assorted add-ons if you reinstall FS9 outside the than accursed area.

Pete

Link to comment
Share on other sites

ok pete, thank you for your time & suggestions. ill try to reinstall. i just hated to touch or breath on anything if i had it working well as i do now. i assume this reinstallation is true for vista users & not necessarily xp users?

XP's Program Files folder is just another folder, no privileges needed.

Pete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.