Graham
81e665e9d8
Add UniqueQueue
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ce741279b4
Add read-only Js5Index.{Group,File} types
...
These will be used by the high-level cache API, where we don't want to
expose mutable versions of the group/file types as that would allow the
index/cache to get out of sync.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
e0d29e5ac2
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
1c0bf7529c
Update Bootstrap
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ee151aef56
Add constants to BitBuf
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ff19c57396
Rename Js5File to Js5Pack
...
I still don't know what Jagex call this, but calling it pack at least
avoids confusion with the files contained within the archive.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
bd5a925f9b
Add BitBuf
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
1954f408e7
Replace deprecated capitalize() function
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
b37e4d0d0b
Use alternatives for most methods deprecated in Kotlin 1.5
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
7f58b50a47
Update to Kotlin 1.5.0
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
40eb0302f7
Downgrade to working Kotlinter
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
d7e9f83953
Return ByteBuf from extension methods for chaining
...
This is consistent with the built-in ByteBuf methods that would
otherwise return void/unit.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
9bb511369d
Add automatically-generated ByteBuf extensions
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
fae51b8eb5
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
c6f18ceca9
Exclude Flyway from minimization
...
It uses the Java Service Provider Interface.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
852cd7d1d2
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
cf8110e5a7
Fix possible off-by-one error in KeyBruteForcer
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
e9f040df79
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
db43c73085
Add lax gzip implementation
...
This is closer to the client's implementation, which ignores the gzip
header/trailer entirely and just decompresses the inner DEFLATE stream.
While Jagex always produce valid gzip files, some cache editors in the
private server scene do not set the checksum/length correctly in the
trailer. I'm planning to add an option to use the lax gzip
implementation to support reading these caches.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
689fe7c372
Refactor more code
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
33085cb965
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
341fad9b83
Improve consistency of MIDI event/message naming
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
a5db11ae1f
Refactor more audio-related code
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
9a9fa2bc09
Rename Class6 to Material7
...
Still don't know what it is, but this is at least one fewer class
without any sort of name at all.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
1726aaecd2
Refactor readZoneLocs
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
629a78795b
Format libs.versions.toml
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
9e8d1fca1c
Use type-safe project accessors
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
213808f609
Add pluginManagement block
...
This allows us to remove the buildSrc module.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
3a4fdc7ee0
Replace JCenter with the Gradle Plugin Portal
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
6498d39306
Add Gradle 7 version catalog
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
1a2f4bd520
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
7c01a19c58
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
b0f1632105
Improve Js5MasterIndex code coverage
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
eca3a90c78
Improve Js5Compression code coverage
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
3293454c17
Add support for importing keys in binary format
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
09961589e3
Fix map square coordinate text
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
7d041e6e22
Replace readAllBytes() with readBytes()
...
It's more concise and I suspect Kotlin's implementation is better than
Java's, as it seems to take available() into account.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ba60fecb50
Add support for downloading caches in flat file format
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
6aea0cfc8e
Add FlatFileStoreZipWriter
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
e0a2df889b
Add more information to the individual cache pages
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
d89c45940b
Infer the number of bytes to skip automatically in the material decoder
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
1f9e7798e7
Improve size estimation footnote
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
193af138fe
Use non-breaking space in the size column
...
This has the convenient side effect of us no longer needing to exclude
the byteunits dependency from minimisation.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
9be1a54b76
Add estimated cache size column
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ee567cc76f
Treat empty loc groups as valid
...
I've decided to reverse my decision in
e3e0094b43
.
If you treat empty loc groups as valid, some OSRS caches do have 100%
valid keys. Being able to pick these out in the list of caches will be
useful.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
40d6ccbb61
Add ent's output to the keys page
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
221252895c
Check exit code of ent
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
09b6605a99
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4e713b53f8
Make T3 errors non-fatal
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
593f46d9fd
Add percentages to the keys page
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago