4ca63717e5
Compile and run AccessTransformer during the pre-RG stage of decompilation. Merge resulting sources that are identical to src/common ToDo: Finish the common intergration: -update_patches - Add common folder support -apply_patches: --patch each side, also patch all common patches to each side incase they are not merged, only if file exists.
16 lines
No EOL
494 B
Python
16 lines
No EOL
494 B
Python
import os, os.path, sys
|
|
|
|
fml_dir = os.path.dirname(os.path.abspath(__file__))
|
|
mcp_dir = os.path.abspath('..')
|
|
|
|
from fml import setup_fml, finish_setup_fml, apply_fml_patches
|
|
|
|
def main():
|
|
print '================ Forge ModLoader Setup Start ==================='
|
|
setup_fml(fml_dir, mcp_dir)
|
|
apply_fml_patches(fml_dir, mcp_sir)
|
|
finish_setup_fml(fml_dir, mcp_dir)
|
|
print '================ Forge ModLoader Setup End ==================='
|
|
|
|
if __name__ == '__main__':
|
|
main() |