Graham
26c6ad21e3
Add class for reading and writing .jag archives
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
02f35fd014
Fix legacy DiskStore support
...
The archive IDs are offset by one in a legacy main_file_cache.dat cache.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
407aff8dd8
Add support for .dat (instead of .dat2) file to DiskStore
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
da131000ba
Create root directory in tar/zip files
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
36f5efa1ad
Serve flat file caches as .tar.gz files instead of .zip files
...
Streaming .tar.gz files requires less memory, as we don't need to
remember metadata about each file for the end of directory record.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
bc907d5309
Add support for reading existing .dat2m caches
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
b0f1632105
Improve Js5MasterIndex code coverage
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
6aea0cfc8e
Add FlatFileStoreZipWriter
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
416dabec4c
Include empty loc groups in the total number of known keys
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
53db5b3314
Add support for the current master index format
...
I'm not sure if the auto-detection code works: I'm assuming that the new
format was introduced at the same time as the lengths flag in Js5Index,
but I haven't confirmed this.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
5d7bd5b5c7
Add support for signed master indexes
...
This commit also changes the way the master index format detection
works, as the previous scheme could not distinguish VERSIONED from
WHIRLPOOL.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
d5d76f9301
Add DiskStoreZipWriter
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
fa20f1e118
Fix Js5MasterIndex::create
...
It didn't uncompress the index files before parsing them.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
f1433ec97f
Add method for creating a Js5MasterIndex
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ce5b76ef0f
Rename dev.openrs2 package to org.openrs2
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago