Author Topic: Arcen game updater  (Read 2612 times)

Offline zespri

  • Hero Member Mark III
  • *****
  • Posts: 1,109
Arcen game updater
« on: July 04, 2012, 09:21:16 pm »
Sometimes a new beta does not increase "N updates found" counter in the UI and sometime it does. What does this depend on?

Offline Oralordos

  • Sr. Member Mark III
  • ****
  • Posts: 434
  • Suffering from Chronic Backstabbing Disorder
Re: Arcen game updater
« Reply #1 on: July 04, 2012, 10:05:47 pm »
Arcen strips any files replaced in previous patches if they are also replaced in later patches. This sometimes causes a patch to have no files so it is removed from the list of patches to download. Most of the times where the number of patches increases, the previous patch added a new music or altered some graphics. Pure gameplay changes will usually completely replace previous patches.

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Arcen game updater
« Reply #2 on: July 04, 2012, 10:53:10 pm »
Having just done this:

1) Downloaded AIWar5035.zip
2) Unzipped it
3) Copied the code .dll into the two spots inside the unzipped structure (one is windows, one is  mac, exact same dll since mono is cross-platform)
4) svn-diff between 5.035 and head revision, select all inside the RuntimeData directory, export to RuntimeData directory of unzipped structure
5) re-zip the structure, name it AIWar5036.zip
6) upload AIWar5036.zip
7) change first line in the updates .xml file to say B5036 instead of B5035
8) delete AIWar5035.zip from the server

Alternatively I could just start at step three with an empty structure instead of the unzipped structure from before, and that would result in an actual increase in the number of update "steps" from the previous official to the next.

The main decision point is the size of the zip files.  If there's been a ton of new art, or music, or whatever added then the zip can get kind of big.  If only the code has changed it's pretty small (but not inconsiderable, the .dll is kinda big as .dll's go).  And if we keep doing rollups like what I described it keeps getting bigger.  Once it gets big, we do the next one as a non-rollup.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline zespri

  • Hero Member Mark III
  • *****
  • Posts: 1,109
Re: Arcen game updater
« Reply #3 on: July 04, 2012, 11:22:59 pm »
Ah, so the number is the number of incremental ones from the last full one plus one (to account for the full one itself). Gotcha.

Thanks!

 

SMF spam blocked by CleanTalk