Skip to content

Commit 20ac219

Browse files
committed
accidental ignore path error
just realized this based ./dir
1 parent e4ff2f7 commit 20ac219

17 files changed

Lines changed: 39 additions & 1 deletion

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
JUNK
2-
TOOLS
2+
./TOOLS/
33
* - Copy*
44
* (*)*
55
*.bak

DATA/MUSIC/TOOLS/blank.mp3

16.7 KB
Binary file not shown.

DATA/MUSIC/TOOLS/c128ks.bat

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@echo off
2+
set ERRORLEVEL=0
3+
if exist %1 goto :out
4+
echo Invalid filename:
5+
echo %1
6+
set ERRORLEVEL=222
7+
goto :EOF
8+
9+
:out
10+
"%~dp0sox" %1 -c 2 -r 44100 -S --multi-threaded -t wav - | "%~dp0lame" --cbr -b 128 --resample 44100 -m j - %2
11+
:# WHY IS SOX SLOW AT IT'S OWN GAME -C 128
12+
goto :EOF

DATA/MUSIC/TOOLS/fsbbuild.bat

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
@echo off
3+
4+
rem arguments: song guitar rhythm preview filename
5+
6+
set argC=0
7+
for %%x in (%*) do Set /A argC+=1
8+
9+
if %argC% NEQ 5 echo Invalid number of arguments && exit /b
10+
11+
del %5 /Q > nul
12+
13+
mkdir "%~dp0fsbtmp"
14+
15+
CALL "%~dp0c128ks.bat" %1 "%~dp0fsbtmp\fastgh3_song.mp3"
16+
CALL "%~dp0c128ks.bat" %2 "%~dp0fsbtmp\fastgh3_guitar.mp3"
17+
CALL "%~dp0c128ks.bat" %3 "%~dp0fsbtmp\fastgh3_rhythm.mp3"
18+
CALL "%~dp0c128ks.bat" %4 "%~dp0fsbtmp\fastgh3_preview.mp3"
19+
IF %ERRORLEVEL% EQU 222 echo Audio encoding failed, cannot continue. & EXIT /B
20+
21+
"%~dp0fsbext" -d "%~dp0fsbtmp" -s "%~dp0template.dat" -r "%~dp0.tmp.fsb"
22+
"%~dp0fsbenc" "%~dp0.tmp.fsb" %5
23+
24+
del "%~dp0.tmp.fsb"
25+
del "%~dp0fsbtmp" /S/Q
26+
rmdir "%~dp0fsbtmp"

DATA/MUSIC/TOOLS/fsbdec.exe

3 KB
Binary file not shown.

DATA/MUSIC/TOOLS/fsbenc.exe

3 KB
Binary file not shown.

DATA/MUSIC/TOOLS/fsbext.exe

101 KB
Binary file not shown.

DATA/MUSIC/TOOLS/lame.exe

1.31 MB
Binary file not shown.

DATA/MUSIC/TOOLS/lame_enc.dll

757 KB
Binary file not shown.
463 KB
Binary file not shown.

0 commit comments

Comments
 (0)