mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-04-26 01:11:24 -05:00
vba - generalize project path in config
original-commit-id: a46a4b35a2fa3ceefb6a283480a4e6a9efe8424c
This commit is contained in:
parent
afbed06238
commit
3c166db9c5
|
|
@ -2,13 +2,10 @@
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
import os
|
import os
|
||||||
|
|
||||||
# by default we assume the user has things in their $HOME
|
# by default we assume the user has vba in pokecrystal/extras
|
||||||
home = os.path.expanduser("~") # or System.getProperty("user.home")
|
project_path = os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..'))
|
||||||
|
|
||||||
# and that the pokecrystal project folder is in there somewhere
|
# save states are in pokecrystal/save-states/
|
||||||
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")
|
save_state_path = os.path.join(project_path, "save-states")
|
||||||
|
|
||||||
# where is your rom?
|
# where is your rom?
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user