Search found 22 matches

by svalorzen
Sun Dec 11, 2022 8:00 pm
Forum: Support and Development
Topic: Can't manage to filesystem.write nor filesystem.createDirectory
Replies: 14
Views: 6256

Re: Can't manage to filesystem.write nor filesystem.createDirectory

Thanks, I just checked, it seems physfs' version there is the same as in 11.4. I have opened an issue about this, will keep this posted :)
by svalorzen
Sun Dec 11, 2022 7:36 pm
Forum: Support and Development
Topic: Can't manage to filesystem.write nor filesystem.createDirectory
Replies: 14
Views: 6256

Re: Can't manage to filesystem.write nor filesystem.createDirectory

And it seems that the latest version of physfs has this fixed; going to the GitHub repo I checked and it seems that the relevant line has been changed: retval = ( (rc) && ((statbuf.filetype == PHYSFS_FILETYPE_DIRECTORY) || (statbuf.filetype == PHYSFS_FILETYPE_SYMLINK)) ); I wonder if I'm rea...
by svalorzen
Sun Dec 11, 2022 7:31 pm
Forum: Support and Development
Topic: Can't manage to filesystem.write nor filesystem.createDirectory
Replies: 14
Views: 6256

Re: Can't manage to filesystem.write nor filesystem.createDirectory

ARGHH, that's what it is! In `physfs.c`, the function that is supposed to create (recursively) the directory is called `doMkdir`. Inside, there is a loop that splits the incoming directory name by '/' (so that it can examine one piece at a time and generate the directories recursively). If the direc...
by svalorzen
Sun Dec 11, 2022 7:16 pm
Forum: Support and Development
Topic: Can't manage to filesystem.write nor filesystem.createDirectory
Replies: 14
Views: 6256

Re: Can't manage to filesystem.write nor filesystem.createDirectory

Uuh, that's quite a good guess. I wouldn't call it weird partitioning, but I do have `.local` as a symlink to a folder in another partition (of an SSD, my home is on an HDD). I also really hope it's not this, I'm not sure I'd be able to fix it :P
by svalorzen
Sun Dec 11, 2022 5:12 pm
Forum: Support and Development
Topic: Can't manage to filesystem.write nor filesystem.createDirectory
Replies: 14
Views: 6256

Re: Can't manage to filesystem.write nor filesystem.createDirectory

Ok, so I'm going deep into this. I have cloned LOVE 11.4, compiled it, and I'm now running to try to figure out exactly where that fails. The failing point seems to be (as it should be obvious) in the setup of the write directory. There is a function that is called to create the save directory: bool...
by svalorzen
Sun Dec 11, 2022 4:46 pm
Forum: Support and Development
Topic: Can't manage to filesystem.write nor filesystem.createDirectory
Replies: 14
Views: 6256

Re: Can't manage to filesystem.write nor filesystem.createDirectory

I can definitely believe that it's a problem on my system, but I have no idea what it is, and I would still like to fix it. :( Which love folder do you want me to delete? I have tried the one in `.local/share`, but that doesn't really change anything.
by svalorzen
Sun Dec 11, 2022 4:16 pm
Forum: Support and Development
Topic: Can't manage to filesystem.write nor filesystem.createDirectory
Replies: 14
Views: 6256

Re: Can't manage to filesystem.write nor filesystem.createDirectory

I have started to look into this using `strace`, I haven't used it often so it will probably take a bit to parse the entire output. What I can say for now is that in the log there is no trace of the "abc" file, so LOVE is not even trying to actually write it. On the other hand, it seems it...
by svalorzen
Sun Dec 11, 2022 4:07 pm
Forum: Support and Development
Topic: Can't manage to filesystem.write nor filesystem.createDirectory
Replies: 14
Views: 6256

Re: Can't manage to filesystem.write nor filesystem.createDirectory

I usually use LOVE as packaged from Ubuntu 20.04, but I have also just tried using the AppImage to run my test and I get the same problem.

The slash I actually added as I was trying things, it seems to not really matter unfortunately.
by svalorzen
Sun Dec 11, 2022 1:35 pm
Forum: Support and Development
Topic: Can't manage to filesystem.write nor filesystem.createDirectory
Replies: 14
Views: 6256

Can't manage to filesystem.write nor filesystem.createDirectory

I apologize for opening this thread but I'm getting desperate. I can't seem to make LOVE write files nor create directories in the save folder; I always get the error "Could not set write directory.". I am setting the identity as the first line of my main.lua: function love.load() love.fil...
by svalorzen
Thu Dec 08, 2022 3:34 am
Forum: Support and Development
Topic: ralt does not result pressed?
Replies: 11
Views: 2045

Re: ralt does not result pressed?

Turns out that the current AppImage for Linux is not based on a super-new SDL version like I thought. And indeed for me even the AppImage has this bug!