I have been trying to get love to create folders or .lua files and it does not seem to work at all. I have tried some code bits I found on the forums, mainly
I have tried similar code to make a folder and nothing shows up. I have taken code from other love programs, I have looked at the wiki, and the forums to try to find a solution and I have not been able. Anyone have any ideas? what am I messing up? Is there some other simple test code that's known to work that I might try?
I am on windows 7 I have love 0.7.2 I have tried giving love administrator rights.
Last edited by SPlice on Tue Aug 02, 2011 12:02 am, edited 2 times in total.
ah thanks, I was able to get it to make the file in the appdata/roaming/love/filetest folder. I was thinking the folder would be created in the project folder, D:\love\filetest. it seems inconvenient to send them into the bowls of my hard drive. I'm trying to generate arrays to use in tile maps, and I would like to be able to store them within the project folder, if that's not possible I suppose I can adapt.
on a side note I found all the files I have tried to generate over the last week in that folder.
I didn't know Windoze Exploder was smart enough to do that.
The reason for this whole business is that the write location is normally writeable for non-administrator applications. If you were to place your game in, say Program Files, a game that saved files would need administrator rights to be able to run.