Например:
текущий интересующий ресурс (в подпапке игры)
res\packages\gui-part1.pkg
грядущее обновление (в имеющемся перечне в подпапке игры)
updates\a5c09c2fdb416fe3cd9fc672aee448ec7082345a.resume
updates\wott3rvn3_1.12.0.2653_eu\wott3rvn3_1.12.0.21023_1.11.1.20995_client.wgpkg
updates\wott3rvn3_1.12.0.2653_eu\wott3rvn3_1.12.0.21023_1.11.1.20995_sdcontent.wgpkg
включая обновление интересующего ресурса
updates\wott3rvn3_1.12.0.2653_eu\wott3rvn3_1.12.0.21023_1.11.1.20995_client.wgpkg\res\packages\gui-part1.pkg.1.12.0.21023.79490109.rdiff
Вопрос: возможно ли прямо сейчас из всего этого, что имеется, получить gui-part1.pkg, ожидаемый после применения обновления? Что-то гугл в этом вопросе не помогает.
edit
нагуглилось:
чем
[Using] rdiff in Windows: https://stackoverflow.com/questions/36651956/using-rdiff-in-window
как rdiff.exe patch old.pkg delta.rdiff new.pkg
rdiff.exe --help > rdiff_help.txt
Usage: rdiff [OPTIONS] signature [BASIS [SIGNATURE]]
[OPTIONS] delta SIGNATURE [NEWFILE [DELTA]]
[OPTIONS] patch BASIS [DELTA [NEWFILE]]
Options:
-v, --verbose Trace internal processing
-V, --version Show program version
-?, --help Show this help message
-s, --statistics Show performance statistics
-f, --force Force overwriting existing files
Signature generation options:
-H, --hash=ALG Hash algorithm: blake2 (default), md4
Delta-encoding options:
-b, --block-size=BYTES Signature block size
-S, --sum-size=BYTES Set signature strength
--paranoia Verify all rolling checksums
IO options:
-I, --input-size=BYTES Input buffer size
-O, --output-size=BYTES Output buffer size
-z, --gzip[=LEVEL] gzip-compress deltas
-i, --bzip2[=LEVEL] bzip2-compress deltas
Все сработало.
[resolved] how-to: wot resources package .pkg gets updated from the current one with a predownloaded upcoming update binary difference file .rdiff
edit2: formatting