Graham
235ee41e32
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ea725b3881
Add extension methods for reading/writing null-terminated Cp1252 strings
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
bdbfb61590
Ensure master index format is set to VERSIONED
...
This ensures the server sends a master index compatible with the client
even if all the indexes in the cache use the original Js5Index format.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
55016d7223
Rename updated to version
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
01b50e33f7
Fix resolve_group() if the version number is greater than 65535
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
bc907d5309
Add support for reading existing .dat2m caches
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
6be16f1748
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
080677b45c
Name the shutdown hook thread
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
43b8be3ff3
Add shutdown hook
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
dc4b769f29
Add startup log messages
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
fbb9694feb
Close JS5 connection if an invalid file is requested
...
This mimics the behaviour of the OSRS server.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
f48d23c4b9
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
20f1b86ce9
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
bc018a3b0f
Add initial JAGGRAB, JS5 and HTTP servers
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
65b3e1315a
Add Store and Js5MasterIndex providers
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
a3cca0e6c3
Add Protocol constants
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
484c52af8e
Add InitJaggrabConnection packet
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4d5c9153ab
Add support for converting a Netty Future to a CompletableFuture
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
d3b89d5b41
Remove AUTO_READ option from the ServerChannel config
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
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