taisei/src/vfs
Andrei Alexeyev 3de1d96f52
vfs: transparent decompression of *.zst files
A zstd-compressed file "foobar.foo.zst" will appear in the filesystem as
a normal uncompressed file "foobar.foo". The raw compressed data is
still available under the original .zst filename.

If both "foobar.foo" and "foobar.foo.zst" exist, the former is
preferred and won't be shadowed.

This is implemented as a wrapper layer, much like readonly_wrapper.
It is currently applied on top of plain directories that contribute to
/res, but not to zipped packages. Zip files support zstd as a
compression method, so we'll probably rely on that instead.
2021-03-26 21:45:57 +02:00
..
platform_paths More compiler warning fixes (#273) 2020-12-26 01:40:08 +02:00
decompress_wrapper.c vfs: transparent decompression of *.zst files 2021-03-26 21:45:57 +02:00
decompress_wrapper.h vfs: transparent decompression of *.zst files 2021-03-26 21:45:57 +02:00
decompress_wrapper_public.h vfs: transparent decompression of *.zst files 2021-03-26 21:45:57 +02:00
error.h make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
loadpacks.c make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
loadpacks.h make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
meson.build vfs: transparent decompression of *.zst files 2021-03-26 21:45:57 +02:00
nodeapi.c make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
pathutil.c vfs: try to put cache in platform-appropriate locations 2020-12-07 22:36:35 +02:00
pathutil.h make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
private.c make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
private.h add attr_returns_allocated for functions that allocate new objects 2019-08-04 01:29:41 +03:00
public.c Texturing overhaul: GPU compression, sRGB sampling, swizzles, etc. (#240) 2020-08-15 14:51:12 +03:00
public.h Texturing overhaul: GPU compression, sRGB sampling, swizzles, etc. (#240) 2020-08-15 14:51:12 +03:00
readonly_wrapper.c make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
readonly_wrapper.h make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
readonly_wrapper_public.h make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
setup.h vfs: transparent decompression of *.zst files 2021-03-26 21:45:57 +02:00
setup_emscripten.c make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
setup_generic.c vfs: transparent decompression of *.zst files 2021-03-26 21:45:57 +02:00
setup_switch.c make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
sync_emscripten.c Don't redefine standard complex macro; use a new cmplx typedef 2019-11-22 05:38:48 +02:00
sync_noop.c make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
syspath.h make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
syspath_posix.c vfs: try to put cache in platform-appropriate locations 2020-12-07 22:36:35 +02:00
syspath_public.c vfs: transparent decompression of *.zst files 2021-03-26 21:45:57 +02:00
syspath_public.h vfs: transparent decompression of *.zst files 2021-03-26 21:45:57 +02:00
syspath_win32.c vfs: try to put cache in platform-appropriate locations 2020-12-07 22:36:35 +02:00
union.c make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
union.h make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
union_public.c make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
union_public.h make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
vdir.c make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
vdir.h make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
zipfile.c make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
zipfile.h make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
zipfile_impl.h rwops_zipfile: support manual zstd decompression 2021-03-25 20:54:22 +02:00
zipfile_null.c make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
zipfile_public.c make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
zipfile_public.h make upkeep script preserve existing copyrights 2019-08-03 20:44:22 +03:00
zippath.c rwops_zipfile: support manual zstd decompression 2021-03-25 20:54:22 +02:00