Author Topic: Problems with add-ons  (Read 4106 times)

Yggdrasil

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: Problems with add-ons
« Reply #25 on: 20 April 2011, 09:56:57 »
I just use plain zip now as it is easier.

Let me again stress the point that i don't really like dependency checking as i currently don't see a nice way to do it. The dependency graph needs to have a total order because we need to feed physfs with an ordered list. Total ordering like topological sorting only works when the dependency graph is acyclic. And i can easily imagine getting cycles if this kicks of, e.g. the smallest cycle of two addons depending on each other (probably 'cause of maps or tilesets). The only solution i see is to split addons to get the dependency graph acyclic (worst case every map, tileset,... on it's own). Just don't overuse this virtually merge function.

The problem with total-conversions is only the menu. Just treat the menu separately. You can only have one enabled anyway.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Problems with add-ons
« Reply #26 on: 20 April 2011, 15:54:33 »
There are two formats for packaging mods, and these choices affect file size:
  • ZIP compression is very portable, and suitable even for Classic Glest users
    ZIP files will also take less space on GAE players harddisks
  • XZ offers smaller downloads, but GAE users will use as much diskspace
    as MG and Classic Glest users. XZ is intended to be used eventually by the
    automated mod managing tools (which I plan to write).
    It offers better partial-update download sizes too, if you are making an
    upgrade of an existing mod. Power users will be able to use these files
    manually, but most Classic Glest players will be unsure what to do with them!
    (XZ takes a lot longer to pack, so if you are impatient go with ZIP)
Dunno where you get this from. 7-zip is far far smaller than zip. Filesize is a big issue here.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: Problems with add-ons
« Reply #27 on: 20 April 2011, 18:08:05 »
Zip? This might be a problem when merging...  :-X

will

  • Golem
  • ******
  • Posts: 783
    • View Profile
Re: Problems with add-ons
« Reply #28 on: 20 April 2011, 19:55:33 »
I didn't make it up, however unintuitive my recommendations seem.

Its fun to discuss compression, but its perhaps off-topic.  If anyone wants a detailed discussion about compression, or dependencies or delta updates or other related subjects, just start a thread and invite me to write detailed technical opinion pieces ;)

 

anything