Cyberpunk MOD help

Original Discord Post by youngmoneyfuture | 2024-04-07 14:02:06

Anyone got it working? Using Windows
So I tried for the past 2 days to mod cyberpunk, but am hitting walls at every step.

I downloaded Bazelisk, bazel 7.1.1(latest version) had issues with grpc, errors about apple protos. Read that grpc hasn’t updated their apple protos. Issues with bzlmod, read that bazel 6.3+ no longer use workspace. So I used bazel 6.2.1, fixed previous issues, but now I get a diff error: Visual C++ build tools seems to be installed at C:\Program Files\Microsoft Visual Studio\2022\Community\VC
But Bazel can’t find the following tools:
VCVARSALL.BAT, cl.exe, link.exe, lib.exe, ml64.exe
for x64 target architecture

I have all the Visual C++ build tools I could find. Created a user variable path to VC, Used VS Codes 2019, VS 2022, same issue.
I can’t get past this step:
bazel build --cxxopt=‘-std=c++14’ :main

Reply by k3kalinix | 2024-04-07 19:08:11

<@884356864781975582>

Reply by akshitireddy | 2024-04-08 03:51:41

I found a similar issue on stack overflow, maybe one of the solutions might work

<@1023671043287699568> do you know who made the convai cpp sdk?

