DLSS Save and Load

Hi, I have my own personal project in development and in the graphics options menu I added DLSS support which seems to work when applied, the problem is that every time the game is restarted the settings are reset. How can I save and reload DLSS settings in blueprint?
Thanks in advance!

1 Like

Thanks for your response, I know that video well but I asked for something more specific. I can already save all the graphics settings in my game except those inherent in DLSS which I asked for help with.

Thinking about this myself since I have to set up my menu infrastructure, but can you/we grab the values of CVars and re-implement them manually, just run the console commands?

You can save custom cvars in the ini file. Get the value and apply console commands based on those values.

ok, you are speaking another language… i can’t even understand… i only use blueprints. how can i interact with the .ini file?

Part of being a game dev is learning new things. Diving head first in some instances. Not everything is available to BP out of the box.

Link jumps to the GameUserSettings section.

I’d recommend editing the UGameUserSettings.cpp file. Add a Get and Set function for each new setting. Expose those functions to BP.

You’ll then be able to Set and Get those vars via a GameUserSettings Obj Reference.