Difference between revisions of "GUI Themes/TODO"

Jump to navigation Jump to search
190 bytes added ,  13:50, 27 June 2007
(Added note about SoundFont option.)
Line 101: Line 101:
On June 27th 2007 12:45 -- 14:10) on #scummvm [http://ircbrowse.com/channel/scummvm/20070627 (Log is here)] there was a discussion about implementing launcher hints to our detector.
On June 27th 2007 12:45 -- 14:10) on #scummvm [http://ircbrowse.com/channel/scummvm/20070627 (Log is here)] there was a discussion about implementing launcher hints to our detector.


The main idea behind this is that enignes will hint launcher on available per-game options. Say, it will provide lists of languages, supported sound formats. Also this could be used for those rarely used options which we miss now in GUI, such as turning on or off copy protection or seceltion of different intro.
The main idea behind this is that engines will hint launcher on available per-game options. Say, it will provide lists of languages, supported sound formats. Also this could be used for those rarely used options which we miss now in GUI, such as turning on or off copy protection or selection of different intro.


It would be wise if a plugin is run when user hits 'Edit Game' button. Then it returns back a string in a special format. Current format is this:
To this end, query the responsible engine plugin when the user hits the 'Edit Game' button. Then it returns back a structure (or just a StringMap) describing the capabilities of the game. This structure could contain:


  launheropts=langs:(en,it,es,de),res:(2x),audio:(pcspk,adlib,midi),copyprot:(true),aspect:(false)
* a list of languages that game instances support (empty = unknown/any; one language; or multiple language for multi-lang games)
* the native resolution of the game (320x200, 320x240, 640x480) etc. -- this info can be used to select an appropriate default scaler (could also be used on-the-fly when starting a game)
* List of supported audio/sound modes (MIDI, pcspk, adlib, digital audio, ...)
* Whether copyprotection can be toggled
* Whether aspect ratio correction makes sense for that game


Above mentioned example will populate language selection pop-up list with 4 languages, will tell that game runs in 640xY mode, supports 3 formats of audio, has ability to show copy protection screen(s) which are disabled by default and disables aspect ratio correction control.


List of rarely used options which aren't reflected in GUI:
List of rarely used options which aren't reflected in GUI:
1,079

edits

Navigation menu