summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2024-12-12 20:46:26 -0500
committerGitHub <noreply@github.com>2024-12-12 17:46:26 -0800
commitf6d4a8731e4a4385a25d9a6dc42b4c6dfd4a577b (patch)
tree12ad6fcf0eb0a35f305127c1b98c22fdcfa82a00 /tools
parentfa240048cfe2ccf5e1de51cbec9b2e3771f1f795 (diff)
Name OOT samples in sample bank 0 (#1695)
* Name samples Fix FileName FIx Revert "FIx" This reverts commit 510dcd8c03242f49d88173357c36fd0cc8911945. Fix * Formatting fixes * fix * \n * snake case * format * Bank 2 * Fix extract assets * Update SampleBank_0.xml * Fix copy errors
Diffstat (limited to 'tools')
-rwxr-xr-xtools/extract_assets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/extract_assets.py b/tools/extract_assets.py
index 64ce99aa7..848b71c6d 100755
--- a/tools/extract_assets.py
+++ b/tools/extract_assets.py
@@ -152,7 +152,8 @@ def main():
for currentPath, _, files in os.walk(os.path.join("assets", "xml")):
for file in files:
fullPath = os.path.join(currentPath, file)
- if file.endswith(".xml"):
+ # ZAPD can't handle audio, skip those XMLs.
+ if file.endswith(".xml") and (fullPath.find("audio") == -1):
xmlFiles.append(fullPath)
try: