I have a problem accessing files. While the löve filesystem can understand ".." as going up a directory it fails at "../..". Meaning it doesn't list the directory contents of two directories up.
I wouldn't recommend it though. For most games, reading and writing saves to the save directory using love.filesystem is enough and much easier (and platform independent).
T-Bone wrote:I wouldn't recommend it though. For most games, reading and writing saves to the save directory using love.filesystem is enough and much easier (and platform independent).
The main problem is that the user should be able to import their own data. Furthermore the lua io library lacks directory content listing functions. The only way I was able to do that is using io.popen which only works on Linux. There is the probability of me misusing Windows functions, but the lua documentation also says that popen doesn't work in all cases, so I am unsure wether I should use that.
I can imagine a few methods of working around that. The question is, what is the easiest?