Search found 5 matches

by tpimh
Mon Jul 29, 2024 1:32 pm
Forum: Support and Development
Topic: Getting LÖVE license texts from runtime
Replies: 3
Views: 5604

Re: Getting LÖVE license texts from runtime

This is what I came up with. Only tested on AppImage for Linux, and I know for sure that it will fail when launched using LÖVE installed using package manager. Not very impressive, just loads and displays the license text.

UPD: also tested on Windows and macOS.
by tpimh
Mon Jul 29, 2024 12:31 pm
Forum: Support and Development
Topic: Getting LÖVE license texts from runtime
Replies: 3
Views: 5604

Re: Getting LÖVE license texts from runtime

Yes, distributing love license file with the game is way easier, but I want to show the license text of the particular runtime, so that's not exactly what I want to do. Just learned about "arg[-2]", turns out it has the full path of LÖVE executable (well, at least for AppImage). Need to te...
by tpimh
Mon Jul 29, 2024 9:22 am
Forum: Support and Development
Topic: Not installable from google play store
Replies: 8
Views: 115818

Re: Not installable from google play store

Publishing on F-Droid is the way to go, it's not as popular as Play Store, but for some people it's the preferred way of getting their Android apps.
by tpimh
Mon Jul 29, 2024 9:08 am
Forum: Support and Development
Topic: Getting LÖVE license texts from runtime
Replies: 3
Views: 5604

Getting LÖVE license texts from runtime

I want to display the LÖVE licensing information from my game menu. For Windows that would be "directory of love.exe"/license.txt , for macOS that would be "directory of love"/../Resources/license.txt , for Linux in case of the official AppImage, that's "directory of love&qu...
by tpimh
Mon Jul 22, 2024 7:36 am
Forum: Libraries and Tools
Topic: LÖVESFX – pack LÖVE games into a single exe for Windows
Replies: 0
Views: 16584

LÖVESFX – pack LÖVE games into a single exe for Windows

I just made a tool for packing LÖVE games into a single .exe for Windows. It's inspired by AppImage on Linux and zipped .app on macOS. On Windows even a fused binary needs a bunch of DLLs to be brought alongside. With my tool both the game and LÖVE runtime are packed together in a self-extracting ar...