LoveToAll - To Android(APK) and EXE(Single EXE)

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
darkmetalic
Prole
Posts: 17
Joined: Tue Feb 07, 2017 4:09 pm
Contact:

LoveToAll - To Android(APK) and EXE(Single EXE)

Post by darkmetalic »

This program (only for Windows) uses functions from LoveToAndroid by https://qubodup.itch.io/startgamedev and Bat To Exe Converter by F2KO http://www.f2ko.de/en/b2e.php to the results for APK and EXE (Single EXE With all dlls embedded) in several ways possible by simply and easy methods (such as pressing a keyboard shortcut (custom), or by dragging on the shortcut icon, or by dragging into the program (DragAndDrop) or by pressing the button "BUILD" or using SublimeText ). That's enough to have the minimum requirements for an LOVE2D (project only). You do not even have to create your .love zip file (the program is already going to all this for you) and compile the results in the same directory that your project is located. The .love files are inside "LOVE" folder of this program. APK and EXE behind your project. Your job will be to locate the directories (this program tries to automatically find it too) and save it. Your last save is registered in the program and it will always open the settings that were previously saved.

ADDING AN ICON APK
You can add any image (png, jpg, ico, bmp ...) of any resolution, if it is not a png 144x144 image the program will automatically try to generate a new png 144px image and save it to the temporary folder "Temp" inside the program that Will be your new resized image to work. If it would try to fail, the entry will continue as it was. If no icon is inserted, the program will use its default icon.

ADDING AN ICON EXE
Only accepted icons (.ico) files. https://www.icoconverter.com

ADDING A LOVE PROJECT
Only accept if inside the selected folder contain a main.lua file

ADDING A LOVE FOLDER
It will only accept if within the selected folder it contains a file love.exe

ADDING A JDK FOLDER
It will only accept if within the selected folder it contains a JRE

AUTO-DETECT "Settings"
Self-detecting searches on all your fixed drives in obvious places, it will not go into all your directories. In the case of projects, it will try to find some project if it is on your desktop.

BUILDING
The program will constantly use system functions like copy, paste, delete, read, create, execute... If your system blocks these features, several errors and failures will occur. Be aware of this.

BLUESTACKS
If you have Bluestacks installed on your computer, this program tries to locate it for you and add the installer.exe and run.exe, will be initiator after creating your APK automatically creates install runs.

JAVA JDK
To use the APK BUILD requires Java JDK "Java Development Kit", you can download it at http://www.oracle.com

VARIABLES FIXES
%GAME% is your love.exe executable
%APK% is your full path apk
%APKTRUENAME% is the internal name of your apk on the android device
%APKACT% is the second name of your apk's activity

NOTE: You can change the commands if you have other simulators and change the BATCH too (including more functions like arguments or scripts).

SHORTCUTS IN THE FIRST AREA
Ctrl + S or F10: Settings
Ctrl + R or F11: Run Mode ON / OFF
Ctrl + D or F12: Enables or disables auto-detection before entering settings

RUN MODE
Project (require Project and LOVE folder)
APK Builder (require Project and JDK)
EXE Builder (require Project and LOVE folder)

NOTE: For builders, the program uses a fast builder

NOTE: Dropping projects in shortcut icons (add all in settings) the program will use the fast builder and closes after.

TOOLS
SublimeText 3 builders
SublimeText 3 autocomplete for LOVE2D and Lua
LoveGame Demo Example Love 0.9.2 with touch and physic

NOTE: DON'T EXECUTES BUILDERS WITH PROJECTS INSIDE PROGRAM FILES

CMD ARGS
toapk
toexe
example: LoveToAll.exe "myprojectpath" toapk

WINDOWS XP/7/8 10?

preview https://www.youtube.com/watch?v=ohcLkXqZ7mo
Attachments
LoveToAll_Setup.rar
(52.99 MiB) Downloaded 2325 times
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: LoveToAll - To Android(APK) and EXE(Single EXE)

Post by raidho36 »

That's hardly "to all" if it can't build for iOS, MacOS and Linux, and number of other ports such as RPi.
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: LoveToAll - To Android(APK) and EXE(Single EXE)

Post by Positive07 »

To expand on raidho36 point:
  • Linux = (rpm, deb, pacman, snaps, ...) each one may be architecture dependant so multiply that by (x86, x64, arm, arm64)
  • MacOSX = x86 and x64
  • Windows = x86 and x64
  • Android
  • iOS
You could also include the unofficial port to the web.

Your app doesn't handle compilation of binary modules (haven't found anyone that does though)
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: LoveToAll - To Android(APK) and EXE(Single EXE)

Post by bartbes »

I'd also like to point out that unless you can easily extract the single exe and replace the dlls inside, you might be violating the LGPL.
User avatar
zorg
Party member
Posts: 3444
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: LoveToAll - To Android(APK) and EXE(Single EXE)

Post by zorg »

bartbes wrote:I'd also like to point out that unless you can easily extract the single exe and replace the dlls inside, you might be violating the LGPL.
What does "easily" mean in legalese though?

Would one need to provide hand-holding in the form of an un/packer, or would it be sufficient that one could extract it using programs like ResHacker (though replacing might be a bit harder)?

(I know, Y.A.N.A.L.)
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: LoveToAll - To Android(APK) and EXE(Single EXE)

Post by raidho36 »

I don't think having to use resource hacking software constitutes "swappable" in any meaningful way; act of "swapping" would basically amount to cracking/hacking the software.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests