warpalicious-World_Gen_Accelerator icon

World Gen Accelerator

Increases the speed of generating a new world by ~60%

Last updated 3 weeks ago
Total downloads 623
Total rating 4 
Categories Mods Tools Server-side Client-side World Generation
Dependency string warpalicious-World_Gen_Accelerator-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333

README

WorldGenAccelerator

World Gen Accelerator

Decrease the time to generate a new valheim world by optimizing the location placement algorithim.

Features

  • Decreasen world generation time by roughly 60%.
  • Rewrites the location placement algorithim to use a biome cache instead of checking random points.
  • Compatible with ExpandWorldSize
  • You can install mod, generate world, then remove the mod.
  • Anonymous analytics to help improve the mod (opt-out available in config).

How It Works

The most time-consuming part of Valheim’s world generation is placing locations. The default (vanilla) system for placing these locations is quite inefficient.

For each location, the game repeatedly picks random points in the already generated world and checks whether they meet certain requirements. These requirements are defined in something called a Location Config, which includes conditions like biome type, altitude, and whether the area is forested.

If a randomly chosen point doesn’t meet all of these conditions, the game discards it and tries again. This process can repeat up to 5,000 times for some high-priority locations.

The main issue is that this method relies on completely random sampling, even though some of the required information—like the correct biome—is already known ahead of time. As a result, many attempts are wasted checking locations that could never work.

This mod improves the process by changing how points are selected. Instead of choosing from anywhere in the world, it first narrows the search to areas that already match the required biome. By avoiding unnecessary checks, this significantly speeds up world generation.

Donations/Tips

I make mods because I enjoy it and want to make Valheim more enjoyable for everyone. If you feel like saying thanks you can tip me here.

My Ko-fi: ko-fi

Source Code

Source code is available on Github.

Github Repository: MoreWorldLocations