StendhalRefactoringUpdates

From Arianne
Jump to: navigation, search

TODO: update this page as a lot has been achieved from it

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)

File update.properties

TODO

File jar.properties

TODO