1,554
edits
(→Dialogs: Ideas for file browser dialog) |
(Launcher hints) |
||
Line 96: | Line 96: | ||
Probably there will be some optimisations in loadAll() method, which will malloc one big chunk of those vars, and since we have their keys as ''const char *'', then it can alloc one big chunk for variables name as well and then pass pointers inside of it to respective members. Of course, that will be specially flagged as it will not be possible to free() any of those chunks deliberately. | Probably there will be some optimisations in loadAll() method, which will malloc one big chunk of those vars, and since we have their keys as ''const char *'', then it can alloc one big chunk for variables name as well and then pass pointers inside of it to respective members. Of course, that will be specially flagged as it will not be possible to free() any of those chunks deliberately. | ||
== Launcher hints == | |||
On June 27th 2007 on #scummvm 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. | |||
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: | |||
launheropts=langs:(en,it,es,de),res:(2x),audio:(pcspk,adlib,midi),copyprot:(true),aspect:(false) | |||
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: | |||
* cdrom | |||
* joystick_num | |||
* alsa_port (or any other midi driver config stuff, there is an open FR for adding better MIDI config options, too, of course) | |||
* tempo (do we still need/want that, anyway?) | |||
* midi_gain | |||
* copy_protection | |||
* demo_mode | |||
* alt_intro | |||
List of values which are currently showed in GUI: | |||
* Language | |||
* Platform (do we really need to allow user to change that?) | |||
* Graphics mode (640x480 games with 2x selected now behave incorrectly) | |||
* Render mode (only few games support CGA or Hercules rendering) | |||
* Aspect ratio (FM-TOWNS games run in 320x240, NES MM doesn't use aspect correction too) | |||
* Music driver | |||
* Text and speech (for subtitle-less games or games without voice-overs) | |||
* Subtitle speed (disable in Simon1 CD) | |||
* Volume --> closely related to text and speech, so perhaps just disable speech volume for text-only games | |||
* SoundFont (no need to enable if game doesn't have MIDI music) | |||
* Mixed Adlib/MIDI (only couple games feature that) | |||
* True Roland (supported only by games with MT-32 tracks) | |||
* Roland GS (same as above) |