You are viewing a potentially older version of this package. View all versions.
rising_g-Galdr-1.0.0 icon

Galdr

Voice magic for Valheim: name your spells with your own words and cast them out loud, with a keyboard or a gamepad. Install it through a language pack: Galdr_VoiceEN or Galdr_VoiceRU.

Date uploaded a week ago
Version 1.0.0
Download link rising_g-Galdr-1.0.0.zip
Downloads 35
Dependency string rising_g-Galdr-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 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.2360

README

Galdr

Galdr

How to install: pick a voice and install its package, Galdr_VoiceEN for English or Galdr_VoiceRU for Russian. Your mod manager pulls in Galdr with it. You can install both and switch in game.

Voice magic for Valheim. Staffs no longer fire when you click. They listen instead: you give each spell a word of your own and say it out loud while holding the cast key. "Fireball" works, and so does "grandma's pie". The runes learn your voice, not the meaning.

Speech recognition runs offline on your PC. Each language is a separate pack with the texts and a speech model. The interface follows your game language; the voice language is set in Esc → Galdr → Voice language.

Works with mouse and keyboard or a gamepad, solo or with friends.

Start in 60 seconds

  1. Join a world. After a few seconds Hugin tells you what to do.
  2. Press K and choose your native element (gamepad: hold block and click the right stick).
  3. Your first spell already has a word. In English it's flame, thunder, frost, shadow or healing; in Russian пламя, молния, холод, тьма or жизнь.
  4. Hold the back side mouse button (gamepad: block + Y), say the word and let go. That's your first spell.

Nothing happens? Open Esc → Galdr, pick your microphone and watch the level bar while you talk.

Later on, pick a spell in the window, press Bind word and say a word of your own three times. Anything works as long as it sounds unlike your other words, and longer words (two syllables or more) are recognised much better than short ones. Your voice can reach up to 4 spells at a time. While there is a free slot, a spell joins your loadout from anywhere; swapping one out is done at a rune altar. Hugin also drops an old book at your feet that explains the rest.

What's inside

  • Five elements: fire, lightning, ice, dark and life, each with its own job. Fire is for crowds. Lightning hits instantly and staggers. Ice pierces a line of enemies and holds it. Dark weakens enemies for the whole group. Life heals and shields. Each element has five spells and a charm, and there are five more spells that mix two elements.
  • Every spell has its own ranks for power, mana cost and cooldown.
  • Knowledge instead of levels. You earn it from spell hits, kills (more in the later lands), runestones, trophies offered at the rune altar, mead of wisdom and sorcerers' notes found in chests.
  • Higher tiers open as the Forsaken (bosses) fall. The spell circle and the book reveal more as you go.
  • Its own mana, with mana dishes for every land from the Meadows to the Deep North, mana potions and a rune amulet. Mana comes back faster while Rested and next to the rune altar.
  • Made for Valheim 1.0: the Forsaken of the Deep North counts like the other seven, and the new staves get their element from the damage they deal.
  • Armor for your element: a matching set makes its spells stronger and cheaper.
  • Foci, worn in place of a trinket: a big boost to one element with a real drawback.
  • Weather, time of day and the land change how strong each element is. Fire is weaker while you're wet, and heavy iron armor slows your mana.
  • Element reactions. Fire shatters frozen enemies, lightning overloads burning ones and electrocutes wet ones. It works with your friends' spells too, and when it happens you both get a little Knowledge.
  • Weapon runes. From an element's third tier you can lay its rune on the weapon in your hand. For a minute or twenty hits, fire burns, ice slows, lightning jumps to a neighbour, dark returns mana and life heals you. Rune hits leave marks, so a burning blade can shatter an enemy your friend has frozen.
  • Rune-wise enemies: runebound creatures that resist magic, mana eaters and silencer shamans.
  • Techniques found in dungeon chests change a spell for good.
  • Creatures have elemental weaknesses and resistances, the same way they do for weapons.
  • Three loadouts to switch between at the rune altar, and a Chronicle page in the book that tracks your spells, kills and biggest hit.
  • Whisper a word and creatures won't hear it. Shout it and the spell hits harder, but everything nearby hears you.
  • Summons fight for you in PvP too.
  • Magic backs up your weapon rather than replacing it. Mana runs out fast.

