Graham
232ba32bbd
Enable explicit API mode
...
This already caught some cases of public members that should have been
private and one case where the inferred type was too specific.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
dd06bb2f83
Remove native library loading logic for SunOS/Solaris
...
The native library replacements haven't been built for them.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
ccf7056a93
Use private companion objects where possible
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
7e422447ef
Convert hasCode() to a property
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
cf3474c016
Convert createIntConstant to an extension method on Int
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
5e987f1f61
Remove memory allocation delay during client startup
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
c488a155c4
Replace operator and game names with values from the config file
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
ef5db18ea1
Replace runescape.com with domain from the config file
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
fe3a8c1a37
Replace cachesubdir with the internal game name
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
ed052c783b
Use cache path and signer name from the config file
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
05a03d5bdc
Inject transformers in the bundler and deobfuscator
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
626cbacc06
Remove colons from debug log messages for consistency
4 years ago
Graham
785ce2d9ca
Use require() in PlatformDetectionTransformer
4 years ago
Graham
64abe46971
Replace forEach calls with for loops
...
These are artifacts of the Java port.
4 years ago
Graham
a4cd83fff0
Fix typo in the Portuguese translation of 'loading textures'
4 years ago
Graham
4ff64c95e5
Rename compress<x>Resources to compress<x>Natives
4 years ago
Graham
97a11ba765
Inject RSAPrivateCrtKeyParameters in PublicKeyTransformer
4 years ago
Graham
e82f575695
Update jar/pack200/js5 resources in ResourceTransformer
4 years ago
Graham
a032e3d472
Exclude CRC from the path used by Resource::write
4 years ago
Graham
a79dfd6f32
Implement jaggl and jagmisc resource transformation
4 years ago
Graham
2b82451b96
Remove isInterface argument from MethodInsnNode constructors
...
It's optional.
4 years ago
Graham
015de5d39b
Rename PLATFORM_DETECT to PLATFORM_DETECTION
4 years ago
Graham
c2fe02a3f3
Rename PLATFORM_DETECT_MATCHER to GL_PLATFORM_DETECT_MATCHER
4 years ago
Graham
dcfaedcd2f
Improve opaque predicate regex in PlatformDetectionTransformer
4 years ago
Graham
808c80e896
Add initial public key transformer
4 years ago
Graham
b05ce1e96f
Add ResouceTransformer skeleton
4 years ago
Graham
02d3867f4c
Add platform detection transformer
4 years ago
Graham
5038d1d671
Replace ByteStreams with Kotlin extension method
4 years ago
Graham
250062a72f
Set buffer size to 65,536 bytes
...
Although this is one byte larger than it needs to be to hold the largest
possible packet, I think using a power of two is nicer.
4 years ago
Graham
e9a9a8f962
Format with ktlint
4 years ago
Graham
01f30c5f03
Convert RightClickTransformer to Kotlin
5 years ago
Graham
6e9a7f36ef
Convert RightClickTransformer to Kotlin
5 years ago
Graham
4a8704f566
Convert HostCheckTransformer to Kotlin
5 years ago
Graham
1d889357a9
Convert MacResizeTransformer to Kotlin
5 years ago
Graham
f4a608acaf
Convert LoadLibraryTransformer to Kotlin
5 years ago
Graham
a3e5a19811
Convert CachePathTransformer to Kotlin
5 years ago
Graham
8020ac98ab
Convert InsnNodeUtils to Kotlin
5 years ago
Graham
db785e38d0
Convert MethodNodeUtils to Kotlin
5 years ago
Graham
d9f874906d
Make RightClickTransformer compatible with the unsigned client
5 years ago
Graham
eec9279a2c
Add hasCode() method
5 years ago
Graham
0a5901cde4
Add shorthand MemberRef constructors
5 years ago
Graham
5d63904075
Increase the size of the client's main packet buffer
5 years ago
Graham
dac0cc10c3
Update loadLibrary() calls
...
This commit makes two changes:
- Renames libjaggl.jnilib to libjaggl.dylib, to reflect the more modern
convention on OS X.
- Removes the distinction between jaggl.dll and jaggl64.dll. The
loadLibrary() code only attempts to use jaggl.dll now, with the
correct architecture being selected by the loader.
5 years ago
Graham
a26efcb30c
Use for-each to iterate over InsnLists
5 years ago
Graham
552e3cbd8d
Replace preferences file jagex_ prefix with .openrs2_
5 years ago
Graham
49a4cb3084
Remove macOS-specific resize logic from the client
...
Our custom jaggl natives update the OpenGL context upon resizing, unlike the
original natives.
5 years ago
Graham
145ed6b1ee
Add classPath and library arguments to all Transformer methods
5 years ago
Graham
261cc87125
Add CachePathTransformer
5 years ago
Graham
3242356c80
Remove unused throws declarations
5 years ago
Graham
a1f7cf5ce4
Add HostCheckTransformer
5 years ago