Valheim

Valheim

slayer Mar 2, 2023 @ 2:00am
F5 not working
I have entered "-console" into the properties screen in Steam, in the launch options text box. I am certain I have typed it correctly, having typed it and subsequently copying and pasting from other sources.

When I get into the game, F5 simply does nothing.

F2, for example, does work, along with all of my other keyboard buttons, so I'm sure it's not the keyboard settings.

SOLVED - F5 was defaulting to a secondary function due to a profile setting on the keyboard...
Last edited by slayer; Mar 4, 2023 @ 4:17pm
< >
Showing 1-11 of 11 comments
Gunnar Hurtya Mar 2, 2023 @ 2:13am 
Never done it myself, but don't you have to type in " I am a cheat" to get the console functions to work?
Quil Boar Mar 2, 2023 @ 2:42am 
Go to your properties and launch options then type -console
ArcyPaweł Mar 2, 2023 @ 3:22am 
You need to find folder with your save file and make yourself Admin
Ralifur Mar 2, 2023 @ 3:44am 
Sounds odd.

Console works fine here and i have it added same way as Doom Shroom describes. And yes it opens on F5 for me.

Dont really have any suggestions for you @OP as it sounds like you are doing it right. You 100% sure its not some silly FN function or a macro function thats enabled on your keyboard?
L1m3r (Banned) Mar 2, 2023 @ 6:53am 
@Slayer:
How are you starting the game?
with BepInEx's start script?
Valheim.exe directly?

If you start Valheim though steam (or with this steam://rungameid/892970) and steams launch options for VH only contains "-console" it should work.

Take a look at "%USERPROFILE%\AppData\LocalLow\IronGate\Valheim\Player.log" and see if it contains anything regarding console or startup parameters in general (dunno what to look for).

You can also use eg. Process Explorer[learn.microsoft.com] or Process Hacker[processhacker.sourceforge.io] to verify what VHs actual starting command line was while the game is running.


Originally posted by Gunnar Hurtya:
Never done it myself, but don't you have to type in " I am a cheat" to get the console functions to work?

no you don't. you need to open the console first and then type "devcommands" to enable the cheating commands.
There are plenty other commands that work just like that (without devcommands).



Originally posted by Doom Shroom Enjoyer:
Go to your properties and launch options then type -console

he did that. or explain yourself better please ("your properties"? I guess he's a human mammal, 1,5 - 2m in height and so on. can't find any launch options there). ;-)


Originally posted by ArcyPawel:
You need to find folder with your save file and make yourself Admin

What?! And no never!
And what is "make yourself Admin" supposed to mean?
  1. Use sth like NTPASSWD to hack windows and give himself adminrights? I'm pretty sure he's already got those.
  2. Set the save game folder so only admins can access it? Makes no sense.
  3. Start the game with elevated rights? No!
  4. What else?
Last edited by L1m3r; Mar 2, 2023 @ 7:38am
Cap'n Bells Mar 2, 2023 @ 7:19pm 
you leaving out the inverted commas? i hope so jus -console
Cap'n Bells Mar 2, 2023 @ 7:20pm 
Originally posted by Gunnar Hurtya:
Never done it myself, but don't you have to type in " I am a cheat" to get the console functions to work?
Nope thats prior to H& H update from memory
Renlish Mar 2, 2023 @ 10:30pm 
F5 *should* bring up the console, THEN type in devcommands, followed by debugmode. Then you've got access to all the cheat commands.

If you've got the -console put in the launch option in steam... then I dunno. It should work.
slayer Mar 4, 2023 @ 4:16pm 
Originally posted by Ralifur:
Sounds odd.

Console works fine here and i have it added same way as Doom Shroom describes. And yes it opens on F5 for me.

Dont really have any suggestions for you @OP as it sounds like you are doing it right. You 100% sure its not some silly FN function or a macro function thats enabled on your keyboard?


I spent some dedicated time on the issue... and it was the FN settings on the keyboard. By default I have they keyboard set to do the secondary functions like volume and mute etc (which only exist on F5-F12, hence F1 and F2 still working). I didn't realise this was carrying over into the game profile. I'm too old to make such rookie mistakes haha.
avatar.zero Mar 4, 2023 @ 10:35pm 
Originally posted by slayer:
I spent some dedicated time on the issue... and it was the FN settings on the keyboard. By default I have they keyboard set to do the secondary functions like volume and mute etc (which only exist on F5-F12, hence F1 and F2 still working). I didn't realise this was carrying over into the game profile. I'm too old to make such rookie mistakes haha.

Ha, I feel your pain on that! When I first got my current laptop, there was an error in the BIOS settings that caused the keyboard to start out in that mode by default. Wasn't long until I finally learned to love Fn+ESC (aka "Fn-Lock"), at least until I finally spotted the incorrectly set option...
Cap'n Bells Mar 5, 2023 @ 1:46am 
Ahhh that ol Chestnut...
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Mar 2, 2023 @ 2:00am
Posts: 11