StendhalRefactoringUpdates

From Arianne
Revision as of 09:08, 3 October 2006 by imported>Hendrik Brummermann
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Requirements

  • no need to download huge parts of unchanged resources on every update
  • easy way for the player to add huge optional packages (sound, music)
  • automatic update without the player having to redownload manuelly
  • it should not only be possible to add resources but to replace them, too
  • modification of program code

Ideas for implementation

  • a very small starter "application" which does not depend on marauroa
  • player download only this code from SF or via webstart
  • store *.jar in $HOME/stendhal/jar
  • use own classloader to load all .jar-files in $HOME/stendhal/jar
  • order of loading the .jar-files is important (new ones first)
  • use jardiff to create .jar for subsequent releases
  • check arianne.sf.net for updates on program start.
  • dialog box to inform players about pending updates and show progress
  • dialog box to add huge optional resources (like sound, music)