summaryrefslogtreecommitdiff
path: root/makeSummerSun
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-10-20 06:50:03 +0200
committerTreeki <treeki@gmail.com>2012-10-20 06:51:00 +0200
commit70bf4cf84a5802a08f0ffa2c543c311727404a03 (patch)
tree17a4c49e73ad33d27508ec992d8e0a3a7a8ed147 /makeSummerSun
parent879536caa4f2cec3d1c175a55a0980877df35fb3 (diff)
downloadkamek-70bf4cf84a5802a08f0ffa2c543c311727404a03.tar.gz
kamek-70bf4cf84a5802a08f0ffa2c543c311727404a03.zip
fixed Summer; added JPv2; fixed NTSC/PALv2
Diffstat (limited to '')
-rwxr-xr-xmakeSummerSun20
1 files changed, 11 insertions, 9 deletions
diff --git a/makeSummerSun b/makeSummerSun
index 4927ec4..a57f9b6 100755
--- a/makeSummerSun
+++ b/makeSummerSun
@@ -1,10 +1,9 @@
#!/bin/sh
-rm -r ~/.wine
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"
+ rm "SumSource/System$1.bin"
+ rm "SumSource/DLCode$1.bin"
+ rm "SumSource/DLRelocs$1.bin"
}
remove_files EU_1
@@ -12,9 +11,11 @@ remove_files EU_2
remove_files US_1
remove_files US_2
remove_files JP_1
+remove_files JP_2
-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
+python2 tools/mapfile_tool.py
+python2 tools/kamek.py SummerSun.yaml --no-rels --use-mw --use-wine --gcc-type=/opt/wiidev/bin/powerpc-elf --mw-path=tools --fast-hack
+#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
@@ -22,9 +23,9 @@ else
fi
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"
+ cp NewerASM/n_$1_loader.bin "SumSource/System$2.bin"
+ cp NewerASM/n_$1_dlcode.bin "SumSource/DLCode$2.bin"
+ cp NewerASM/n_$1_dlrelocs.bin "SumSource/DLRelocs$2.bin"
}
copy_files pal EU_1
@@ -32,6 +33,7 @@ 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!