summaryrefslogtreecommitdiff
path: root/tools/extract_assets.sh
blob: bda2b587dad98f0f1d94d10cc399c905350be432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

# SPDX-FileCopyrightText: © 2024 ZeldaRET
# SPDX-License-Identifier: CC0-1.0

if [ $# -eq 0 ]
then
    echo "Usage: $0 <version> [args...]"
    exit 1
fi

v=$1
.venv/bin/python3 -m tools.assets.extract extracted/$v/baserom extracted/$v -v $v "${@:2}"