Author Topic: Downloadable patch proposal  (Read 3571 times)

Offline Scott_AW

  • Mr. Polyvector
  • ***
  • Posts: 214
    • View Profile
    • SAW Game Design
Downloadable patch proposal
« on: 2010-Apr-03 »
I was wondering if you guys would support a downloadable patch option.  I don't always have a connection to my main work laptop, so updating it can be tricky.  If its not too much trouble that is.
Current Project, Orbital Contract Defense
http://gamejolt.com/games/adventure/code-name-ocd/9887/

BlackShadow now open source/resource(requires duke3d)
http://gamejolt.com/games/adventure/black-shadow-3d/9885/

Offline Kuron

  • Mr. Polyvector
  • ***
  • Posts: 238
    • View Profile
Re: Downloadable patch proposal
« Reply #1 on: 2010-Apr-03 »
Add me to the list, I have been asking for this since the beginning.  Like many developers, my development machine does not have an internet connection.

MrTAToad

  • Guest
Re: Downloadable patch proposal
« Reply #2 on: 2010-Apr-03 »
I think it would be far too much work for Gernot to do...
« Last Edit: 2010-Apr-03 by MrTAToad »

Offline FutureCow

  • HelpEditor
  • Prof. Inline
  • ******
  • Posts: 680
    • View Profile
Re: Downloadable patch proposal
« Reply #3 on: 2010-Apr-03 »
You can manually download the latest patch - I had to work out what the update was doing so I could to do it manually as my main machine is behind an authenticating proxy and the auto update doesn't work with authenticating proxies.

I would share how it's done, but if Gernot hasn't published it so I don't want to get in trouble if there's a reason it hasn't been published.

The number one reason I think would be that installing it manually doesn't do the nice step that the automated install does of backing up your old version for you. If you manual take a copy of your GLBasic directory beforehand and overwrite the files yourself then you can easily back out the update by copying back your backup copy.

The only other reason I can see it would be kept quiet would be if applying the patch to a demo version turned a demo version into the full version - obviously then providing the location of the patch wouldn't be a good thing. I would hope it doesn't work that way.

So, assuming updating the demo with the latest patch doesn't turn it into a registered version, then if a mod will approve me posting it, I'll post the address where you find the most recent patch to apply manually.
« Last Edit: 2010-Apr-03 by FutureCow »

Offline Kuron

  • Mr. Polyvector
  • ***
  • Posts: 238
    • View Profile
Re: Downloadable patch proposal
« Reply #4 on: 2010-Apr-03 »
Quote
So, assuming updating the demo with the latest patch doesn't turn it into a registered version
I am not a mod, but I can affirm that this does NOT happen, (but please do not provide instructions without permission).  As that is the way I have to do updates.  My "net" machine has the demo version installed, which I do the online updating for, and then I copy the folder over to my work machine which has the registered version.

Offline Scott_AW

  • Mr. Polyvector
  • ***
  • Posts: 214
    • View Profile
    • SAW Game Design
Re: Downloadable patch proposal
« Reply #5 on: 2010-Apr-04 »
Does that work right out or do you have to modify the register?  I do have a netbook I used to use for GLBasic that I could update and transfer files to my main netbook.
Current Project, Orbital Contract Defense
http://gamejolt.com/games/adventure/code-name-ocd/9887/

BlackShadow now open source/resource(requires duke3d)
http://gamejolt.com/games/adventure/black-shadow-3d/9885/

Offline Kuron

  • Mr. Polyvector
  • ***
  • Posts: 238
    • View Profile
Re: Downloadable patch proposal
« Reply #6 on: 2010-Apr-04 »
Does that work right out or do you have to modify the register?
I had to type in my reg info when I first installed it.  Granted, the version of GLBasic I use on my work system is way behind in updates due to the hassle of keeping it updated.

Offline Scott_AW

  • Mr. Polyvector
  • ***
  • Posts: 214
    • View Profile
    • SAW Game Design
Re: Downloadable patch proposal
« Reply #7 on: 2010-Apr-04 »
Well then it should work.  I can move the glbasic folder to my usb drive and transfer it.  I actually have it installed on the usb stick, but didn't realize I could just copy the updated version to it. 

