From 6d565ed98d3629137d234ad0884a14e72c28e2a9 Mon Sep 17 00:00:00 2001 From: octorock <79596758+octorock@users.noreply.github.com> Date: Sat, 11 Sep 2021 10:59:58 +0200 Subject: [PATCH] Add empty Makefile to fix make setup --- Makefile | 2 +- tools/asset_extractor/Makefile | 1 + tools/asset_extractor/asset_extractor.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 tools/asset_extractor/Makefile diff --git a/Makefile b/Makefile index 71d9fb86..86b63986 100644 --- a/Makefile +++ b/Makefile @@ -163,7 +163,7 @@ compare: $(ROM) setup: $(TOOLDIRS) extractassets: - python tools/asset_extractor/asset_extractor.py $(GAME_VERSION) $(ASSET_BUILDDIR) + python3 tools/asset_extractor/asset_extractor.py $(GAME_VERSION) $(ASSET_BUILDDIR) $(TOOLDIRS): @$(MAKE) -C $@ diff --git a/tools/asset_extractor/Makefile b/tools/asset_extractor/Makefile new file mode 100644 index 00000000..ff13f80b --- /dev/null +++ b/tools/asset_extractor/Makefile @@ -0,0 +1 @@ +all: \ No newline at end of file diff --git a/tools/asset_extractor/asset_extractor.py b/tools/asset_extractor/asset_extractor.py index 053be4e3..db3de8e0 100644 --- a/tools/asset_extractor/asset_extractor.py +++ b/tools/asset_extractor/asset_extractor.py @@ -67,7 +67,7 @@ def extract_assets(variant, assets_folder): -def run_gbagfx(path_in: str, path_out:str, options: list[str]) -> None: +def run_gbagfx(path_in, path_out, options): subprocess.check_call([os.path.join('tools', 'gbagfx', 'gbagfx'), path_in, path_out] + options) def extract_tileset(path):