AfxHookSource2
Dominik Tugend edited this page Apr 4, 2024
·
11 revisions
Table of Contents
One of the hooks for HLAE is AfxHookSource2, which is a tiny hook for Counter-Strike 2. It doesn't have many features and we are not sure yet if we will pursue it.
The command reference / list for AfxHookSource2 can be found here.
Start HLAE.exe.
Open the custom loader: HLAE -> Menu -> Tools -> Developer -> Custom Loader
- HookDLL: select the AfxHookSource2.dll located in the x64 sub-folder.
- ProgramPath: select the cs2.exe in the
..\Steam\steamapps\common\Counter-Strike Global Offensive\game\bin\win64\
folder. - CommandLine: -steam -insecure +sv_lan 1 -console -novid -sw -w 1920 -h 1080 -afxDisableSteamStorage
- Environment variables (optional): USRLOCALCSGO=C:\path\to\your\mmcfg\folder (adjust the path to your system / needs!)
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.
If you have contributed to the Wiki, you can make an issue in contrib repository in order to be added to or updated in the credits.
A list of things missing is in the Wanted article.
(Half-Life 1, Counter-Strike 1.6, ...)
(CS:GO, ...)
(Counter-Strike 2)