The speech sample at VCTL offset 0x76ccbca ("Hey you!") which is used
when Indy gets caught on the German submarine seems to not be a VOC
but raw PCM s16be at (this is a guess) 44.1 kHz with a bogus VOC header.
To work around this we skip the VOC header and decode the raw PCM data.
Fixes Trac#10559
* Enforced 75 character limit more often.
* Changed some instances of big letters inside the the middle of the sentences (particularly headers), including *Escape From Monkey Island* in a few cases.
* Removed unneeded hyphens from the words that don't need it (and did the opposite for "in-game").
* Finished some sentences with the full stop, particularly in the lists, with the exception of tables, headers and sentences ending with URLs/IRC server name.
* Used `code` formatting for file and directory names, commands and keys, also removing the old single or double quotations or parentheses.
* Used more of *italics* in some parts and **bold** for **WARNING**.
* Standardized referencing filename extensions (INI, EXE, etc.) .
* Changed *folder* to *directory* to unify naming.
* Removed commas before "and".
* Changed Github's links from `http://www.` to `https://`.
* Added or changed OS X to macOS.
* Unified *Required files* sections among the games.
* Moved the "EFMI Installer" point below the table, as that made more sense for the earlier point about the patch.
* Changed some ordering of keybinding for GrimE games and separated `e`, `u`, `p` and `i` keys.
* Updated mention of section number for the location of configuration file.
* Grouped global ResidualVM bindings together in Myst III input controls.
* Changed location of configuration file under Linux (was Unix, but since macOS is technically an Unix as well, someone should add a separate entry for other Unixes such as Android, *BSD or Solaris, as the patch might be different there), as it seems to changed.
* Replaced repeated mention of forums and IRC with a link to *Contact* section.
* Further clarified that these are *debug console commands* in a few remaining places.
* Fixed/added *Jump targets* links from the wiki.
* Clarified that the *Escape from Monkey Island, PS2 version* is an example, removed mention of compiler (example doesn't mention it and it is really that important thing to mention, knowing that a lot of people may not even have idea about the compiler when using prebuilt packages?) and changed Win32 to Windows, as that's more generic term and there's only one Windows version I think.
* Fixed other minor typos/style/formatting.
This commit introduces the following (seemingly non-invasive) changes
to make the 'imuse play' debugger command more useful (i.e. don't crash
when trying to load the wrong kind of (sound) resource.
* ScummEngine::readSoundResource()
Instead of fatally error()'ing upon hitting a non-sound resource type,
e.g. a room header (0x524d4844 aka RMHD), we now only issue a warning().
This enables the already existing dead code which properly returns 0
(aka no resource loaded).
* ResourceManager::validateResource()
Instead of fatally error()'ing upon hitting an illegal glob type we now
only issue a warning() and return false (also existing dead code).
All methods calling validateResource() check its return value so this
seems like the right thing to do anyway.
* ScummDebugger::Cmd_IMuse()
Instead of directly calling ensureResourceLoaded() we now call
getResourceAddress() instead (which in turn calls ensureResourceLoaded()
and handles other edge cases) and only attempt to play a sound if the
returned pointer actually is valid.
Fixes Trac#10527.
Added description of commands common to the engines, moved `openlog` command there and moved and expanded the information how to use debugging console to the general section, as it's the same for all engines. Also indicated that for TLJ all commands are listed while for other games only the most useful are.
* Removed full stops from the last setence in `debugPrintf`s to unifty the style
* `dump` folder for `dumpArchive` must exist in location ResidualVM is launched from (e.g. $HOMEDIR)
* `dumpArchive` require not only name of the archive but (relative) path to it, e.g. `4f/04/04.xarc` instead of simply `04.xarc`
* Indicated to use `listInventory` to get ids for `enableInventoryItem`
* `enableInventoryItem` incorrectly had description from `changeLocation`
* Indicated to use `listLocations` to get ids for `changeLocation`