Search found 694 matches

by grump
Thu Apr 08, 2021 11:16 am
Forum: Support and Development
Topic: File paths: I've tried everything
Replies: 13
Views: 246

Re: File paths: I've tried everything

Lua is part of LÖVE, that can't be the issue. Try adding MSVCR100.DLL to the game, it's the only thing that could be it if it's a missing dependency.
by grump
Thu Apr 08, 2021 10:52 am
Forum: Support and Development
Topic: File paths: I've tried everything
Replies: 13
Views: 246

Re: File paths: I've tried everything

That wouldn't explain why distribution works on 4 of the 5 PC's. The point is that the current working directory might be something else than the directory where the .exe is stored. I haven't used Windows in a while so I don't know what kind of error message you would see in that case, but I had th...
by grump
Thu Apr 08, 2021 8:08 am
Forum: Support and Development
Topic: File paths: I've tried everything
Replies: 13
Views: 246

Re: File paths: I've tried everything

Try copying the DLL to the game's save directory.
by grump
Thu Apr 08, 2021 6:40 am
Forum: General
Topic: Server move incoming, expect a little bit of downtime
Replies: 14
Views: 2299

Re: Server move incoming, expect a little bit of downtime

Yeah it's the same size now, but it was much bigger when I wrote this. About twice as big I guess. Maybe I was looking at it right when someone was in the middle of adjusting the size.
by grump
Wed Apr 07, 2021 7:32 pm
Forum: Support and Development
Topic: If statement and Goto
Replies: 27
Views: 652

Re: If statement and Goto

it's not how it was designed to be used. Citation needed. The fact that calling love.load() without arguments is against spec would be one reason. The actual point here is, in my opinion, that manually calling love.load does not magically reset state. It is misleading to suggest that calling love.l...
by grump
Wed Apr 07, 2021 7:21 pm
Forum: General
Topic: Server move incoming, expect a little bit of downtime
Replies: 14
Views: 2299

Re: Server move incoming, expect a little bit of downtime

The font size on the wiki is now suddenly much bigger than it is in the forums. Please make them the same size, so that one common browser zoom factor can be used for forum and wiki. Both are served from the same domain, so you now have to switch between zoom levels every time, if you prefer a certa...
by grump
Wed Apr 07, 2021 4:30 am
Forum: Support and Development
Topic: If statement and Goto
Replies: 27
Views: 652

Re: If statement and Goto

You can actually run the love.load() again. if game_over then love.load () return -- exit from love.update to start it from the begin. end Sure you can do that. But setting aside all the global state that may break in subtle (or hopefully not so subtle) ways, your game's main loop now goes draw -> ...
by grump
Wed Mar 31, 2021 5:37 pm
Forum: Support and Development
Topic: Enforce just one instance?
Replies: 21
Views: 2941

Re: Enforce just one instance?

should be available in love.filesystem by default Agreed. I got this lib that could provide file locking (on physical filesystems), but I'm hesitant to add those big platform-specific calls that go beyond basic POSIX and the occasional Windows support because of the amount of code, testing, and pos...
by grump
Wed Mar 31, 2021 1:14 pm
Forum: Support and Development
Topic: Enforce just one instance?
Replies: 21
Views: 2941

Re: Enforce just one instance?

We need to open an issue request to include love.filesystem.lock in the next version of love2d. If you want this to happen, you have to submit a pull request yourself, and PhysFS does not seem to support file locking, so it's not going to integrate super well with the filesystem API. And even then....
by grump
Wed Mar 31, 2021 11:45 am
Forum: Support and Development
Topic: Enforce just one instance?
Replies: 21
Views: 2941

Re: Enforce just one instance?

Yeah good point. Use this only if it's not actually critical for your game. Otherwise use FFI to get exclusive file locking.