STEAM 组
٠●•۩۞۩ [Uganda Knuckles] ۩۞۩•●٠ dwfadws
STEAM 组
٠●•۩۞۩ [Uganda Knuckles] ۩۞۩•●٠ dwfadws
0
游戏中
1
在线
成立于
2018 年 1 月 15 日
关于 ٠●•۩۞۩ [Uganda Knuckles] ۩۞۩•●٠

Are u da queen?

Do you know da wea?

simple C# code to lock fps to 144
namespace SAOFB_144fps_Unlocker
{
static class Program
{
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);

System.Diagnostics.Process[] process = System.Diagnostics.Process.GetProcessesByName("SAOFB-Win64-Shipping");
if(process.Length > 0)
{
MessageBox.Show("Please Exit the Game", "Fatal Error");
Environment.Exit(-1);
}

string folder = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\SAOFB\\Saved\\Config\\WindowsNoEditor";
if(!System.IO.Directory.Exists(folder))
{
MessageBox.Show("Please run SAO:FB.", "Fatal Error");
Environment.Exit(-2);
}

string config = folder + "\\GameUserSettings.ini";
if (!System.IO.File.Exists(config))
{
MessageBox.Show("Please run SAO:FB.", "Fatal Error");
Environment.Exit(-3);
}

WritePrivateProfileString("/Script/Engine.GameUserSettings", "bUseVSync", "False", config);
WritePrivateProfileString("/Script/Engine.GameUserSettings", "FrameRateLimit", "144.000000", config);

MessageBox.Show("Set FPS limit to 144.", "Success");
}

[System.Runtime.InteropServices.DllImport("kernel32.dll")]
private static extern long WritePrivateProfileString(string section, string key, string val, string filepath);
}
}


edit game configs file to lock fps
Before edit, u need run game once.
Before edit, u need exit the game.
Using 'WINDOWS' + 'R' -> type '%localappdata%\SAOFB\Saved\Config\WindowsNoEditor' .
Open 'GameUserSettings.ini' via notepad++(or any other tools).
Edit line 'FrameRateLimit' Set value to fps u want. (e.g. 144.000000).
Save and Close.
Enjoy.

Example
[/script/engine.gameusersettings]
LastUserConfirmedResolutionSizeX=0
LastUserConfirmedResolutionSizeY=0
PreferredFullscreenMode=0
DesiredScreenWidth=1584
bUseDesiredScreenHeight=False
DesiredScreenHeight=990
LastRecommendedScreenWidth=-1.000000
LastRecommendedScreenHeight=-1.000000
LastCPUBenchmarkResult=-1.000000
LastGPUBenchmarkResult=-1.000000
LastGPUBenchmarkMultiplier=1.000000
bUseHDRDisplayOutput=False
HDRDisplayOutputNits=1000
ResolutionSizeX=1920
ResolutionSizeY=1080
FrameRateLimit=240.000000
bUseVSync=True

[ScalabilityGroups]
sg.ResolutionQuality=110.000000
sg.ViewDistanceQuality=3
sg.AntiAliasingQuality=3
sg.ShadowQuality=3
sg.PostProcessQuality=3
sg.TextureQuality=3
sg.EffectsQuality=3
sg.FoliageQuality=3
热门讨论
组成员
组周最佳玩家:
管理员
版主
成员
0
游戏中
1
在线
0 聊天中
进入聊天室
成立于
2018 年 1 月 15 日