problems with .love files and .exe creation
Posted: Wed Nov 10, 2021 7:27 pm
so i have a folder wit hmy program, which i can run by drag'n'dropping it onto the love.exe, but when i zipped the contents of the folder (a main.lua and a conf.lua) into a .love file and tried to run it, it said this:
i tried multiple directories and nothing worked
also, i have the file love2d_exe.bat with this command
in the same directory as love.exe and the .love file
while it creates the .exe, when i run it its just the blank love program with the duck baloon or whatever
i also tried running
and
with command prompt, but it produced the same result
anyone knows what i'm doing wrong?
Code: Select all
Error
boot.lua:577: Cannot load game at path 'C:/Program Files/love/gamepadtester.love'.
Make sure a folder exists at the specified path.
Traceback
[C]: in function 'error'
[C]: in function 'xpcall'
[C]: in function 'xpcall'
also, i have the file love2d_exe.bat with this command
Code: Select all
copy /b love.exe+%1 "%~n1.exe"
while it creates the .exe, when i run it its just the blank love program with the duck baloon or whatever
i also tried running
Code: Select all
cd C:\Program Files\love\
Code: Select all
copy /b love.exe+gamepadtester.love gamepadtester.exe
anyone knows what i'm doing wrong?