Graham
fb870d0532
Format ClientImporter.kt
...
Signed-off-by: Graham <gpe@openrs2.org>
2 months ago
Graham
772ae1e8da
Fix propagating build numbers to loaders
...
Depending on the order of the blobs table, the previous query would
sometimes propagate a NULL version even if another resource used by the
same loader had a version number.
Signed-off-by: Graham <gpe@openrs2.org>
2 months ago
Graham
cc8f4cd9c1
Propagate build numbers from clients to loaders
...
Signed-off-by: Graham <gpe@openrs2.org>
2 months ago
Graham
8ba3479334
Remove redundant null assertion
...
Signed-off-by: Graham <gpe@openrs2.org>
2 months ago
Graham
545cd3eba5
Add support for importing newer versions of jaggl
...
Signed-off-by: Graham <gpe@openrs2.org>
2 months ago
Graham
566a49f6a7
Add ArtifactLink support for newer loaders
...
Signed-off-by: Graham <gpe@openrs2.org>
2 months ago
Graham
1f79a47839
Add sw3d ArtifactType
...
There are some versions of the game where sw3d is stored outside of the
cache, so we need to support it in the client archiving code.
Signed-off-by: Graham <gpe@openrs2.org>
2 months ago
Graham
390affb319
Replace fromOrdinal() with entries.getOrNull()
...
Signed-off-by: Graham <gpe@openrs2.org>
2 months ago
Graham
9cd2c25601
Switch to vendored implementation of Pack200
...
This fixes the main blocker for upgrading to the latest version of Java.
Signed-off-by: Graham <gpe@openrs2.org>
2 months ago
Graham
67908be56e
Update clikt
...
Signed-off-by: Graham <gpe@openrs2.org>
2 months ago
Graham
f472125200
Add OSRS INIT_JS5REMOTE_CONNECTION codec
...
Signed-off-by: Graham <gpe@openrs2.org>
5 months ago
Graham
8a7ca33aa4
Fix CacheDownloader locking up indefinitely if connect() fails
...
Signed-off-by: Graham <gpe@openrs2.org>
8 months ago
Graham
0cd8be87ca
Add support for JOGL artifact links in early HD era loaders
...
Signed-off-by: Graham <gpe@openrs2.org>
11 months ago
Graham
2aff6e56b7
Extract links from pre-HD new engine loaders
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
71c6f5821b
Log IDs of artifacts as they are refreshed
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
1083839720
Add --skip-errors flag to client import command
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
774a92b289
De-duplicate artifact sources
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
d9f91bc0e7
Add file name and timestamp to artifact_sources table
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
fe5cde0290
Add loginapplet and passapplet support
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
32daae09a8
Parse signlink build in clients as well as loaders
...
This should allow us to identify the build of the 194 client.
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
67762dd226
List sources on each artifact page
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
3932debd92
Add artifact_sources table
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
3da5bb0786
Allow unlimited reconnections if we make progress
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
856696a703
Reconnect in JS5 downloader if any I/O error occurs
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
2a0401a35e
Add Mach-O support
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
f6324198ef
Add support for OSRS beta caches and server_version param
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
8052561dcf
Improve server_version support
...
- It's now used for OSRS as well as NXT.
- We retain buildMinor if buildMajor == server_version, so we don't have
to keep retrying minor versions.
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
1f83b8668d
Fix detection of build 503
...
removeAll removes all instances of an item in the right list from the
left list, but we only want to remove a single instance.
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
5b44a4bca6
Improve client build number matching
...
The regex captures too much if there's a NEW prior to the NEW client
instruction.
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
6fe155540a
Convert namePointer from RVA to raw data pointer
...
This previously worked by chance with the PE32 executables we saw, but
it didn't work with the PE32+ executables we saw.
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
73e959a3cb
Add initial support for archiving clients
...
There are still some gaps but I want to get this committed and possibly
deployed before doing further work.
Remaining items include:
- Mach-O support
- New engine loader ArtifactLink support
- Post-668 client support
- FunOrb support
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
c65cc2ff59
Allow server_version from jav_config to override build number
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
71b1ac8e20
Rename XteaKey to SymmetricKey
...
It's now used for both XTEA and ISAAC keys, and there's nothing
XTEA-specific about it so there's no need to duplicate it.
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
d85c01d045
Remove extraneous semicolon
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
0b6610c062
Replace use of deprecated static/resources methods
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
651b2f8b5f
Update Guice
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
dfb1f3c0e6
Skip containers that already exist during import
...
I'm hoping this will speed up importing large RS3 caches.
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
28a9667471
Add support for resolving files/groups between old and new engine caches
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
97b53c5695
Remove use of wildcard import
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
a5dfbdd691
Remove PolarKeyDownloader
...
Polar's site no longer hosts XTEA keys.
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
5b8cd2964f
Download names from Pazaz's repository
...
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
8cd73a926b
Remove redundant type parameter
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
69ea1ac7ab
Add beta HTTP js5 endpoint
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
9463a70520
Catch KeyDownloader::getMissingUrls exceptions
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
33ecd68654
Simplify CORS handling
...
This makes caching simpler to reason about (no Vary header) and more
efficient (also because there is no Vary header).
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
ddfc472c84
Switch to Ktor's Jetty backend
...
We've now found both the CIO and Netty backends to be problematic in
certain cases (CIO with lots of concurrent requests, Netty with
backpressure). Hopefully Jetty is a bit more battle-tested!
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
962716524e
Fix lint error
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
54f2a44eab
Move assignment outside if
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
ba5c285a47
Remove defunct OpenOSRS key downloader and link
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
ea9ec62e6e
Add support for fetching master index from the API
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago