Has anyone had any issues with lfs.lua?
It can’t find the file trying to run on the emulator.
Thanks.
Has anyone had any issues with lfs.lua?
It can’t find the file trying to run on the emulator.
Thanks.
Corona for WP8 does not support the LFS library. This is because LFS is a 3rd party library which doesn’t support/compile for WP8.
You can find what features are supported on WP8 here…
http://docs.coronalabs.com/daily/coronacards/wp8/support.html
I see. I’m not specifically using lfs.lua. Something must be though. Maybe it’s GGData.
You’re right. GGData is definitely using LFS…
https://github.com/GlitchGames/GGData/blob/master/corona/GGData.lua
You should be able to force it to work by making your own “lfs.lua” file like this…
local lfs = {} lfs.chdir = function(path) return true end lfs.mkdir = function(path) end return lfs
The above stubs out the 2 functions that GGData calls. The above should work provided that you don’t try to save or delete a file from a subdirectory.
Thanks. That probably works better than what I did. I ended up just taking that functionality out of GGData. I didn’t need it.
Corona for WP8 does not support the LFS library. This is because LFS is a 3rd party library which doesn’t support/compile for WP8.
You can find what features are supported on WP8 here…
http://docs.coronalabs.com/daily/coronacards/wp8/support.html
I see. I’m not specifically using lfs.lua. Something must be though. Maybe it’s GGData.
You’re right. GGData is definitely using LFS…
https://github.com/GlitchGames/GGData/blob/master/corona/GGData.lua
You should be able to force it to work by making your own “lfs.lua” file like this…
local lfs = {} lfs.chdir = function(path) return true end lfs.mkdir = function(path) end return lfs
The above stubs out the 2 functions that GGData calls. The above should work provided that you don’t try to save or delete a file from a subdirectory.
Thanks. That probably works better than what I did. I ended up just taking that functionality out of GGData. I didn’t need it.