Jump to content
The simFlight Network Forums

UseProfiles=Files


Recommended Posts

Starting with version 4937 the "UseProfiles=Files" no longer creates a new file in the Modules\Profiles folder.  It seems the UseProfiles=Files is ignored for file creation and axis and button information is once again stored in the FSUIPC4.ini file.  Aircraft that have ini file in the Profiles folder still use the file.  I can manually create an aircraft ini file for FSUIPC to use.  I will use this work around for now.  I just figured it might be something to look at.

 

Thanks,

Scott 

Link to comment
Share on other sites

Starting with version 4937 the "UseProfiles=Files" no longer creates a new file in the Modules\Profiles folder.  It seems the UseProfiles=Files is ignored for file creation and axis and button information is once again stored in the FSUIPC4.ini file.  Aircraft that have ini file in the Profiles folder still use the file.  I can manually create an aircraft ini file for FSUIPC to use.  I will use this work around for now.  I just figured it might be something to look at.

 

Strange!, because I cannot reproduce this here. When I create a new profile whilst UseProfiles=Files, it creates a [Profile.<name] section in the main INI file, listing the aircraft name (this part is needed so FSUIPC knows there is a profile for this aircraft), but the settings are then saved as <name>.INI in the Profiles folder.

 

If this is not happening for you, perhaps you could please tell me step by step what you do -- maybe there's a path through the assorted options which does have such a problem.

 

Pete

Link to comment
Share on other sites

I found out the problem.  If you have an entry in the FSUIPC4.ini file such as

 

[Profile.A2A PA 28]

1=Piper Pa-28-180 Cherokee

 

Then at a later time lose/delete the corresponding ini file in the profiles folder, a new file is NOT created and the information is stored in the FSUIPC.ini file.

 

I think I lost the corresponding ini file during a re-install of P3D.

 

I do have another issue and I will make a new topic for it.

 

Thanks for the speedy response,

Scott
Link to comment
Share on other sites

 

I found out the problem.  If you have an entry in the FSUIPC4.ini file such as
 
[Profile.A2A PA 28]
1=Piper Pa-28-180 Cherokee
 
Then at a later time lose/delete the corresponding ini file in the profiles folder, a new file is NOT created and the information is stored in the FSUIPC.ini file.

 

Ah, right. It assumes you wanted a "hybrid" system, i.e. some in the Profiles folder some not. It isn't would be very hard to change, because when adding say [Keys] it isn't looking at [Axes], [buttons],  or [JoystickCalibrations] so must assume, since there's no INI file for it in the Fies folder such sections, if they exist, must be in the main INI.

 

Maybe it can re-run the original conversion which at present only happens if the Profiles folder itself doesn't exist when it sees "UseProfiles=Files", but that only happens during initialisation. I can't do it during new assignments.

 

An alternative would be to delete orphaned entries like yours altogether during initialisation. After all a Profile aircraft list with no assignments at all isn't doing anything. Then when you came to assiign you'd create a new profile.

 

I think I might implement that latter method. It's cleaner.

 

Pete

Link to comment
Share on other sites

I'm all set. I just deleted the entry for the plane with the missing I I file.

 

FSUIPC 4.937a should work okay, now up in Updated Modules. It deletes orphaned profile headers in the main INI file (so the Profile can be added as New and therefore appear in the Profiles folder), and it allows axis settings to be included in a new Profile.

 

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.