Hogwarts Legacy SpellCaster
Hogwarts Legacy Spellcaster is a speech recognition tool designed to enhance your gameplay experience in Hogwarts Legacy. By recognizing your voice commands, it automatically casts spells in the game, making your wizarding journey even more immersive.
How It Works
-
Launch the Executable:
- Run the provided
Whisper-Spell.exe
file to start the program.
-
Choose Your Input Device:
- Select the device you are playing with: keyboard / gamepad.
-
Choose Your Microphone Device:
- Select the microphone you want to use for voice recognition.
-
Configure Your Keybindings:
- Open the
keybinding.txt
file.
- Organize your spellbars according to the game's setup. 4 lines for 4 spellbars, 4 columns for 4 spells (separated by a ; )
Supported Spells
- Accio broomstick / balais
- Smash
- Revelio
- Protego
- Appare Vestigium
- Petrificus Totalus
- Oppugno
- Alohomora
- Accio
- Descendo
- Depulso
- Flipendo
- Levioso
- Glacius
- Arresto Momentum
- Incendio
- Bombarda
- Expelliarmus
- Confringo
- Diffindo
- Imperio
- Avada Kedavra
- Crucio
- Wingardium Leviosa
- Lumos
- Nox
- Reparo
Note: The spell "Metamorphosis" is not supported at this time, as well as "Evanesco". Any other suggestion is welcomed !
Special Spells
In addition to the standard spells, the program supports a variety of special commands:
- Nox (deactivates Lumos)
- Smash (activates Ancient Magic)
- Appare Vestigium (reveals your current quest)
- Alohomora (unlocks doors)
- Accio Broomstick / Balais (summons your broomstick)
- Revelio (reveals points of interest)
- Petrificus Totalus (neutralizes enemies)
- Oppugno (launches objects at enemies)
- Dissipate (launch desilusion spell)
Acknowledgments
This project relies on the following open-source projects:
- whisper.cpp: A high-performance implementation of OpenAI's Whisper model for speech recognition.
- silero-vad: A powerful Voice Activity Detection (VAD) tool that helps in identifying when speech is present in an audio stream.
- PortAudio: A portable audio library designed to provide consistent audio input/output across various platforms.
- ViGEmClient: A powerful library to create virtual game controllers.
I highly recommend checking out these projects if you're interested in speech recognition, voice activity detection, audio processing, and virtualization of game controllers!
Support the Project
This project was created by Cornebidouil. If you have any questions, feedback, or just want to connect, feel free to reach out!
If you enjoy this project and would like to support its development :
ETH Wallet Address: 0x1F61fa7923d5E914A5Fdf36B584a1336fde20721
Join Our Discord Community
We invite you to join our Discord community to share your experiences, exchange tips, and discuss everything related to Hogwarts Legacy Spellcaster. We would love to have you there!
Join us on Discord
Thank you for your support and happy spellcasting!