diff --git a/deob/src/main/java/dev/openrs2/deob/Deobfuscator.kt b/deob/src/main/java/dev/openrs2/deob/Deobfuscator.kt index a3bb46f693..24ff4cd1e2 100644 --- a/deob/src/main/java/dev/openrs2/deob/Deobfuscator.kt +++ b/deob/src/main/java/dev/openrs2/deob/Deobfuscator.kt @@ -71,8 +71,8 @@ class Deobfuscator @Inject constructor( ) val glClassPath = ClassPath( runtime, - dependencies = listOf(gl), - libraries = listOf(glClient, glLoader, glSignLink, glUnpack, glUnpackClass) + dependencies = emptyList(), + libraries = listOf(gl, glClient, glLoader, glSignLink, glUnpack, glUnpackClass) ) val unsignedClassPath = ClassPath( runtime, diff --git a/deob/src/main/java/dev/openrs2/deob/Profile.kt b/deob/src/main/java/dev/openrs2/deob/Profile.kt index 2d74e5a330..4f0835e1d2 100644 --- a/deob/src/main/java/dev/openrs2/deob/Profile.kt +++ b/deob/src/main/java/dev/openrs2/deob/Profile.kt @@ -16,7 +16,10 @@ class Profile( val BUILD_550 = Profile( excludedClasses = GlobClassFilter( "client", + "com/sun/opengl/impl/x11/**", "jagex3/jagmisc/jagmisc", + "jaggl/**", + "javax/media/opengl/**", "loader", "unpack", "unpackclass" @@ -26,16 +29,24 @@ class Profile( "**. *", "**.main *", "**.providesignlink *", - "**.quit *" + "**.quit *", + "com/sun/opengl/impl/x11/**.* *", + "jaggl/**.* *", + "javax/media/opengl/**.* *" ), excludedFields = GlobMemberFilter( - "**.cache *" + "**.cache *", + "com/sun/opengl/impl/x11/**.* *", + "jaggl/**.* *", + "javax/media/opengl/**.* *" ), entryPoints = GlobMemberFilter( "**. *", "**.main *", "**.providesignlink *", "client. *", + "com/sun/opengl/impl/x11/DRIHack.begin *", + "com/sun/opengl/impl/x11/DRIHack.end *", "loader. *", "unpackclass. *" ),