Controls

Key What it does
K galdr window
back side mouse button hold and speak a word. Shout for a stronger spell, whisper so creatures don't hear
back side mouse button + 1–9 quick cast: the spell in that loadout slot, no word needed
say "rune" + an element weapon rune: "rune fire", "rune ice", or "rune" and the word of any spell of that element
back side mouse button + Shift + 1–9 the same without your voice: the rune of that slot's element (+ 0 for the element of your last spell)
Y yes, when the runes ask whether a word they heard was yours
E on your summon follow / hold position
Shift + E on your summon dismiss it
← → turn the book's pages
Esc close the window

Microphone and keys are set in game under Esc → Galdr. There you can also check whether the mod hears you, see what the runes heard during play, measure your room's background noise, and choose how listening works: hold the key, press to toggle, or always on while holding a staff. The runes also learn how you say your words, so recognition gets better as you play. Every balance number lives in BepInEx/config/com.galdr.voicemagic.cfg.

Gamepad

On a gamepad, magic goes through the game's block button (LT, or LB in the game's first alternative layout). While block is held the game ignores the buttons below, and you can still raise your shield as usual.

Gamepad What it does
block + Y hold and speak a word
block + D-pad ↑ → ↓ ← spells 1–4 of your loadout
block + X spell 5
block + A weapon rune for the element of your last spell
block + right stick click accept a word the runes suggest; if there's nothing to accept, open the galdr window

In the galdr window and the settings you get a pointer, and the book turns its pages with the shoulder buttons:

Gamepad What it does
right stick move the pointer
D-pad jump to the nearest button
A press
B close the window
left stick, LB / RB pan and zoom the spell circle
Y hold and speak when binding a word; test the microphone in the settings
LB / RB or D-pad ← → turn the book's pages

Button names match your controller (Xbox or PlayStation). Moving the mouse hides the pointer. Both can be turned off in the config with GamepadMagic and GamepadCursor.

Playing with friends

Everyone needs the mod and a language pack. Put Galdr on your dedicated server too: then balance and loot chances are shared, and books are counted per world. A world has as many books as players who have joined it.

A dedicated server only needs Galdr itself, no language pack, since it never hears or shows anything. Without a pack the descriptions in the server's config show up as keys (cfg.…). If you want readable text there, copy GaldrEN.lang from the English pack next to Galdr.

Galdr doesn't clash with in-game voice chat mods such as ProximityVoiceChat: it reads the microphone separately.

Languages

Each language is a pack: a Galdr<CODE>.lang file with every text, the stop words and the voice settings, plus a Vosk speech model next to it. The English and Russian packs are updated with every X.Y.0 version of Galdr (packs 2.0.0 go with Galdr 1.0.0). Smaller updates carry their few new lines inside Galdr itself, so then you only update Galdr.

To add a language, copy GaldrEN.lang to something like GaldrDE.lang anywhere in BepInEx/plugins, translate it, set @code = de and @game = German, and put a German Vosk model in the same folder.

If something doesn't work

  • Your voice isn't picked up. Open Esc → Galdr, choose your microphone and check the level meter.
  • One word gets mistaken for another. Use a longer word that sounds different from the rest.
  • Something broke. Press Esc → Galdr → Copy report and paste it into your message. It includes versions, the microphone, the recognition state and the last words heard. You can also send BepInEx/LogOutput.log; Galdr's lines start with Galdr.
  • An item, creature or Forsaken is missing or acting odd, or a spell feels too strong or too weak next to a weapon. Type galdrscan in the console (F5, devcommands not needed) and send BepInEx/Galdr-scan.txt.
  • "The language pack is out of date". Update Galdr_VoiceEN or Galdr_VoiceRU. They come out together with every X.Y.0 version of Galdr.

