Note 1:
I haven't coded anything in Java for 20 years, help will be require from current Java coders or this project will remain dead.
Note 2 (5.8.5 built for the KT3):
Code:
[root@kindle us]# /usr/java/bin/cvm -version
CVM Capabilities set
java version "1.8.0_06-ea"
Java(TM) SE Embedded Runtime Environment (build 1.8.0_06-ea-b00, profile compact1, headless)
Java HotSpot(TM) Embedded Minimal VM (build 25.06-b00, mixed mode)
Note 3 (procyon-decompiler-0.5.30.jar renamed to procyon.jar and placed in */esys (our extension system's directory) ):
The procyon decompiler, version 0.5.30 requires Java-7 or later to run, so this isn't much of a test, but:
Code:
[root@kindle esys]# /usr/java/bin/cvm -jar procyon.jar
CVM Capabilities set
Usage: <main class> [options] <type names or class/jar files>
Options:
- - - snip - - -
Drat!
It seems I can't follow our own instructions (
https://github.com/janetizzy/KUAL-buttons ).
Before I screw up our plan again, make things look like this:
Code:
[root@kindle us]# tree esys
esys
├── bin
│ └── tree
├── java
│ ├── bin
│ │ └── procyon.jar
│ └── lib
└── lib
5 directories, 2 files
of course you will need an:
Code:
[root@kindle us]# export PATH=/mnt/us/esys/bin:$PATH
somewhere along the line.
How / If you automate that for ssh logins is up to you (there is a thread on that somewhere - since root's home directory is normally on tmpfs).
tree isn't pre-installed, attached is the one from Debian/Jessie/ARMel, works fine (at least over ssh).
The .bin is to keep the forum uploader happy, you can rename it on the Kindle as shown above.
Note 4: The "original" engima (renamed from enigma-v0.10.4.beta):
*/esys looks like this now:
Code:
[root@kindle esys]# tree .
.
├── bin
│ └── tree
├── java
│ ├── bin
│ │ ├── enigma.jar
│ │ └── procyon.jar
│ └── lib
└── lib
5 directories, 3 files
And for a quick check on that (again, KT3-fm-5.8.5):
Code:
[root@kindle esys]# /usr/java/bin/cvm -cp java/bin/enigma.jar cuchaz.enigma.CommandMain
CVM Capabilities set
command is required
Enigma - 0.10.4 beta
Usage:
java -cp enigma.jar cuchaz.enigma.CommandMain <command>
where <command> is one of:
deobfuscate <in jar> <out jar> [<mappings file>]
decompile <in jar> <out folder> [<mappings file>]
protectify <in jar> <out jar>
Note: enigma also has a GUI mode.
Note 5: Going to need readelf for the next script (shown after renaming from readelf.bin to keep the forum uploader happy).
Code:
[root@kindle esys]# tree .
.
├── bin
│ ├── readelf
│ └── tree
├── java
│ ├── bin
│ │ ├── enigma.jar
│ │ └── procyon.jar
│ └── lib
└── lib