Page 2 of 2

Re: Game Distribution & Updating

Posted: Mon Feb 09, 2009 3:30 pm
by bartbes
JoeOsborn wrote:which used info in the game.conf
I hate do disappoint you, but that probably won't happen, why you ask? Because LÖVE hates extra data in the game.conf, maybe I should eleborate on the exact design of the updater lib, I'll edit the first post (again).

Re: Game Distribution & Updating

Posted: Mon Feb 09, 2009 7:55 pm
by rude
@EDIT 3:

That sounds awesome, but is that really possible? Remember that you have to use (*shiver*) love.filesystem to save the files ...

Re: Game Distribution & Updating

Posted: Mon Feb 09, 2009 8:37 pm
by bartbes
What's the impossible part? It runs everything from the saved dir. The only change needed is a new name for the main.lua of the game. (Possibly something like main_updated.lua)

BTW, who voted "No" and who voted "Yes, but I'd like someone else to do it" (or whatever it says, you know what I mean)?

Re: Game Distribution & Updating

Posted: Mon Feb 09, 2009 9:16 pm
by Skofo
What does it matter if it's possible? Get to making it already! ;)

Re: Game Distribution & Updating

Posted: Tue Feb 10, 2009 12:44 am
by counterfactual_jones
Not entirely sure how I feel about random games hitting my internet connection. Never mind updating without my permission. No... wait... yes now I'm sure. Absolutely sure that I don't like it.

Checking when I ask, and updating is fine though.

Re: Game Distribution & Updating

Posted: Tue Feb 10, 2009 3:41 pm
by bartbes
counterfactual_jones wrote:Not entirely sure how I feel about random games hitting my internet connection. Never mind updating without my permission. No... wait... yes now I'm sure. Absolutely sure that I don't like it.
You're unaware all games already have internet access? This isn't going to change anything. This might even be one of the few things where you can choose whether you want to do it or not (is most likely going to implemented in the second or third version).

BTW, if I ever sound angry, I'm not, when I read my own posts sometimes I think I should learn to express myself a little better (just a little :P)

Re: Game Distribution & Updating

Posted: Tue Feb 10, 2009 6:34 pm
by Skofo
bartbes wrote:You're unaware all games already have internet access?
What do you meaqn?
bartbes wrote:This might even be one of the few things where you can choose whether you want to do it or not (is most likely going to implemented in the second or third version).
Baad idea. Giving users a choice on what they wish to download and not forcing everything down their throat without their permission should be expected from the very beginning. Don't ever make a program that does something against a user's wishes.

Re: Game Distribution & Updating

Posted: Wed Feb 11, 2009 2:52 pm
by bartbes
Skofo wrote:
bartbes wrote:You're unaware all games already have internet access?
What do you mean?
(took the liberty of correcting)
You don't know? It's not like I'm doing weird hacks here, all I do is require LuaSocket, and EVERY game can do it already (that's where LUBE is based on).

However I do agree that always auto-updating might be a bit agressive (even if it's going to be changed in the future).

Re: Game Distribution & Updating

Posted: Sat Feb 14, 2009 7:52 pm
by bartbes
Skofo wrote:Make it download updates directly from github and I'm sold.
As github has HTTP access, it's possible! I'll release details and code soon!

EDIT: I SHOULD mention you'll need to personally manage the update file (or let some script do it), but the downloading itself is possible

Re: Game Distribution & Updating

Posted: Sun Feb 15, 2009 6:47 pm
by bartbes
I thought I'd say it's done, you can find it in the Projects and Demos section.