Anonymous statistics

To see how many people play Galdr, how they play and what gets in their way, the mod sends short anonymous reports:

  • once per game launch: a random install number generated on your computer (not tied to Steam, your name or your hardware), the Galdr version, the interface language and the game version.
  • every half hour of play (or at the next launch if you quit sooner), counters only:
    • minutes played, magic and weapon damage in each biome, deaths, time in combat and time in combat without enough mana for your cheapest spell;
    • how often each spell was cast by voice, by key and by gamepad, and why casts failed (cooldown, mana, no target, not in the loadout, unsure word, nothing recognised);
    • how well each spell's word is recognised: recognised, almost recognised, words the runes suggested, accepted and declined, words changed. Never the words themselves;
    • your progress: native element, total ranks, highest tier, spells opened, Forsaken defeated in the world and by your own hand, each spell's ranks and whether it's in your loadout, rank resets;
    • element reactions, weapon runes and reactions with friends, the most Galdr players near you and for how long, the most players in the world;
    • who you play with: minutes solo, in a duo, trio, four or five and more, counted for the whole server and for players within 50 m of you;
    • which book chapters you opened and which of Hugin's hints you saw;
    • your settings, as on/off or a number (listen mode, quick cast, word bar, gamepad and so on; whether you set your own cast key or microphone, but not which one);
    • pace: how many minutes into playing with Galdr you first reached each step (picked an element, cast, bound your own word, opened each tier, laid a rune, saw each Forsaken fall);
    • Knowledge: where it came from (casting, kills, Forsaken, runestones, trophies, mead, notes, healing, shared reactions) and what it went into (spells, ranks, the core);
    • damage and hits for each spell;
    • which Galdr dishes, potions, meads and notes you used;
    • how often and how long you have the galdr window, the settings and the book open, how much of that with the gamepad pointer, and whether you pressed Copy report;
    • deaths in combat, without mana and from your own magic (a misfire, or lightning while wet), whispered and shouted spells, loadout switches, commands to summons, runes by element;
    • for each bound word: how many letters and syllables it has, whether it's your own or the starter word, and how confident the runes were. Never the word itself;
    • what you wear and where you play: charm, focus, full armor set, rune amulet level, techniques found, and whether it's your own world, with guests, or someone else's server with or without Galdr;
    • speed: how long the speech model took to load, how long recognition takes, frames per second and the share of slow frames;
    • how many other mods you run (as a range, like 6–15) and whether a few well-known ones are among them (Valheim Plus, Epic Loot, Jötunn, Valheim Legends, Creature Level & Loot, devcommands, other magic, voice chat or RPG mods). Yes or no only, no other names;
    • whether anything that skews the numbers was on during that half hour: the game's cheats (devcommands, god mode, ghost, fly, no cost), Galdr's test commands, balance settings changed from the defaults, or world modifiers that change combat, resources or skills. Yes or no for each, so clean play can be looked at separately;
    • how many errors and warnings Galdr wrote to the log and which part of the mod they came from, without the error text;
    • whether voice recognition works.
  • your rating, only if you give one: the Rate the magic button at the bottom of Esc → Galdr asks "How do you like Galdr's magic?" (1 to 5) and what gets in the way most (voice, balance, controls, windows and texts, or nothing). The answer is sent with the counters. You can change it there any time; the latest one counts. Galdr never asks on its own.

That's all: no names, worlds, chat, spoken words or folder paths, and the counter doesn't store IP addresses. Dedicated servers send nothing.

  • To turn it off, use the switch at the bottom of Galdr's settings window, or set SendStats = false in Galdr's config (section 9. Debug). From then on nothing is sent, and the rating button is disabled.
  • To be forgotten, delete BepInEx/config/Galdr/install.id. The next launch gets a new random number that can't be linked to the old one.

Credits

