summaryrefslogtreecommitdiff
path: root/vba_config.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-03-01 22:45:30 -0600
committerBryan Bishop <kanzure@gmail.com>2013-03-01 22:45:30 -0600
commitef2813c399a13553df16542d863a50623c7c6746 (patch)
tree3c72e07c3ee9338bd5405f48fae86d97b4870475 /vba_config.py
parent641f3dafbf5529f941d988a5ac746b578108ed4b (diff)
vba - separate config
original-commit-id: 9ee0600524218d47ce2faa9b122a8e2b498e9b66
Diffstat (limited to 'vba_config.py')
-rw-r--r--vba_config.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/vba_config.py b/vba_config.py
new file mode 100644
index 0000000..8377c88
--- /dev/null
+++ b/vba_config.py
@@ -0,0 +1,15 @@
+#!/usr/bin/jython
+# -*- encoding: utf-8 -*-
+import os
+
+# by default we assume the user has things in their $HOME
+home = os.path.expanduser("~") # or System.getProperty("user.home")
+
+# and that the pokecrystal project folder is in there somewhere
+project_path = os.path.join(home, os.path.join("code", "pokecrystal"))
+
+# save states are in ~/code/pokecrystal/save-states/
+save_state_path = os.path.join(project_path, "save-states")
+
+# where is your rom?
+rom_path = os.path.join(project_path, "baserom.gbc")