2023-10-27 08:26:54 +00:00
|
|
|
@echo off
|
|
|
|
cd /D "%~dp0"
|
2023-10-28 13:07:57 +00:00
|
|
|
echo Cleaning up...
|
|
|
|
make clean > NUL
|
2023-10-27 08:26:54 +00:00
|
|
|
|
2023-10-28 13:07:57 +00:00
|
|
|
echo Making pocket version...
|
|
|
|
del /Q src\include\hardware.inc > NUL
|
|
|
|
copy src\include\hardware.analogue src\include\hardware.inc > NUL
|
|
|
|
make > NUL
|
2023-10-27 08:26:54 +00:00
|
|
|
|
2023-10-28 13:07:57 +00:00
|
|
|
echo Fixing pocket version header...
|
2023-11-14 02:02:30 +00:00
|
|
|
ren bin\PandorasBlocks.gbc PandorasBlocks.pocket > NUL
|
2023-10-28 13:07:57 +00:00
|
|
|
python patch_pocket.py > NUL
|
2023-11-14 02:02:30 +00:00
|
|
|
rgbfix -fhg -O bin\PandorasBlocks.pocket > NUL
|
2023-10-27 08:26:54 +00:00
|
|
|
|
2023-10-28 13:07:57 +00:00
|
|
|
echo Making GB version...
|
|
|
|
rd /S /Q obj > NUL
|
|
|
|
rd /S /Q dep > NUL
|
|
|
|
del /Q src\include\hardware.inc > NUL
|
|
|
|
copy src\include\hardware.nintendo src\include\hardware.inc > NUL
|
|
|
|
make > NUL
|
2023-10-27 08:26:54 +00:00
|
|
|
|
2023-10-28 13:07:57 +00:00
|
|
|
echo Pushing new version...
|
|
|
|
git add . > NUL
|
2023-10-28 13:20:27 +00:00
|
|
|
git commit -am %* > NUL
|
2023-10-27 08:30:48 +00:00
|
|
|
git push
|