For the non-fused game the save path resolves to: "C:\Users\Me\AppData\Roaming\LOVE\DW" where the 'LOVE' folder was created automatically (all caps).
For a fused '.love' game to the 'love.exe', the save path resolves to: "C:\Users\Me\AppData\Roaming\DW" which is missing the 'LOVE' parent folder.
So please some help: 1) I'm thinking of just reading the path and manually correcting it but I'm hoping for a more elegant solution. 2) to understand why this is happening.
Edit:
So I've tried this as a trick, and it seems to work for me on windows. Does anyone see any possible issues with it?
Code: Select all
love.filesystem.setIdentity("DW")
if not string.find(love.filesystem.getSaveDirectory(), "LOVE") then
love.filesystem.setIdentity("./LOVE/DW")
end