Installation
Before you begin
Section titled “Before you begin”Unlike many other PODBot flavours, YaPB is able to run as a metamod plugin as well as a standalone DLL for every platform it supports (except Android) without changing the so/dll/dylib.
Installation docs only cover installing the bot on a genuine Steam version of Counter-Strike. Assuming that if you run something special, you know how to install the bot as a standalone DLL or as a metamod plugin.
Choose your OS
Section titled “Choose your OS”YaPB supports installing both on listen and dedicated server under Windows. Many people are using it as their main operating system, so the bot has a simple installer that could assist you in adding bots to the game. If you don’t want to install manually, please use an installer.
Using the setup program
Section titled “Using the setup program”- Download the latest YaPB bot installer from the releases page (example:
yapb-4.4.957-windows.exe) - Run the program
- Press
Browseand point to wherehl.exe/hlds.exeis located - Press
Installto install the bot - You’re done!
Without Metamod
Section titled “Without Metamod”Assuming that your Counter-Strike is located at: C:\Steam\steamapps\common\Half-Life\cstrike.
-
Download the latest
ZIPYaPB package from the releases page (example:yapb-4.4.957-windows.zip) -
Unzip the downloaded package to
C:\Steam\steamapps\common\Half-Life\cstrikedirectory -
Open a file called
liblist.gamin Notepad or any other text editor (located inC:\Steam\steamapps\common\Half-Life\cstrike) -
Locate the entry
gamedll. It should point todlls\mp.dll -
Point the entry to the bot instead:
liblist.gam gamedll "dlls\mp.dll"gamedll "addons\yapb\bin\yapb.dll" -
Save the changes
-
You’re done!
As a Metamod plugin
Section titled “As a Metamod plugin”Assuming that your Counter-Strike is located at: C:\Steam\steamapps\common\Half-Life\cstrike.
-
Download the latest
ZIPYaPB package from the releases page (example:yapb-4.4.957-windows.zip) -
Unzip the downloaded package to
C:\Steam\steamapps\common\Half-Life\cstrikedirectory -
Open a file called
plugins.iniin Notepad or any other text editor (located inC:\Steam\steamapps\common\Half-Life\cstrike\addons\metamod) -
Append the following entry:
plugins.ini win32 addons/yapb/bin/yapb.dll -
Save the changes
-
You’re done!
Resulting file layout
Section titled “Resulting file layout”Directorycstrike/
Directoryaddons/
Directorymetamod/
- plugins.ini
Directoryyapb/
Directorybin/
- yapb.dll
Directorydata/
Directorygraph/
- …
Directorydocs/
- …
- liblist.gam
YaPB supports installing both on listen and dedicated server under Linux. No installer is provided for Linux.
Without Metamod
Section titled “Without Metamod”Assuming that your Counter-Strike is located at: /usr/Steam/steamapps/common/Half-Life/cstrike.
-
Download the latest
TAR.XZYaPB package from the releases page (example:yapb-4.4.957-linux.tar.xz) -
Extract the downloaded package to
/usr/Steam/steamapps/common/Half-Life/cstrikedirectory -
Open a file called
liblist.gamin any text editor (located in/usr/Steam/steamapps/common/Half-Life/cstrike) -
Locate the entry
gamedll_linux. It should point todlls/cs.so -
Point the entry to the bot instead:
liblist.gam gamedll_linux "dlls/cs.so"gamedll_linux "addons/yapb/bin/yapb.so" -
Save the changes
-
You’re done!
As a Metamod plugin
Section titled “As a Metamod plugin”Assuming that your Counter-Strike is located at: /usr/Steam/steamapps/common/Half-Life/cstrike.
-
Download the latest
TAR.XZYaPB package from the releases page (example:yapb-4.4.957-linux.tar.xz) -
Extract the downloaded package to
/usr/Steam/steamapps/common/Half-Life/cstrikedirectory -
Open a file called
plugins.iniin any text editor (located in/usr/Steam/steamapps/common/Half-Life/cstrike/addons/metamod) -
Append the following entry:
plugins.ini linux addons/yapb/bin/yapb.so -
Save the changes
-
You’re done!
Resulting file layout
Section titled “Resulting file layout”Directorycstrike/
Directoryaddons/
Directorymetamod/
- plugins.ini
Directoryyapb/
Directorybin/
- yapb.so
Directorydata/
Directorygraph/
- …
Directorydocs/
- …
- liblist.gam
YaPB can be installed on listen servers only if you use macOS.
Without Metamod
Section titled “Without Metamod”Assuming that your Counter-Strike is located at: /Users/user/Library/Application Support/Steam/steamapps/common/Half-Life/cstrike.
-
Download the latest YaPB package from the releases page (example:
yapb-4.4.957-windows.ziporyapb-4.4.957-linux.tar.xz) -
Download the latest extras package from the releases page (example:
yapb-4.4.957-extras.zip) -
Unzip the downloaded YaPB package to
/Users/user/Library/Application Support/Steam/steamapps/common/Half-Life/cstrikedirectory -
Unzip the
yapb.dylibbinary from thedarwin-x86folder in the downloaded extras package to/Users/user/Library/Application Support/Steam/steamapps/common/Half-Life/cstrike/addons/yapb/bindirectory -
Open a file called
liblist.gamin any text editor (located in/Users/user/Library/Application Support/Steam/steamapps/common/Half-Life/cstrike) -
Locate the entry
gamedll_osx. It should point todlls/cs.dylib -
Point the entry to the bot instead:
liblist.gam gamedll_osx "dlls/cs.dylib"gamedll_osx "addons/yapb/bin/yapb.dylib" -
Save the changes
-
You’re done!
As a Metamod plugin
Section titled “As a Metamod plugin”Assuming that your Counter-Strike is located at: /Users/user/Library/Application Support/Steam/steamapps/common/Half-Life/cstrike.
-
Download the latest YaPB package from the releases page (example:
yapb-4.4.957-windows.ziporyapb-4.4.957-linux.tar.xz) -
Download the latest extras package from the releases page (example:
yapb-4.4.957-extras.zip) -
Unzip the downloaded YaPB package to
/Users/user/Library/Application Support/Steam/steamapps/common/Half-Life/cstrikedirectory -
Unzip the
yapb.dylibbinary from thedarwin-x86folder in the downloaded extras package to/Users/user/Library/Application Support/Steam/steamapps/common/Half-Life/cstrike/addons/yapb/bindirectory -
Open a file called
plugins.iniin any text editor (located in/Users/user/Library/Application Support/Steam/steamapps/common/Half-Life/cstrike/addons/metamod) -
Append the following entry:
plugins.ini osx addons/yapb/bin/yapb.dylib -
Save the changes
-
You’re done!
Resulting file layout
Section titled “Resulting file layout”Directorycstrike/
Directoryaddons/
Directorymetamod/
- plugins.ini
Directoryyapb/
Directorybin/
- yapb.dylib
Directorydata/
Directorygraph/
- …
Directorydocs/
- …
- liblist.gam
Verify the installation
Section titled “Verify the installation”Start the game (or the server), open the console and run:
yb versionyb listyb version prints the bot build. Then add a few bots (yb add or yb_quota 5) and check they show up in yb list. If yb commands are unknown, revisit the steps above - most often the wrong liblist.gam entry or a missing MetaMod plugins.ini line. More help: Troubleshooting.
Verifying releases
Section titled “Verifying releases”Release archives are signed via GPG, pubkey fingerprint is: FC03F18A5E7DCE282A4B9D48194F2DA6C5F2FA24 and could be found at https://keyserver.ubuntu.com/.
How to:
-
Download the
FC03F18A5E7DCE282A4B9D48194F2DA6C5F2FA24.asckey -
Import it:
Terminal gpg --import FC03F18A5E7DCE282A4B9D48194F2DA6C5F2FA24.asc -
Download release
archiveand.ascfile. -
Verify it:
Terminal gpg --verify some-yapb.zip.asc some-yapb.zip