Tutorial: Setting up Crowbar for Half-Life/GoldSrc Last edited 1 month ago2024-01-15 08:10:32 UTC

This short tutorial will show you how to set up Crowbar for GoldSrc engine in general, Half-Life in particular, and optionally for your mod. We will configure it to use Sven Co-op SDK's studiomdl for the compiler as it has fixes and enhancements over the original Half-Life SDK's studiomdl.
  1. First, you need to install Sven Co-op SDK from Steam: steam://install/276160
  2. Then download Crowbar while you wait: https://steamcommunity.com/groups/CrowbarTool
  3. Also download and install Half-Life Asset Manager if you don't already have it. https://github.com/SamVanheer/HalfLifeAssetManager/releases
  4. After all three is done, open up Crowbar.
    User posted image
  5. Switch to the Set Up Games tab.
    User posted image
  6. Ignore the top 3/5s of the page right now. Focus on the bottom 2/5.
    User posted image
  7. Set up Steam executable path to the correct path. The default of C:\Program Files (x86)\Steam\Steam.exe is usually the correct one.
  8. Now set up the steam library macros. Make sure at least there is one macro that points to where you have Half-Life installed, and one that points to where you install Sven Co-op's SDK. For the purpose of this tutorial we'll denote the following placeholders (fill with actual values:
    • <library_HL> - where you have Half-Life installed.
    • <library_SCSDK> - where you have Sven Co-op SDK installed.
  9. Now go back to the top of the page. In the drop down, navigate to Half-Life.
  10. Fill the following entries:
    1. Executable (*.exe): <library_HL>\steamapps\common\Half-Life\hl.exe
    2. LibList.gam: <library_HL>\steamapps\common\Half-Life\valve\liblist.gam
    3. Model compiler: <library_SCSDK>\steamapps\common\Sven Co-op SDK\modelling\studiomdl.exe
    4. Model viewer: <path to HLAM.exe>
      User posted image
  11. [optional] To setup a copy of the config for a different game/mod, click "Clone", then rename the entry under Name. Then adjust the entries for:
    1. Executable options: Add -game <modname> where <modname> is the name of the folder containing the game/mod
    2. LibList.gam: Pointing to the file of said name inside the folder above
      User posted image
You are now set up to use Crowbar to decompile/[re]compile models for GoldSrc. Hopefully this tutorial has been useful for you.
Remember to select the correct game setup when compiling:
User posted image

Comments

You must log in to post a comment. You can login or register a new account.