Wind

How wind works in this game

Each time a new hole is started, the game's random number generator (RNG) is used to create a wind "anchor" or base. This anchor is both a direction and a magnitude or wind strength. For each shot, including the first, a "variance" is calculated from the RNG stream. The breakdown of this variance effect is roughly:

If the 1 MPH weaker case would push the wind "negative", the wind direction is reversed. Otherwise the wind direction will remain the same for the entire hole.

If after applying the variance the wind magnitude is 10 or greater, the game lops off 5 MPH to bring it back to single digits.

Due to the game's RNG algorithm, anchor directions and magnitude are not completely independent. Each direction can only be paired with four of the possible magnitude values. This is true for the vanilla game and for the randomizer with the "Vanilla" profiles selected. The other randomizer profiles do not have this constraint.

The Wind Fix

In the vanilla game, there is a buffer overrun on a table read that causes wind in certain directions to behave wrongly. The clearest examples of this are that due east and due west crosswinds have a strong south or north (respectively) component.

The randomizer, since v4.0.0, fixes this programming issue in the vanilla game. All wind pushes exactly the direction the in-game arrow points, at exactly the strength the game's UI indicates.

Seeded wind

In order to ensure that every player of a seed has to deal with the same wind conditions, the wind RNG is seeded for all randomizer ROMs at seed generation time. This includes both the wind anchor for each hole, as well as the variance for each individual shot.

Randomizer wind profiles

The randomizer includes the ability to pre-set the wind anchor for each hole according to a pair of "wind profiles". A wind profile is essentially the rule that seed generation uses to assign wind anchors for each hole. There are two types of profiles: speed profiles and direction profiles. Each is responsible for one component of the wind anchors. Each can be chosen independently.

Speed profiles

We bucket the 11 possible wind anchor magnitudes (0-10) into three strength categories:

10 is lumped into "Moderate" because after applying the -5 MPH reduction to get into single digits it ends up playing more like "moderate with occasional gusts".

You can choose a speed profile in the "Roll Seed" page to determine what category/categories (Gentle, Moderate, Strong) the wind will anchor at for the course.

The ramps and transitions mentioned above are deliberately rough. It's meant to simulate some gusts or windy moments preceding or following a larger storm.

Direction profiles

In the non-vanilla options below, the directions are always somewhat "loose". If a tailwind needs to be picked as an anchor direction for a hole, a direction in a cone of five compass points, centered around due North, would be chosen. The middle three directions are twice as likely to be chosen as the outer two directions.