Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Valheim"

From PCGamingWiki, the wiki about fixing PC games
m (General maintenance with AutoWikiBrowser in Bot mode)
m (→‎Surround sound: turned the surround sound mod option into an empty fixbox.)
 
(15 intermediate revisions by 5 users not shown)
Line 7: Line 7:
 
{{Infobox game/row/publisher|Coffee Stain Studios}}
 
{{Infobox game/row/publisher|Coffee Stain Studios}}
 
|engines      =  
 
|engines      =  
{{Infobox game/row/engine|Unity|name=Unity 2019|ref=<ref name="engineversion">{{Refcheck|user=Baronsmoki|date=2022-01-10}}</ref>|build=2019.4.31f1}}
+
{{Infobox game/row/engine|Unity|name=Unity 2019|Former|ref=<ref name="former engineversion">{{Refcheck|user=Baronsmoki|date=2022-01-10}}</ref>|build=2019.4.31f1}}
 +
{{Infobox game/row/engine|Unity|name=Unity 2022|ref=<ref name="engineversion">{{Refcheck|user=Jams3223|date=2024-04-22}}</ref>|build= 2022.3.17f1}}
 
|release dates=  
 
|release dates=  
 
{{Infobox game/row/date|Windows|EA}}
 
{{Infobox game/row/date|Windows|EA}}
Line 22: Line 23:
 
{{Infobox game/row/taxonomy/perspectives      | Third-person }}
 
{{Infobox game/row/taxonomy/perspectives      | Third-person }}
 
{{Infobox game/row/taxonomy/controls          | Direct control }}
 
{{Infobox game/row/taxonomy/controls          | Direct control }}
{{Infobox game/row/taxonomy/genres            | Survival, Adventure }}
+
{{Infobox game/row/taxonomy/genres            | Action, Simulation, Building, Survival, Open world }}
 
{{Infobox game/row/taxonomy/sports            | }}
 
{{Infobox game/row/taxonomy/sports            | }}
{{Infobox game/row/taxonomy/vehicles          | }}
+
{{Infobox game/row/taxonomy/vehicles          | Naval/watercraft }}
 
{{Infobox game/row/taxonomy/art styles        | Stylized }}
 
{{Infobox game/row/taxonomy/art styles        | Stylized }}
 
{{Infobox game/row/taxonomy/themes            | Fantasy }}
 
{{Infobox game/row/taxonomy/themes            | Fantasy }}
Line 44: Line 45:
 
|introduction      =  
 
|introduction      =  
  
