Skip to content

Installation

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.

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.

  1. Download the latest YaPB bot installer from the releases page (example: yapb-4.4.957-windows.exe)
  2. Run the program
  3. Press Browse and point to where hl.exe/hlds.exe is located
  4. Press Install to install the bot
  5. You’re done!

Assuming that your Counter-Strike is located at: C:\Steam\steamapps\common\Half-Life\cstrike.

  1. Download the latest ZIP YaPB package from the releases page (example: yapb-4.4.957-windows.zip)

  2. Unzip the downloaded package to C:\Steam\steamapps\common\Half-Life\cstrike directory

  3. Open a file called liblist.gam in Notepad or any other text editor (located in C:\Steam\steamapps\common\Half-Life\cstrike)

  4. Locate the entry gamedll. It should point to dlls\mp.dll

  5. Point the entry to the bot instead:

    liblist.gam
    gamedll "dlls\mp.dll"
    gamedll "addons\yapb\bin\yapb.dll"
  6. Save the changes

  7. You’re done!

Assuming that your Counter-Strike is located at: C:\Steam\steamapps\common\Half-Life\cstrike.

  1. Download the latest ZIP YaPB package from the releases page (example: yapb-4.4.957-windows.zip)

  2. Unzip the downloaded package to C:\Steam\steamapps\common\Half-Life\cstrike directory

  3. Open a file called plugins.ini in Notepad or any other text editor (located in C:\Steam\steamapps\common\Half-Life\cstrike\addons\metamod)

  4. Append the following entry:

    plugins.ini
    win32 addons/yapb/bin/yapb.dll
  5. Save the changes

  6. You’re done!

  • Directorycstrike/
    • Directoryaddons/
      • Directorymetamod/
        • plugins.ini
      • Directoryyapb/
        • Directorybin/
          • yapb.dll
        • Directorydata/
          • Directorygraph/
            • …
        • Directorydocs/
          • …
    • liblist.gam

Start the game (or the server), open the console and run:

yb version
yb list

yb 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.

Release archives are signed via GPG, pubkey fingerprint is: FC03F18A5E7DCE282A4B9D48194F2DA6C5F2FA24 and could be found at https://keyserver.ubuntu.com/.

How to:

  1. Download the FC03F18A5E7DCE282A4B9D48194F2DA6C5F2FA24.asc key

  2. Import it:

    Terminal
    gpg --import FC03F18A5E7DCE282A4B9D48194F2DA6C5F2FA24.asc
  3. Download release archive and .asc file.

  4. Verify it:

    Terminal
    gpg --verify some-yapb.zip.asc some-yapb.zip