forked from Polprzewodnikowy/N64FlashcartMenu
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlocaldeploy.bat
More file actions
40 lines (27 loc) · 769 Bytes
/
Copy pathlocaldeploy.bat
File metadata and controls
40 lines (27 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@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" == "/dr" goto :not_dr
%~dp0tools\sc64\sc64deployer debug --no-writeback --init "reboot"
:not_dr
if not "%1" == "/dur" goto :not_dur
%~dp0tools\sc64\sc64deployer debug --no-writeback --init "send-file /sc64menu.n64 @output/sc64menu.n64@;reboot"
:not_dur