Graham
f079c415f5
Add initial support for archiving legacy caches
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
ebfe01e4c4
Make executeOnce public
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
2eaba6a680
Fix cache size calculation
...
It didn't take the 2 byte version trailer into account previously.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
39d2ad7ee3
Fix ByteBuf leak
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
8448f74b3c
Add ChecksumTable and VersionList classes
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
007f7d68ef
Add legacy cache support to DiskStoreZipWriter
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
cad6e10eee
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
ab2c56f0af
Set HttpClient timeouts
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
be1f293b0a
Use multi-line comment
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
ac9dc83031
Rename legacyData to legacy and make it public
...
This will be useful for determining if a cache is 3xx or JS5 when
importing it in the archiving service.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
64aa0049ef
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
a12aafe608
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
046ccbc2c9
Optimize the master_index_stats view
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
26c6ad21e3
Add class for reading and writing .jag archives
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
3734d4709b
Update dependencies
...
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
b1c3cbc7e3
Format libs.versions.toml
...
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
f38253f2fc
Add else branch to non-exhaustive when statements
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
5cbaf55dd6
Add hash function used by pre-JS5 caches
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
de1ea8bc6f
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
547cc95580
Refactor more code
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
5e82f5dcc0
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
1efa370fdd
Reconnect to the JS5 server if we lose connection while parsing indexes
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
20868a39ad
Fix warnings in CacheExporter
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
09d3b6dbbf
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
2a6ffa87a6
Fix elvis operator on non-nullable type warning
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
3368818ca1
Download names from Polar's fork of RuneStar
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
a5b35ae9c3
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
eac114884b
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
405603f2f4
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
f0cd4afcf0
Add sorting and filtering to the caches table
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
76ad27a380
Add junit-platform-launcher dependency
...
Doesn't seem to be bundled with the latest version of IDEA.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
0ff6287122
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
e1a650aec4
Update introduction text
...
We now download RuneScape 3 caches automatically.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
b1590c2e98
Update dependencies
...
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
3848a89f68
Ensure a directory is created for the ARCHIVESET archive
...
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
3508a01c02
Refactor wall decoration offsets
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
a1f5ef8bff
Add Rasteriser class
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
045e4e0fa6
Remove unused methods
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
9e220d800f
Refactor several static methods
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
c71b7f846f
Refactor IntUtils.clamp
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
0e0f084d5e
Refactor another sort method
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
1216a61928
Rename PlayerAppearance.DEFAULT
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
7a511bfa1e
Refactor obj sprite rendering code
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
d97d7f0b18
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
9e66e0b552
Add sprite encoder/decoder
...
This implementation supports:
* Encoding in column- or row-major order (based on a very rough
heuristic).
* Preserving the colours of transparent pixels.
* Cutting off the borders of a transparent frame (if there is no colour
to preserve).
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
aaea619550
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago