From 2843f50ea463343a052d4b8d227952c636ca0f75 Mon Sep 17 00:00:00 2001 From: Dragorn421 Date: Sun, 9 Feb 2025 12:21:08 +0100 Subject: [PATCH] add tools/extract_assets.sh --- tools/extract_assets.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 tools/extract_assets.sh diff --git a/tools/extract_assets.sh b/tools/extract_assets.sh new file mode 100755 index 0000000000..bda2b587da --- /dev/null +++ b/tools/extract_assets.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +# SPDX-FileCopyrightText: © 2024 ZeldaRET +# SPDX-License-Identifier: CC0-1.0 + +if [ $# -eq 0 ] +then + echo "Usage: $0 [args...]" + exit 1 +fi + +v=$1 +.venv/bin/python3 -m tools.assets.extract extracted/$v/baserom extracted/$v -v $v "${@:2}"