diff options
| author | 2015-03-15 09:53:21 -0400 | |
|---|---|---|
| committer | 2015-03-15 09:53:21 -0400 | |
| commit | 2ff03cb72dccafd387776f5b0f91be1e8b056afb (patch) | |
| tree | 7e5fb167c55319f7721aef9a335b3fc74245e5be | |
| parent | fix bugs in the mappings converter (diff) | |
| download | enigma-fork-0.9_beta.tar.gz enigma-fork-0.9_beta.tar.xz enigma-fork-0.9_beta.zip | |
repackage for 0.9 betav0.9_beta
| -rw-r--r-- | build.py | 4 | ||||
| -rw-r--r-- | src/cuchaz/enigma/Constants.java | 2 | ||||
| -rw-r--r-- | test/cuchaz/enigma/TestSourceIndex.java | 7 |
3 files changed, 8 insertions, 5 deletions
| @@ -18,8 +18,8 @@ import ssjb | |||
| 18 | import ssjb.ivy | 18 | import ssjb.ivy |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | ArtifactStandalone = ssjb.ivy.Dep("cuchaz:enigma:0.8b") | 21 | ArtifactStandalone = ssjb.ivy.Dep("cuchaz:enigma:0.9b") |
| 22 | ArtifactLib = ssjb.ivy.Dep("cuchaz:enigma-lib:0.8b") | 22 | ArtifactLib = ssjb.ivy.Dep("cuchaz:enigma-lib:0.9b") |
| 23 | 23 | ||
| 24 | # dependencies | 24 | # dependencies |
| 25 | ExtraRepos = [ | 25 | ExtraRepos = [ |
diff --git a/src/cuchaz/enigma/Constants.java b/src/cuchaz/enigma/Constants.java index db14778..8910a96 100644 --- a/src/cuchaz/enigma/Constants.java +++ b/src/cuchaz/enigma/Constants.java | |||
| @@ -12,7 +12,7 @@ package cuchaz.enigma; | |||
| 12 | 12 | ||
| 13 | public class Constants { | 13 | public class Constants { |
| 14 | public static final String Name = "Enigma"; | 14 | public static final String Name = "Enigma"; |
| 15 | public static final String Version = "0.8 beta"; | 15 | public static final String Version = "0.9 beta"; |
| 16 | public static final String Url = "http://www.cuchazinteractive.com/enigma"; | 16 | public static final String Url = "http://www.cuchazinteractive.com/enigma"; |
| 17 | public static final int MiB = 1024 * 1024; // 1 mebibyte | 17 | public static final int MiB = 1024 * 1024; // 1 mebibyte |
| 18 | public static final int KiB = 1024; // 1 kebibyte | 18 | public static final int KiB = 1024; // 1 kebibyte |
diff --git a/test/cuchaz/enigma/TestSourceIndex.java b/test/cuchaz/enigma/TestSourceIndex.java index 96a8923..94bf941 100644 --- a/test/cuchaz/enigma/TestSourceIndex.java +++ b/test/cuchaz/enigma/TestSourceIndex.java | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | ******************************************************************************/ | 11 | ******************************************************************************/ |
| 12 | package cuchaz.enigma; | 12 | package cuchaz.enigma; |
| 13 | 13 | ||
| 14 | import java.io.File; | ||
| 14 | import java.util.Set; | 15 | import java.util.Set; |
| 15 | import java.util.jar.JarFile; | 16 | import java.util.jar.JarFile; |
| 16 | 17 | ||
| @@ -23,11 +24,13 @@ import cuchaz.enigma.mapping.ClassEntry; | |||
| 23 | 24 | ||
| 24 | public class TestSourceIndex { | 25 | public class TestSourceIndex { |
| 25 | 26 | ||
| 26 | // TEMP | ||
| 27 | @Test | 27 | @Test |
| 28 | public void indexEverything() | 28 | public void indexEverything() |
| 29 | throws Exception { | 29 | throws Exception { |
| 30 | Deobfuscator deobfuscator = new Deobfuscator(new JarFile("input/1.8.jar")); | 30 | |
| 31 | File home = new File(System.getProperty("user.home")); | ||
| 32 | File jarFile = new File(home, "/.minecraft/versions/1.8.3/1.8.3.jar"); | ||
| 33 | Deobfuscator deobfuscator = new Deobfuscator(new JarFile(jarFile)); | ||
| 31 | 34 | ||
| 32 | // get all classes that aren't inner classes | 35 | // get all classes that aren't inner classes |
| 33 | Set<ClassEntry> classEntries = Sets.newHashSet(); | 36 | Set<ClassEntry> classEntries = Sets.newHashSet(); |