aboutsummaryrefslogtreecommitdiffstats
path: root/extras/romvisualizer.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-09-01 02:27:44 -0500
committerBryan Bishop <kanzure@gmail.com>2013-09-01 02:27:44 -0500
commite84a5b2062ff5e9b010447e3a3c78dd67a653166 (patch)
tree20c0ceb41513c1a3676e60a31d61b64e1bc2b854 /extras/romvisualizer.py
parentcompile with preprocessor outputs (diff)
downloadpokeyellow-e84a5b2062ff5e9b010447e3a3c78dd67a653166.tar.gz
pokeyellow-e84a5b2062ff5e9b010447e3a3c78dd67a653166.tar.xz
pokeyellow-e84a5b2062ff5e9b010447e3a3c78dd67a653166.zip
make extras/ a submodule
Use pokemontools v1.3.0 and use the same preprocessor as the pokecrystal project.
Diffstat (limited to 'extras/romvisualizer.py')
-rw-r--r--extras/romvisualizer.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/extras/romvisualizer.py b/extras/romvisualizer.py
deleted file mode 100644
index 516ac91d..00000000
--- a/extras/romvisualizer.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#author: Bryan Bishop <kanzure@gmail.com>
-#date: 2012-01-13
-import os
-
-changeset_numbers = range(1145, 1149)
-
-def take_snapshot_image(changeset_number):
- "turn main.asm into an image at a certain version"
-
- print "reverting main.asm to r" + str(changeset_number)
-
- #revert the file (it used to be common.asm)
- os.system("rm ../main.asm; rm ../common.asm; rm ../pokered.asm")
- os.system("hg revert ../main.asm -r" + str(changeset_number))
- os.system("hg revert ../common.asm -r" + str(changeset_number))
- os.system("hg revert ../pokered.asm -r" + str(changeset_number))
-
- print "generating the image.."
-
- #draw the image
- os.system("python romviz.py")
-
- #move the file
- os.system("mv test.png versions/" + str(changeset_number) + ".png")
-
-for changeset_number in changeset_numbers:
- take_snapshot_image(changeset_number)
-