Skip to content

Commit

Permalink
Add zkm configuration script to SnakeGame jar test (#93)
Browse files Browse the repository at this point in the history
* Add zkm configuration script to SnakeGame jar test
  • Loading branch information
THCFree authored Sep 24, 2024
1 parent ec2ba67 commit 80c2973
Showing 1 changed file with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,25 @@ protected void registerAll() {
Source.of("zkm/sample2/SimpleLongDecrypter", false),
Source.of("zkm/sample2/FallbackLongDecrypter", false)
);

// Obfuscated using the following ZKM config (https://www.zelix.com/klassmaster/docs/langZKMScript.html):
/*
obfuscate changeLogFileIn=""
changeLogFileOut="ChangeLog.txt"
obfuscateFlow=aggressive
exceptionObfuscation=heavy
encryptStringLiterals=enhanced
encryptIntegerConstants=aggressive
encryptLongConstants=normal
mixedCaseClassNames=ifInArchive
aggressiveMethodRenaming=true
collapsePackagesWithDefault=""
localVariables=delete
lineNumbers=delete
autoReflectionHandling=normal
obfuscateReferences=none
methodParameterChanges=flowObfuscate
obfuscateParameters=normal;
*/
register("Zelix (21) Snake Game", InputType.CUSTOM_JAR,
List.of(ComposedZelixTransformer::new),
Source.of("SnakeGame-obf-zkm")
Expand Down

0 comments on commit 80c2973

Please sign in to comment.