Files
SimpleRemoter/Dependencies.md
T
yuanyuanxianganddeepseek-flash 0e20e0bbdb Feature: update zlib to 1.4 and pick wire compression at runtime
The client selected zlib or zstd for the wire protocol at compile time
(USING_ZLIB), so changing the mode required a rebuild, and the vendored
zlib was still 1.3.2.

Vendored zlib is now 1.4 (headers and both static libs rebuilt from the
upstream source root). The client links zlib and zstd together and reads
settings\compress from its own registry key when a connection is
created: "zlib" selects zlib, anything else keeps the zstd default.
Every connection reads it once, so sub-connections follow the main link.

The online list context menu gains "Experimental -> Wire compression:
ZSTD / ZLIB". It sends COMMAND_SET_COMPRESS (181) only to hosts that
declare CLIENT_CAP_COMPRESS_SWITCH; the client persists the choice and
restarts its connection thread, so the new mode applies in about two
seconds without restarting the process. The online-info tooltip now
marks the negotiated algorithm with [ZSTD] / [ZLIB] / [NONE].

Also fixes zlib buffer sizing on both ends: 1.001n+12 is one byte short
of compressBound for packets under about 1 KB, which silently dropped
small commands.

Verified: both modes connect and receive MasterSettings; menu switching
to zlib and back reconnects in each mode; Debug/Release x64, Release
x86, ServerDll and server builds pass.

Co-Authored-By: deepseek-flash
2026-11-23 17:46:36 +01:00

5.3 KiB

All Dependencies

compress

Prebuilt binaries under compress/, linked via #pragma comment(lib, ...).

execution

vendored source

Single-file libraries compiled into the product as source.

runtime / data

Shipped with the product or linked by the Linux/macOS builds.

server-go

server/go/, shipped as Bin/YAMAGo_x64.exe.

android

android/, shipped as Bin/ghost.apk.

test

Build/test only, not shipped.

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.