The Galdrabók is handwritten in Caveat, and its runes use Noto Sans Runic. Both fonts are under the SIL Open Font License 1.1 (see LICENSE-fonts.txt next to Galdr.dll). Page sounds: "Book Flip Sounds" by Voltiment555 (OpenGameArt, CC0). Speech recognition: Vosk by Alpha Cephei, Apache 2.0.

Contact

Bugs, ideas, questions: [email protected]. Please paste the report from Esc → Galdr → Copy report, or attach BepInEx/LogOutput.log.

Known limits

  • Voice packs exist for English and Russian only.
  • Not tested much with large groups or on crossplay servers. Console players can't run mods and won't see spell effects.
  • Spells are calculated on the caster's PC, just like weapon hits in Valheim itself, so the mod is meant for playing with people you trust.
  • galdr … console commands need devcommands, which turn off achievements in Valheim 1.0. galdrscan doesn't.

CHANGELOG

1.0.0

Gamepad support, a more even balance between the elements, and a book that explains everything.

  • Gamepad. Magic sits on the game's block button (LT, or LB in the first alternative layout). Hold block and press Y to speak a word, the D-pad for spells 1–4 of your loadout, X for the fifth and A for a weapon rune. Clicking the right stick accepts a word the runes suggest, or opens the galdr window when there's nothing to accept (this works before you pick an element too). While block is held, the game ignores these buttons. Button names match your controller, Xbox or PlayStation. Config: GamepadMagic.
  • Pointer in Galdr's windows. In the galdr window and the settings, the right stick moves a pointer, the D-pad jumps between buttons, A presses and B closes. The left stick pans the spell circle and LB/RB zoom it. To bind a word, hold Y and speak. The book turns pages with LB/RB or the D-pad. Moving the mouse hides the pointer. Config: GamepadCursor.
  • If you bound the cast key to a gamepad button in 0.9.5–0.9.8, it goes back to the back side mouse button. On a gamepad you now cast with block + Y.
  • Balance. Every element now does roughly 30–50% of a weapon's damage to a single target over a fight, from the Meadows to the Ashlands, and none of them runs away with it.
    • Power per rank 6% → 5%. World Resonance 25% → 22% per Forsaken.
    • Firebolt 8 → 9, Ignite 14 → 17, Spark 10 → 11, Ice Shard 11 → 13, Hoarfrost 15 → 20, Fimbulwinter 20 → 24, Hel's Gate 2.5% → 3.5% health per second.
    • Two-element spells: Ice Storm 45 → 28, Hel's Chains 15 → 22.
    • Mana barely regenerates for 1.5 s after each spell (a quarter of the usual rate), like the game's stamina and eitr, so the first spell can no longer be cast forever. In return the base mana pool is 40 → 60. A second mana dish adds half of what it would alone, a third a quarter. Config: ManaCastPause, ManaCastRegen, ManaFoodStack.
    • Your config picks up the new numbers once. Anything you changed yourself is kept.
  • Easier aiming. Targeted spells pick the enemy closest to your crosshair within a narrow cone (a bit wider up close). If nobody is there, they take the nearest enemy within 6 m in front of you. "No target in sight" should be rare now.
  • Co-op fixes. Summoned creatures no longer drop loot, and their commands work for every player, dedicated servers included. Balance settings are only accepted from the server.
  • Loadout. While your loadout has a free slot, a spell can be added from anywhere, so your first spells no longer need a trip to the altar. Removing or swapping one still happens at a rune altar. A new Loadout button in the galdr window brings back the overview with your words and the three saved loadouts.
  • Galdrabók. The book is now a handwritten journal: the author's sketches and notes in the margins, a few crossed-out words, a map scrap stuck in with resin, lines of runes for those who can read them, and pages that turn with their text on them, with a rustle of paper. A new chapter, "What each element is for", helps you pick a native element. The rune chapter covers laying a rune without your voice, and the hint at the bottom of the book shows gamepad buttons when you're on one.
  • Sounds and looks. Galdr's windows now look like the game's own settings, and its buttons click like the game's own. Buying a rank sounds like the game's skill level-up, and there's a quiet cue when the runes start listening (turn it off with ListenSound). The book and the sorcerers' notes have new icons and no longer glow white on the ground, and a few spell icons lost a grey smudge behind them. The mana bar grows with your maximum mana, like the health bar.
  • Fixes. Hugin no longer takes away a book lying next to you and drops a new one every minute and a half.
  • Texts. Everything was proofread again. Language packs 2.0.0 contain all of Galdr 1.0.0's text; if your pack is older, the game tells you.