Embedded Content:
Why Bazel does not find Visual C++ Build Tools?
I`m working myself through a Tensorflow installation session (each one is a unique experience) and I’m trying to understand what is going wrong with the Bazel build tool.

For that, I have followed…
Link: windows - Why Bazel does not find Visual C++ Build Tools? - Stack Overflow

Replying to akshitireddy’s Message

Reply by akshitireddy | 2024-04-08 03:51:41
I found a similar issue on stack overflow, maybe one of the solutions might work
windows - Why Bazel does not find Visual C++ Build Tools? - Stack Overflow
<@1023671043287699568> do you know who made the convai cpp sdk?

Reply by youngmoneyfuture | 2024-04-08 08:18:42

Yeah I saw that as well and tried changing the directory with same issue, but changing bazel version did fix that issue, although now I am facing a brand new issue

Reply by youngmoneyfuture | 2024-04-08 08:18:46

PS C:\Bazel\convai-sdk-cpp> bazel --version
bazel 5.2.0
PS C:\Bazel\convai-sdk-cpp> bazel build --cxxopt=‘-std=c++14’ :main
Starting local Bazel server and connecting to it…
DEBUG: Rule ‘com_github_grpc_grpc’ indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = “87fe74815164587b155c11d3557268012dd910cf2404ae11470d4ab995f097fd”
DEBUG: Repository com_github_grpc_grpc instantiated at:
C:/bazel/convai-sdk-cpp/WORKSPACE:21:13: in
Repository rule http_archive defined at:
C:/users/luisj/_bazel_luisj/fheliezl/external/bazel_tools/tools/build_defs/repo/http.bzl:353:31: in
ERROR: C:/users/luisj/_bazel_luisj/fheliezl/external/rules_proto/proto/private/native.bzl:28:23: name ‘proto_common_do_not_use’ is not defined
ERROR: Skipping ‘:main’: error loading package ‘’: at C:/users/luisj/_bazel_luisj/fheliezl/external/rules_proto/proto/defs.bzl:17:6: compilation of module ‘proto/private/native.bzl’ failed
WARNING: Target pattern parsing failed.
ERROR: error loading package ‘’: at C:/users/luisj/_bazel_luisj/fheliezl/external/rules_proto/proto/defs.bzl:17:6: compilation of module ‘proto/private/native.bzl’ failed
INFO: Elapsed time: 19.684s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
currently loading:
Fetching @rules_cc; fetching
Fetching …rules_cc; Extracting C:/users/luisj/_bazel_luisj/fheliezl/external/rules_cc/temp4476147591338497642/2f8c04c04462ab83c545ab14c0da68c3b4c96191.tar.gz
PS C:\Bazel\convai-sdk-cpp>

Reply by youngmoneyfuture | 2024-04-08 08:22:51

I did notice in the mod channel you had the main.exe file for hogwart which I’ll try when I get the chance, but do you happen to have the file for cyberpunk too? It would of been a good idea to post them along with the tutorials to try them instantly and then understand how to do it

But It seems the convai cpp sdk is outdated and it’s really tough to get this to work without knowing the exact bazel version needed and other specific variables since everything is constantly updating and breaking each other

Replying to youngmoneyfuture’s Message

Reply by youngmoneyfuture | 2024-04-08 08:22:51
I did notice in the mod channel you had the main.exe file for hogwart which I’ll try when I get the chance, but do you happen to have the file for cyberpunk too? It would of been a good idea to post them along with the tutorials to try them instantly and then understand how to do it

But It seems the convai cpp sdk is outdated and it’s really tough to get this to work without knowing the exact bazel version needed and other specific variables since everything is constantly updating and breaking each other

Reply by akshitireddy | 2024-04-08 17:28:51

Link to main.exe for Cyberpunk is on the nexusmods page

Reply by akshitireddy | 2024-04-08 17:29:26

Embedded Content:
Conversational AI NPCs with Large Language Models (ChatGPT)
This mod let’s you talk to the NPC’s in the world of Cyberpunk 2077, and the character’s can even perform actions. If you want to modify the style, voice, language or memories of the characters you ca
Link: Conversational AI NPCs with Large Language Models (ChatGPT) at Cyberpunk 2077 Nexus - Mods and community

Reply by akshitireddy | 2024-04-08 17:29:54

Embedded Content:
GitHub - Conv-AI/Convai-Modding at Cyberpunk-2077
Source Code for all Convai Mods. Contribute to Conv-AI/Convai-Modding development by creating an account on GitHub.
Link: GitHub - Conv-AI/Convai-Modding at Cyberpunk-2077

Reply by akshitireddy | 2024-04-08 17:33:13

Are you following this tutorial

Embedded Content:
Developer Guide
This guide will show you how to make Mods that add Convai’s features to any pre-existing or already released game, regardless of which engine it is using as long as it has a modding framework capable
Link: Developer Guide at Cyberpunk 2077 Nexus - Mods and community

Replying to akshitireddy’s Message

Reply by akshitireddy | 2024-04-08 17:28:51
Link to main.exe for Cyberpunk is on the nexusmods page

Reply by youngmoneyfuture | 2024-04-08 22:35:12

Oh great! This is exactly what I was hoping for! It seems there are multiple guides, I was following this one: Developer Guide at Cyberpunk 2077 Nexus - Mods and community

And this one:

But the 1st link you just provided: Conversational AI NPCs with Large Language Models (ChatGPT) at Cyberpunk 2077 Nexus - Mods and community
Is hidden or hard to find. But I think with this I should finally be able to do it thanks! I just have a few Q’s before I retry again. Is the main.exe and bin folder for a “specific Cyberpunk version”? For example specificly 2.1 or 2.12A?

Also I am planning to install Vorpx’s stand alone VR mod for Cyberpunk which has Cyber engine tweaks within it, would it work with that or would I need to tweak some stuff for it to all work?

Embedded Content:
Developer Guide
This guide will show you how to make Mods that add Convai’s features to any pre-existing or already released game, regardless of which engine it is using as long as it has a modding framework capable
Link: Developer Guide at Cyberpunk 2077 Nexus - Mods and community
Modding Cyberpunk 2077 | Documentation
This guide will show you how to make Mods that add Convai’s features to Cyberpunk 2077
Link: Modding Cyberpunk 2077 | Documentation


Conversational AI NPCs with Large Language Models (ChatGPT)
This mod let’s you talk to the NPC’s in the world of Cyberpunk 2077, and the character’s can even perform actions. If you want to modify the style, voice, language or memories of the characters you ca
Link: Conversational AI NPCs with Large Language Models (ChatGPT) at Cyberpunk 2077 Nexus - Mods and community

Replying to youngmoneyfuture’s Message

Reply by youngmoneyfuture | 2024-04-08 22:35:12
Oh great! This is exactly what I was hoping for! It seems there are multiple guides, I was following this one: Developer Guide at Cyberpunk 2077 Nexus - Mods and community

And this one:

But the 1st link you just provided: Conversational AI NPCs with Large Language Models (ChatGPT) at Cyberpunk 2077 Nexus - Mods and community
Is hidden or hard to find. But I think with this I should finally be able to do it thanks! I just have a few Q’s before I retry again. Is the main.exe and bin folder for a “specific Cyberpunk version”? For example specificly 2.1 or 2.12A?

Also I am planning to install Vorpx’s stand alone VR mod for Cyberpunk which has Cyber engine tweaks within it, would it work with that or would I need to tweak some stuff for it to all work?

Reply by akshitireddy | 2024-04-09 03:00:28

the mod should work with the latest game version, can you send a link to the vr mod I’ll check the files

Replying to akshitireddy’s Message

Reply by akshitireddy | 2024-04-09 03:00:28
the mod should work with the latest game version, can you send a link to the vr mod I’ll check the files

Reply by youngmoneyfuture | 2024-04-09 03:09:00

Great thanks! I will let you know soon if I get it working soon with Cyber engine tweaks by itself first.

Here’s the link to VorpX’s VR mod: 10 years vorpX development & Cyberpunk VR mod – vorpX – VR 3D-Driver for Meta Quest, Valve Index and more PCVR headsets

If this is possible then it’ll be an absolutely incredible experience!

Embedded Content:
10 years vorpX development & Cyberpunk VR mod
10 years ago VR as we know it wasn’t much more than a dream. A young Californian with the idea to use cheap phone components to build VR headsets, and a bunch of guys who happily used that as…
Link: 10 years vorpX development & Cyberpunk VR mod – vorpX – VR 3D-Driver for Meta Quest, Valve Index and more PCVR headsets

Reply by youngmoneyfuture | 2024-04-09 09:36:50

So I got the plug n play version to work, thank you! But there are a few things that seem wrong.

*only one random voice named Max Cypher responds to me every time saying the same thing for males, and one for Females. It writes their actual names and words tho, actions seem to work too

*When I press the mic button, it only let’s me speak 1 word usually and sometimes 5 words if lucky, or none at all. And sometimes not very accurate to what I actually say

Reply by akshitireddy | 2024-04-10 01:50:12

When you speak to the main characters like Johnny or Jackie do you hear a different voice?

Replying to akshitireddy’s Message

Reply by akshitireddy | 2024-04-10 01:50:12
When you speak to the main characters like Johnny or Jackie do you hear a different voice?

Reply by youngmoneyfuture | 2024-04-10 02:59:36

I’ve never played Cyberpunk before So I’m in the beginning. I spoke with my boss in corpo rat route, I believe it was in the generic voice but imitated him via text, none of the characters so far show physical reactions to speaking to me or any lipsync at all. Just a random “ghost voice”

Same exact thing with Hogwarts, except I’ve only spoken to the teacher so far. I’ve noticed that both mods act almost like chatGPT assistants from the app except with a game themed voice.

I found convai after learning about AI NPCs from Mantella Skyrim VR so I understand the whole LLM, prompt, Char. Bios, etc. concept

I found a “get_response_config_example.txt” in the convai folder, but where is the actual prompt so I can tweak it? Also how many NPCs are actually interactive? I understand Cyberpunk has immense amounts of NPCs and most if not all can trigger actions, but many don’t have their own voice, lipsync, or bios, just generic classes

Reply by youngmoneyfuture | 2024-04-10 03:04:14

*Oh and I can confirm that the VorpX Cyberpunk VR mod works with convai mod

Replying to youngmoneyfuture’s Message

Reply by youngmoneyfuture | 2024-04-10 02:59:36
I’ve never played Cyberpunk before So I’m in the beginning. I spoke with my boss in corpo rat route, I believe it was in the generic voice but imitated him via text, none of the characters so far show physical reactions to speaking to me or any lipsync at all. Just a random “ghost voice”

Same exact thing with Hogwarts, except I’ve only spoken to the teacher so far. I’ve noticed that both mods act almost like chatGPT assistants from the app except with a game themed voice.

I found convai after learning about AI NPCs from Mantella Skyrim VR so I understand the whole LLM, prompt, Char. Bios, etc. concept

I found a “get_response_config_example.txt” in the convai folder, but where is the actual prompt so I can tweak it? Also how many NPCs are actually interactive? I understand Cyberpunk has immense amounts of NPCs and most if not all can trigger actions, but many don’t have their own voice, lipsync, or bios, just generic classes

Reply by akshitireddy | 2024-04-10 06:52:22

Oh okay thanks, cyberpunk mod does not include lipsync. the Hogwarts legacy mod has lipsync because it’s using unreal engine. I only made a personality for a few important characters, you can find the list at the end in phoenix/binaries/win64/mods/convaimod/scripts/main.lua file for hogwarts and bin/x64/plugins/cyber engine tweaks/mods/convaimod/init.lua for cyberpunk

Reply by akshitireddy | 2024-04-10 06:53:14

You can find the method for creating personality for other characters in the description section of the mod page and the tutorial videos in video section

Replying to akshitireddy’s Message

Reply by akshitireddy | 2024-04-10 06:52:22
Oh okay thanks, cyberpunk mod does not include lipsync. the Hogwarts legacy mod has lipsync because it’s using unreal engine. I only made a personality for a few important characters, you can find the list at the end in phoenix/binaries/win64/mods/convaimod/scripts/main.lua file for hogwarts and bin/x64/plugins/cyber engine tweaks/mods/convaimod/init.lua for cyberpunk

Reply by youngmoneyfuture | 2024-04-10 14:47:22

OK, I think we are near the end of this journey and I really appreciate all your help! I just have a few last questions and then I think I’ll fully understand how convai works.

*The main issue I am having is most of the time when I press the mic key it either let’s me get only one word in or skips me and saids their line, how can I fix this? How can I change how long the mic listens?

  • In General, can “Player” be replaced with “username” or for example “YoungMoneyFuture” in the “get_response_vonfig_example.txt” or init.lua or do i need to change both?

*Also I believe the same area is where the main prompt would be, If I change the “bio” under name = “Player” in the “get_response_config_example.txt” will it update init.lua or need to copy/paste? This prompt will change how the LLM responds right?