Graham
5d7bd5b5c7
Add support for signed master indexes
...
This commit also changes the way the master index format detection
works, as the previous scheme could not distinguish VERSIONED from
WHIRLPOOL.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ed7eb10411
Relax isPrivate checks in the encrypt/decrypt methods
...
The master index uses RSA signatures in some builds. As such, we need to
be able to encrypt with a private key and decrypt with a public key.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
e9e7b7848d
Add constant for the RSA magic byte
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
7b6c0cf1fd
Use block comments for multi-line comments
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4ccebc7ef8
Replace assertThrows with assertFailsWith
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
8fcf7cae46
Test the master index length validation code
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4126abfaad
Add support for unversioned master indexes
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4154e4fdb4
Store non-truncated versions in the archiving service if available
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
cbeb9a3a67
Add mapsquare key for compatibility with Polar's XTEA key files
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
5cfb234cc7
Use Ktor's Content-Disposition builder
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
412d6f4c1f
Add XTEA key export endpoint
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
936968363b
Add CacheModule
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
46b311c5ad
Add XteaKey Jackson serializer
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
98dcbedeaf
Sort install() calls in ArchiveModule
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
a5ac7b0b28
Fix heading case
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
2577eeb6a4
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
11bd7e4fc7
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
fd914ba3d3
Add note about the AArch64 patch to the JAGGRAB documentation
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4fa67c37fc
Improve code for merging an old and new master index together
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
b410b69771
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
a19a69b21e
Add name and description to the master_indexes table
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
dc9852e77c
Indent all tags in the HTML code style
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
47127113f4
Add initial archiving service web interface
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
6e9ba80d0c
Rename dev.openrs2.net to org.openrs2.net
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
a3593e9326
Rename master_index_entries to master_index_archives
...
This naming is a bit more consistent with the index_groups and
index_files tables.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
0b00c8452a
Update loader.yaml to account for the removed @Pc annotation
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
16523ec3de
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4ba78e26b9
Create .idx files for empty indexes
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
273f7eddf8
Use a CTE to reduce duplication in CacheExporter
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
9834dccfdd
Add indexes to the groups table
...
This will reduce the impact of checksum/version collisions, as a
collision would have to happen between two indexes of the same archive
rather than any two indexes.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
723bd42a8e
Simplify encrypted flag in the Container class
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
885fa3d0ed
Add AArch64 macOS support
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
3091409f82
Add arch/OS enums to avoid hard-coding the platform detection patch
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
80957aeca0
Add InsnList.clone() extension function
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
d5d76f9301
Add DiskStoreZipWriter
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
b61992a20f
Replace Paths.get() with Path.of()
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
64e85a43de
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
f11bf003f7
Refactor sine in VorbisSound
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ad03b67b5f
Refactor the Filter class
...
Still not sure about a lot of this, but it's better than nothing.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
b5516982a3
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
b8aada26f3
Refactor texture op 29 sub-ops
...
No idea what these are, but it's still slightly more meaningful than the
current names.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
2185eedbb6
Rename some MapElement-related code
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
002200101d
Partially refactor the Skybox class
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
e4c814b86b
Refactor some model- and animation-related code
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
9c3959769f
Add Js5Index and Js5MasterIndex to the glossary
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
1dc2918956
Change 'area' to 'build area'
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
832d6ecb6f
Improve coordinate system formatting
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
451d59b9e6
Add missing retain() call to Group.pack()
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
f1c3c65811
Use upper case hex digits in golden ratio constant
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
1e3257acf7
Use consistent case for Unicode escapes in the Whirlpool S-box
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago