Graham
4ce8191c71
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
6a87159f30
Add lengths and uncompressed checksum to index_groups
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
f90b9df505
Replace Paths.get() with Path.of()
...
Paths.get() may be deprecated in a future release.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
986d23e876
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
7691f63d29
Make Js5Response extend DefaultByteBufHolder
...
This is possible now it is no longer a subclass of a sealed class.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
b6e91b756e
Add ProjAnim to the glossary
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
e4dc5ca34d
Add ScriptVarType to glossary
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
411ee9f446
Refactor CS2-related code
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
010d5145bd
Refactor Cs1ScriptRunner
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
8c0a3d8bc8
Refactor chat- and command-related code
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
f23545aef8
Refactor more code
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
a8a48b3574
Move repositories to new dependencyResolutionManagement block
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
f9996ef0b0
Update glossary
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
77e227c93d
Store game, build and timestamp in the master index table
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ab006bbf44
Reintroduce Clitk extensions module
...
A future commit will introduce CLI options that need to be interpreted
as an Instant.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
f3ea8e71fe
Rename version to build
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
689c315bf3
Track current build number automatically
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
fdd0f118f2
Add logging to Js5ChannelHandler
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
d67a5e690f
Add request() method
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
80a8889106
Call read() if there is any existing in-flight request
...
This fixes the downloader getting stuck if there's a particularly large
file, such that we've read all the current inbound data but haven't sent
a new request yet as we still have 200 in-flight.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
d421d5150c
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4743f38dbe
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
f2f3da3281
Simplify testCrc32 slightly
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
c70cfcfb30
Add ByteBuf.whirlpool() extension method
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
0981303391
Replace if/else sequence with when
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
6f815b6334
Move return outside try block
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
5ee2eccb83
Remove redundant init block
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
918f8ab379
Remove redundant visibility modifier
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
d0dbf4c58e
Make set subject of when
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ab3300a8c7
Return old NamedEntry after removal from NamedEntryCollection
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ed0b1db81b
Flesh out the JS5 protocol introduction
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
f74d8f8b45
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
602328c37d
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
af0a1e7457
Fix DiskStoreTest and FlatFileStoreTest on Windows
...
As we're comparing a real directory tree with Jimfs, we need to ensure
the platform matches - otherwise it gets confused, and thinks \ is part
of a UNIX file name.
4 years ago
Graham
43cf436c22
Set Java compiler encoding to UTF-8
...
This fixes building the nonfree repository on Windows.
4 years ago
Graham
cec6fce341
Refactor various bits and pieces
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4e48ea0f41
Refactor the SoundBank class
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
5ea7f1ab6b
Refactor the Vorbis implementation
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
186c5930a5
Add Js5Archive and Js5ConfigGroup constants for 550
...
Most of these names come directly from the NXT/TFU clients, though a few
are made up as we don't know the official name.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
e384d634cc
Reduce allocations if a singleton set is already mutable
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
df68f6d801
Add Js5ConfigGroup object
...
Empty so far, mostly serves as a reminder for me to populate it along
with the Js5Archive object.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
e18d751125
Add combined command for running both deobfuscators and the decompiler
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
70b35216c9
Flesh out JS5 protocol documentation
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
07603d3cfa
Avoid copying the byte array in crc32() if possible
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
435a8b4eff
Validate checksums in the JS5 client
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4b1d25393c
Add JS5 protocol documentation
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
d837e72aee
Enforce consistent version of Kotlin's stdlib across the whole project
...
I think something pulls in 1.3's standard library, which confuses IDEA.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
0f939935cd
Skip flush/read calls if no writes are made
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
e0a9bc3ca6
Rename suspend to awaitSuspend
...
Ideally I'd like to just call this await, but it conflicts with an
existing method.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
29ac56fe1e
Replace flushRequests() with channelReadComplete()
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago