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 --- makeSummerSun | 52 ++++++++++++++++++++++------------------------------ 1 file changed, 22 insertions(+), 30 deletions(-) (limited to 'makeSummerSun') diff --git a/makeSummerSun b/makeSummerSun index 5add3fb..89a2f4a 100755 --- a/makeSummerSun +++ b/makeSummerSun @@ -1,21 +1,17 @@ #!/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 +remove_files() { + rm ~/Dropbox/NEWERsmbw/Summer\ Sun/System$1.bin + rm ~/Dropbox/NEWERsmbw/Summer\ Sun/DLCode$1.bin + rm ~/Dropbox/NEWERsmbw/Summer\ Sun/DLRelocs$1.bin +} + +remove_files EU_1 +remove_files EU_2 +remove_files US_1 +remove_files US_2 +remove_files JP_1 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 @@ -25,21 +21,17 @@ 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 +copy_files() { + cp NewerASM/n_$1_loader.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/System$2.bin + cp NewerASM/n_$1_dlcode.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/DLCode$2.bin + cp NewerASM/n_$1_dlrelocs.bin ~/Dropbox/NEWERsmbw/Summer\ Sun/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