This is a bit of an awkward ask, because it doesn't necessarily pertain to Love2D itself(I think). I've made this .bat script to automate the production of my executables.
Code: Select all
@echo off
title MPG3
setlocal EnableDelayedExpansion
cd C:\Users\Pokeman2003\Desktop\Development
:yn
choice
if %errorlevel%==1 goto compile
if %errorlevel%==2 exit
:compile
echo compiling
set return=1
call :countlogic C:\Users\Pokeman2003\Desktop\Development\Archive\p1\build .7z
echo build #%return%
echo %date%>>C:\Users\Pokeman2003\Desktop\Development\Projects\Proj1\code\build.info
echo %time%>>C:\Users\Pokeman2003\Desktop\Development\Projects\Proj1\code\build.info
echo %return%>>C:\Users\Pokeman2003\Desktop\Development\Projects\Proj1\code\build.info
"C:\Program Files\7-Zip\7z.exe" a -r -mx9 -t7z build%return%.7z "C:\Users\Pokeman2003\Desktop\Development\Projects\Proj1\code\*.*"
copy build%return%.7z "C:\Users\Pokeman2003\Desktop\Development\Archive\p1"
copy /b love32.exe+build%return%.7z build%return%.exe
del build%return%.7z
del "C:\Users\Pokeman2003\Desktop\Development\Projects\Proj1\code\build.info"
goto yn
:countlogic
REM echo %1%return%%2
if exist %1%return%%2 set /a return=return+1&goto countlogic
if not exist %1%return% set /a return=%return%
echo Returning %return%.
goto :eof
Code: Select all
"C:\Program Files\7-Zip\7z.exe" a -r -mx9 -t7z build%return%.7z "C:\Users\Pokeman2003\Desktop\Development\Projects\Proj1\code\*.*"
The reason is rather simple. While you can drag both onto your love.exe and it'll open, for whatever reason, build24.7z(my automatically produced 7zip) REFUSES to work. Merging the files together results in a "No Game" error screen on both my Win64 and Win32 versions of Love. HOWEVER, buildbase.7z, which should be identical, can be merged into the love.exe of my choosing, and will work properly.
Could someone with a lot better knowledge with all of this explain what might be going on?