diff options
Diffstat (limited to 'makeSummerSun')
-rwxr-xr-x | makeSummerSun | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/makeSummerSun b/makeSummerSun new file mode 100755 index 0000000..a8b665b --- /dev/null +++ b/makeSummerSun @@ -0,0 +1,37 @@ +#!/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 + +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 + +echo Built all! + |