|release history  = The game was released to early access on February 2, 2021 on [[Store:Steam|Steam]], selling over three million copies by February 19.<ref>{{Refurl|url=https://steamcommunity.com/games/892970/announcements/detail/3059603718053006419|title=Three Million Vikings!|date=2021-02-19}}</ref>
+
|release history  = The game was released in early access on February 2, 2021 on [[Store:Steam|Steam]], selling over three million copies by February 19.<ref>{{Refurl|url=https://steamcommunity.com/games/892970/announcements/detail/3059603718053006419|title=Three Million Vikings!|date=2021-02-19}}</ref>
  
 
|current state    =  
 
|current state    =  
Line 51: Line 52:
 
'''General information'''
 
'''General information'''
 
{{mm}} [https://www.reddit.com/r/valheim/ Official subreddit]
 
{{mm}} [https://www.reddit.com/r/valheim/ Official subreddit]
{{mm}} [https://discord.gg/8QGuwCC Official Discord]
+
{{mm}} [https://discord.gg/8QGuwCC Official Discord server]
 
{{mm}} [https://steamcommunity.com/app/892970/discussions/ Steam Community Discussions]
 
{{mm}} [https://steamcommunity.com/app/892970/discussions/ Steam Community Discussions]
  
Line 57: Line 58:
 
{{Availability|
 
{{Availability|
 
{{Availability/row| Humble | valheim | Steam | | | Windows, Linux }}
 
{{Availability/row| Humble | valheim | Steam | | | Windows, Linux }}
{{Availability/row| Microsoft Store | 9NCBL78CG9N7 | Microsoft Store | Included with {{Store feature|Xbox Game Pass}}. |  | Windows }}
+
{{Availability/row| Microsoft Store | 9NCBL78CG9N7 | Microsoft Store | {{store feature|Xbox Play Anywhere}}. Included with {{store feature|Xbox Game Pass}}. |  | Windows }}
 
{{Availability/row| Steam | 892970 | Steam |  |  | Windows, Linux }}
 
{{Availability/row| Steam | 892970 | Steam |  |  | Windows, Linux }}
 +
}}
 +
 +
==Monetization==
 +
{{Monetization
 +
|ad-supported                =
 +
|dlc                        =
 +
|expansion pack              =
 +
|freeware                    =
 +
|free-to-play                =
 +
|one-time game purchase      = The game requires an upfront purchase to access.
 +
|sponsored                  =
 +
|subscription                =
 +
|subscription gaming service =
 +
}}
 +
 +
===Microtransactions===
 +
{{Microtransactions
 +
|boost              =
 +
|cosmetic            =
 +
|currency            =
 +
|finite spend        =
 +
|infinite spend      =
 +
|free-to-grind      =
 +
|loot box            =
 +
|none                = Game does not contain any microtransactions.
 +
|player trading      =
 +
|time-limited        =
 +
|unlock              =
 
}}
 
}}
  
Line 64: Line 93:
 
===Improve the performance in OpenGL mode on Linux for AMD/Intel===
 
===Improve the performance in OpenGL mode on Linux for AMD/Intel===
 
{{Fixbox|description=Use the <code>mesa_glthread=true %command%</code> [[Glossary:Command line arguments|command line argument]]|ref={{cn|date=2021-03-13}}|fix=
 
{{Fixbox|description=Use the <code>mesa_glthread=true %command%</code> [[Glossary:Command line arguments|command line argument]]|ref={{cn|date=2021-03-13}}|fix=
* Running the game with <code>mesa_glthread=true %command%</code> on Steam greatly improves the performance when running on Linux with Mesa driver library for AMD/Intel GPUs in order to utilize multiple CPU cores. Not required in Mesa 21.1.
+
* Running the game with <code>mesa_glthread=true %command%</code> on Steam greatly improves the performance when running on Linux with the Mesa driver library for AMD/Intel GPUs in order to utilize multiple CPU cores. Not required in Mesa 21.1.
 
}}
 
}}
  
Line 131: Line 160:
 
|windowed notes            =  
 
|windowed notes            =  
 
|borderless windowed        = true
 
|borderless windowed        = true
|borderless windowed notes  = Fullscreen mode defaults to borderless fullscreen
+
|borderless windowed notes  = Fullscreen mode defaults to borderless fullscreen.
 
|anisotropic                = false
 
|anisotropic                = false
 
|anisotropic notes          =  
 
|anisotropic notes          =  
Line 146: Line 175:
 
|120 fps notes              =  
 
|120 fps notes              =  
 
|hdr                        = false
 
|hdr                        = false
|hdr notes                  = [https://valheimbugs.featureupvote.com/suggestions/259912/hdrautohdr-windows No plans to implement native HDR support]
+
|hdr notes                  = [https://valheimbugs.featureupvote.com/suggestions/259912/hdrautohdr-windows There are no plans to implement native HDR support.]
 
|ray tracing                = false
 
|ray tracing                = false
 
|ray tracing notes          =  
 
|ray tracing notes          =  
Line 163: Line 192:
 
# Type in <code>-window-mode exclusive -screen-fullscreen</code>
 
# Type in <code>-window-mode exclusive -screen-fullscreen</code>
 
}}
 
}}
{{ii}} This can improve the performance, but might cause issues when tabbing out of the game.
+
{{ii}} This can improve the performance but might cause issues when tabbing out of the game.
 
<ref>{{Refurl|url=https://www.reddit.com/r/valheim/comments/lwria0/huge_fps_boost_from_50_to_90110_for_me/|title=Reddit|date=28 May 2023}}</ref>
 
<ref>{{Refurl|url=https://www.reddit.com/r/valheim/comments/lwria0/huge_fps_boost_from_50_to_90110_for_me/|title=Reddit|date=28 May 2023}}</ref>
  
Line 196: Line 225:
 
|controller support notes  =  
 
|controller support notes  =  
 
|full controller          = true
 
|full controller          = true
|full controller notes    = Added in Steam Deck update on March 1.
+
|full controller notes    = Added by the Steam Deck update on March 1.
 
|controller remap          = false
 
|controller remap          = false
 
|controller remap notes    =  
 
|controller remap notes    =  
Line 202: Line 231:
 
|controller sensitivity notes=  
 
|controller sensitivity notes=  
 
|invert controller y-axis  = true
 
|invert controller y-axis  = true
|invert controller y-axis notes= Enable "Invert Mouse" option.
+
|invert controller y-axis notes= Enable the "Invert Mouse" option.
 
|xinput controllers        = true
 
|xinput controllers        = true
 
|xinput controllers notes  =  
 
|xinput controllers notes  =  
Line 252: Line 281:
 
|separate volume          = true
 
|separate volume          = true
 
|separate volume notes    =  
 
|separate volume notes    =  
|surround sound          = unknown
+
|surround sound          = hackable
|surround sound notes    =  
+
|surround sound notes    = Up to 7.1<ref>{{Refurl|url=https://docs.unity3d.com/ScriptReference/AudioSpeakerMode.html|title=Unity - Scripting API: AudioSpeakerMode|date=2023-11-21}}</ref>; See [[#Surround sound|Surround sound]]
 
|subtitles                = false
 
|subtitles                = false
 
|subtitles notes          = There is no spoken dialogue.
 
|subtitles notes          = There is no spoken dialogue.
Line 265: Line 294:
 
|royalty free audio notes  =  
 
|royalty free audio notes  =  
 
}}
 
}}
 +
 +
=== Surround sound ===
 +
{{Fixbox|description=Patch one of Unity's standard configuration files in Valheim with [https://github.com/l1m3r/cmd-scripts/tree/master/ss4vh SSound4Val.cmd]|ref=<ref>{{Refcheck|user=Nilbadimo|date=2023-11-21|comment=}}</ref>|collapsed=yes|fix=
 +
{{ii}} Only applies to Windows installations.{{note|The HEX-numbers used for searching and replacing, however, are likely OS independent.}}
 +
{{ii}} See the [https://github.com/l1m3r/cmd-scripts/blob/master/ss4vh/README.md README file on GitHub] for up-to-date information on how to use <code>SSound4Val.cmd</code>.
 +
 +
# Download <code>SSound4Val.cmd</code>.
 +
# (optional) Download the tool [http://stahlworks.com/swiss-file-knife.html <code>SFK</code>] separately and place the file <code>sfk.exe</code> in the same directory as <code>SSound4Val.cmd</code>. The script can do this automatically.
 +
# Double-click <code>SSound4Val.cmd</code>. A command line window should appear. Depending on where the Valheim executable is located, you may have to instead <kbd>Right Click</kbd> the file and choose "Run as administrator" from the context menu.
 +
# Follow the instructions provided by the script.
 +
}}
 +
 +
{{Fixbox|description=Or use this mod: [https://thunderstore.io/c/valheim/p/Azumatt/SimpleAudioOptions/ SimpleAudioOptions]|ref=<ref>{{Refcheck|user=Nilbadimo|date=2024-04-25|comment=}}</ref>|collapsed=no|fix=}}
  
 
{{Image|Valheim_Misc.png|Miscellaneous settings}}
 
{{Image|Valheim_Misc.png|Miscellaneous settings}}
Line 407: Line 449:
 
|lan play players    = 10
 
|lan play players    = 10
 
|lan play modes      = Co-op, Versus
 
|lan play modes      = Co-op, Versus
|lan play notes      = The game can be played through LAN using the dedicated server.
+
|lan play notes      = The game can be played over LAN using the dedicated server.
 
|online play          = true
 
|online play          = true
 
|online play players  = 10
 
|online play players  = 10
Line 434: Line 476:
 
===Game runs poorly on Vulkan in AMD on Linux===
 
===Game runs poorly on Vulkan in AMD on Linux===
 
{{Fixbox|description=Force OpenGL mode|fix=
 
{{Fixbox|description=Force OpenGL mode|fix=
Run the game with <code>-force-opengl</code> or <code>-force-glcore</code>, additionally you can also run with <code>mesa_glthread=true %command% -force-opengl (or -force-glcore)</code> for a much better performance. Will be fixed in the upcoming Mesa 21.1{{Citation needed}}
+
Run the game with <code>-force-opengl</code> or <code>-force-glcore</code>, additionally you can also run with <code>mesa_glthread=true %command% -force-opengl (or -force-glcore)</code> for much better performance. Will be fixed in the upcoming Mesa 21.1{{Citation needed}}
 
}}
 
}}
  

Latest revision as of 06:40, 28 April 2024

Dev general icon.svg
This product is unreleased but remains under active development - information may change frequently and could be outdated or irrelevant.
Valheim
Valheim cover
Developers
Iron Gate Studio
Publishers
Coffee Stain Studios
Engines
Former Unity 2019[Note 1]
Unity 2022[Note 2]
Release dates
Windows Early access
Linux Early access
Taxonomy
Monetization One-time game purchase
Microtransactions None
Modes Singleplayer, Multiplayer
Pacing Real-time
Perspectives Third-person
Controls Direct control
Genres Action, Simulation, Building, Survival, Open world
Vehicles Naval/watercraft
Art styles Stylized
Themes Fantasy
Valheim on HowLongToBeat
Valheim on IGDB
Valheim on MobyGames
Valheim on Wikipedia

Valheim is a singleplayer and multiplayer third-person action, simulation, building, survival and open world game.

The game was released in early access on February 2, 2021 on Steam, selling over three million copies by February 19.[3]

General information

Official subreddit
Official Discord server
Steam Community Discussions

Availability

Monetization

Type Notes
One-time game purchase The game requires an upfront purchase to access.

Microtransactions

Type Notes
No microtransactions Game does not contain any microtransactions.

Essential improvements

Improve the performance in OpenGL mode on Linux for AMD/Intel

Use the mesa_glthread=true %command% command line argument[citation needed]
  • Running the game with mesa_glthread=true %command% on Steam greatly improves the performance when running on Linux with the Mesa driver library for AMD/Intel GPUs in order to utilize multiple CPU cores. Not required in Mesa 21.1.

Improve performance

Edit boot.config file.[4]
  • Open boot.config (located in /steamapps/common/Valheim/Valheim_Data) with a text editor.
  • At the top of the file add:
    gfx-enable-gfx-jobs=1
    gfx-enable-native-gfx-jobs=1
    scripting-runtime-version=latest
  • Save File.

Notes

Warning: This can cause freezes/crashes when using Vulkan on certain hardware.[5]

Game data

Configuration file(s) location

System Location
Windows HKEY_CURRENT_USER\SOFTWARE\IronGate\Valheim\
Microsoft Store
Linux $XDG_CONFIG_HOME/unity3d/IronGate/Valheim/prefs
This game follows the XDG Base Directory Specification on Linux.

Save game data location

System Location
Windows %USERPROFILE%\AppData\LocalLow\IronGate\Valheim\
Microsoft Store
Linux $XDG_CONFIG_HOME/unity3d/IronGate/Valheim/

Save game cloud syncing

System Native Notes
Steam Cloud
Xbox Cloud

Video

Graphics Options
Graphics Options

Graphics feature State Notes
Widescreen resolution
Multi-monitor
Ultra-widescreen
4K Ultra HD
Text and icons on the map appear to use fixed pixel widths, making them difficult to read at 4K resolution.
Field of view (FOV)
Windowed
Borderless fullscreen windowed
Fullscreen mode defaults to borderless fullscreen.
Anisotropic filtering (AF)
See the glossary page for potential workarounds.
Anti-aliasing (AA)
On/off toggle.
Vertical sync (Vsync)
60 FPS and 120+ FPS
High dynamic range display (HDR)
There are no plans to implement native HDR support.
Ray tracing (RT)
The game engine may allow for manual configuration of the game via its variables. See the Unity page for more details.

HUD Settings

Hide HUD

The default hotkey to toggle the HUD is Ctrl+F3

Exclusive Fullscreen mode

Command line parameter[6]
  1. See Command line arguments.
  2. Type in -window-mode exclusive -screen-fullscreen
This can improve the performance but might cause issues when tabbing out of the game.

[7]

Force Vulkan on Windows

Command line parameter[8]
  1. See Command line arguments.
  2. Type in -force-vulkan

Console

Command line parameter[9]
  1. See Command line arguments.
  2. Type in -console

Input

Input settings
Input settings

Keyboard and mouse State Notes
Remapping
Open chat is hardcoded to Enter. Item belt hotkeys can't be remapped.
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
Full controller support
Added by the Steam Deck update on March 1.
Controller remapping
See the glossary page for potential workarounds.
Controller sensitivity
Controller Y-axis inversion
Enable the "Invert Mouse" option.
Controller types
XInput-compatible controllers
Xbox button prompts
Impulse Trigger vibration
PlayStation controllers
Doesn't read inputs correctly. May require Steam Input support to be enabled.
Generic/other controllers
Additional information
Controller hotplugging
Haptic feedback
Digital movement supported
Simultaneous controller+KB/M

Audio

Audio settings
Audio settings

Audio feature State Notes
Separate volume controls
Surround sound
Up to 7.1[10]; See Surround sound
Subtitles
There is no spoken dialogue.
Closed captions
Mute on focus lost
Royalty free audio

Surround sound

Patch one of Unity's standard configuration files in Valheim with SSound4Val.cmd[11]
Only applies to Windows installations.[Note 3]
See the README file on GitHub for up-to-date information on how to use SSound4Val.cmd.
  1. Download SSound4Val.cmd.
  2. (optional) Download the tool SFK separately and place the file sfk.exe in the same directory as SSound4Val.cmd. The script can do this automatically.
  3. Double-click SSound4Val.cmd. A command line window should appear. Depending on where the Valheim executable is located, you may have to instead Right Click the file and choose "Run as administrator" from the context menu.
  4. Follow the instructions provided by the script.
Or use this mod: SimpleAudioOptions[12]
Miscellaneous settings
Miscellaneous settings

Localizations

Language UI Audio Sub Notes
English
Bulgarian
Simplified Chinese
Czech
Danish
Finnish
French
German
Hungarian
Polish
Brazilian Portuguese
Romanian
Russian
Spanish
Swedish
Turkish

Network

Multiplayer types

Type Native Players Notes
LAN play
10 Co-op, Versus
The game can be played over LAN using the dedicated server.
Online play
10 Co-op, Versus
PVP can be turned on. Off by default

Connection types

Issues fixed

Game runs poorly on Vulkan in AMD on Linux

Force OpenGL mode

Run the game with -force-opengl or -force-glcore, additionally you can also run with mesa_glthread=true %command% -force-opengl (or -force-glcore) for much better performance. Will be fixed in the upcoming Mesa 21.1[citation needed]

Disable TearFree

The game runs poorly with TearFree enabled with AMDGPU and Vulkan.
xrandr --output DisplayPort-0 --set TearFree off
Change DisplayPort-0 to the name of your display (run xrandr to get a list)

Other information

API

Technical specs Supported Notes
Direct3D 11 Default API on Windows
OpenGL 4.5 Alternate API on Linux
Vulkan 1.2 Default API on Linux, alternate on Windows
Executable 32-bit 64-bit Notes
Windows
Linux

System requirements

Windows
Minimum Recommended
Operating system (OS) 7
Processor (CPU) 2.6 GHz Quad Core
System memory (RAM) 8 GB
Hard disk drive (HDD) 1 GB
Video card (GPU) Nvidia GeForce GTX 950
AMD Radeon HD 7970
DirectX 11 compatible
Other
A 64-bit operating system is required.
Linux
Minimum Recommended
Operating system (OS) Any up to date version
Processor (CPU) 2.6 GHz Dual Core
System memory (RAM) 8 GB
Hard disk drive (HDD) 1 GB
Video card (GPU) Nvidia GeForce GTX 950
AMD Radeon HD 7970
Other
A 64-bit operating system is required.


Notes

  1. Unity engine build: 2019.4.31f1[1]
  2. Unity engine build: 2022.3.17f1[2]
  3. The HEX-numbers used for searching and replacing, however, are likely OS independent.

References

  1. Verified by User:Baronsmoki on 2022-01-10
  2. Verified by User:Jams3223 on 2024-04-22
  3. Three Million Vikings! - last accessed on 2021-02-19
  4. Steam Community - last accessed on 28 May 2023
  5. Reddit - last accessed on 28 May 2023
  6. Steam Community - last accessed on 28 May 2023
  7. Reddit - last accessed on 28 May 2023
  8. Steam Community - last accessed on 28 May 2023
  9. Steam Community - last accessed on 28 May 2023
  10. Unity - Scripting API: AudioSpeakerMode - last accessed on 2023-11-21
  11. Verified by User:Nilbadimo on 2023-11-21
  12. Verified by User:Nilbadimo on 2024-04-25