summaryrefslogtreecommitdiff
path: root/makeNewerAllCodehandler
diff options
context:
space:
mode:
Diffstat (limited to 'makeNewerAllCodehandler')
-rwxr-xr-xmakeNewerAllCodehandler15
1 files changed, 12 insertions, 3 deletions
diff --git a/makeNewerAllCodehandler b/makeNewerAllCodehandler
index dffb254..638bc71 100755
--- a/makeNewerAllCodehandler
+++ b/makeNewerAllCodehandler
@@ -7,8 +7,17 @@ else
exit 1
fi
-cp NewerASM/pal_loader.bin ~/Games/Newer/DolphinPatch/NewerRes/SystemEU_1.bin
-cp NewerASM/ntsc_loader.bin ~/Games/Newer/DolphinPatch/NewerRes/SystemUS_1.bin
-cp NewerASM/ntsc2_loader.bin ~/Games/Newer/DolphinPatch/NewerRes/SystemUS_2.bin
+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!