How to make game adapt to screen res or get screen's current resolution?

Hi, I have a packaged game and discovered that if I change the screen res so it’s not 1920x1080 (the one I’ve config in the ini to be by default, I haven’t set resolution in BP nor code) it doesn’t adapt to that resolution: with smaller resolutions the borders of the 1920x1080 game screen can’t be seen.

So I would like to know how to make the game adapt to current screen resolution or if not possible how to get current resolution so I can do it manually in BP.

I’ve tried Rama’s Victory Plugin but as far as I’ve seen in the resolution field it just gives a list of possible resolutions for the screen, but not the currently used one.

Have a look at the first answer of this question: https://answers.unrealengine.com/questions/91257/packaging-resolutionfull-screen.html

To achieve what you want, change the line “bUseDesktopResolutionForFullscreen=False” to “bUseDesktopResolutionForFullscreen=True”

Sorry and thanks TK3D, I thought I had come back to answer this time ago but it seems didn’t, it was solved with these settings in DefaultGameSettings.ini (imagine commented stuff as deleted):

ResolutionSizeX=1920

ResolutionSizeY=1080

//LastUserConfirmedResolutionSizeX=1920

//LastUserConfirmedResolutionSizeY=1080

//WindowPosX=-1

//WindowPosY=-1

//bUseDesktopResolutionForFullscreen=True

FullscreenMode=0

//LastConfirmedFullscreenMode=2

//Version=5

Version=3