art-from-the-machine / Mantella

Mantella is a Skyrim and Fallout 4 mod which allows you to naturally speak to NPCs using Whisper (speech-to-text), LLMs (text generation), and Piper / xVASynth / XTTS (text-to-speech).
https://art-from-the-machine.github.io/Mantella/
GNU Affero General Public License v3.0
186 stars 44 forks source link

Helpful error when wrong game is selected #219

Closed art-from-the-machine closed 6 months ago

art-from-the-machine commented 7 months ago

v0.11 introduces paths to multiple game folders in config.ini. With this comes the game setting where players select the game they are playing. If they try to run the exe without the correct game selected, an error like the below will display:

16:32:47.383 ERROR: "C:\Modding\MO2\SkyrimVR\mods\Mantella\Sound\Voice\Mantella.esp" does not exist!
The path set in config.ini: "C:\Modding\MO2\SkyrimVR\mods\Mantella"

While this error helps when the correct game is selected, if users don't intend to use eg Skyrim VR this message is confusing. A better approach would be to add an additional note to this error asking the player if the selected game is the one they are trying to connect to, and if not, suggest they change game in config.ini.