diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-07-07 23:36:44 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-07-07 23:36:44 -0500 |
commit | 13d1b791d14695dab43033d171bb6f161bd04fc5 (patch) | |
tree | 492cb8a25e070805ec4073f0c32a9cc593156577 /makeNewer | |
parent | c6ad18e5f0cf1b627d850fa3101a8c78648ff452 (diff) | |
parent | 613e30a894cddcdc11c8da140bae35090247c8ec (diff) | |
download | kamek-13d1b791d14695dab43033d171bb6f161bd04fc5.tar.gz kamek-13d1b791d14695dab43033d171bb6f161bd04fc5.zip |
merge
Diffstat (limited to '')
-rwxr-xr-x | makeNewer | 19 | ||||
-rwxr-xr-x | makeNewerAll | 20 | ||||
-rwxr-xr-x | makeNewerAllCodehandler | 15 | ||||
-rwxr-xr-x | makeNewerKP | 19 | ||||
-rwxr-xr-x | makeNewerKPAll | 20 |
5 files changed, 40 insertions, 53 deletions
@@ -1,14 +1,23 @@ #!/bin/sh python2 tools/mapfile_tool.py -python2 tools/kamek.py NewerProject.yaml --no-rels --use-mw --use-wine --gcc-type=/opt/wiidev/bin/powerpc-elf --build=pal --mw-path=tools +python2 tools/kamek.py NewerProject.yaml --no-rels --use-mw --use-wine --gcc-type=/opt/wiidev/bin/powerpc-elf --mw-path=tools if [ "$?" = "0" ]; then echo "compile successful" else exit 1 fi -cp NewerASM/pal_loader.bin ~/Games/Newer/DolphinPatch/NewerRes/SystemEU_1.bin -cp NewerASM/pal_dlcode.bin ~/Games/Newer/DolphinPatch/NewerRes/DLCodeEU_1.bin -cp NewerASM/pal_dlrelocs.bin ~/Games/Newer/DolphinPatch/NewerRes/DLRelocsEU_1.bin -echo Built PAL! +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! diff --git a/makeNewerAll b/makeNewerAll deleted file mode 100755 index cceea26..0000000 --- a/makeNewerAll +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -python2 tools/mapfile_tool.py -python2 tools/kamek.py NewerProject.yaml --no-rels --use-mw --use-wine --gcc-type=/opt/wiidev/bin/powerpc-elf --mw-path=tools -if [ "$?" = "0" ]; then - echo "compile successful" -else - exit 1 -fi - -cp NewerASM/pal_loader.bin ~/Games/Newer/DolphinPatch/NewerRes/SystemEU_1.bin -cp NewerASM/pal_dlcode.bin ~/Games/Newer/DolphinPatch/NewerRes/DLCodeEU_1.bin -cp NewerASM/pal_dlrelocs.bin ~/Games/Newer/DolphinPatch/NewerRes/DLRelocsEU_1.bin -cp NewerASM/ntsc_loader.bin ~/Games/Newer/DolphinPatch/NewerRes/SystemUS_1.bin -cp NewerASM/ntsc_dlcode.bin ~/Games/Newer/DolphinPatch/NewerRes/DLCodeUS_1.bin -cp NewerASM/ntsc_dlrelocs.bin ~/Games/Newer/DolphinPatch/NewerRes/DLRelocsUS_1.bin -cp NewerASM/ntsc2_loader.bin ~/Games/Newer/DolphinPatch/NewerRes/SystemUS_2.bin -cp NewerASM/ntsc2_dlcode.bin ~/Games/Newer/DolphinPatch/NewerRes/DLCodeUS_2.bin -cp NewerASM/ntsc2_dlrelocs.bin ~/Games/Newer/DolphinPatch/NewerRes/DLRelocsUS_2.bin -echo Built all! - 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! diff --git a/makeNewerKP b/makeNewerKP index 36cb034..9337a0e 100755 --- a/makeNewerKP +++ b/makeNewerKP @@ -1,14 +1,23 @@ #!/bin/sh python2 tools/mapfile_tool.py -python2 tools/kamek.py NewerProjectKP.yaml --no-rels --use-mw --use-wine --gcc-type=/opt/wiidev/bin/powerpc-elf --build=pal --mw-path=tools +python2 tools/kamek.py NewerProjectKP.yaml --no-rels --use-mw --use-wine --gcc-type=/opt/wiidev/bin/powerpc-elf --mw-path=tools if [ "$?" = "0" ]; then echo "compile successful" else exit 1 fi -cp NewerASM/pal_loader.bin ~/Games/Newer/DolphinPatch/NewerRes/SystemEU_1.bin -cp NewerASM/pal_dlcode.bin ~/Games/Newer/DolphinPatch/NewerRes/DLCodeEU_1.bin -cp NewerASM/pal_dlrelocs.bin ~/Games/Newer/DolphinPatch/NewerRes/DLRelocsEU_1.bin -echo Built PAL! +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! diff --git a/makeNewerKPAll b/makeNewerKPAll deleted file mode 100755 index 7d10af6..0000000 --- a/makeNewerKPAll +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -python2 tools/mapfile_tool.py -python2 tools/kamek.py NewerProjectKP.yaml --no-rels --use-mw --use-wine --gcc-type=/opt/wiidev/bin/powerpc-elf --mw-path=tools -if [ "$?" = "0" ]; then - echo "compile successful" -else - exit 1 -fi - -cp NewerASM/pal_loader.bin ~/Games/Newer/DolphinPatch/NewerRes/SystemEU_1.bin -cp NewerASM/pal_dlcode.bin ~/Games/Newer/DolphinPatch/NewerRes/DLCodeEU_1.bin -cp NewerASM/pal_dlrelocs.bin ~/Games/Newer/DolphinPatch/NewerRes/DLRelocsEU_1.bin -cp NewerASM/ntsc_loader.bin ~/Games/Newer/DolphinPatch/NewerRes/SystemUS_1.bin -cp NewerASM/ntsc_dlcode.bin ~/Games/Newer/DolphinPatch/NewerRes/DLCodeUS_1.bin -cp NewerASM/ntsc_dlrelocs.bin ~/Games/Newer/DolphinPatch/NewerRes/DLRelocsUS_1.bin -cp NewerASM/ntsc2_loader.bin ~/Games/Newer/DolphinPatch/NewerRes/SystemUS_2.bin -cp NewerASM/ntsc2_dlcode.bin ~/Games/Newer/DolphinPatch/NewerRes/DLCodeUS_2.bin -cp NewerASM/ntsc2_dlrelocs.bin ~/Games/Newer/DolphinPatch/NewerRes/DLRelocsUS_2.bin -echo Built all! - |