I found problems in attempting to update glbasic if its located on a flash drive, which sucked since so many improvements have been made.  That and the project file formats were no longer compatible, and new commands have been added.  Which wasn't too big of a deal.  In fact when I was testing out a gui I'm working on, I compiled a mac version since one was available to me and had pretty nice result and an amazing FPS of 500 on a G5, vs my netbook which is 300.   But I haven't tested it with this new version yet, and I'm using polyvectors.  It might explain a visual glitch I saw.  That and I had to switch to blacksreen.

http://i206.photobucket.com/albums/bb140/scott_aw/sampleinterfacepsd.png
On Windows XP, GLB Version 7.285 ^

http://i206.photobucket.com/albums/bb140/scott_aw/macporttest.png
On MacOSX G5, GLB Version 7.203 ^

File search works like a dream.
Current Project, Orbital Contract Defense
http://gamejolt.com/games/adventure/code-name-ocd/9887/

BlackShadow now open source/resource(requires duke3d)
http://gamejolt.com/games/adventure/black-shadow-3d/9885/

Offline FutureCow

  • HelpEditor
  • Prof. Inline
  • ******
  • Posts: 680
    • View Profile
Re: Downloadable patch proposal
« Reply #8 on: 2010-Apr-04 »
The manual installation method is simply an unzip of the patch zipfile into your GLBasic folder. On starting the IDE the next time it does some copying of example files (which I think the automatic method does anyway) - not sure where it copies to and from - and then runs the ide as normal. As this process is not doing the backup of the original files (and whatever else the automated version may do) - I can't see any reason the manual install wouldn't work with flash drives / updating using the zip across a network etc.
« Last Edit: 2010-Apr-04 by FutureCow »

MrTAToad

  • Guest
Re: Downloadable patch proposal
« Reply #9 on: 2010-Apr-04 »
Perhaps it might be possible to do the update with a self-extracting executable that only works with registered users in some way - still think it would be too much trouble though.

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1792
    • View Profile
    • Homepage
Re: Downloadable patch proposal
« Reply #10 on: 2010-Apr-04 »
Just do the patching on your normal net-connected PC, copy over the whole installation folder and extract over your developement computers installation. Should work as long as all paths are exactly the same.

Offline FutureCow

  • HelpEditor
  • Prof. Inline
  • ******
  • Posts: 680
    • View Profile
Re: Downloadable patch proposal
« Reply #11 on: 2010-Apr-05 »
I've had a look in the registry and the license key is stored there, so I can't see that a patch update would turn a demo into a registered version - and as a result I can't see that passing on the info would cause any issues. I'd still prefer an official go-ahead before risking upsetting Gernot though.


Perhaps it might be possible to do the update with a self-extracting executable that only works with registered users in some way - still think it would be too much trouble though.

That's pretty much what is already available with my method - it's just a download, then an unzip - it's not difficult or lots of steps. Unzip and you're done!
« Last Edit: 2010-Apr-05 by FutureCow »

Offline Kuron

  • Mr. Polyvector
  • ***
  • Posts: 238
    • View Profile
Re: Downloadable patch proposal
« Reply #12 on: 2010-Apr-05 »
Quote
I've had a look in the registry and the license key is stored there, so I can't see that a patch update would turn a demo into a registered version -
As I said before, the demo version can have the updates applied to it no problem and it doesn't turn it into a registered version.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10762
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Downloadable patch proposal
« Reply #13 on: 2010-Apr-06 »
The patch for GLBasic is just a plain Zip file:
http://www.glbasic.com/~GLBasic7_update.txt <-- current version
http://www.glbasic.com/~GLBasic7_update.zip <-- current german patch
http://www.glbasic.com/~GLBasic7_update_e.zip <-- current english patch

Just unzip. The patch of the full vs demo version is stored in the registry.

Offline FutureCow

  • HelpEditor
  • Prof. Inline
  • ******
  • Posts: 680
    • View Profile
Re: Downloadable patch proposal
« Reply #14 on: 2010-Apr-06 »
Thanks Gernot - Glad to see it "official"  =D