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
Graham
cbb2a90388
Disable .dat2/.idx link if the cache is too big for a DiskStore
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
a52955fe4b
Switch to ktor's CIO backend
...
It seems to deal with backpressure better than the Netty backend.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
36e16a8687
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
164e70f333
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
c4df2a4aae
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
0ec7736764
Log the number of XTEA keys imported
...
This makes it a bit easier to determine if the keys are parsed
correctly.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
b3d6b112d2
Add Logback configuration file
...
There are two main reasons for this change: by default, logback uses
stdout (!) and not stderr. This caused problems in programs like
packclass/unpackclass, where the packclass or JAR files were mixed in
with Netty's debug logging.
Secondly, the debug logging from lots of third-party libraries was
annoying (as it made it difficult to pick out OpenRS2-specific log
messages), so I've disabled lots of it.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
66c3027f8a
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
e31fd48b0a
Remove old idea-bug reference
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago