summaryrefslogtreecommitdiff
path: root/makeNewer
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2013-05-09 20:24:58 -0500
committerColin Noga <Tempus@chronometry.ca>2013-05-09 20:24:58 -0500
commitbaaad3ec09e17d745c1081755b824ead065b8ce5 (patch)
treea6e0ad74b9dab5964bb36834d362f956ccc0f2d1 /makeNewer
parent1fb3dbdb007e960042df86cf8447a2c2931ba14f (diff)
downloadkamek-baaad3ec09e17d745c1081755b824ead065b8ce5.tar.gz
kamek-baaad3ec09e17d745c1081755b824ead065b8ce5.zip
Dunno why I forgot this, here it is
Diffstat (limited to '')
-rw-r--r--makeNewerBeta.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/makeNewerBeta.py b/makeNewerBeta.py
new file mode 100644
index 0000000..3537c6e
--- /dev/null
+++ b/makeNewerBeta.py
@@ -0,0 +1,20 @@
+import shutil, os, sys, subprocess
+
+
+
+
+File = open("/Users/Tempus/Projects/Newer/Kamek/src/prolog.S", "rb")
+data = File.read()
+File.close()
+
+
+index = data.find("Newer Release Candidate ")
+index += 24
+
+
+data = data[:index] + "{0} - v1{1}".format(sys.argv[1].zfill(2), sys.argv[2].zfill(3)) + data[index+10:]
+
+
+File = open("/Users/Tempus/Projects/Newer/Kamek/src/prolog.S", "wb")
+File.write(data)
+File.close()