StendhalRefactoringUpdates: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>Hendrik Brummermann
No edit summary
imported>Hendrik Brummermann
No edit summary
Line 5: Line 5:
* it should not only be possible to add resources but to replace them, too
* it should not only be possible to add resources but to replace them, too
* modification of program code
* modification of program code
* cleanup of stuff not used anymore
* don't download files which are not completly uploaded yet


== Ideas for implementation ==
== Ideas for implementation ==

Revision as of 05:25, 4 October 2006

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
  • cleanup of stuff not used anymore
  • don't download files which are not completly uploaded yet

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)