![]() |
nalchi
|
nalchi is a C++23 library that provides utilities for efficient message sending over ValveSoftware/GameNetworkingSockets.
nalchi::shared_payload
.nalchi::bit_stream_writer
& nalchi::bit_stream_reader
See https://nalchi-net.github.io/nalchi/ for the full API reference.
If you want to use nalchi with C#, you can with NalchiSharp, the C# binding of nalchi.
Don't forget to bring the C++ shared libraries too, without it the binding won't work.
nalchi supports either building with the stand-alone version of GameNetworkingSockets or Steamworks SDK version of it.
If you don't need the Steamworks SDK integration because you're building your game for platforms other than Steam,
you can build the stand-alone GameNetworkingSockets which is licensed under the BSD 3-Clause "New" or "Revised" License.
BUILDING.md
on GameNetworkingSockets.powershell Enter-VsDevShell -DevCmdArguments "-arch=x64 -host_arch=x64" -VsInstallPath "C:/Program Files/Microsoft Visual Studio/2022/Community" -SkipAutomaticLocation
cmake --preset nalchi-gns
to configure.CMAKE_TOOLCHAIN_FILE
variable.CMakeUserPresets.json
which inherits the nalchi-msvc-gns
preset to do this. e.g: cmake --preset my-preset
instead.cmake --build <build directory>
to build.If you need to integrate with Steamworks SDK to make use of other Steamworks API functionality, you can build with Steamworks SDK.
public/
and redistributable_bin/
into the sdk/ directory.cmake --preset nalchi-steamworks
to configure.cmake --preset nalchi-msvc-steamworks
instead.cmake --build <build directory>
to build.nalchi is licensed under the MIT License.
This project depends on either the stand-alone GameNetworkingSockets or the Steamworks SDK.