summaryrefslogtreecommitdiff
path: root/src/cuchaz
diff options
context:
space:
mode:
authorGravatar jeff2014-09-03 00:54:55 -0400
committerGravatar jeff2014-09-03 00:54:55 -0400
commit5bb9b46e729ba7953a48932d586bce6c30d813c4 (patch)
tree58c3907b3bdf5dc6c98ad060415da35a170038bd /src/cuchaz
parentfixed issue with method renaming (diff)
downloadenigma-fork-0.5_beta.tar.gz
enigma-fork-0.5_beta.tar.xz
enigma-fork-0.5_beta.zip
repackaged for 0.5 betav0.5_beta
Diffstat (limited to 'src/cuchaz')
-rw-r--r--src/cuchaz/enigma/Constants.java2
-rw-r--r--src/cuchaz/enigma/convert/ClassMatcher.java12
2 files changed, 7 insertions, 7 deletions
diff --git a/src/cuchaz/enigma/Constants.java b/src/cuchaz/enigma/Constants.java
index c863142..bf6ab84 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 0821bd3..135d076 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 ) );