[Scummvm-devel] Detection hints in the Add Game browser

Ori Avtalion oavtal at bezeqint.net
Sat Jul 29 21:27:33 CEST 2006


Hi,

I noticed a slight usability problem in the "Add Game" dialog. I will 
outline it and offer a solution.

Since the file list in the browser only displays directories, the actual 
clicking of the "Choose" button is done when nothing is on the screen.
I think this disorients some users (for one example, see 
http://video.google.com/videoplay?docid=-1663029591101855863).

One possible solution is show the files alongside the directories, but 
have them greyed-out. I understand this was done on the mac version and 
also caused a bit of confusion.

My solution is to have a message such as "This directory seems to 
contain a SCUMM game" displayed when a candidate directory is entered.

How is this done?
Each engine will implement an Engine_XXX_rootFilesList which will 
contain a list of filenames that identify the game engine (could be just 
one file).

Whenever the game browser enters a directory, it will scan it against 
each engine's list. If an engine's list is found inside the dir, it will 
pop up the message. Note that the message does not mean "Choose" will 
actually detect anything. The actual, heavier Engine_XXX_detectGames 
function is not being executed (it may contain more logic: checking 
against md5's, checking file headers etc).

If it seems like a good idea, I'm willing to implement it myself.

-Ori




More information about the Scummvm-devel mailing list