Graham
bcc2fdf48e
Add @JvmStatic and @JvmOverloads to more cache methods
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
bf12f41faf
Update run configurations
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
6f7350afa3
Fix JagArchive tests if libbzip2 is available
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
078b1f6197
Fix version trailers in RuneLiteStore
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
52ca09e4d0
Exclude JNR from minimization
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
b7be7950c6
Update GeneratedByteBufExtensions
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
7859b929ad
Fix buffer-generator mainClass name
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
4e19879ee0
Fix use of deprecated method in ByteBufExtensionGenerator
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
712d874848
Fix Jackson version
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
a885695fdf
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
3e60a82ca1
Add command for unpacking RuneLite flatcaches
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
ba75306169
Annotate cache methods with default parameters with @JvmOverloads
...
This allows them to be used from Java.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
aa2784a9e6
Add class for converting RuneLite flatcaches to other formats
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
8c415023af
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
f7abf23dee
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
c21895f052
Add JNR-based bzip2 implementation compatible with Jagex's
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
a6dbb29ea0
Fix dependency order
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
c9f397759e
Use advisory locks to prevent concurrent view refreshes
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
35f54fd753
Skip corrupt archives when importing legacy caches
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
29716379c3
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
1d76d90bcb
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
5c77ee4bd2
Format CacheExporter
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
1a78ef3c7d
Throw an exception if header is truncated
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
73eb30dbf9
Add game, environment, language, build and timestamp to file names
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
b99ae4bb09
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
fb0d7ef923
Add link to the RuneScape Archive
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
799277b386
Simplify JagexGzipOutputStream
...
Deflater already tracks the size of the input.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
0d097f7d2c
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
57bdd6c0f4
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
ec4eb6464f
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
26d5d5fd6e
Use JagexGzipOutputStream to compress gzipped JS5 containers
...
The output is bit-for-bit identical to Jagex's implementation.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
64b1e2e5b9
Add gzip-jagex command
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
71e7c6f8ea
Remove createLaxInputStream() method
...
It's rather pointless - the constructor can be called directly.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
6c508922fc
Add JagexGzipOutputStream
...
Equivalent to the built-in GZIPOutputStream, except it produces output
that is bit-for-bit identical to Jagex's implementation.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
a761a26cc8
Manage plugin versions in libs.versions.toml
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
0b2f13422b
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
e195f5f37f
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
08080489b6
Replace BIPUSH 1 with ICONST_1
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
cf983794fb
Fix InvalidKeyTransformer bug and comment
...
There were two problems:
- The current intention is for the uncompressed array to be 1 byte long,
not 6 bytes - as map groups only have a single file, we don't need the
group header.
- The comment was out of the sync with the intended code (replace
uncompressed with a single element byte array containing zero).
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
7cde3a4552
Add link to the RuneScape Preservation Unit wiki page
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
64713fb862
Add --decode-js5response flag to import-master-index
...
It removes the archive/group prefix and the 0xFF markers.
Unfortunately using Js5ResponseDecoder here is tricky - perhaps it
could've been done with an EmbeddedChannel.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
dbbc232e81
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
71f775f282
Add JSON version of the /caches page
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
759d4bf1f1
Add XteaPluginTest run configuration
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
4aa75cf602
Update copyright year
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
de07a41fde
Add JUnit dependencies to Java modules
...
Not really used for anything yet, but Gradle moans because
xtea-plugin/src/test/ exists and it can't find the JUnit engine.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
660c12676e
Only remove handlers from pipeline if future is successful
...
If the future is not successful the channel may have been closed. The
pipeline of a closed channel is empty, so attempting to remove handlers
from it would cause an exception.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
207b99d937
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
b53149ce6b
Add RuneLite plugin for collecting XTEA keys
...
The API endpoint isn't always updated immediately, so this is useful for
gathering keys semi-manually if they're needed more urgently.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
346302fc05
Add API endpoint for receiving keys
...
Keys are now initially imported into a key_queue table, which is never
locked exclusively - allowing the API endpoint to function while the
brute forcer is running. The brute forcer moves all pending keys in the
queue to the keys table before running the actual brute forcing.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago