Page 1 of 1

Insecure filename error

Posted: 04 Feb 2008, 23:55
by Simeon
Hello, I'm trying to view a test map ingame but I keep getting the following error for all tilesets: insecure filename. It does load all the other graphics though so I get a hall of mirrors effect as a result. Anyway, I've created a test map using Tiled with the 4 layers and added the tilesets from the data/graphics/tiles directory.

Here's an example from the log:

Code: Select all

[23:36:46.54] Warning: Failed to load ../../themanaworld/data/graphics/tiles/collision.png: Insecure filename
[23:36:46.54] Warning: Failed to load tileset (../../../themanaworld/data/graphics/tiles/collision.png)
There are no spaces in the path (which was my first guess at the cause) and my second guess is that the game wouldn't allow to load tilesets from arbitrary places but these tilesets are located in the original directory and they function properly when connecting to the main server so that can't be it.

Any help would be appreciated, thanks!

Posted: 05 Feb 2008, 00:32
by Jaxad0127
Are you editing the maps inside themanaworld/data/maps? If not, you need to be. To fix the maps, open them in a text editor and replace "../../themanaworld/data/graphics/tiles/collision.png" with "../graphics/tiles/collision.png".

Posted: 05 Feb 2008, 00:37
by Simeon
Thanks, that did it - the maps were indeed in a different map outside the game installation but it works now :)