Pulling source out of a love.exe

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Bannana97
Citizen
Posts: 77
Joined: Wed May 16, 2012 2:49 pm

Pulling source out of a love.exe

Post by Bannana97 »

I've been wondering this since I started using love.

I made a game and created a .love file for it. After, I ran the following command:

Code: Select all

copy /b love.exe+game.love game.exe
This creates game.exe, which has love.exe and my .love file combined. Is it possible to pull the .love file back out? If so, is there any way to prevent the copying of source code?
SudoCode
Citizen
Posts: 61
Joined: Fri May 04, 2012 7:05 pm

Re: Pulling source out of a love.exe

Post by SudoCode »

It's in zip format.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Pulling source out of a love.exe

Post by kikito »

Is it possible to pull the .love file back out?
Yes. If you rename it to .zip, it will still open with an uncompressor.
If so, is there any way to prevent the copying of source code?
Not a technical way; your file needs to be decompressible because LÖVE itself needs to be able to read it to execute it.

There is a legal way consisting on distributing your game with a license file that prohibits such conduct.
When I write def I mean function.
Bannana97
Citizen
Posts: 77
Joined: Wed May 16, 2012 2:49 pm

Re: Pulling source out of a love.exe

Post by Bannana97 »

I tried making an .exe just now and was not able to uncompress it with WinZip. It said it was invalid...
User avatar
pk
Citizen
Posts: 67
Joined: Wed Dec 14, 2011 2:13 am
Location: Texas, United States
Contact:

Re: Pulling source out of a love.exe

Post by pk »

WinZip is pretty stupid. 7-Zip is smarter and will uncompress the file.
ALL CREATURE WILL DIE AND ALL THE THINGS WILL BE BROKEN. THAT'S THE LAW OF SAMURAI.
Bannana97
Citizen
Posts: 77
Joined: Wed May 16, 2012 2:49 pm

Re: Pulling source out of a love.exe

Post by Bannana97 »

There is a legal way consisting on distributing your game with a license file that prohibits such conduct.
And what exactly would that be?
SudoCode
Citizen
Posts: 61
Joined: Fri May 04, 2012 7:05 pm

Re: Pulling source out of a love.exe

Post by SudoCode »

Bannana97 wrote:
There is a legal way consisting on distributing your game with a license file that prohibits such conduct.
And what exactly would that be?
Distributing it with a license that does not allow for modification or redistribution?
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: Pulling source out of a love.exe

Post by Roland_Yonaba »

Bannana97 wrote:
There is a legal way consisting on distributing your game with a license file that prohibits such conduct.
And what exactly would that be?
I suggest Creative Commons 3.0 BY-NC-ND.
On the basis of Josefnpat's post.
Bannana97
Citizen
Posts: 77
Joined: Wed May 16, 2012 2:49 pm

Re: Pulling source out of a love.exe

Post by Bannana97 »

Let me get this straight.
I am not too familiar with copyright, but if I simply put a link to that CC license in a .TXT file or similar, is my work immediately protected by it?
User avatar
pk
Citizen
Posts: 67
Joined: Wed Dec 14, 2011 2:13 am
Location: Texas, United States
Contact:

Re: Pulling source out of a love.exe

Post by pk »

In most parts of the world, you own the copyright to your game as soon as you distribute it, even if you don't distribute it with an explicit license. As far as extracting your code/images/sounds, people have limited rights under fair use. If someone outright steals your work and tries to pass it off as original, the law is on your side.

Still, I hope you aren't planning on suing anytime soon. Piracy is a social issue, not a technological one.

The CC licenses just detail specific the usage rights for people besides you. They grant 3rd parties other rights beyond those granted by basic "Copyright (c) 2012 John Q. Public. All rights reserved" boilerplate.
ALL CREATURE WILL DIE AND ALL THE THINGS WILL BE BROKEN. THAT'S THE LAW OF SAMURAI.
Post Reply

Who is online

Users browsing this forum: No registered users and 47 guests