Skip to content

CS2: 0 registrations, no client/engine2 modules generated (only tier0 shows "No schemas") #111

@MoonLIth133

Description

@MoonLIth133

Environment

OS: Windows 10 x64

CS2: Steam install, path: D:\steam\steamapps\common\Counter-Strike Global Offensive

source2gen: Built from current main (Conan + CMake, C++23, VS 2022/2026)

Steps

Closed CS2 completely.

Ran from source2gen\build\bin\Release:

.\source2gen-loader.exe --game-path "D:\steam\steamapps\common\Counter-Strike Global Offensive"

Result

All DLLs load successfully (no "Unable to load module").

Only tier0.dll prints No schemas in tier0.dll (expected).

There is no "No schemas in client.dll" or "Unable to install schema bindings" — so InstallSchemaBindings appears to be found and to return successfully for client and other modules.

Output reports: 0 registrations; 4,223,802,656 were redundant.

Generated sdk contains only the sdk-static placeholder (source2sdk/source2gen/source2gen.hpp). No client, engine2, or other module folders are generated.

Full console output

loading for game with app_id=730
game path resolved to D:\steam\steamapps\common\Counter-Strike Global Offensive
setting up the env
loading source2gen: source2gen.exe
source2_gen::Dump: Loading client.dll
source2_gen::Dump: Loading engine2.dll
source2_gen::Dump: Loading schemasystem.dll
source2_gen::Dump: Loading tier0.dll
source2_gen::Dump: Loading matchmaking.dll
source2_gen::Dump: Loading animationsystem.dll
source2_gen::Dump: Loading host.dll
source2_gen::Dump: Loading materialsystem2.dll
source2_gen::Dump: Loading meshsystem.dll
source2_gen::Dump: Loading networksystem.dll
source2_gen::Dump: Loading panorama.dll
source2_gen::Dump: Loading particles.dll
source2_gen::Dump: Loading pulse_system.dll
source2_gen::Dump: Loading rendersystemdx11.dll
source2_gen::Dump: Loading resourcesystem.dll
source2_gen::Dump: Loading scenefilecache.dll
source2_gen::Dump: Loading scenesystem.dll
source2_gen::Dump: Loading server.dll
source2_gen::Dump: Loading soundsystem.dll
source2_gen::Dump: Loading vphysics2.dll
source2_gen::Dump: Loading worldrenderer.dll
source2_gen::Dump: Loading assetpreview.dll
source2_gen::Dump: Starting
source2_gen::Dump: No schemas in tier0.dll
Schema stats: 0 registrations; 4,223,802,656 were redundant; 0 were ignored (0 bytes of ignored data)
Successfully dumped Source 2 SDK, now you can safely close this console.
Powered by github.com/neverlosecc/source2gen

Question

Is this a known issue with the current CS2 build (schema layout / offsets), or is there a recommended workaround (e.g. different game path, run order, or build options)? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions