OnCourse Software

Welcome to our Product Support Forums

Question regarding pf3.ini and voices

PLEASE NOTE:

If you are reporting an issue with PF3 please remember to Zip and attach the Debug_Monitor.log file from your PF3\Logs folder. Thank you.

Post Reply   Page 1 of 1  [ 10 posts ]
Author Message
dtsakiris
Post subject: Question regarding pf3.ini and voices
Posted: Tue Nov 29, 2016 8:47 pm
Offline
 
Posts: 114
Joined: Mon Sep 28, 2015 11:33 am
 
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!


Top
Profile Quote
ThomasAH
Post subject: Re: Question regarding pf3.ini and voices
Posted: Tue Nov 29, 2016 9:55 pm
Offline
 
Posts: 986
Joined: Tue Dec 24, 2013 12:27 pm
 
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?

_________________

[ img ]


Top
Profile Quote
dtsakiris
Post subject: Re: Question regarding pf3.ini and voices
Posted: Wed Nov 30, 2016 11:56 am
Offline
 
Posts: 114
Joined: Mon Sep 28, 2015 11:33 am
 
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.


Top
Profile Quote
ThomasAH
Post subject: Re: Question regarding pf3.ini and voices
Posted: Wed Nov 30, 2016 3:39 pm
Offline
 
Posts: 986
Joined: Tue Dec 24, 2013 12:27 pm
 
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)

_________________

[ img ]


Top
Profile Quote
dtsakiris
Post subject: Re: Question regarding pf3.ini and voices
Posted: Thu Dec 01, 2016 8:08 am
Offline
 
Posts: 114
Joined: Mon Sep 28, 2015 11:33 am
 
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!


Top
Profile Quote
sbsim
Post subject: Re: Question regarding pf3.ini and voices
Posted: Thu Dec 01, 2016 6:16 pm
Offline
 
Posts: 75
Joined: Mon Mar 14, 2016 11:23 pm
 
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.


Top
Profile Quote
RALF9636
Post subject: Re: Question regarding pf3.ini and voices
Posted: Thu Dec 01, 2016 7:39 pm
Offline
 
Posts: 368
Joined: Mon Feb 08, 2016 8:29 pm
 
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

_________________

[ img ]


Top
Profile Quote
dtsakiris
Post subject: Re: Question regarding pf3.ini and voices
Posted: Thu Dec 01, 2016 9:02 pm
Offline
 
Posts: 114
Joined: Mon Sep 28, 2015 11:33 am
 
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?


Top
Profile Quote
sbsim
Post subject: Re: Question regarding pf3.ini and voices
Posted: Fri Dec 02, 2016 12:32 am
Offline
 
Posts: 75
Joined: Mon Mar 14, 2016 11:23 pm
 
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


Top
Profile Quote
RALF9636
Post subject: Re: Question regarding pf3.ini and voices
Posted: Fri Dec 02, 2016 5:48 am
Offline
 
Posts: 368
Joined: Mon Feb 08, 2016 8:29 pm
 
Looks promising.

_________________

[ img ]


Top
Profile Quote
Display: Sort by: Direction:
Post Reply   Page 1 of 1  [ 10 posts ]
Return to “PF3-ATC at its best”
Jump to: