diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rwxr-xr-x | db/mapdb.zip (renamed from mapdb.zip) | bin | 256414 -> 256414 bytes | |||
-rwxr-xr-x | db/mapnames.txt (renamed from mapnames.txt) | 0 | ||||
-rwxr-xr-x | gui/tmxmap.py | 2 | ||||
-rwxr-xr-x | mapnames.py | 2 |
5 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ #configuration files -manachat.ini +config/manachat.ini config/*.txt #compiled python files Binary files differdiff --git a/mapnames.txt b/db/mapnames.txt index 03bc6a4..03bc6a4 100755 --- a/mapnames.txt +++ b/db/mapnames.txt diff --git a/gui/tmxmap.py b/gui/tmxmap.py index 800868e..58ee490 100755 --- a/gui/tmxmap.py +++ b/gui/tmxmap.py @@ -82,7 +82,7 @@ class MapWidget(Image): def load_map(self, name, *args): if name not in self.maps: Logger.info("Caching map %s", name) - zf = zipfile.ZipFile('mapdb.zip', 'r') + zf = zipfile.ZipFile('db/mapdb.zip', 'r') self.maps[name] = pickle.load(zf.open(name + '.pickle')) zf.close() # m = pytmx.TiledMap(filename=filename) diff --git a/mapnames.py b/mapnames.py index 5c01280..612908b 100755 --- a/mapnames.py +++ b/mapnames.py @@ -2,7 +2,7 @@ map_names = {} -def read_map_names(file='mapnames.txt'): +def read_map_names(file='db/mapnames.txt'): with open(file) as f: for l in f.readlines(): try: |