0.9.8

Each element plays its own way, and magic backs up your weapon instead of replacing it.

  • Fire burns crowds, lightning strikes and staggers, ice pierces a line of enemies and holds it, dark weakens enemies for the whole group, life heals the people around you.
  • Magic grows with its skill like a weapon: 50% power at skill 0, 100% at 100.
  • Thor's Wrath and Thunderclap hit less hard.

0.9.7

  • The first tier no longer outdamages the weapons of its own biome: longer cooldowns, full mana cost, ranks cut less, and a 1 second cooldown floor (MinCooldown).
  • galdrscan also lists the game's weapons, to compare the balance against real numbers.

0.9.6

  • Fixed boss counting for Valheim 1.0: the Forsaken of the Deep North counts, and the Queen's second form is no longer taken for a new boss.

0.9.5

  • Runes on weapons: lay your element on the blade for a minute or twenty blows.
  • Reactions between your spells and your companions' spells.
  • First gamepad support, and a warning when a language pack is out of date.

0.9.1

  • Deep North items, armor sets and staves checked against Valheim 1.0.

0.9.0

Ready for Valheim 1.0 and the Deep North.

  • Mana food for the last lands, the new staves of Valheim 1.0, a stronger first evening.
  • Progress is tied to the character and can't get lost or mixed up between worlds.

0.8.6

  • Charms became passive skills, and spells of two elements are open to every caster.
  • Say "again" to repeat your last spell.
  • Fixed the settings window not opening in 0.8.5.

0.8.5

  • Galdr's windows follow the game's GUI scale.
  • Mana food rebalanced against the game's eitr food.
  • Smaller fixes to Ward, healing effects and staves.

0.8.2

A faster start and clearer feedback when the voice doesn't get through.

  • Your first spell comes with a ready word, and Hugin explains how to start right after you join.
  • Galdr tells you whether the microphone is silent or just too quiet.
  • Every spell got its own sound from the game.

0.8.1

  • The game's staves became Galdr staves: same models and recipes, but they listen to your voice.
  • Dark and life train Blood Magic, the other elements train Elemental Magic.

0.8.0

  • New lightning, new icons, and the interface follows the game's language.
  • Fixed the fire bolt looking as if it exploded on the caster.

0.7.9

  • Armor protects against spells, and crowd control on players is shorter in PvP.
  • Element armor sets got their own bonuses. Dark magic toned down.

0.7.8

  • Loadouts: your voice calls on up to 4 spells at a time, changed at a rune altar.

0.7.7

  • All texts, stop words and speech models moved into language packs.

0.7.6

  • Install a voice pack and Galdr comes with it.

0.7.5

  • English voice (Galdr_VoiceEN). Speech models moved into their own packages.

0.7.0

  • Element reactions, spell sounds, the Voice & keys window, a microphone level meter.
  • Rune-wise enemies appear after the first Forsaken falls.

0.6.5

  • Balance pass: weather, foci, heavy armor and technique scrolls are less generous.

0.6.0

  • Foci, trophies at the rune altar, weather and time of day, techniques found in chests.

0.5.0

  • A rune circle under your feet when you cast, the spoken word above your head, element marks on the ground.

0.4.0

  • New dark effects, a second mana food in each land, mana potions, sorcerers' notes in chests.

0.3.0

  • Element charms, element armor sets, spell icons. Magic costs more and is meant as support.

0.2.0

  • The Galdrabók, the galdr window redone in the game's style, mead of wisdom and the rune amulet.

0.1.0

  • First build for friends.