Skip to content

AfxHookSource

Dec edited this page Jan 22, 2026 · 81 revisions

AfxHookGoldSrc features image

Table of Contents

About

One of the hooks for HLAE is AfxHookSource, which is targeted at Source (1) engine (mainly CS:GO) movie making. The supported Source engine games are listed on this page, however, you can try any Source engine game not listed here and tell us the results.

Features

Commands

The command reference / list for AfxHookSource can be found here.

Tutorials

Launching Alien Swarm

Start HLAE.exe.

Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Customloader

  • HookDLL: select the AfxHookSource.dll
  • ProgramPath: select the swarm.exe in the ..\Steam\steamapps\common\Alien Swarm folder.
  • CommandLine: -steam -insecure +sv_lan 1 -window -game swarm -w 1280 -h 720

Click okay. If launching was successful you should see a console message by advancedfx.org.

Don't join any VAC protected servers, that might get you VAC banned.

Launching Black Mesa

Start HLAE.exe.

Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Customloader

  • HookDLL: select the AfxHookSource.dll
  • ProgramPath: select the bms.exe in the ..\Steam\steamapps\common\Black Mesa folder.
  • CommandLine: -steam -insecure +sv_lan 1 -window -console -game bms

Click okay. If launching was successful you should see a console message by advancedfx.org.

Don't join any VAC protected servers, that might get you VAC banned.

Launching Counter-Strike: Global Offensive

This is also available as a YouTube tutorial by proutounz: https://youtu.be/NvOxxii8J88
thumbnail

Start HLAE.exe.

Open the CS:GO launcher: HLAE -> Menu -> File -> Launch CS:GO

  • Game: select the csgo.exe in the ..\Steam\steamapps\common\Counter-Strike Global Offensive folder here.
  • Movie making config parent folder: allows to select the parent folder where your cfg folder will be created / located. Click the What's this? button for more help.
  • Graphic Resolution: allows to set resolution easily (this will just be added as command-line arguments to the game, so the actual results depend on the game).
  • Custom command line options: allows to set custom command line options to be passed to the game

Click Launch. If launching was successful you should see a console message by advancedfx.org.

Don't join any VAC protected servers, that might get you VAC banned.

Launching Classic Offensive

Start HLAE.exe.

Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Customloader

  • HookDLL: select the AfxHookSource.dll
  • ProgramPath: select the csgo.exe in the ..\Steam\steamapps\common\Classic Offensive folder.
  • CommandLine: -steam -insecure +sv_lan 1 -window -console -game csco/csgo

Click okay. If launching was successful you should see a console message by advancedfx.org.

Don't join any VAC protected servers, that might get you VAC banned.

Launching Counter-Strike: Source

For the old CSSV34 version see Loading CSSV34 (old Counter-Strike Source) below.

Start HLAE.exe.

Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Customloader

  • HookDLL: select the AfxHookSource.dll
  • ProgramPath: select the cstrike.exe in the ..\Steam\steamapps\common\Counter-Strike Source folder.
  • CommandLine: -steam -insecure +sv_lan 1 -force32bit -window -console

Click okay. If launching was successful you should see a console message by advancedfx.org.

Don't join any VAC protected servers, that might get you VAC banned.

Launching CSSV84

Start HLAE.exe.

Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Customloader

  • HookDLL: select the AfxHookSource.dll
  • ProgramPath: select the hl2.exe of CSSV84.
  • CommandLine: -steam -insecure +sv_lan 1 -window -console -game cstrike -afxGame css_v84

Click okay. If launching was successful you should see a console message by advancedfx.org.

Launching CSSV34 (old Counter-Strike: Source)

Start HLAE.exe.

Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Customloader

  • HookDLL: select the AfxHookSource.dll
  • ProgramPath: select the hl2.exe of CSSV34.
  • CommandLine: -steam -insecure +sv_lan 1 -window -console -game cstrike -afxV34

Attention: the -afxV34 parameter is case sensitive!

Click okay. If launching was successful you should see a console message by advancedfx.org.

Launching Day of Defeat: Source

