OnCourse Software
http://www.ocs-support.co.uk/forums/

Question regarding pf3.ini and voices
http://www.ocs-support.co.uk/forums/viewtopic.php?t=2343
Page 1 of 1
Author:  dtsakiris [ Tue Nov 29, 2016 8:47 pm ]
Post subject:  Question regarding pf3.ini and voices

I have a question about how PF3 saves the FO's voice that I've selected - or more precisely: Loads it when PF3 starts up.

Background: I have written a batch file that either lets me choose one of 8 MCE voices, or alternatively chooses one (random function). It then uses a VB script I pulled off the net to set chosen voice in MCE's ini and in PF3's ini:

Default_Accent=4
Default_Voice=4

These two lines are modified accordingly. So far, so good - turns out PF3 then nonetheless starts up with the last voice I selected in PF3's GUI, though.

Step-for-step recap:
1. Set voice A in PF3 GUI
2. Voice A is saved in ini when PF3 is closed
3. Use VB script to set voice B in ini
4. Start up PF3 - it still shows voice A!

I've never checked if it then maybe USES voice B, despite showing A, although that wouldn't make much sense.

So, what's happening here? Where does PF3 save the settings it show in the GUI when it starts up? Is there another ini PF3 loads it's setting from and that I can modify? Hope someone can help!

Author:  ThomasAH [ Tue Nov 29, 2016 9:55 pm ]
Post subject:  Re: Question regarding pf3.ini and voices

Do you use the demo of PF3? Here the used voice is hard coded.
Other than that the only reason I see is that something writes PF3.ini again, e.g. PF3 Randomizer?

Author:  dtsakiris [ Wed Nov 30, 2016 11:56 am ]
Post subject:  Re: Question regarding pf3.ini and voices

Hi Thomas,

no, I don't use either of those. I did have the demo version (and PFE) installed before I purchased PF3, but they were installed in different subfolders, and the demo version is deinstalled.

Author:  ThomasAH [ Wed Nov 30, 2016 3:39 pm ]
Post subject:  Re: Question regarding pf3.ini and voices

For debugging this please attach:
- PF3.ini after step 2.
- PF3.ini after step 3.
- debug_monitor.log after starting a flight with the PF3 started in 4 (just connecting to the flight sim is enough, no need for any ATC interaction)

Author:  dtsakiris [ Thu Dec 01, 2016 8:08 am ]
Post subject:  Re: Question regarding pf3.ini and voices

Hi Thomas.

of course, will do. I don't know when I'll get 'round to it, but I think the weekend at the latest. In any case thank you for your help!

Author:  sbsim [ Thu Dec 01, 2016 6:16 pm ]
Post subject:  Re: Question regarding pf3.ini and voices

The reason for your script not working as expected is that the Pilot's voice selection in PF3.ini is controlled by three keys:

Default_Accent
Default_Voice
PVList

The third item (PVList) actually sets the voice name selection in PF3 UI.

You have to select the desired voice in PF3, close it, check the values of the three above-mentioned keys in PF3.ini and use these values in your script.

Roman Heriban

P.S. My utility (PF3 Randomizer) technically cannot cause such a problem or any other problems, period :) I also have to say that my private version of Randomizer already does the same thing that dtsakiris wants to achieve. I also added a user interface. The new version will be published very soon.

Author:  RALF9636 [ Thu Dec 01, 2016 7:39 pm ]
Post subject:  Re: Question regarding pf3.ini and voices

sbsim wrote:
I also have to say that my private version of Randomizer already does the same thing that dtsakiris wants to achieve. I also added a user interface. The new version will be published very soon.
Making me curious. :) Any other new features to expect?
Let me know if you need a beta tester ;)

Regards

Ralf

Author:  dtsakiris [ Thu Dec 01, 2016 9:02 pm ]
Post subject:  Re: Question regarding pf3.ini and voices

sbsim wrote:
The reason for your script not working as expected is that the Pilot's voice selection in PF3.ini is controlled by three keys:

Default_Accent
Default_Voice
PVList

The third item (PVList) actually sets the voice name selection in PF3 UI.

You have to select the desired voice in PF3, close it, check the values of the three above-mentioned keys in PF3.ini and use these values in your script.

Roman Heriban

P.S. My utility (PF3 Randomizer) technically cannot cause such a problem or any other problems, period :) I also have to say that my private version of Randomizer already does the same thing that dtsakiris wants to achieve. I also added a user interface. The new version will be published very soon.
Wow...excellent! Thank you for your help! Will try it as soon as possible!

P.S.: Will that new version set the MCE voice as well?

Author:  sbsim [ Fri Dec 02, 2016 12:32 am ]
Post subject:  Re: Question regarding pf3.ini and voices

This is the look of the new Randomizer with MCE plug-in:

[ img ]

The core functionality is the same, all old presets are usable. The goal was to make its use more easy and comfortable. I added some options that I needed myself, including MCE voices randomisation discussed in this thread. Today, Lorna was assigned as my co-pilot and, as we flew from Vienna to Palermo, she gave me some cool sightseeing advices :)
dtsakiris wrote:
Will that new version set the MCE voice as well?
Affirmative. Matching PF3 voices will be adjustable (if you will not like my choices).
RALF9636 wrote:
Making me curious. Any other new features to expect?
Let me know if you need a beta tester
Ralf, I will PM you the download link in advance, probably the next week.

Roman

Author:  RALF9636 [ Fri Dec 02, 2016 5:48 am ]
Post subject:  Re: Question regarding pf3.ini and voices

Looks promising.

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited