View: 4585|Reply: 23

HOW TO INCREASE FPS OF A320 FF

[Copy link]

23

Threads

64

Posts

205

Credits

Full Member

Rank: 3Rank: 3

Credits
205
Post time 2021-02-24 20:43:40 | Show all posts |Read mode
HOW TO INCREASE FPS OF A320 FF
Reply

Use magic Report

2

Threads

35

Posts

90

Credits

Member

Rank: 2

Credits
90
Post time 2021-03-02 03:06:12 | Show all posts
MS Store version:
C:\Users\YOURNAME\AppData\Local\Packages\Microsoft.FlightSimulator_RANDOMCODE\LocalCache\Packages\Official\OneStore\asobo-vcockpits-instruments\html_ui\Pages\VCockpit\Instruments\Shared\BaseInstrument.js

OR

%localappdata%\Packages\Microsoft.FlightSimulator_RANDOMCODE\LocalCache\Packages\Official\OneStore\asobo-vcockpits-instruments\html_ui\Pages\VCockpit\Instruments\Shared\BaseInstrument.js

Steam version:
C:\Users\YOURNAME\AppData\Local\Packages\Microsoft.FlightSimulator_RANDOMCODE\LocalCache\Packages\Official\Steam\asobo-vcockpits-instruments\html_ui\Pages\VCockpit\Instruments\Shared\BaseInstrument.js

OR

%localappdata%\Packages\Microsoft.FlightSimulator_RANDOMCODE\LocalCache\Packages\Official\Steam\asobo-vcockpits-instruments\html_ui\Pages\VCockpit\Instruments\Shared\BaseInstrument.js

To edit the BaseInstrument.js file I suggest to use a code editor as Notepad++ or Sublime Text (both free). Backup the file making a copy on your desktop to restore it in case you encounter any problem.

This is the part to be edited (line 235 in my case but may be different):

CanUpdate() {
        var quality = this.getQuality();
        if (quality == Quality.medium) {
            if ((this.frameCount % 8) != 0) {
                return false;
            }
        }
        else if (quality == Quality.low) {
            if ((this.frameCount % 32) != 0) {
                return false;
            }
        }
        else if (quality == Quality.hidden) {
            if ((this.frameCount % 128) != 0) {
                return false;
            }
        }
        else if (quality == Quality.disabled) {
            return false;
        }
        return true;
    }

and overwrite it to his new code:

CanUpdate() {
        var quality = this.getQuality();
        if (quality == Quality.high) {
            if ((this.frameCount % 3) != 0) {
                return false;
            }
        }   
        if (quality == Quality.medium) {
            if ((this.frameCount % 8) != 0) {
                return false;
            }
        }
        else if (quality == Quality.low) {
            if ((this.frameCount % 32) != 0) {
                return false;
            }
        }
        else if (quality == Quality.hidden) {
            if ((this.frameCount % 128) != 0) {
                return false;
            }
        }
        else if (quality == Quality.disabled) {
            return false;
        }
        return true;
    }   

All that is changing is that you are adding in these lines:


if (quality == Quality.high) {
if ((this.frameCount % 3) != 0) {
return false;
}


which are setting a refresh rate of the screens when in the cockpit (quality = high) and it’s setting a division of your screen refresh rate (144/3, or 60/3 or 120/3, whatever) and you can change that ‘3’ to be whatever you want. The higher the number, the smaller the end refresh will be and the better performance you should get but the more choppy the little screens will refresh.

Hope this helps some people to get better FPS. Surely helped me a lot!
Reply Support Not support

Use magic Report

0

Threads

16

Posts

58

Credits

Member

Rank: 2

Credits
58
Post time 2021-03-03 17:08:14 | Show all posts
Thanks for the tips !
Reply Support Not support

Use magic Report

3

Threads

14

Posts

48

Credits

Newbie

Rank: 1

Credits
48
Post time 2021-03-09 04:40:58 | Show all posts
thanks
Reply

Use magic Report

1

Threads

9

Posts

34

Credits

Newbie

Rank: 1

Credits
34
Post time 2021-03-14 10:25:08 | Show all posts
Thank you
Reply

Use magic Report

1

Threads

19

Posts

78

Credits

Member

Rank: 2

Credits
78
Post time 2021-03-14 20:30:46 | Show all posts
nice trick
Reply

Use magic Report

0

Threads

78

Posts

193

Credits

Member

Rank: 2

Credits
193
Post time 2021-03-24 20:25:48 | Show all posts
thanks for the trick.
Reply Support Not support

Use magic Report

0

Threads

7

Posts

29

Credits

Newbie

Rank: 1

Credits
29
Post time 2021-03-26 23:42:49 | Show all posts
This works for me. Great. Thank you! Always struggled with the FPS.
Reply Support Not support

Use magic Report

0

Threads

57

Posts

130

Credits

Member

Rank: 2

Credits
130
Post time 2021-04-01 08:50:22 | Show all posts
electricity
Reply Support Not support

Use magic Report

0

Threads

12

Posts

51

Credits

Member

Rank: 2

Credits
51
Post time 2021-04-01 12:13:42 | Show all posts
Monogram Perenn 2021-03-02 03:06
MS Store version:
C:\Users\YOURNAME\AppData\Local\Packages\Microsoft.FlightSimulator_RANDOMCODE\Loca ...

nice, thanks
Reply Support Not support

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Quick Reply To Top Return to the list