d_file_select, JASResArcLoader, d_a_obj_stone, d_a_obj_stone_mark (#309)

* setup TU

* JASResArcLoader OK

* d_a_obj_stoneMark work

* some funcs in d_a_obj_stoneMark

* many changes

* quat, d_a_obj_stone, d_a_alink, fix python script, tidy makefile

* d_file_select functions + pr cleanup
This commit is contained in:
Pheenoh
2023-03-17 21:05:06 -06:00
committed by GitHub
parent a01d65b0b9
commit 3cdef97cb8
79 changed files with 2315 additions and 2996 deletions
+8 -2
View File
@@ -130,7 +130,13 @@ def expected_copy(debug: bool, build_path: Path, expected_path: Path):
default=DEFAULT_TOOLS_PATH,
required=True,
)
def setup(debug: bool, game_path: Path, tools_path: Path):
@click.option(
"--yaz0-encoder",
type=str,
default="native",
required=False,
)
def setup(debug: bool, game_path: Path, tools_path: Path, yaz0_encoder: str):
"""Setup project"""
if debug:
@@ -326,7 +332,7 @@ def setup(debug: bool, game_path: Path, tools_path: Path):
import extract_game_assets
previous_dir = os.getcwd()
os.chdir(str(game_path.absolute()))
extract_game_assets.extract("../" + str(iso))
extract_game_assets.extract("../" + str(iso),yaz0_encoder)
os.chdir(previous_dir)
except ImportError as ex:
_handle_import_error(ex)