Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (590)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Game patching and updating  (Read 1814 times)
0 Members and 1 Guest are viewing this topic.
Offline Lord Cyber

Junior Newbie




Java Swing Baby!


« Posted 2004-01-03 16:15:35 »

Have there been any threads on programming patching or updating utilities for games

or

Does anyone here have any good links they'd like to share on creating patching / updating utilities?

I'm not sure how it's done commercially, but from a java novice perspective it seems you could keep a list of version IDs for each java .class and a method to pull those IDs from each class, then when a new game version is released, a list of classes and current version numbers is downloaded to the client...the client references his IDs against the new list, and only downloads those classes that have been updated.

I'm going to take a wild stab in the dark here and assume there's a much better way then the one I'm using...any update experts out there?
Offline kevglass

« JGO Spiffy Duke »


Medals: 195
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2004-01-03 16:18:31 »

I'm no expert, but have you see Java Web Start and JNLP? Using jardiff this does exactly what you're talking about. Comes packaged with the latest VMs. Although as far as I know theres no progmatic way of launching the updating API (although there was talk of this as an extension).

Kev

Offline Lord Cyber

Junior Newbie




Java Swing Baby!


« Reply #2 - Posted 2004-01-03 18:33:13 »

Thanks for the quick reply, Kev

Quote
...there's no progmatic way of launching the updating API...


Exactly! I was just reading your thread that you posted in August on this...and that's the kind of service I'm looking at, one that can handle an initial install of all components and then systematic updates of only newer components later on from within the program itself...webstart would only be half a solution to me.

And I'm still wondering if there's a better solution to 'what to download and what not to download'...
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jeff

JGO Coder




Got any cats?


« Reply #3 - Posted 2004-01-04 19:33:20 »

Quote
Thanks for the quick reply, Kev


Exactly! I was just reading your thread that you posted in August on this...and that's the kind of service I'm looking at, one that can handle an initial install of all components and then systematic updates of only newer components later on from within the program itself...webstart would only be half a solution to me.
.


Why? This is *exactly* what Java Webstart does unless I am totally misunderstanding you.

The only limit is that it is a push technology not a pull.  You initiate an update by putting new content on your server.

If  you really need pull, look at OpenJNLP.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline Lord Cyber

Junior Newbie




Java Swing Baby!


« Reply #4 - Posted 2004-01-04 20:32:08 »

You misunderstand...I want the kind of service that Kev was looking for back in August...

I've never heard this "push and pull technology" term before.

I'll look into OpenJNLP and see what it has to offer...

Thanks for the additional information.
Offline kevglass

« JGO Spiffy Duke »


Medals: 195
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #5 - Posted 2004-01-05 04:00:32 »

Its one of the things that was hinted at here:

http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=OnLin;action=display;num=1071614502;start=0#0

Seems that people started refering to it as a webstart engine. It'd be nice to use webstart to do the updates but integrate it will the games GUI. So web start became an Updating API with an *optional* GUI component.

Kev

Offline Jeff

JGO Coder




Got any cats?


« Reply #6 - Posted 2004-01-06 04:48:18 »

Quote
You misunderstand...I want the kind of service that Kev was looking for back in August.


Based on your needs description I'm not sure WHy you think you need client-side control of the process. (Thats a "pull" FYI.  Server side control is a "push.")

But if you do then yes OpenJNLP is probably your baby.


Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline gregorypierce

Senior Devvie




I come upon thee like the blue screen of death....


« Reply #7 - Posted 2004-01-07 00:27:19 »

Quote


Based on your needs description I'm not sure WHy you think you need client-side control of the process. (Thats a "pull" FYI.  Server side control is a "push.")

But if you do then yes OpenJNLP is probably your baby.




Jeff is spot on here. Either regular WebStart or OpenJNLP is just about all you need in most instances for patching/updating content.

http://www.gregorypierce.com

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (27 views)
2014-11-22 12:13:56

xFryIx (69 views)
2014-11-13 12:34:49

digdugdiggy (48 views)
2014-11-12 21:11:50

digdugdiggy (42 views)
2014-11-12 21:10:15

digdugdiggy (36 views)
2014-11-12 21:09:33

kovacsa (60 views)
2014-11-07 19:57:14

TehJavaDev (64 views)
2014-11-03 22:04:50

BurntPizza (62 views)
2014-11-03 18:54:52

moogie (77 views)
2014-11-03 06:22:04

CopyableCougar4 (77 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!