diff --git a/fml/build.xml b/fml/build.xml index 1c6b7dec30..cbb4c22aa6 100644 --- a/fml/build.xml +++ b/fml/build.xml @@ -195,6 +195,7 @@ + diff --git a/fml/install/eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/0.tree b/fml/install/eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/0.tree index 897e2b8479..c19ddeadc2 100644 Binary files a/fml/install/eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/0.tree and b/fml/install/eclipse/.metadata/.plugins/org.eclipse.core.resources/.root/0.tree differ diff --git a/fml/install/eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/Server.launch b/fml/install/eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/Server.launch index def0aa2131..8ccdbce8a7 100644 --- a/fml/install/eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/Server.launch +++ b/fml/install/eclipse/.metadata/.plugins/org.eclipse.debug.core/.launches/Server.launch @@ -1,7 +1,7 @@ - + diff --git a/fml/install/eclipse/Minecraft/.classpath b/fml/install/eclipse/Minecraft/.classpath index 23a24ca2c4..d1cdd9328c 100644 --- a/fml/install/eclipse/Minecraft/.classpath +++ b/fml/install/eclipse/Minecraft/.classpath @@ -5,7 +5,8 @@ - + + @@ -21,17 +22,17 @@ - + - + - + diff --git a/fml/install/eclipse/Minecraft/.project b/fml/install/eclipse/Minecraft/.project index b8e6ba212b..c560983643 100644 --- a/fml/install/eclipse/Minecraft/.project +++ b/fml/install/eclipse/Minecraft/.project @@ -30,11 +30,6 @@ 2 MCP_LOC/lib - - natives - 2 - MCP_LOC/jars/libraries/natives - @@ -73,15 +68,6 @@ 1.0-name-matches-false-false-*.jar - - 1307293480435 - jars/bin/natives - 6 - - org.eclipse.ui.ide.multiFilter - 1.0-name-matches-false-false-* - - diff --git a/fml/install/fml.py b/fml/install/fml.py index a5a5ff224c..d3ec1f6b4a 100644 --- a/fml/install/fml.py +++ b/fml/install/fml.py @@ -506,7 +506,7 @@ def copytree(src, dst, verbose=0, symlinks=False): #========================================================================== # MCP Related Functions #========================================================================== -def download_mcp(mcp_dir, fml_dir, version=None): +def download_mcp(fml_dir, mcp_dir, version=None): if os.path.isfile(os.path.join(mcp_dir, 'runtime', 'commands.py')): print 'MCP Detected already, not downloading' return True @@ -517,6 +517,7 @@ def download_mcp(mcp_dir, fml_dir, version=None): mc_info = read_mc_versions(fml_dir, version=version) + print('Checking MCP zip (may take time to download)') if not download_file(mc_info['mcp_url'], mc_info['mcp_file'], mc_info['mcp_md5']): sys.exit(1) @@ -1285,7 +1286,7 @@ def download_assets(mcp_dir): if failed: print(' Downloading assets failed, please review log for more details') - sys.exit(1) + #========================================================================== # Transformers #========================================================================== diff --git a/fml/install/install.py b/fml/install/install.py index fb0ede495d..b8216a2550 100644 --- a/fml/install/install.py +++ b/fml/install/install.py @@ -1,10 +1,11 @@ import os, os.path, sys from optparse import OptionParser -from fml import setup_fml, finish_setup_fml, apply_fml_patches, setup_mcp, download_mcp def fml_main(fml_dir, mcp_dir, gen_conf=True, disable_patches=False, disable_at=False, disable_merge=False, enable_server=False, disable_client=False, disable_rename=False, disable_assets=False, decompile=False): + sys.path.append(fml_dir) + from fml import download_mcp, setup_mcp, decompile_minecraft, apply_fml_patches, finish_setup_fml print '================ Forge ModLoader Setup Start ===================' download_mcp(fml_dir, mcp_dir) setup_mcp(fml_dir, mcp_dir, gen_conf) @@ -30,7 +31,7 @@ if __name__ == '__main__': parser.add_option('-c', '--no-client', action="store_true", dest='no_client', help='Disable decompilation of server', default=False) parser.add_option('-e', '--no-merge', action="store_true", dest='no_merge', help='Disable merging server code into client', default=False) parser.add_option('-n', '--no-rename', action="store_true", dest='no_rename', help='Disable running updatenames', default=False) - parser.add_option('-a', '--no-assets', action="store_true", dest='no_assets', help='Disable downloading of assets folder', default=False) + parser.add_option( '--no-assets', action="store_true", dest='no_assets', help='Disable downloading of assets folder', default=False) parser.add_option('-d', '--decompile', action="store_true", dest='decompile', help='Decompile minecraft and apply patches', default=True) options, _ = parser.parse_args() @@ -51,5 +52,5 @@ if __name__ == '__main__': fml_main(fml_dir, mcp_dir, disable_patches=options.no_patch, disable_at=options.no_access, disable_merge=options.no_merge, enable_server=options.enable_server, disable_client=options.no_client, - disable_rename=options.no_rename, disable_assets=options.assets, + disable_rename=options.no_rename, disable_assets=options.no_assets, decompile=options.decompile, gen_conf=False) \ No newline at end of file