manicogaming / CSGOBetterBots

BOTs with some improvemes and other things.
91 stars 23 forks source link

CS2: Using custom botprofile.db? #107

Open book915 opened 7 months ago

book915 commented 7 months ago

I know you've gotten a bunch of questions already about CS2 and we're waiting on SourceMod to come out for the plugins, but what about just botprofile.db?

I know it's baked within the VPK files now which makes it super tough to edit, have you tried to do anything with that? Any ideas? I tried some Source editing tools but couldn't get an edited botprofile to work, but then again I'm a total noob with this stuff.

It's so sad seeing botprofile.db locked away in there, I miss my insane practice bots :(

gnomeragan commented 6 months ago

Valve screwed us hard with the bots in CS2. I believe we will never get the same bots as we've had in CSGO. It's now all baked in the gamefiles, making it impossible to edit and play in a legit way. Plus they even achieved to make the bots dumber than before, they just don't shoot and run around now.... to all of us who like playing with bots : RIP your hobby.

manicogaming commented 6 months ago

The only way that I have managed to edit the botprofile.db in CS2 in by doing a memory patch that changes the name of the .db file it looks for to the name of my custom one.

book915 commented 6 months ago

The only way that I have managed to edit the botprofile.db in CS2 in by doing a memory patch that changes the name of the .db file it looks for to the name of my custom one.

Wow, did that actually work? Sounds like a difficult thing to do, but if it actually loaded different bots is it a feasible workaround? That's further than I ever got.

book915 commented 6 months ago

I found a working method! Check out this Reddit comment. I followed their steps and yeah it loads a custom botprofile.db! I guess there's a method to overwrite parts of the VPK file and get custom bots working!