1. Create an empty folder somewhere on an NTFS drive (haven't tried any other FS).
2. Create a file main.lua and file.txt in that folder. The file.txt may be empty - it's ok.
3. Open main.lua and add this into it
Code: Select all
print(love.filesystem.getInfo("file.txt"))
however
5. Download x86 build of love2d.
6. Extract in to the folder created in step 1.
7. Follow the wiki and create a fused file by running in a local cmd window
Code: Select all
7z a test.love -tzip main.lua
copy /b lovec.exe+test.love test.exe
Note, that stuff like
Code: Select all
local _f = io.open("file.txt", "r") somevar = _f:read("*all") _f:close()
So... What gives?