Hi list,

this a Request For Comments about downloadable maps, a useful feature in 
wormux that would allow to retrieve additional maps from the wormux 
website from within the game.
1) Listing
A xml file would list those information per map:
- Name
- Identifier (version number, CRC?) to differentiate versions or maps
- Author (optional, only small hint as to if the map is any good)
- Jpeg thumbnail (the one already available)
- Compressed (downloaded) and decompressed sizes (worth it?)
- An URL where to get a zip (probably easier handling through zlib only)
In addition, what about future:
- minimal version to understand the xml file?
- minimal version to play the map?

2) Display:
img|name|author|version|"new"/"updated"/no img|compressed size|raw size
- A listbox having items displaying the above, except url
- Buttons to: refresh list, delete map(s), download map(s)
- An info in each listbox item indicating whether the corresponding map 
was already downloaded

3) Actual downloads
- Hitting "refresh list"
  . Fetches list from 1), and update listbox from 2) (what about 
displaying "new" and "updated" about maps?)
  . Get the new maps' thumbnails (what about displaying a progress 
indicator for this?)
  . Update display
- Hitting "download map(s)"
  . One or several maps at a time? does listbox allow this?
  . Downloads and unpack to a temporary folder:
    - wormux personal dir vs TEMP: security issues
    - don't unpack a corrupt archive or incomplete map to user folder
  . Move unpacked map folder to the expected final folder
    - User personal maps folder or normal map folder? ignore it? test it 
first? test it if the user wants that?

So far, this is what I've thought of. Do you see anything more? Do you 
reject something?

Best regards,
Kurosu

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à