aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorMax Horn2003-10-26 13:33:49 +0000
committerMax Horn2003-10-26 13:33:49 +0000
commitdf60e72f77c2f368cba5bd7a8053d70f3d378974 (patch)
tree8fdc3b730e88a37b7e9381b9c0bcc434b1122155 /base
parent1d1f52f8e987e45448706ac795df45f1a6992a9e (diff)
downloadscummvm-rg350-df60e72f77c2f368cba5bd7a8053d70f3d378974.tar.gz
scummvm-rg350-df60e72f77c2f368cba5bd7a8053d70f3d378974.tar.bz2
scummvm-rg350-df60e72f77c2f368cba5bd7a8053d70f3d378974.zip
updated README and usage/help text
svn-id: r10976
Diffstat (limited to 'base')
-rw-r--r--base/gameDetector.cpp79
1 files changed, 38 insertions, 41 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp
index 1b16e28c85..00038c3093 100644
--- a/base/gameDetector.cpp
+++ b/base/gameDetector.cpp
@@ -43,55 +43,52 @@ static const char USAGE_STRING[] = "NoUsageString"; // save more data segment sp
#else
static const char USAGE_STRING[] =
"ScummVM - Graphical Adventure Game Interpreter\n"
- "New USAGE_STRING is missing here!\n"
-/* "Syntax:\n"
- " scummvm [OPTIONS] [game]\n"
- "Options:\n"
- " -p<path> - Look for game in <path>\n"
- " -x[num] - Load this savegame (default: 0 - autosave)\n"
- " -f - Full-screen mode (-F forces window mode.)\n"
- " -g<mode> - Graphics mode (normal,2x,3x,2xsai,super2xsai,supereagle,\n"
- " advmame2x,advmame3x,hq2x,hq3x,tv2x,dotmatrix)\n"
- " -e<mode> - Set music engine (see README for details)\n"
- " -q<lang> - Specify language (en,de,fr,it,pt,es,jp,zh,kr,se,gb,hb,ru)\n"
+ "Usage: scummvm [OPTIONS]... [GAME]\n"
+ " -v, --version Display ScummVM version information and exit\n"
+ " -h, --help Display a brief help text and exit\n"
+ " -z, --list-games Display list of supported games and exit\n"
+ " -t, --list-targets Display list of configured targets and exit\n"
"\n"
- " -c<num> - Use cdrom <num> for cd audio\n"
- " -j[num] - Enable input with joystick (default: 0 - first joystick)\n"
- " -m<num> - Set music volume to <num> (0-255)\n"
- " -o<num> - Set master volume to <num> (0-255)\n"
- " -s<num> - Set sfx volume to <num> (0-255)\n"
-#ifndef DISABLE_SCUMM
- " -t<num> - Set music tempo (50-200, default 100%%)\n"
-#endif
- "\n"
- " -n - No subtitles for speech\n"
-#ifndef DISABLE_SCUMM
- " -y - Set text speed (default: 60)\n"
-#endif
+ " -p, --path=PATH Path to where the game is installed\n"
+ " -x, --save-slot[=NUM] Save game slot to load (default: autosave)\n"
+ " -f, --fullscreen Force full-screen mode\n"
+ " -F, --no-fullscreen Force windowed mode\n"
+ " -g, --gfx-mode=MODE Select graphics scaler (normal,2x,3x,2xsai,\n"
+ " super2xsai,supereagle,advmame2x,advmame3x,hq2x,\n"
+ " hq3x,tv2x,dotmatrix)\n"
+ " -e, --music-driver=MODE Select music driver (see README for details)\n"
+ " -q, --language=LANG Select language (en,de,fr,it,pt,es,jp,zh,kr,se,gb,hb,ru)\n"
+ " -m, --music-volume=NUM Set the music volume, 0-255 (default: 192)\n"
+ " -o, --master-volume=NUM Set the master volume, 0-255 (default: 192)\n"
+ " -s, --sfx-volume=NUM Set the sfx volume, 0-255 (default: 192)\n"
+ " -n, --nosubtitles Disable subtitles (use with games that have voice)\n"
+ " -b, --boot-param=NUM Pass number to the boot script (boot param)\n"
+ " -d, --debuglevel=NUM Set debug verbosity level\n"
+ " -u, --dump-scripts Enable script dumping if a directory called 'dumps'\n"
+ " exists in the current directory\n"
"\n"
- " -v - Show version info and exit\n"
- " -h - Display this text and exit\n"
- " -z - Display list of supported games\n"
+ " --cdrom=NUM CD drive to play CD audio from (default: 0 = first\n"
+ " drive)\n"
+ " --joytick[=NUM] Enable input with joystick (default: 0 = first\n"
+ " joystick)\n"
+ " --platform=WORD Specify version of game (allowed values: amiga,\n"
+ " atari, mac, pc)\n"
+ " --multi-midi Enable combination Adlib and native MIDI\n"
+ " --native-mt32 True Roland MT-32 (disable GM emulation)\n"
+ " --aspect-ratio Enable aspect ratio correction\n"
"\n"
- " -b<num> - Pass number to the boot script (boot param)\n"
- " -d[num] - Enable debug output (debug level [0])\n"
- " -u - Dump scripts\n"
- "\n"
- " --platform= - Specify version of game (amiga,atari-st,macintosh)\n"
- " --multi-midi - Enable combination Adlib and native MIDI\n"
- " --native-mt32 - True Roland MT-32 (disable GM emulation)\n"
- " --fullscreen - Full-screen mode (same as -f)\n"
- " --aspect-ratio - Enable aspect ratio correction\n"
-#ifndef DISABLE_SCUMM
- " --demo-mode - Start demo mode of Maniac Mansion (Classic version)\n"
-#endif
#ifndef DISABLE_SKY
- " --floppy-intro - Use floppy version intro for Beneath a Steel Sky CD\n"
+ " --floppy-intro Use floppy version intro for Beneath a Steel Sky CD\n"
+#endif
+#ifndef DISABLE_SCUMM
+ " --demo-mode Start demo mode of Maniac Mansion (Classic version)\n"
+ " --tempo=NUM Set music tempo (in percent, 50-200) for SCUMM games\n"
+ " (default: 100)\n"
+ " --talkspeed=NUM Set talk speed for SCUMM games (default: 60)\n"
#endif
"\n"
"The meaning of long options can be inverted by prefixing them with \"no-\",\n"
"e.g. \"--no-aspect-ratio\".\n"
-*/
;
#endif