Hello,
I am trying to manipulate the GameUserSettings.ini file via blueprint. Using blueprints, I am able to use a console command to manipulate ResolutionSizeX and Y, and FullscreenMode.
Is there a console command to change the bools TRUE/FALSE setting, i.e. “bUseVSync” or “bUseDesktopResolutionForFullscreen”?
I’m far from being a programmer but if I have to, how could I expose these variable to blueprints so I can change them using Visual Studio if there isn’t a console command available.
I tried r.VSync but I don’t believe it updates the “bUseVSync” line in the ini files. I would like to expose these variables so I can give the player the ability to change these options.
[/Script/Engine.GameUserSettings]
bUseVSync=True
ResolutionSizeX=1360
ResolutionSizeY=768
LastUserConfirmedResolutionSizeX=1600
LastUserConfirmedResolutionSizeY=900
WindowPosX=-1
WindowPosY=-1
bUseDesktopResolutionForFullscreen=False
FullscreenMode=0
LastConfirmedFullscreenMode=2
Version=5
Thank you for your help.
As soon as I get this working I will be making a tutorial on how to incorporate a settings option using UMG.