mirror of
https://github.com/zeldaret/tp
synced 2026-07-07 14:13:27 -04:00
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:
+8
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user