Skip to content

Instantly share code, notes, and snippets.

@BadgerCode
Created June 15, 2020 15:35
Show Gist options
  • Save BadgerCode/d918f42adb51eafc1ce447e25c4c562d to your computer and use it in GitHub Desktop.
Save BadgerCode/d918f42adb51eafc1ce447e25c4c562d to your computer and use it in GitHub Desktop.
Setup Garry's Mod Hammer to use CS:GO assets for map making

This ensures that the CS:GO assets you use in your map will be available for packing into the map.

CS:S & CS:GO

This will:

  • Removes any assets which are already available in GMod/HL2
  • Resolves conflicts between CS:S and CS:GO resources with the same name

Process

  • Use GCFScape to extract assets from games
    • Open each game's resource pack in GCFScape and extract the models/materials into a folder for that game
      • E.g. desktop/csgo/materials, desktop/csgo/models
    • CS:GO - \Counter-Strike Global Offensive\csgo\pak01_dir.vpk
    • CS:S - \Counter-Strike Source\cstrike\cstrike_pak_dir.vpk
    • HL2
      • \garrysmod\sourceengine\hl2_misc_dir.vpk
      • \garrysmod\sourceengine\hl2_textures_dir.vpk
    • GMod - \garrysmod\garrysmod\garrysmod_dir.vpk
  • Remove duplicates
  • Copy these new files into your GMod directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment