Valheim

Valheim

This topic has been locked
m o n k e Feb 8, 2021 @ 11:14am
Mouse cursor lock
So I am trying to play this game but my mouse cursor does not stay locked in the game and will just select something on my other monitor and defocus the game. I've tried this in windowed and borderless fullscreen since this game does not seem to support a dedicated fullscreen.
Originally posted by VadeN:
Originally posted by m o n k e:
this game does not seem to support a dedicated fullscreen.
Go into ~\Steam\steamapps\common\Valheim\valheim_Data, right-click boot.config and choose to open it with WordPad.
Now add these lines (they have to be at the top):
gfx-enable-gfx-jobs=1 gfx-enable-native-gfx-jobs=1
Then open Steam > right-click on Valheim > Preferences and add this line to the startoptions:
-window-mode exclusive -screen-fullscreen
Now start Valheim, set the ingame option to fullscreen.
Press ALT+ENTER once, and then one more time.
Now it will be in fullscreen with optimized settings.
< >
Showing 1-7 of 7 comments
Louisfm16 Feb 9, 2021 @ 7:53pm 
Same issue here, using two monitors. I've tried both full screen and windowed
m o n k e Feb 9, 2021 @ 10:02pm 
Originally posted by Louisfm16:
Same issue here, using two monitors. I've tried both full screen and windowed
I managed to get it to work. After you make sure all peripherals are unplugged try going through and resetting the controls in the menu. After that I restarted the game and it finally locked my cursor.
One or more of these steps might be redundant and you may just need to reset the controls but i haven't tried just doing that.
Louisfm16 Feb 10, 2021 @ 5:10pm 
Originally posted by m o n k e:
Originally posted by Louisfm16:
Same issue here, using two monitors. I've tried both full screen and windowed
I managed to get it to work. After you make sure all peripherals are unplugged try going through and resetting the controls in the menu. After that I restarted the game and it finally locked my cursor.
One or more of these steps might be redundant and you may just need to reset the controls but i haven't tried just doing that.

Thank you, I will try this out later today or tomorrow.
lolschrauber Mar 5, 2021 @ 11:19am 
Originally posted by m o n k e:
Originally posted by Louisfm16:
Same issue here, using two monitors. I've tried both full screen and windowed
I managed to get it to work. After you make sure all peripherals are unplugged try going through and resetting the controls in the menu. After that I restarted the game and it finally locked my cursor.
One or more of these steps might be redundant and you may just need to reset the controls but i haven't tried just doing that.
If I unplug all peripherals, I literally can't control anything on the computer at all, what kinda vague statement is this?

This issue makes the game unplayable to me for now..shame.
Last edited by lolschrauber; Mar 5, 2021 @ 11:21am
The author of this thread has indicated that this post answers the original topic.
VadeN Mar 5, 2021 @ 11:26am 
Originally posted by m o n k e:
this game does not seem to support a dedicated fullscreen.
Go into ~\Steam\steamapps\common\Valheim\valheim_Data, right-click boot.config and choose to open it with WordPad.
Now add these lines (they have to be at the top):
gfx-enable-gfx-jobs=1 gfx-enable-native-gfx-jobs=1
Then open Steam > right-click on Valheim > Preferences and add this line to the startoptions:
-window-mode exclusive -screen-fullscreen
Now start Valheim, set the ingame option to fullscreen.
Press ALT+ENTER once, and then one more time.
Now it will be in fullscreen with optimized settings.
Last edited by VadeN; Mar 5, 2021 @ 11:28am
lolschrauber Mar 5, 2021 @ 11:38am 
Originally posted by vadeN:
Originally posted by m o n k e:
this game does not seem to support a dedicated fullscreen.
Go into ~\Steam\steamapps\common\Valheim\valheim_Data, right-click boot.config and choose to open it with WordPad.
Now add these lines (they have to be at the top):
gfx-enable-gfx-jobs=1 gfx-enable-native-gfx-jobs=1
Then open Steam > right-click on Valheim > Preferences and add this line to the startoptions:
-window-mode exclusive -screen-fullscreen
Now start Valheim, set the ingame option to fullscreen.
Press ALT+ENTER once, and then one more time.
Now it will be in fullscreen with optimized settings.
The core issue seems to be that the game stays in menu mode sometimes even when you leave the menu.
GrandTickler Mar 5, 2021 @ 12:14pm 
alt enter twice should put it in exclusive full screen mode with the -window-mode exclusive -screen-fullscreen launch parameters
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Feb 8, 2021 @ 11:14am
Posts: 7