diff options
author | Sanky <gsanky@gmail.com> | 2013-05-07 14:23:10 +0200 |
---|---|---|
committer | Sanky <gsanky@gmail.com> | 2013-05-07 14:23:10 +0200 |
commit | acdb00c5dc7aa96aeb36a3166702c0f910a2c9aa (patch) | |
tree | 557bf0d16660ccbe46fbd968f82f6a7d371d9a13 /extras/vba_config.py | |
parent | aec5a652c8ed7d482330dd9254b48e5a7141866d (diff) | |
parent | 2aa20af120bb8571079ffd7d097f54626ef808b4 (diff) |
Merge https://github.com/yenatch/pokecrystal
Diffstat (limited to 'extras/vba_config.py')
-rw-r--r-- | extras/vba_config.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/extras/vba_config.py b/extras/vba_config.py index 8377c8818..4433f16c0 100644 --- a/extras/vba_config.py +++ b/extras/vba_config.py @@ -2,13 +2,10 @@ # -*- 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") +# by default we assume the user has vba in pokecrystal/extras +project_path = os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..')) -# 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 states are in pokecrystal/save-states/ save_state_path = os.path.join(project_path, "save-states") # where is your rom? |