|
|
@ -5,7 +5,7 @@ import org.openrs2.decompiler.Decompiler |
|
|
|
import org.openrs2.deob.ast.AstDeobfuscator |
|
|
|
import org.openrs2.deob.ast.AstDeobfuscator |
|
|
|
import org.openrs2.deob.bytecode.BytecodeDeobfuscator |
|
|
|
import org.openrs2.deob.bytecode.BytecodeDeobfuscator |
|
|
|
import org.openrs2.deob.util.Module |
|
|
|
import org.openrs2.deob.util.Module |
|
|
|
import java.nio.file.Paths |
|
|
|
import java.nio.file.Path |
|
|
|
import javax.inject.Inject |
|
|
|
import javax.inject.Inject |
|
|
|
import javax.inject.Singleton |
|
|
|
import javax.inject.Singleton |
|
|
|
|
|
|
|
|
|
|
@ -18,8 +18,8 @@ public class Deobfuscator @Inject constructor( |
|
|
|
public fun run() { |
|
|
|
public fun run() { |
|
|
|
logger.info { "Deobfuscating bytecode" } |
|
|
|
logger.info { "Deobfuscating bytecode" } |
|
|
|
bytecodeDeobfuscator.run( |
|
|
|
bytecodeDeobfuscator.run( |
|
|
|
input = Paths.get("nonfree/lib"), |
|
|
|
input = Path.of("nonfree/lib"), |
|
|
|
output = Paths.get("nonfree/var/cache/deob") |
|
|
|
output = Path.of("nonfree/var/cache/deob") |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
logger.info { "Decompiling" } |
|
|
|
logger.info { "Decompiling" } |
|
|
|