From 613e30a894cddcdc11c8da140bae35090247c8ec Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 8 Jul 2012 02:46:59 +0200 Subject: added PALv2, made Kamek link all regions at the same time --- makeNewer | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'makeNewer') diff --git a/makeNewer b/makeNewer index 6e142c0..721d741 100755 --- a/makeNewer +++ b/makeNewer @@ -1,14 +1,23 @@ #!/bin/sh python2 tools/mapfile_tool.py -python2 tools/kamek.py NewerProject.yaml --no-rels --use-mw --use-wine --gcc-type=/opt/wiidev/bin/powerpc-elf --build=pal --mw-path=tools +python2 tools/kamek.py NewerProject.yaml --no-rels --use-mw --use-wine --gcc-type=/opt/wiidev/bin/powerpc-elf --mw-path=tools if [ "$?" = "0" ]; then echo "compile successful" else exit 1 fi -cp NewerASM/pal_loader.bin ~/Games/Newer/DolphinPatch/NewerRes/SystemEU_1.bin -cp NewerASM/pal_dlcode.bin ~/Games/Newer/DolphinPatch/NewerRes/DLCodeEU_1.bin -cp NewerASM/pal_dlrelocs.bin ~/Games/Newer/DolphinPatch/NewerRes/DLRelocsEU_1.bin -echo Built PAL! +copy_files() { + cp NewerASM/n_$1_loader.bin ~/Games/Newer/DolphinPatch/NewerRes/System$2.bin + cp NewerASM/n_$1_dlcode.bin ~/Games/Newer/DolphinPatch/NewerRes/DLCode$2.bin + cp NewerASM/n_$1_dlrelocs.bin ~/Games/Newer/DolphinPatch/NewerRes/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 + +echo Built all! -- cgit v1.2.3