#!/bin/sh #cd /home/me/Games/Newer/Kamek python2 tools/mapfile_tool.py python2 tools/kamek.py NewerProjectKP.yaml --no-rels --use-mw --gcc-type=/mnt/c/devkitPro/devkitPPC/bin/powerpc-eabi --mw-path=tools --fast-hack if [ "$?" = "0" ]; then echo "compile successful" else exit 1 fi copy_files() { cp NewerASM/n_$1_loader.bin Build/System$2.bin cp NewerASM/n_$1_dlcode.bin Build/DLCode$2.bin cp NewerASM/n_$1_dlrelocs.bin Build/DLRelocs$2.bin } copy_files pal EU_1 copy_files pal2 EU_2 copy_files ntsc US_1 copy_files ntsc2 US_2 copy_files jpn JP_1 copy_files jpn2 JP_2 echo Built all!