Not logged inOpenClonk Forum
Up Topic c4u Update System

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Günther
The basic idea is that the engine knows it's version, reads the current version from the master server response, and computes the update download link from that information and one of the URL templates in the configuration, depending on the version difference. Some upgrades need intermediate upgrades, some just the latest cumulative one. When the user clicks yes, the update is downloaded, the c4group executable extracted from the update package and executed to do the update.

More details are easiest found in the redwolf design repository in the tools directory, if you have access to that. I think some of the scripts have longer comments.

C4U files are created from an exact copy of the old files to update from and the desired result.

Puncheraddress is used to punch a hole trough NAT with UDP.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill