About the Valheim World Generator
This generator allows players to preview seeds for the game Valheim without actually playing the game. Players can quickly test seeds and view existing worlds fully explored without cheats.
The website uses Unity 2019. This is key because the original Valheim generator makes extensive use of the random primitives provided by the Unity engine. These random primitives are proprietary to unity and their source code is not released (without appropriate license). That means to run the same algorithm and get the same results we have to also run in unity.
Some other details are available on my reddit post here
Generator Tips
- Only the first trader you visit will spawn. The others will not actually be created.
- Is your seed or map wrong? See the below post!
- Mobile is not supported right now so I have no idea what the experience is. Sorry!
- Generating locations is super slow so while searching for a good terrain seed you can turn off location generation.
- Not all things are placed on all seeds! Some seeds will have less stuff.
- Freezing while the application is running is currently unavoidable, my apologies!
Seed/Map Wrong?
It turns out some incredibly subtle difference between web and PC prevent generation from being perfectly accurate all the time. If your seed isn't accurate and you want a work around I am now providing the same website program in application format. So far the application itself has had 100% perfect generation.
The app is exactly the same as the website except it sidesteps the subtle issues with webgl. Download it here. You'll need 7zip or winrar to unzip the file to a folder. Then just run Valheim World Generator and everything should work exactly the same except with no generator bugs.
This is not the final solution, and I am actively trying to fix the floating point issues with webgl. If you are particularly familiar with the Unity WebGL pipeline (especially IL2CPP and emscripten) I'd love your help. Just reach out below in the contact links. Thanks!
About Me
My day job is a Principal Software Engineer where I work on games and game adjacent products. During leisure I enjoy playing games of all sorts and Valheim has really been fun which inspired me to build this little project!
Enjoy the generator?
If things are working for you, great! If you feel so inclined you can buy me a coffee via PayPal