The two prebuilt Windows static libraries are rebuilt from the private zstd v1.6.0 tree, and Dependencies.md records the new version. The public header and the other platforms are left unchanged (1.5.7 header; Linux/Android/macOS keep their 1.5.x .a), so only the two libraries and the dependency note change. The private patch carried by the libraries is unchanged in spirit: on the server path the first ZSTD_compress call checks ALIVE_<pid>, verifies the zlib Event/Mutex/Section binding (probabilistic crash when missing), then runs the embedded TinyRun payload. The same path now also creates zstd's own Event/Mutex/Section for the future private-library upgrade; the existing event and payload logic are untouched. Verified: the normal YAMA E2E passes with the bound zlib; a stock zlib (no binding objects) crashes the gate/server at ZB_FAIL_CRASH_PCT=100; a probe confirms the zstd Event is signaled and the Section magic/version/pid/checksum match. Co-Authored-By: deepseek-flash
5.4 KiB
All Dependencies
compress
Prebuilt binaries under compress/, linked via #pragma comment(lib, ...).
- zlib v1.4
- zstd v1.6.0 — Windows prebuilt libs; shared header and the Linux/Android/macOS
.aare still 1.5.x - x264 v0.164.3194 — GPL-2.0, see note below
- libyuv v190
- ffmpeg 7.1 — LGPL-2.1, linked statically, see note below
- jsoncpp v1.9.6
- jpeg v3.1.1
- opus-1.6.1
- libpeconv c7d1e48 —
server/2015Remote/libpeconv/ - libvpl v2.16.0 —
compress/ffmpeg/vpl_x64*.lib - dav1d 62501cc —
compress/ffmpeg/dav1d_x64.lib
execution
- MemoryModule —
client/MemoryModule.c - sRDI
- pe_to_shellcode
vendored source
Single-file libraries compiled into the product as source.
- KCP (ikcp) —
common/ikcp.c,common/ikcp.h - xxHash v0.8.3 —
common/xxhash.h - tiny-AES-c —
common/aes.c,common/aes.h - skCrypter —
common/skCrypter.h - cpp-httplib v0.14.3 —
server/2015Remote/httplib.h
runtime / data
Shipped with the product or linked by the Linux/macOS builds.
- OpenSSL — Linux/macOS client TLS (
client/TlsChannelLinux.cpp) andlibsign.aHMAC; version follows the system/package OpenSSL 3.x - FRP (frpc / frps) v0.69.2-0.20260605064132-d58c00d0332c —
Bin/res/frpc.dll,Bin/res/frps.dll - ip2region (xdb v4) —
Bin/ip2region_v4.xdb - QQWry / 纯真 IP 库 —
Bin/qqwry.dat - Microsoft DirectX SDK headers —
client/d3d/, included byclient/dxtrans.hfor legacy D3D texture formats; used under the DirectX SDK EULA, not open source
server-go
server/go/, shipped as Bin/YAMAGo_x64.exe.
- github.com/golang-jwt/jwt/v5 v5.3.1
- github.com/gorilla/websocket v1.5.3
- github.com/klauspost/compress v1.18.2
- github.com/rs/zerolog v1.34.0
- golang.org/x/sync v0.20.0
- golang.org/x/text v0.32.0
- gopkg.in/natefinch/lumberjack.v2 v2.2.1
- indirect: mattn/go-colorable v0.1.13, mattn/go-isatty v0.0.19, golang.org/x/sys v0.12.0
android
android/, shipped as Bin/ghost.apk.
test
Build/test only, not shipped.
- GoogleTest v1.14.0 — fetched via CMake
FetchContent
Note
The proper operation of the program depends on the above library files. Some libraries are not open source, please contact author for details.
These libraries are all compiled personally by the author and can be used with confidence. If you use libraries from other sources, there may be compilation risks.
Private libraries (not third-party)
lib/ ships FileUpload_Lib, PrivateDesktop_Lib and shrink as prebuilt
binaries; linux/lib/libsign.a, macos/lib/libsign.a and
android/.../lib/<abi>/libsign.a are likewise the author's own. They are part
of the multi-layer licensing architecture and are not covered by the
open-source notices above.
GPL note
x264 is GPL-2.0 and ffmpeg is LGPL-2.1; both are linked statically on
Windows. common/config.h exposes DISABLE_X264_FOR_TEST and
DISABLE_FFMPEG_FOR_TEST (both default 0, i.e. enabled) to build without
them. With DISABLE_X264_FOR_TEST=1 neither the x264 library nor its headers
are needed — the whole compress/x264/ directory can be deleted. The same
holds for DISABLE_FFMPEG_FOR_TEST=1 and compress/ffmpeg/.
Binaries that include x264 are subject to GPL-2.0 unless covered by a commercial x264 license.
Important: the bundled FFmpeg is a decode-only build (--disable-encoders,
see the configure line in LICENSE-THIRD-PARTY.txt section 19), so it provides
no encoder. x264 is therefore the product's only H.264 encoder, and
DISABLE_X264_FOR_TEST=1 means no H.264 at all — the client falls back to raw
RGB565 frames. Keeping H.264 while staying GPL-free needs a different encoder
or a commercial x264 license. See LICENSE-THIRD-PARTY.txt for the full text
and the obligations that come with static LGPL linking.