summaryrefslogtreecommitdiff
path: root/vba.py
diff options
context:
space:
mode:
Diffstat (limited to 'vba.py')
-rw-r--r--vba.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/vba.py b/vba.py
index 3a1a97a..8ed0d7b 100644
--- a/vba.py
+++ b/vba.py
@@ -102,17 +102,10 @@ import com.aurellem.gb.Gb as Gb
# load the vba-clojure library
Gb.loadVBA()
-# by default we assume the user has things in their $HOME
-home = os.path.expanduser("~") # or System.getProperty("user.home")
+from vba_config import *
-# 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")
+if not os.path.exists(rom_path):
+ raise Exception("rom_path is not configured properly; edit vba_config.py?")
def _check_java_library_path():
"""