#!/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!