-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drag Drop improvements to batch files
Allow Drag and Drop of multiple custom samples from anywhere on disk all at once in the Sample Creation Tools .bat file Allow Drag and Drop of a ROM from anywhere on disk in the ZBank ripper
- Loading branch information
1 parent
cf234ba
commit c1f3a35
Showing
2 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
.\bankripper.py %1 --I 50 --o %1 | ||
cd /D "%~dp0" | ||
|
||
.\bankripper.py "%~1" --I 50 --o "%~nx1" | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,24 @@ | ||
.\z64audio.exe --i %1 --I 50 --o %1.bin | ||
@echo off | ||
cd /D "%~dp0" | ||
|
||
:Loop | ||
|
||
z64audio.exe --i %1 --I 50 --o %~n1.bin | ||
|
||
REM Rename output config.toml to unique name matching wav input file | ||
ren config.toml "%~n1.toml" | ||
ren "%~n1.book.bin" "%~n1.book" | ||
ren "%~n1.loopbook.bin" "%~n1.loopbook" | ||
|
||
REM // Move all files to output subfolder | ||
if not exist output\ md output | ||
|
||
move "%~n1.toml" output | ||
move "%~n1.vadpcm.bin" output | ||
|
||
|
||
REM // Handle multiple arguments | ||
SHIFT | ||
IF "%~1" NEQ "" (GOTO Loop) | ||
|
||
pause |