mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-21 18:19:19 +01:00
35 lines
655 B
Batchfile
35 lines
655 B
Batchfile
@echo off
|
|
|
|
:: Make sure we are connected
|
|
echo Detecting SC64...
|
|
%~dp0tools\sc64\sc64deployer list
|
|
|
|
:: Get the information
|
|
echo SC64 info...
|
|
%~dp0tools\sc64\sc64deployer info
|
|
|
|
echo:
|
|
echo:
|
|
:: Load the ROM
|
|
echo Loading ROM...
|
|
%~dp0tools\sc64\sc64deployer upload %~dp0output\N64FlashcartMenu.n64
|
|
|
|
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
|