-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't Edit Worldmap Files #35
Comments
@tobbi Argh, this is a pain. Can you remember when the worldmap format was last changed by any chance? The flexlay editor is looking for this, when they actually appear: |
I get Exception: Error: '/usr/share/games/supertux2/levels/world1/worldmap.stwm' is not a 'supertux-worldmap' file |
This is because the editor is expecting an older worlmap format.
|
Will it get fixed? |
It looks like wrong tileset is loaded. |
@brmbrmcar Yes, I don't intend to leave it broken |
Awkwardly, you still can't edit World 1's world map, because of #1 |
@Karkus476 This is not the correct tileset. Use ice_world.strf. |
Yes, thanks, I have sorted that out.
|
I added loading of the correct tileset if it isn't the current one in a recent commit. Can you guys check it out? |
@tobbi I've checked it out. It works great, thanks! |
This means user can open worldmap files too. When opening a worldmap, the editor will ask for the tileset Fixes #35
This means user can open worldmap files too. When opening a worldmap, the editor will ask for the tileset Fixes SuperTux#35
Traceback (most recent call last):
File "supertux/gui.py", line 544, in load_level
self.load_worldmap(filename)
File "/supertux/gui.py", line 561, in load_worldmap
worldmap = WorldMap(filename)
File "supertux/worldmap.py", line 51, in init
tree = load_lisp(self.filename, "supertux-worldmap")
File "supertux/util.py", line 30, in load_lisp
raise Exception("Error: '%s' is not a '%s' file" % (filename, root_symbol))
Exception: Error: 'data/levels/world1/worldmap.stwm' is not a 'supertux-worldmap' file
The text was updated successfully, but these errors were encountered: