N64FlashcartMenu/localdeploy.bat

35 lines
655 B
Batchfile
Raw Normal View History

2023-02-28 22:03:14 +01:00
@echo off
:: Make sure we are connected
echo Detecting SC64...
%~dp0tools\sc64\sc64deployer list
2023-03-13 02:32:08 +01:00
:: Get the information
echo SC64 info...
%~dp0tools\sc64\sc64deployer info
2023-02-28 19:30:10 +01:00
2023-02-28 22:03:14 +01:00
echo:
echo:
:: Load the ROM
echo Loading ROM...
%~dp0tools\sc64\sc64deployer upload %~dp0output\N64FlashcartMenu.n64
2023-02-28 19:30:10 +01:00
2023-02-28 22:03:14 +01:00
echo:
echo:
:: Toggle the power of the N64 to boot the ROM.
echo !!! Now toggle power to the N64 !!!
echo:
echo:
if not "%1" == "/d" goto :not_d
%~dp0tools\sc64\sc64deployer debug --no-writeback
:not_d
if not "%1" == "/du" goto :not_du
%~dp0tools\sc64\sc64deployer debug --no-writeback --init "send-file /sc64menu.n64 @output/sc64menu.n64@;reboot"
:not_du