summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jeff2014-09-03 00:54:55 -0400
committerGravatar jeff2014-09-03 00:54:55 -0400
commit5bb9b46e729ba7953a48932d586bce6c30d813c4 (patch)
tree58c3907b3bdf5dc6c98ad060415da35a170038bd
parentfixed issue with method renaming (diff)
downloadenigma-0.5_beta.tar.gz
enigma-0.5_beta.tar.xz
enigma-0.5_beta.zip
repackaged for 0.5 betav0.5_beta
-rw-r--r--build.gradle2
-rw-r--r--readme.txt2
-rw-r--r--src/cuchaz/enigma/Constants.java2
-rw-r--r--src/cuchaz/enigma/convert/ClassMatcher.java12
4 files changed, 9 insertions, 9 deletions
diff --git a/build.gradle b/build.gradle
index 3cc975db..7409f936 100644
--- a/build.gradle
+++ b/build.gradle
@@ -19,7 +19,7 @@ targetCompatibility = 1.7
19 19
20group = "com.cuchazinteractive" 20group = "com.cuchazinteractive"
21archivesBaseName = "enigma" 21archivesBaseName = "enigma"
22version = "0.4.2b" 22version = "0.5b"
23 23
24sourceSets 24sourceSets
25{ 25{
diff --git a/readme.txt b/readme.txt
index ca4d7a5c..1c5c386f 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,5 +1,5 @@
1 1
2Enigma v0.4.2 beta 2Enigma v0.5 beta
3A tool for deobfuscation of Java bytecode 3A tool for deobfuscation of Java bytecode
4 4
5Copyright Jeff Martin, 2014 5Copyright Jeff Martin, 2014
diff --git a/src/cuchaz/enigma/Constants.java b/src/cuchaz/enigma/Constants.java
index c8631429..bf6ab846 100644
--- a/src/cuchaz/enigma/Constants.java
+++ b/src/cuchaz/enigma/Constants.java
@@ -14,7 +14,7 @@ package cuchaz.enigma;
14public class Constants 14public class Constants
15{ 15{
16 public static final String Name = "Enigma"; 16 public static final String Name = "Enigma";
17 public static final String Version = "0.4.2 beta"; 17 public static final String Version = "0.5 beta";
18 public static final String Url = "http://www.cuchazinteractive.com/enigma"; 18 public static final String Url = "http://www.cuchazinteractive.com/enigma";
19 public static final int MiB = 1024*1024; // 1 mebibyte 19 public static final int MiB = 1024*1024; // 1 mebibyte
20 public static final int KiB = 1024; // 1 kebibyte 20 public static final int KiB = 1024; // 1 kebibyte
diff --git a/src/cuchaz/enigma/convert/ClassMatcher.java b/src/cuchaz/enigma/convert/ClassMatcher.java
index 0821bd3a..135d076d 100644
--- a/src/cuchaz/enigma/convert/ClassMatcher.java
+++ b/src/cuchaz/enigma/convert/ClassMatcher.java
@@ -55,16 +55,16 @@ public class ClassMatcher
55 throws IOException, MappingParseException 55 throws IOException, MappingParseException
56 { 56 {
57 // TEMP 57 // TEMP
58 JarFile sourceJar = new JarFile( new File( "input/1.8-pre1.jar" ) ); 58 JarFile sourceJar = new JarFile( new File( "input/1.8-pre3.jar" ) );
59 JarFile destJar = new JarFile( new File( "input/1.8-pre3.jar" ) ); 59 JarFile destJar = new JarFile( new File( "input/1.8.jar" ) );
60 File inMappingsFile = new File( "../minecraft-mappings/1.8-pre.mappings" ); 60 File inMappingsFile = new File( "../minecraft-mappings/1.8-pre3.mappings" );
61 File outMappingsFile = new File( "../minecraft-mappings/1.8-pre3.mappings" ); 61 File outMappingsFile = new File( "../minecraft-mappings/1.8.mappings" );
62 62
63 // define a matching to use when the automated system cannot find a match 63 // define a matching to use when the automated system cannot find a match
64 Map<String,String> fallbackMatching = Maps.newHashMap(); 64 Map<String,String> fallbackMatching = Maps.newHashMap();
65 fallbackMatching.put( "none/ayb", "none/ayb" ); 65 fallbackMatching.put( "none/ayb", "none/ayf" );
66 fallbackMatching.put( "none/ayd", "none/ayd" ); 66 fallbackMatching.put( "none/ayd", "none/ayd" );
67 fallbackMatching.put( "none/bgk", "none/bgk" ); 67 fallbackMatching.put( "none/bgk", "unknown/bgk" );
68 68
69 // do the conversion 69 // do the conversion
70 Mappings mappings = new MappingsReader().read( new FileReader( inMappingsFile ) ); 70 Mappings mappings = new MappingsReader().read( new FileReader( inMappingsFile ) );