diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/cuchaz/enigma/Constants.java | 2 | ||||
| -rw-r--r-- | src/cuchaz/enigma/convert/ClassMatcher.java | 12 |
2 files changed, 7 insertions, 7 deletions
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; | |||
| 14 | public class Constants | 14 | public 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 ) ); |