Start HLAE.exe.

Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Customloader

  • HookDLL: select the AfxHookSource.dll
  • ProgramPath: select the dod.exe in the ..\Steam\steamapps\common\Day of Defeat Source folder.
  • CommandLine: -steam -insecure +sv_lan 1 -force32bit -afxGame dod -window -console

Click okay. If launching was successful you should see a console message by advancedfx.org.

Don't join any VAC protected servers, that might get you VAC banned.

Launching Garry's Mod

Start HLAE.exe.

Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Customloader

  • HookDLL: select the AfxHookSource.dll
  • ProgramPath: select the gmod.exe in the ..\Steam\steamapps\common\GarrysMod folder.
  • CommandLine: -steam -insecure +sv_lan 1 -window -console -game garrysmod

Click okay. If launching was successful you should see a console message by advancedfx.org.

Don't join any VAC protected servers, that might get you VAC banned.

Launching Half-Life 2

Start HLAE.exe.

Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Customloader

  • HookDLL: select the AfxHookSource.dll
  • ProgramPath: select the hl2.exe in the ..\Steam\steamapps\common\Half-Life 2 folder.
  • CommandLine: -steam -insecure +sv_lan 1 -window -console

Click okay. If launching was successful you should see a console message by advancedfx.org.

Don't join any VAC protected servers, that might get you VAC banned.

Launching Half-Life 2: Deathmatch

Start HLAE.exe.

Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Customloader

  • HookDLL: select the AfxHookSource.dll
  • ProgramPath: select the hl2mp.exe in the ..\Steam\steamapps\common\Half-Life 2 Deathmatch folder.
  • CommandLine: -steam -insecure +sv_lan 1 -force32bit -window -w 1280 -h 720 -console

Click okay. If launching was successful you should see a console message by advancedfx.org.

Don't join any VAC protected servers, that might get you VAC banned.

Launching Insurgency (stand-alone game) 32bit version

Start HLAE.exe.

Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Customloader

  • HookDLL: select the AfxHookSource.dll
  • ProgramPath: select the insurgency.exe in the ..\Steam\steamapps\common\insurgency2 folder.
  • CommandLine: -steam -insecure +sv_lan 1 -window -w 1280 -h 720

Click okay. If launching was successful you should see a console message by advancedfx.org.

Don't join any VAC protected servers, that might get you VAC banned.

It is not known if -insecure is enough, SO DO NOT JOIN ANY SERVERS, also might be a good idea to turn off the Battle Eye client or even uninstall it first.

Launching Left 4 Dead 2

First make sure you launched the game at least once without HLAE.

Start HLAE.exe.

Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Customloader

  • HookDLL: select the AfxHookSource.dll
  • ProgramPath: select the left4dead2.exe in the ..\Steam\steamapps\common\Left 4 Dead 2 folder.
  • CommandLine: -steam -insecure +sv_lan 1 -window -w 1280 -h 720 -console

Click okay. If launching was successful you should see a console message by advancedfx.org.

Don't join any VAC protected servers, that might get you VAC banned.

Launching Team Fortress 2

Start HLAE.exe.

Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Customloader

  • HookDLL: select the AfxHookSource.dll
  • ProgramPath: select the tf.exe in the ..\Steam\steamapps\common\Team Fortress 2 folder.
  • CommandLine: -steam -insecure +sv_lan 1 -force32bit -window -console

Click okay. If launching was successful you should see a console message by advancedfx.org.

Don't join any VAC protected servers, that might get you VAC banned.

Launching Team Fortress 2 (x64)

HLAE 2.189.0 or newer is required.

Start HLAE.exe.

Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Customloader

  • HookDLL: select the AfxHookSource.dll from the x64 sub-folder.
  • ProgramPath: select the tf_win64.exe in the ..\Steam\steamapps\common\Team Fortress 2 folder.
  • CommandLine: -steam -insecure +sv_lan 1 -window -console

Click okay. If launching was successful you should see a console message by advancedfx.org.

Don't join any VAC protected servers, that might get you VAC banned.

Alternative tools by others

(Half-Life 1, Counter-Strike 1.6, ...)

(CS:GO, ...)

(Counter-Strike 2)

Clone this wiki locally