Categories
Uncategorized

Finishing The Downloader GUI And The ScummVM Cloud Implementation

This week I have finished working on the GUI for showing the progress of the download of a DLC. Other than the progress, all the queued downloads are also listed. There’s also a text widget to show an error if there is an error in extracting the zip (i.e., the archive is broken). Users can select a DLC and cancel the download by clicking on the Cancel button. Here’s a video for the GUI:

The cancel button works as follows – If the DLC is already in download progress, it will interrupt the download by closing the request (and remove any incomplete .zip). If the DLC is scheduled in the download queue, it will change the state of the DLC to kCancelled to get it skipped. I am checking if the DLC state is kInProgress before starting an async download request.

I have also worked on several bug fixes and improvements like disabling the download/cancel button when no DLC (list item) is selected, fixing the launcher not refreshing when the DLC browsing modal is closed, restricting adding downloads to the queue if it is already in the queue, etc.

Finally, as discussed with my mentors, I have wrapped this ScummVM cloud in configure enabled feature, which will be disabled by default. It can be enabled using the --enable-scummvmdlc flag.

What’s next? After cleaning up the code and preparing the PR for review, I will work on adding support for Play Store DLCs on a separate branch in the coming weeks.

Leave a Reply

Your email address will not be published. Required fields are marked *