summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2013-05-04 17:46:07 -0500
committerColin Noga <Tempus@chronometry.ca>2013-05-04 17:46:07 -0500
commitb145133b5e21ce53001f5f5228380aef28ac4922 (patch)
treecda67293554e631feb3544c970ad2d8926f3034f
parentb755b0e2bcd56c8811a1e3d48c34bcfbadaa3a05 (diff)
downloadkamek-b145133b5e21ce53001f5f5228380aef28ac4922.tar.gz
kamek-b145133b5e21ce53001f5f5228380aef28ac4922.zip
Beta build stuff, use version number of rc as an arg
Diffstat (limited to '')
-rwxr-xr-xmakeNewerBeta62
-rwxr-xr-xmakeNewerBetaLite56
-rw-r--r--src/prolog.S2
3 files changed, 119 insertions, 1 deletions
diff --git a/makeNewerBeta b/makeNewerBeta
new file mode 100755
index 0000000..8f8e665
--- /dev/null
+++ b/makeNewerBeta
@@ -0,0 +1,62 @@
+#!/bin/sh
+
+remove_files() {
+ rm ~/Dropbox/Public/NewerBeta/NewerRes/System$1.bin
+ rm ~/Dropbox/Public/NewerBeta/NewerRes/DLCode$1.bin
+ rm ~/Dropbox/Public/NewerBeta/NewerRes/DLRelocs$1.bin
+}
+
+copy_files() {
+ mv NewerASM/n_$1_loader.bin ~/Dropbox/Public/NewerBeta/NewerRes/System$2.bin
+ mv NewerASM/n_$1_dlcode.bin ~/Dropbox/Public/NewerBeta/NewerRes/DLCode$2.bin
+ mv NewerASM/n_$1_dlrelocs.bin ~/Dropbox/Public/NewerBeta/NewerRes/DLRelocs$2.bin
+}
+
+
+
+rm -r ~/Dropbox/Public/NewerBeta/*
+cp -R ~/Dropbox/NEWERsmbw/Test\ Pack ~/Dropbox/Public/NewerBeta/Test\ Pack
+mv ~/Dropbox/Public/NewerBeta/Test\ Pack/NewerSMBW/NewerRes ~/Dropbox/Public/NewerBeta/NewerRes
+
+pushd ~/Dropbox/Public/NewerBeta/
+zip -r9 TestPackAssetsRC$1.zip Test\ Pack
+popd
+
+
+for i in {1 .. 10}
+ do
+
+ remove_files EU_1
+ remove_files EU_2
+ remove_files US_1
+ remove_files US_2
+ remove_files JP_1
+ remove_files JP_2
+
+ rm ~/Dropbox/Public/NewerBeta/NewerRes/*
+
+ python makeNewerBeta.py $1 $i
+ python tools/mapfile_tool.py
+ python tools/kamek.py NewerProjectKP.yaml --fast-hack --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
+ exit 1
+ fi
+
+ 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
+ copy_files jpn2 JP_2
+
+ pushd ~/Dropbox/Public/NewerBeta/
+ zip -r9 ~/Dropbox/Public/NewerBeta/TestPackBuildRC$1-$i.zip ~/Dropbox/Public/NewerBeta/NewerRes
+ popd
+
+ done
+
+
+echo Built all!
+
diff --git a/makeNewerBetaLite b/makeNewerBetaLite
new file mode 100755
index 0000000..a108f0b
--- /dev/null
+++ b/makeNewerBetaLite
@@ -0,0 +1,56 @@
+#!/bin/sh
+
+remove_files() {
+ rm ~/Dropbox/Public/NewerBeta/NewerRes/System$1.bin
+ rm ~/Dropbox/Public/NewerBeta/NewerRes/DLCode$1.bin
+ rm ~/Dropbox/Public/NewerBeta/NewerRes/DLRelocs$1.bin
+}
+
+copy_files() {
+ mv NewerASM/n_$1_loader.bin ~/Dropbox/Public/NewerBeta/NewerRes/System$2.bin
+ mv NewerASM/n_$1_dlcode.bin ~/Dropbox/Public/NewerBeta/NewerRes/DLCode$2.bin
+ mv NewerASM/n_$1_dlrelocs.bin ~/Dropbox/Public/NewerBeta/NewerRes/DLRelocs$2.bin
+}
+
+
+
+rm -r ~/Dropbox/Public/NewerBeta/NewerRes
+rm -r ~/Dropbox/Public/NewerBeta/TestPackBuildRC*
+
+cp -R ~/Dropbox/NEWERsmbw/Test\ Pack/NewerSMBW/NewerRes ~/Dropbox/Public/NewerBeta/NewerRes
+
+for i in {1..11}
+ do
+
+ remove_files EU_1
+ remove_files EU_2
+ remove_files US_1
+ remove_files US_2
+ remove_files JP_1
+ remove_files JP_2
+
+ python makeNewerBeta.py $1 $i
+ python tools/mapfile_tool.py
+ python tools/kamek.py NewerProjectKP.yaml --fast-hack --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
+ exit 1
+ fi
+
+ 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
+ copy_files jpn2 JP_2
+
+ pushd ~/Dropbox/Public/NewerBeta/
+ zip -r9 TestPackBuildRC$1-$i.zip NewerRes
+ popd
+
+ done
+
+
+echo Built all!
+
diff --git a/src/prolog.S b/src/prolog.S
index 6f6db0b..c7b5a70 100644
--- a/src/prolog.S
+++ b/src/prolog.S
@@ -61,7 +61,7 @@ startLoop:
.data
PMsg:
- .string "Newer Super Mario Bros. Wii - Hacks by Treeki and Tempus 2009-2013\n.ctors: %p - %p\n"
+ .string "Newer Super Mario Bros. Wii - Hacks by Treeki and Tempus 2009-2013\nNewer Release Candidate 02 - v1011\n.ctors: %p - %p\n"
PMsg2:
.string "%d inits called\n"