Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Namespaces | Variables
build.py File Reference

Namespaces

 build
 

Variables

 build.dir_path = os.path.dirname(os.path.realpath(__file__))
 
list build.asm_processor = ['python3', os.path.join(dir_path, "asm-processor.py")]
 
 build.prelude = os.path.join(dir_path, "prelude.inc")
 
 build.all_args = sys.argv[1:]
 
 build.sep1 = all_args.index('--')
 
 build.sep2 = all_args.index('--', sep1+1)
 
 build.compiler = all_args[:sep1]
 
 build.assembler = all_args[sep1+1:sep2]
 
string build.assembler_sh = ' '.join(shlex.quote(x) for x in assembler)
 
 build.compile_args = all_args[sep2+1:]
 
 build.in_file = compile_args[-1]
 
 build.out_ind = compile_args.index('-o')
 
 build.out_file = compile_args[out_ind + 1]
 
 build.in_dir = os.path.split(os.path.realpath(in_file))[0]
 
list build.opt_flags = [x for x in compile_args if x in ['-g', '-O2', '-framepointer']]
 
 build.preprocessed_file = tempfile.NamedTemporaryFile(prefix='preprocessed', suffix='.c')
 
 build.stdout