summaryrefslogtreecommitdiff
path: root/hacksToDropboxKP
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xhacksToDropboxKP20
1 files changed, 11 insertions, 9 deletions
diff --git a/hacksToDropboxKP b/hacksToDropboxKP
index 419de5b..9a60715 100755
--- a/hacksToDropboxKP
+++ b/hacksToDropboxKP
@@ -1,11 +1,13 @@
path=/home/me/Dropbox/NEWERsmbw/Test\ Pack/NewerTestPack/SysMap
-cp NewerASM/pal_loader.bin "$path/SystemEU_1.bin"
-cp NewerASM/pal_dlcode.bin "$path/DLCodeEU_1.bin"
-cp NewerASM/pal_dlrelocs.bin "$path/DLRelocsEU_1.bin"
-cp NewerASM/ntsc_loader.bin "$path/SystemUS_1.bin"
-cp NewerASM/ntsc_dlcode.bin "$path/DLCodeUS_1.bin"
-cp NewerASM/ntsc_dlrelocs.bin "$path/DLRelocsUS_1.bin"
-cp NewerASM/ntsc2_loader.bin "$path/SystemUS_2.bin"
-cp NewerASM/ntsc2_dlcode.bin "$path/DLCodeUS_2.bin"
-cp NewerASM/ntsc2_dlrelocs.bin "$path/DLRelocsUS_2.bin"
+copy_files() {
+ cp NewerASM/n_$1_loader.bin $path/System$2.bin
+ cp NewerASM/n_$1_dlcode.bin $path/DLCode$2.bin
+ cp NewerASM/n_$1_dlrelocs.bin $path/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