Hogwarts Legacy
0 of 0

File information

Last updated

Original upload

Created by

Convai

Uploaded by

Convai

Virus scan

Safe to use

122 comments

  1. Convai
    Convai
    • member
    • 5 kudos
    Locked
    Sticky
    If the mod is not working for you, Please follow these steps before posting

    • Delete all the files in convai folder except main.exe, roots.pem and api_key.txt and relaunch the game and try again, if it still does not work follow the below steps.
    • Find the UE4SS.log file in HogwartsLegacy\\Phoenix\\Binaries\\Win64  (make sure to enable file extensions in view) 
    • Copy and paste the last 30 lines from that file in your post

    Possible reasons for the mod not working

    • Exceeding the limits of free tier which offers 100 interactions daily
    • Not enabling microphone 
    • Forgetting to add api key
    • Not copying main.exe from gdrive link to convai folder
    • Haven't updated game or graphics drivers in a while (unlikely but possible)

    Discord
    If you prefer asking in discord, you can join convai's discord server and tag @akshitireddy with your question.
    https://discord.gg/7sBstDtJ8N
  2. denytheemu
    denytheemu
    • member
    • 0 kudos
    Could you help me understand how to get the mod working? I signed up (I guess?) and received a verification email from convai, but I keep getting errors that it failed to connect to the server or log me in. Also, I tried to contact support, but it seems you need to be signed in to do that, which is a bit ironic. It feels overly complicated to be worth my time.
  3. LordoDemoneska
    LordoDemoneska
    • member
    • 0 kudos
    Как только данный мод встречает похожие моды происходит вылет с игры и игра больше не запускается тоже самое происходит и если в модах есть похожие компоненты. Смысл его ставить если он крашит игру по тем или иным причинам.
    1. Convai
      Convai
      • member
      • 5 kudos
      try replacing this file"C:\Program Files\Epic Games\HogwartsLegacy\Phoenix\Binaries\Win64\Mods\ConvaiMod\Scripts\main.lua"
      with this one
      https://drive.google.com/file/d/1pslJStEeFq0gLpuaST6mGQ9fPlPSdsIW/view?usp=drive_link
  4. NonEuclideanMurray
    NonEuclideanMurray
    • premium
    • 0 kudos
    Is it possible to use other tts services for the audio? Such as a azure or elevenlabs api key?
  5. sandmoose13
    sandmoose13
    • premium
    • 4 kudos
    Nice try, government.
  6. Lyrahstine
    Lyrahstine
    • member
    • 0 kudos
    [2024-02-27 17:21:26] [Lua]     AssetName == ModActor_C
    [2024-02-27 17:21:26] [Lua]     Name == convaiblueprintmod
    [2024-02-27 17:21:26] [Lua]     AssetPath == /Game/Mods/convaiblueprintmod/ModActor
    [2024-02-27 17:21:26] [Lua]     AssetNameAsFName == FNameUserdata: 0000000097D216B8
    [2024-02-27 17:21:26] Starting Lua mod 'BPML_GenericFunctions'
    [2024-02-27 17:21:26] Mod 'jsbLuaProfilerMod' disabled in mods.txt.
    [2024-02-27 17:21:26] Starting Lua mod 'Keybinds'
    [2024-02-27 17:21:26] Starting Lua mod 'ConvaiMod'
    [2024-02-27 17:21:26] Starting mods (from enabled.txt, no defined load order)...
    [2024-02-27 17:21:26] Event loop start
    [2024-02-27 17:21:27] [Lua] [ConsoleEnabler] ConsoleKey[1]: F10
    [2024-02-27 17:21:27] [Lua] [ConsoleEnabler] ConsoleKey[2]: `
    [2024-02-27 17:21:27] [Lua] Loading mod: convaiblueprintmod
    [2024-02-27 17:21:27] [Lua] Actor: ModActor_C /Game/Levels/RootLevel.RootLevel:PersistentLevel.ModActor_C_2147474998
    [2024-02-27 17:21:27] [Lua] PreBeginPlay not valid
    [2024-02-27 17:21:27] [Lua] PostBeginPlay not valid
    [2024-02-27 17:21:37] [Lua] [SpellSetSwitcher] Spell Slot UI Started
    [2024-02-27 17:21:37] [Lua] [DateTimeHUD] Initialized
    [2024-02-27 17:21:37] [Lua] PostBeginPlay not valid
    [2024-02-27 17:22:36] [Lua] [ConsoleEnabler] ConsoleKey[1]: F10
    [2024-02-27 17:22:36] [Lua] [ConsoleEnabler] ConsoleKey[2]: `
    [2024-02-27 17:22:36] [Lua] Loading mod: convaiblueprintmod
    [2024-02-27 17:22:36] [Lua] Actor: ModActor_C /Game/Levels/Overland/Overland.Overland:PersistentLevel.ModActor_C_2147460387
    [2024-02-27 17:22:36] [Lua] PreBeginPlay not valid
    [2024-02-27 17:22:36] [Lua] PostBeginPlay not valid
    [2024-02-27 17:22:37] [Lua] [SpellSetSwitcher] Spell Slot UI Started
    [2024-02-27 17:22:37] [Lua] [DateTimeHUD] Initialized
    [2024-02-27 17:22:37] [Lua] PostBeginPlay not valid
    [2024-02-27 17:22:37] [Lua] [DateTimeHUD] Added Main HUD
    [2024-02-27 17:22:37] [Lua] [DateTimeHUD] Added Minimap HUD
    1. Convai
      Convai
      • member
      • 5 kudos
      try replacing this file
      "C:\Program Files\Epic Games\HogwartsLegacy\Phoenix\Binaries\Win64\Mods\ConvaiMod\Scripts\main.lua"
      with this one
      https://drive.google.com/file/d/1pslJStEeFq0gLpuaST6mGQ9fPlPSdsIW/view?usp=drive_link
  7. Lyrahstine
    Lyrahstine
    • member
    • 0 kudos
    What do you do if you have other mods installed already? I can't just replace my Phoenix folder 
    1. Lyrahstine
      Lyrahstine
      • member
      • 0 kudos
      nevermind
  8. karuta096
    karuta096
    • member
    • 0 kudos
    [2024-02-22 08:54:01] Starting Lua mod 'ConsoleCommandsMod'[2024-02-22 08:54:01] Starting Lua mod 'ConsoleEnablerMod'[2024-02-22 08:54:01] [Lua] [ConsoleEnabler] Was unable to find an instance of UEngine[2024-02-22 08:54:01] Mod 'SplitScreenMod' disabled in mods.txt.[2024-02-22 08:54:01] Mod 'LineTraceMod' disabled in mods.txt.[2024-02-22 08:54:01] Starting Lua mod 'BPModLoaderMod'[2024-02-22 08:54:01] [Lua] Mods/BPModLoaderMod/load_order.txt not present or no matching mods, loading all BP mods in random order.[2024-02-22 08:54:01] [Lua] convaiblueprintmod == table: 000000020AD4C560[2024-02-22 08:54:01] [Lua]     AssetNameAsFName == FNameUserdata: 00000001BAA4F9B8[2024-02-22 08:54:01] [Lua]     AssetName == ModActor_C[2024-02-22 08:54:01] [Lua]     AssetPath == /Game/Mods/convaiblueprintmod/ModActor[2024-02-22 08:54:01] [Lua]     Name == convaiblueprintmod[2024-02-22 08:54:01] Starting Lua mod 'BPML_GenericFunctions'[2024-02-22 08:54:01] Mod 'jsbLuaProfilerMod' disabled in mods.txt.[2024-02-22 08:54:01] Starting Lua mod 'Keybinds'[2024-02-22 08:54:01] Starting Lua mod 'ConvaiMod'[2024-02-22 08:54:01] Starting mods (from enabled.txt, no defined load order)...[2024-02-22 08:54:01] Event loop start[2024-02-22 08:54:04] [Lua] [ConsoleEnabler] ConsoleKey[1]: F10[2024-02-22 08:54:04] [Lua] [ConsoleEnabler] ConsoleKey[2]: `[2024-02-22 08:54:04] [Lua] Loading mod: convaiblueprintmod[2024-02-22 08:54:04] [Lua] Actor: ModActor_C /Game/Levels/RootLevel.RootLevel:PersistentLevel.ModActor_C_2147474999[2024-02-22 08:54:04] [Lua] PreBeginPlay not valid[2024-02-22 08:54:04] [Lua] PostBeginPlay not valid[2024-02-22 08:56:19] [Lua] [ConsoleEnabler] ConsoleKey[1]: F10[2024-02-22 08:56:19] [Lua] [ConsoleEnabler] ConsoleKey[2]: `[2024-02-22 08:56:19] [Lua] Loading mod: convaiblueprintmod[2024-02-22 08:56:19] [Lua] Actor: ModActor_C /Game/Levels/Overland/Overland.Overland:PersistentLevel.ModActor_C_2147460461[2024-02-22 08:56:19] [Lua] PreBeginPlay not valid[2024-02-22 08:56:19] [Lua] PostBeginPlay not validI'm sorry to bother you, but I'm sure I followed the installation tutorial and even if I replaced the f6, the f7 button wouldn't have helped. And nothing happens when I press the button
    1. Convai
      Convai
      • member
      • 5 kudos
      is this the last line [Lua] PostBeginPlay not valid ? do you have any other mods installed ? 
    2. karuta096
      karuta096
      • member
      • 0 kudos
      [2024-02-23 08:37:50] m_shared_functions: 0x7ff9cf4bd690[2024-02-23 08:37:50] Enabling custom events[2024-02-23 08:37:50] Starting mods (from mods.txt load order)...[2024-02-23 08:37:50] Mod 'ActorDumperMod' disabled in mods.txt.[2024-02-23 08:37:50] Starting Lua mod 'ConsoleCommandsMod'[2024-02-23 08:37:50] Starting Lua mod 'ConsoleEnablerMod'[2024-02-23 08:37:50] [Lua] [ConsoleEnabler] Was unable to find an instance of UEngine[2024-02-23 08:37:50] Mod 'SplitScreenMod' disabled in mods.txt.[2024-02-23 08:37:50] Mod 'LineTraceMod' disabled in mods.txt.[2024-02-23 08:37:50] Starting Lua mod 'BPModLoaderMod'[2024-02-23 08:37:50] [Lua] Mods/BPModLoaderMod/load_order.txt not present or no matching mods, loading all BP mods in random order.[2024-02-23 08:37:50] [Lua] convaiblueprintmod == table: 0000000213D59920[2024-02-23 08:37:50] [Lua]     AssetPath == /Game/Mods/convaiblueprintmod/ModActor[2024-02-23 08:37:50] [Lua]     AssetNameAsFName == FNameUserdata: 00000001BD7E30D8[2024-02-23 08:37:50] [Lua]     Name == convaiblueprintmod[2024-02-23 08:37:50] [Lua]     AssetName == ModActor_C[2024-02-23 08:37:50] Starting Lua mod 'BPML_GenericFunctions'[2024-02-23 08:37:50] Mod 'jsbLuaProfilerMod' disabled in mods.txt.[2024-02-23 08:37:50] Starting Lua mod 'Keybinds'[2024-02-23 08:37:50] Starting Lua mod 'ConvaiMod'[2024-02-23 08:37:50] Starting mods (from enabled.txt, no defined load order)...[2024-02-23 08:37:50] Event loop start[2024-02-23 08:37:57] [Lua] [ConsoleEnabler] ConsoleKey[1]: F10[2024-02-23 08:37:57] [Lua] [ConsoleEnabler] ConsoleKey[2]: `[2024-02-23 08:37:57] [Lua] Loading mod: convaiblueprintmod[2024-02-23 08:37:57] [Lua] Actor: ModActor_C /Game/Levels/RootLevel.RootLevel:PersistentLevel.ModActor_C_2147474999[2024-02-23 08:37:57] [Lua] PreBeginPlay not valid[2024-02-23 08:37:57] [Lua] PostBeginPlay not valid[2024-02-23 08:40:08] [Lua] [ConsoleEnabler] ConsoleKey[1]: F10[2024-02-23 08:40:08] [Lua] [ConsoleEnabler] ConsoleKey[2]: `[2024-02-23 08:40:08] [Lua] Loading mod: convaiblueprintmod[2024-02-23 08:40:08] [Lua] Actor: ModActor_C /Game/Levels/Overland/Overland.Overland:PersistentLevel.ModActor_C_2147460592[2024-02-23 08:40:08] [Lua] PreBeginPlay not valid[2024-02-23 08:40:08] [Lua] PostBeginPlay not valid[2024-02-23 08:40:39] [Lua] user input set to audio in file.[2024-02-23 08:40:39] [Lua] ===============================================[2024-02-23 08:40:39] [Lua] Convai Mod Interaction Started[2024-02-23 08:40:39] [Lua] Nearest Character Name: GreyLady[2024-02-23 08:40:39] [Lua] <BPMod>Finding Nearest Character</BPMod>[2024-02-23 08:40:39] [Lua] <BPMod>Nearest Character found is: GreyLady</BPMod>[2024-02-23 08:40:39] [Lua] Selected Character ID: 3bceba74-9b6d-11ee-9bda-42010a40000f[2024-02-23 08:40:39] [Lua] Selected Session ID: [2024-02-23 08:40:39] [Lua] Character ID written to file.[2024-02-23 08:40:39] [Lua] Session ID written to file.[2024-02-23 08:57:29] [Lua] [ConsoleEnabler] ConsoleKey[1]: F10[2024-02-23 08:57:29] [Lua] [ConsoleEnabler] ConsoleKey[2]: `[2024-02-23 08:57:33] [Lua] [ConsoleEnabler] ConsoleKey[1]: F10[2024-02-23 08:57:33] [Lua] [ConsoleEnabler] ConsoleKey[2]: `[2024-02-23 08:57:33] [Lua] Loading mod: convaiblueprintmod[2024-02-23 08:57:33] [Lua] Actor: ModActor_C /Game/Levels/Overland/Overland.Overland:PersistentLevel.ModActor_C_2147357686[2024-02-23 08:57:33] [Lua] PreBeginPlay not valid[2024-02-23 08:57:33] [Lua] PostBeginPlay not valid
      yes,I just uninstalled all the mods, changed the buttons, and re-entered the game, but it still doesn't work
    3. Convai
      Convai
      • member
      • 5 kudos
      can you delete all the files in convai folder except main.exe, roots.pem , api_key.txt and then relaunch the game and try the mod with Poppy sweetings or a similar character, i think the mod failed when it tried to perform lipsync on grey lady who is a ghost i think?
    4. karuta096
      karuta096
      • member
      • 0 kudos
      I tried it the way you did, and when I pressed those two buttons in the game, a window popped up with a few strings of code, and then the window flashed back, and the game still didn't change, what should I do?
    5. Convai
      Convai
      • member
      • 5 kudos
      Was the mod working for you before? Is there anything in response.txt, lipsync.txt, or the other text files except apikey.txt and getresponseconfigexamole.txt ? Can you double click on main.exe , set the value in user_input_method text file to text before double clicking on main.exe, after that check if you can hear any voice reply after you type your message.
    6. karuta096
      karuta096
      • member
      • 0 kudos
      There are nothing in the text. main cannot be opened either before or after the usermethodofinput value is changed to text. The window automatically exits when it opens
    7. Convai
      Convai
      • member
      • 5 kudos
      does get_response_config_example.txt have your api key , character id, and other info and was the mod working for you before?
    8. karuta096
      karuta096
      • member
      • 0 kudos
      character_id: “3bceba74-9b6d-11ee-9bda-42010a40000f” api_key: “” audio_config { sample_rate_hertz: 44100 } action_config { actions: “加入” actions: “离开” actions: “离开” actions: “跟随” actions: “停止行走” actions: “移动到位置” objects { name: “魔杖” description: “一根可以施展魔法的魔杖.” }characters { name: “玩家” bio: “一个巫师, 他会要求你跟着他,在一个地方停下来等待,直到他告诉你再次跟着他或离开, 搬到某个地方,离开他或和他一起冒险。分类: "多步" }

      这就是这里的全部内容,我前天下载了这个mod,一直没有用
    9. Convai
      Convai
      • member
      • 5 kudos
      okay , can you delete or edit the post, you're api key is in it
    10. Convai
      Convai
      • member
      • 5 kudos
      replace the content in get_response_config_example.txt with this, add your api key as the value for the api_key in get_response_config_example.txt  , and try double clicking main.exe again
                  character_id: "ba0207d4-a40a-11ee-b3b6-42010a40000f"
                  api_key: ""
                  audio_config {
                      sample_rate_hertz: 44100
                  }
                  action_config {
                      actions: "Join"
                      actions: "Leave"
                      actions: "Follow"
                      actions: "Stop Walking"
                      actions: "Move To Location"
                      
                      objects {
                          name: "Wand"
                          description: "A wand that can do magic."
                      }
                      characters {
                          name: "Player"
                          bio: "A wizard, He will ask you to follow him, stop and wait at a location until he tells you to follow him again or leave, move to a certain location, leave him or join him on adventure."
                      }
                      classification: "multistep"
                  }
                  
    11. Convai
      Convai
      • member
      • 5 kudos
      is Chinese letters their in get_response_config_example ?
    12. Convai
      Convai
      • member
      • 5 kudos
      are you using a vpn? If not, would you mind sharing where you are from?
    13. karuta096
      karuta096
      • member
      • 0 kudos
      After i tried according to what you said, I could not open the main several times, and then I opened it, it said "how can i help you", I did not have time to input the message, the window automatically exited, and then I could not open it again. The convai folder just got an extra speak.txt. Getresponseconfigexample. txt not in Chinese, when I was in to edit posts, web page translated I reply automatically, sorry 
    14. Convai
      Convai
      • member
      • 5 kudos
      oh okay, i'll try to replicate your bug and update you when i figure out what's going on, are you from china because i think convai does not work in china
    15. karuta096
      karuta096
      • member
      • 0 kudos
      Ok, actually I used a vpn, thanks for taking the time to answer my questions:)
  9. reefqeefwq
    reefqeefwq
    • member
    • 0 kudos
    [2024-02-14 09:15:47] m_shared_functions: 0x7ffd72aad690
    [2024-02-14 09:15:47] Enabling custom events
    [2024-02-14 09:15:47] Starting mods (from mods.txt load order)...
    [2024-02-14 09:15:47] Mod 'ActorDumperMod' disabled in mods.txt.
    [2024-02-14 09:15:47] Starting Lua mod 'ConsoleCommandsMod'
    [2024-02-14 09:15:47] Starting Lua mod 'ConsoleEnablerMod'
    [2024-02-14 09:15:47] [Lua] [ConsoleEnabler] Was unable to find an instance of UEngine
    [2024-02-14 09:15:47] Mod 'SplitScreenMod' disabled in mods.txt.
    [2024-02-14 09:15:47] Mod 'LineTraceMod' disabled in mods.txt.
    [2024-02-14 09:15:47] Starting Lua mod 'BPModLoaderMod'
    [2024-02-14 09:15:47] [Lua] Mods/BPModLoaderMod/load_order.txt not present or no matching mods, loading all BP mods in random order.[2024-02-14 09:15:47] [Lua] convaiblueprintmod == table: 0000000113918360
    [2024-02-14 09:15:47] [Lua]     AssetNameAsFName == FNameUserdata: 00000001930B6348
    [2024-02-14 09:15:47] [Lua]     Name == convaiblueprintmod
    [2024-02-14 09:15:47] [Lua]     AssetPath == /Game/Mods/convaiblueprintmod/ModActor
    [2024-02-14 09:15:47] [Lua]     AssetName == ModActor_C
    [2024-02-14 09:15:47] Starting Lua mod 'BPML_GenericFunctions'
    [2024-02-14 09:15:47] Mod 'jsbLuaProfilerMod' disabled in mods.txt.
    [2024-02-14 09:15:47] Starting Lua mod 'Keybinds'
    [2024-02-14 09:15:47] Starting Lua mod 'ConvaiMod'
    [2024-02-14 09:15:47] Starting mods (from enabled.txt, no defined load order)...
    [2024-02-14 09:15:47] Event loop start
    [2024-02-14 09:15:53] [Lua] [ConsoleEnabler] ConsoleKey[1]: F10
    [2024-02-14 09:15:53] [Lua] [ConsoleEnabler] ConsoleKey[2]: `
    [2024-02-14 09:15:53] [Lua] Loading mod: convaiblueprintmod
    [2024-02-14 09:15:54] [Lua] Actor: ModActor_C /Game/Levels/RootLevel.RootLevel:PersistentLevel.ModActor_C_2147474999
    [2024-02-14 09:15:54] [Lua] PreBeginPlay not valid
    [2024-02-14 09:15:54] [Lua] PostBeginPlay not valid
    [2024-02-14 09:17:45] [Lua] [ConsoleEnabler] ConsoleKey[1]: F10
    [2024-02-14 09:17:45] [Lua] [ConsoleEnabler] ConsoleKey[2]: `
    [2024-02-14 09:17:45] [Lua] Loading mod: convaiblueprintmod
    [2024-02-14 09:17:45] [Lua] Actor: ModActor_C /Game/Levels/Overland/Overland.Overland:PersistentLevel.ModActor_C_2147461683
    [2024-02-14 09:17:45] [Lua] PreBeginPlay not valid
    [2024-02-14 09:17:45] [Lua] PostBeginPlay not valid

    Hello! I did everything like in guide and my f6 and f7 keys doesnt works. There`s no errors or something, i don`t know what went wrong, but there`s no sign of a convai in the game
    1. Convai
      Convai
      • member
      • 5 kudos
      is "PostBeginPlay not valid" the last line? does the game crash when you press f6/f7 ? do you have a controller attached?  are any text files present in convai folder and what is inside them (excluding api_key.txt) ? can you try launching the game again? 
    2. Convai
      Convai
      • member
      • 5 kudos
      my guess is that it is not detecting f6/f7 key being pressed, 
      if it does not work even after you try again
      go to line 442 and 461 in this file and replace F6 and F7 with other keys
      "C:\Program Files\Epic Games\HogwartsLegacy\Phoenix\Binaries\Win64\Mods\ConvaiMod\Scripts\main.lua"
      List of available keys are over here
      "C:\Program Files\Epic Games\HogwartsLegacy\Phoenix\Binaries\Win64\Mods\Keybinds\Scripts\main.lua"

      Can you also check if your F6 and F7 keys are working?
    3. reefqeefwq
      reefqeefwq
      • member
      • 0 kudos
      It seems that it actually works! Thank you. Idk why, my keyboeard is working...

      Game doesnt crash, no controller
  10. Levaiil
    Levaiil
    • member
    • 0 kudos
    Having trouble getting responses after creating my own character and eleven labs voice, so basically everything worked fine but after pasting the ID of my custom character there are no replies, tried looking for the cause and so as a last option I've tested the character in convai and this appeared-

    Something went wrong!
    Elevenlabs TTS Error:output_format_not_allowed- Requested output format pcm_44100 (PCM at 44100hz) is only allowed for Independent Publisher tier and above.
    1. Convai
      Convai
      • member
      • 5 kudos
      does it work if you use a voice that isn't from elevenlabs? and what is the name of the voice you are using?
    2. Levaiil
      Levaiil
      • member
      • 0 kudos
      yes, every other default voice works just not the ones I clone in elevenlabs myself from audio samples, which is what I'm using.
    3. Convai
      Convai
      • member
      • 5 kudos
      oh, how are you using custom elevenlabs voices in convai? based on the error message it looks like that feature is only available for Independent Publisher tier and above, which probably means indie dev or professional tier i think
    4. Levaiil
      Levaiil
      • member
      • 0 kudos
      Through the third-party API keys option found on my profile, pasting my elevenlabs key there showed every custom voice I made automatically right where the default voice choices are in char. description. So If I were to purchase it then my own custom ones should probably work?
    5. Convai
      Convai
      • member
      • 5 kudos
      Yeah, that error is not related to the convai subscription, it's related to elevenlabs tier subscription 
  11. asdmax1514
    asdmax1514
    • member
    • 0 kudos
    Can I get a follower like in skyrim, to join any battle in the forest with me ? 
    1. Convai
      Convai
      • member
      • 5 kudos
      You can tell the npc to either follow or join you and they will become your companion, and I think companions in Hogwarts legacy will attack anyone attacking you.
    2. asdmax1514
      asdmax1514
      • member
      • 0 kudos
      Actually they dont attack at all.. and spiders doesnt attack them either. I said nellie Oggspire to follow me, she goes with me anywhere but she doesnt attack anyone.