Page 1 of 1
merging Updates
Posted: 25 Feb 2013, 01:00
by Slimor
atm after a new install of a Client it downloads 27 packets
my question is, if its possible to merge them after some time into only a few?
Re: merging Updates
Posted: 25 Feb 2013, 01:48
by Frost
Slimor wrote:atm after a new install of a Client it downloads 27 packets
my question is, if its possible to merge them after some time into only a few?
It's possible. It might not be desirable.
If you already downloaded 26 update files, then the next time you connect, you download only the latest, which happens to be about 162K. If we combine updates, you would download all the newer files, which might be as much as 20MB. On the other hand, a new player would save 5MB in total.
http://updates.themanaworld.org/analyze.php
Merging the update files reduces total file size at the expense of increased downloading. There's a balance.
Re: merging Updates
Posted: 25 Feb 2013, 02:06
by Slimor
if i understod the listing right, there are 6 basic packets + 12 updates right now
(music might some packets too)
why does the client download 27 then?
Re: merging Updates
Posted: 25 Feb 2013, 08:37
by Crush
When we still had content updates linked to client updates we used to release new base content files with every version upgrade and only did incremental updates between official updates.
But back then the content changes between versions also used to be a lot bigger.
Re: merging Updates
Posted: 25 Feb 2013, 14:47
by 4144
Slimor wrote:atm after a new install of a Client it downloads 27 packets
my question is, if its possible to merge them after some time into only a few?
Yes possible
Client can download file with new name or even file with already existing name but with different checksum.
Now only issue client not deleting unused updates.
Re: merging Updates
Posted: 26 Feb 2013, 08:17
by Crush
4144 wrote:Now only issue client not deleting unused updates.
When we developed the update system we considered deleting of unused updates to be unnecessary. How much content can a game based on the Mana engine have? Even when you add a lot of music you will stay below 100MB. And that in an age where hard drives
start at 1 TB.
Re: merging Updates
Posted: 26 Feb 2013, 08:43
by Alige
Crush wrote:4144 wrote:Now only issue client not deleting unused updates.
When we developed the update system we considered deleting of unused updates to be unnecessary. How much content can a game based on the Mana engine have? Even when you add a lot of music you will stay below 100MB. And that in an age where hard drives
start at 1 TB.
Each time someone modifies a file, players will need to download it one more time on the next update. That means we will have more than one time each file, in average. Same thing applies to musics, thus it is likely that the game can grow beyond 100MB. Moreover, note that 100MB is quite a lot for a small game like The Mana World.
I think it wouldn't harm anyone to automatically remove unused updates.
-- Alige
Re: merging Updates
Posted: 26 Feb 2013, 16:40
by o11c
If I ever implement my "updates directly from git" idea, this will simplify ...