blob: 5add3fbfa7f06b39027301625eb1c46e9056be73 (
plain)
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
41
42
43
44
45
|
#!/bin/sh
rm -r ~/.wine
rm ~/Dropbox/NEWERsmbw/Summer\ Sun/SystemEU_1.bin
rm ~/Dropbox/NEWERsmbw/Summer\ Sun/DLCodeEU_1.bin
rm ~/Dropbox/NEWERsmbw/Summer\ Sun/DLRelocsEU_1.bin
rm ~/Dropbox/NEWERsmbw/Summer\ Sun/SystemUS_1.bin
rm ~/Dropbox/NEWERsmbw/Summer\ Sun/DLCodeUS_1.bin
rm ~/Dropbox/NEWERsmbw/Summer\ Sun/DLRelocsUS_1.bin
rm ~/Dropbox/NEWERsmbw/Summer\ Sun/SystemUS_2.bin
rm ~/Dropbox/NEWERsmbw/Summer\ Sun/DLCodeUS_2.bin
rm ~/Dropbox/NEWERsmbw/Summer\ Sun/DLRelocsUS_2.bin
rm ~/Dropbox/NEWERsmbw/Summer\ Sun/SystemJP_1.bin
rm ~/Dropbox/NEWERsmbw/Summer\ Sun/DLCodeJP_1.bin
rm ~/Dropbox/NEWERsmbw/Summer\ Sun/DLRelocsJP_1.bin
python tools/mapfile_tool.py
python tools/kamek.py SummerSun.yaml --no-rels --use-mw --use-wine --gcc-type=/usr/local/devkitPRO/devkitPPC/bin/powerpc-eabi --mw-path=tools
if [ "$?" = "0" ]; then
echo "compile successful"
else
exit 1
fi
mv NewerASM/pal_loader.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/SystemEU_1.bin
mv NewerASM/pal_dlcode.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/DLCodeEU_1.bin
mv NewerASM/pal_dlrelocs.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/DLRelocsEU_1.bin
mv NewerASM/ntsc_loader.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/SystemUS_1.bin
mv NewerASM/ntsc_dlcode.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/DLCodeUS_1.bin
mv NewerASM/ntsc_dlrelocs.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/DLRelocsUS_1.bin
mv NewerASM/ntsc2_loader.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/SystemUS_2.bin
mv NewerASM/ntsc2_dlcode.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/DLCodeUS_2.bin
mv NewerASM/ntsc2_dlrelocs.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/DLRelocsUS_2.bin
mv NewerASM/jpn_loader.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/SystemJP_1.bin
mv NewerASM/jpn_dlcode.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/DLCodeJP_1.bin
mv NewerASM/jpn_dlrelocs.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/DLRelocsJP_1.bin
echo Built all!
|