Love Builder - Automatic .love and Executable Creation

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Love Builder - Automatic .love and Executable Creation

Post by Jasoco »

What's with newbies getting all defensive lately?
User avatar
leiradel
Party member
Posts: 184
Joined: Thu Mar 11, 2010 3:40 am
Location: Lisbon, Portugal

Re: Love Builder - Automatic .love and Executable Creation

Post by leiradel »

Jasoco wrote:What's with newbies getting all defensive lately?
Hehehe, I was writing a post like yours but you beat me.

I've tested with LÖVE 0.7.0 on Windows XP Professional 32-bits SP3, and the resulting executable really doesn't work. It just runs the "nogame" code. If I, however, run

Code: Select all

game game.exe
it works. I took a look at boot.lua but I don't have what it takes to rebuild love.exe with prints to debug it and see why it's failing to recognize that the executable in argv[0] already has a game in it. It does check for that though.

Anyone wants to patronize me? :3
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Love Builder - Automatic .love and Executable Creation

Post by Robin »

So the problem seems to exist
  • Only on Windows
  • Only with LÖVE 0.7.0
  • Only for some people
Help us help you: attach a .love.
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: Love Builder - Automatic .love and Executable Creation

Post by BlackBulletIV »

EMB wrote:I get no error, just love starting up as though it is just on it's own. It isn't that the file won't copy, just that love starts up as though it has no parameters.
Hmmmmm, I've had problems like this on a Mac. I don't think you're doing this, but make sure you're not merging into an executable with the same name as the love executable you're merging with. Here's an example of what I mean:

Code: Select all

copy /b game.exe+game.love game.exe
Notice how in that command I'm taking from game.exe and putting back into game.exe. I found, on my Mac at least, this causes problems and usually results in the default screen.
EMB wrote:!?*@#!
No comment on my enraged feelings or wether or not you are being extremely patronising.
:ehem: Just be thankful he's trying to help at all. You didn't say you weren't doing that so it's only fair to cross that off the list.
Jasoco wrote:What's with newbies getting all defensive lately?
He he he he, I know eh...
EMB
Citizen
Posts: 70
Joined: Sat Jan 08, 2011 8:49 pm

Re: Love Builder - Automatic .love and Executable Creation

Post by EMB »

Robin wrote:So the problem seems to exist
  • Only on Windows
  • Only with LÖVE 0.7.0
  • Only for some people
Exactly.
Request Programs
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Love Builder - Automatic .love and Executable Creation

Post by Robin »

Only now it seems to be something like:
  • Only on Windows (or possibly Macs sometimes)
  • Only with LÖVE 0.7.0
  • Only for some people
Help us help you: attach a .love.
EMB
Citizen
Posts: 70
Joined: Sat Jan 08, 2011 8:49 pm

Re: Love Builder - Automatic .love and Executable Creation

Post by EMB »

Hmmmm....
Request Programs
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: Love Builder - Automatic .love and Executable Creation

Post by BlackBulletIV »

However it's only on Mac (in my experience, and as far as I can remember) if you execute a command like I showed before.
User avatar
leiradel
Party member
Posts: 184
Joined: Thu Mar 11, 2010 3:40 am
Location: Lisbon, Portugal

Re: Love Builder - Automatic .love and Executable Creation

Post by leiradel »

I've just tested on another machine: Windows 7 Professional 64-bits. The problem is the same, running the resulting executable shows the "nogame" animation, and running "love game.exe" works.

Are there other people with the same problem on Windows and LÖVE 0.7.0?
User avatar
leiradel
Party member
Posts: 184
Joined: Thu Mar 11, 2010 3:40 am
Location: Lisbon, Portugal

Re: Love Builder - Automatic .love and Executable Creation

Post by leiradel »

Ok, I've got LÖVE dependencies for Windows from here and setup a solution in VS2008. I had to
  • Add additional include folders
  • Add additional library folders
  • Rename two files as stupid VS outputs all object files to the same intermediate directory
  • Grab two missing files from luasocket source files
But at the end VS refuses to link, saying that there are unresolved externals that are however defined in the LÖVE sources (such as luaopen_love_image defined in wrap_Image.cpp.)

I wanted to try to debug the problem where making an executable with "copy/b love.exe+game.love game.exe" doesn't work, but I give up.

If someone has a solution file for VS2008 that I can try please post it here. I could try MinGW but I'd have to get/build the dependencies for it, not gonna happen...

Cheers,

Andre
Post Reply

Who is online

Users browsing this forum: No registered users and 55 guests