@@ -1,11 +1,28 @@ |
| 1 |
rem @echo off |
1 |
@echo on |
| 2 |
|
2 |
|
| 3 |
for /f %%i in ('where rgbasm') do set rgbasm=%%i |
3 |
for /f %%i in ('where rgbasm') do set rgbasm=%%i |
| 4 |
for /f %%i in ('where rgblink') do set rgblink=%%i |
4 |
for /f %%i in ('where rgblink') do set rgblink=%%i |
| 5 |
for /f %%i in ('where rgbfix') do set rgbfix=%%i |
5 |
for /f %%i in ('where rgbfix') do set rgbfix=%%i |
| 6 |
for /f %%i in ('where ffmpeg') do set ffmpeg=%%i |
6 |
for /f %%i in ('where ffmpeg') do set ffmpeg=%%i |
| 7 |
|
7 |
|
| 8 |
set outdir=%1 |
8 |
if x%rgbasm%==x ( |
|
|
9 |
echo rgbasm not found! |
|
|
10 |
exit/b 1 |
|
|
11 |
) |
|
|
12 |
if x%rgblink%==x ( |
|
|
13 |
echo rgblink not found! |
|
|
14 |
exit/b 1 |
|
|
15 |
) |
|
|
16 |
if x%rgbfix%==x ( |
|
|
17 |
echo rgbfix not found! |
|
|
18 |
exit/b 1 |
|
|
19 |
) |
|
|
20 |
if x%ffmpeg%==x ( |
|
|
21 |
echo ffmpeg not found! |
|
|
22 |
exit/b 1 |
|
|
23 |
) |
|
|
24 |
|
|
|
25 |
set) outdir=%1 |
| 9 |
if x%outdir%==x goto no_outdir |
26 |
if x%outdir%==x goto no_outdir |
| 10 |
|
27 |
|
| 11 |
:: Build halt.gb |
28 |
:: Build halt.gb |
@@ -34,7 +51,7 @@ if not errorlevel 0 goto copyfail |
| 34 |
|
51 |
|
| 35 |
mkdir %outdir%\hUGEDriver |
52 |
mkdir %outdir%\hUGEDriver |
| 36 |
pushd %outdir%\hUGEDriver |
53 |
pushd %outdir%\hUGEDriver |
| 37 |
curl -L https://api.github.com/repos/SuperDisk/hUGEDriver/tarball | tar xf - --strip 1 |
54 |
curl -L https://api.github.com/repos/SuperDisk/hUGEDriver/tarball | tar xzf - --strip 1 |
| 38 |
popd |
55 |
popd |
| 39 |
|
56 |
|
| 40 |
Xcopy /E /I /Y "Resources\Sample Songs" "%outdir%\Sample Songs" |
57 |
Xcopy /E /I /Y "Resources\Sample Songs" "%outdir%\Sample Songs" |