summaryrefslogtreecommitdiff
path: root/hacksToDropbox
diff options
context:
space:
mode:
Diffstat (limited to 'hacksToDropbox')
-rwxr-xr-xhacksToDropbox20
1 files changed, 11 insertions, 9 deletions
diff --git a/hacksToDropbox b/hacksToDropbox
index 5077946..d23228a 100755
--- a/hacksToDropbox
+++ b/hacksToDropbox
@@ -1,11 +1,13 @@
path=/home/me/Dropbox/NEWERsmbw/Test\ Pack/NewerTestPack/SysSelect
-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