You cannot use lz4 directly. Plugin is required always if you want to use lz4/lz4hc.
However your sample seems to be compressed with lz4hc, because recompressed stream is bigger then original stream.
Code:
xtool.exe precomp -mlz4:s64k -t100p -c16mb -v - - < %1 > %1.out
[0] Processing streams on block 0000000000000000 to 00000000008E555B (9327964)
[0] Processing lz4 stream at 000000000002C850 (58101 >> 65536 >> 61165) using a1:b0 has failed
[0] - Patching stream at 000000000002C850 (58101 >> 61165) [42205] has failed
Streams: 0 / 81
Time: 00:00:03 (CPU 00:00:03)
Size: 8.90 MB >> 8.90 MB
Code:
xtool.exe precomp -mlz4hc:s64k -t100p -c16mb -v - - < %1 > %1.out
[0] Processed lz4hc stream at 00000000008D8B64 (51701 >> 65536 >> 51701) using l9:b0 successfully
Streams: 46 / 81
Time: 00:00:04 (CPU 00:00:04)
Size: 8.90 MB >> 9.36 MB
I don't know from what game this sample is. Either make a plugin configuration (ini file) or search for bms script and use bms2xtl with correct settings.