diff --git a/TempleOSCD/Compiler/Compiler.BIN b/TempleOSCD/Compiler/Compiler.BIN index 9658a4b..ab59fde 100644 Binary files a/TempleOSCD/Compiler/Compiler.BIN and b/TempleOSCD/Compiler/Compiler.BIN differ diff --git a/extract_templeos.py b/extract_templeos.py index b16f839..9a42a5c 100755 --- a/extract_templeos.py +++ b/extract_templeos.py @@ -45,8 +45,10 @@ def decompress_all_files_in(path): decompress_all_files_in(full_path) elif full_path.endswith('.Z'): decompressed_path = full_path[0:len(full_path)-2] - subprocess.check_call(['./TOSZ', '-ascii', full_path, decompressed_path]) - os.remove(full_path) + if full_path.endswith('.BIN.Z'): + subprocess.check_call(['./TOSZ', full_path, decompressed_path]) + else: + subprocess.check_call(['./TOSZ', '-ascii', full_path, decompressed_path]) # Extract TempleOS disk tree extract('', OUTPUT_DIR)