Hello
would like to modify a value in the defaultengine.ini file during runtime and save it to the disk. Could you please tell me how to do it?
eg:
`[/Script/WindowsTargetPlatform.WindowsTargetSettings]
DefaultGraphicsRHI=DefaultGraphicsRHI_DX12
[/Script/FFXFSR3Settings.FFXFSR3Settings]
r.FidelityFX.FSR3.Enabled=False
r.FidelityFX.FSR3.UseNativeDX12=False
r.FidelityFX.FSR3.UseRHI=True`The situation here is that after the shipping package is completed, all the configuration files are placed inside the package.
I found that using the following method to modify the settings and then restarting the game did not work.
GConfig->SetString( TEXT("/Script/FFXFSR3Settings.FFXFSR3Settings"), TEXT("r.FidelityFX.FSR3.UseNativeDX12"), InValue ? TEXT("False") : TEXT("True"), GEngineIni); GConfig->Flush(true, GEngineIni);