Friday, August 10, 2012

The Updating Mechanism

My game will be developed for a long time, so the need to have an updating mechanism to make updating easy. I will probably code the updating mechanism myself. I will probably use the http protocol to transfer the files to the client. The files will be stored on an ordinary webserver, with a config file holding the data about which files to download, version number, etc. This config file will be the first that the client downloads. The file will hold a serialized java object with classes and methods to download each file.

Since java locks jar files while they are being used, there would have to be another jar that updates the game then runs the main jar, then allowing the main jar to be removed then the new jar placed in it's place.

Thank you for following my development!

Doc

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.