2012-07-13 01:07:58 +00:00
|
|
|
import os, os.path, sys
|
|
|
|
|
2012-08-02 07:51:51 +00:00
|
|
|
from fml import setup_fml, finish_setup_fml, apply_fml_patches, setup_mcp
|
2012-07-13 01:07:58 +00:00
|
|
|
|
2012-08-04 00:32:23 +00:00
|
|
|
def fml_main(fml_dir, mcp_dir):
|
2012-07-13 01:07:58 +00:00
|
|
|
print '================ Forge ModLoader Setup Start ==================='
|
2012-08-02 07:51:51 +00:00
|
|
|
setup_mcp(fml_dir, mcp_dir)
|
2012-07-13 01:07:58 +00:00
|
|
|
setup_fml(fml_dir, mcp_dir)
|
2012-08-04 00:32:23 +00:00
|
|
|
apply_fml_patches(fml_dir, mcp_dir, os.path.join(mcp_dir, 'src'))
|
2012-07-13 01:07:58 +00:00
|
|
|
finish_setup_fml(fml_dir, mcp_dir)
|
|
|
|
print '================ Forge ModLoader Setup End ==================='
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2012-08-04 00:32:23 +00:00
|
|
|
fml_main(os.path.dirname(os.path.abspath(__file__)), os.path.abspath('..'))
|