Commit graph

160 commits

Author SHA1 Message Date
Eugene Sandulenko
bf53520130 - Check if path specified for a game in scummvm.ini really exists and complain
if it does not
- Give more understandable feedback to user when SCUMM module can't find
  a game
- Put TODO to kyra engine as their current detection scheme does not let
  easily tell if game data really present in specified directory

svn-id: r22163
2006-04-25 23:07:59 +00:00
Max Horn
b36a5afbd8 Files that are *not* 00.LFL or 000.LFL indicate V5+ games -> teach the detector about that
svn-id: r22159
2006-04-25 21:37:53 +00:00
Max Horn
66783576d4 Somewhat improved detection when MD5 is not available/known
svn-id: r22157
2006-04-25 21:26:49 +00:00
Travis Howell
b1bc5f059e Fix loading music/speech files in HE98+ games
svn-id: r22126
2006-04-23 23:27:51 +00:00
Max Horn
99ab7d6fac Fix for HE games which use the generic HE variants (d'oh)
svn-id: r22122
2006-04-23 22:44:50 +00:00
Max Horn
e0a5a2b89e Fix access to .he3/.he4 files
svn-id: r22118
2006-04-23 21:56:09 +00:00
Max Horn
0d67640a58 Behold, the new SCUMM detector finally has arrived. Unified detection & engine instantiation, reduced code duplication, more powerful detection in case MD5 is not known / can't be computed, and many other nifty improvements.
svn-id: r22110
2006-04-23 17:33:16 +00:00
Max Horn
b4c330ce07 Some more tweaks to the (still disabled) new detection / filename generation code
svn-id: r22040
2006-04-19 20:26:27 +00:00
Max Horn
c5507879fc Removed wrong platform values from gameVariantsTable
svn-id: r22037
2006-04-19 16:16:57 +00:00
Willem Jan Palenstijn
784467abfd changed comments into real comments
svn-id: r21945
2006-04-16 14:14:22 +00:00
Max Horn
fe01f3a03f Ignore the 'virtual' HE entries at the end of gameVariantsTable (this fixes an odd detector problem)
svn-id: r21944
2006-04-16 14:07:55 +00:00
Max Horn
206fdf0528 Fixed broken svn:keywords values
svn-id: r21939
2006-04-16 13:01:41 +00:00
Max Horn
ba1b25305e Removed the directory parameter from md5_file
svn-id: r21937
2006-04-16 12:50:39 +00:00
Max Horn
68cb7f52c8 - Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places

svn-id: r21916
2006-04-15 20:36:41 +00:00
Max Horn
ad45318328 Removed GameDetector::_gameid in favor of using a config manager entry
svn-id: r21915
2006-04-15 17:39:14 +00:00
Max Horn
aa2964ceff Some more detector stub code (unused)
svn-id: r21896
2006-04-15 00:24:20 +00:00
Max Horn
de08164420 Possible fix for bug #1470197 (SCUMM: HE Game variants broken)
svn-id: r21879
2006-04-14 09:45:29 +00:00
Torbjörn Andersson
e21f99c7ba Slightly more verbose error message.
svn-id: r21846
2006-04-13 18:09:33 +00:00
Eugene Sandulenko
3fa9fa06c2 Clarified detection filenames for HE games (removed FIXME comments).
svn-id: r21835
2006-04-13 04:01:55 +00:00
Max Horn
24b2f65f91 Re-fix the CD version of Loom
svn-id: r21814
2006-04-11 22:47:53 +00:00
Torbjörn Andersson
10c62a2eed If generateDetectName() generates an empty string, that's a failure, not a
success. Otherwise ScummVM will crash once the game detector reaches the
"generic HE game variants", which makes it hard to add non-SCUMM games.

svn-id: r21808
2006-04-11 19:29:55 +00:00
Max Horn
935989d8cd More commented out stuff: added generateFilenameForDetection method, for use by the detector; and applied various fixes to generateFilename (which is still completely untested, so it certainly contains more 'bugs' :)
svn-id: r21771
2006-04-10 22:45:05 +00:00
Max Horn
0ed3018f2b Some more tweaks to the (still unused) gameFilenamesTable; also readded an enhanced version of the (also unused) generateFilename function
svn-id: r21770
2006-04-10 22:25:42 +00:00
Max Horn
8cbe1f3823 Merged scumm_settings into extra_versions, which in turn got renamed to gameVariantsTable
svn-id: r21768
2006-04-10 21:43:49 +00:00
Max Horn
7b7eb1f331 Changed the precedence of the MD5 overrides (highest priority: config file, then target_md5.txt override, finally the 'reaL md5); also did some cleanup and code unification
svn-id: r21736
2006-04-09 22:18:48 +00:00
Max Horn
cd5b1fee40 Removed some obsolete code
svn-id: r21735
2006-04-09 22:05:05 +00:00
Max Horn
39a2bc6812 Added gameFilenamesTable (currently unused, and hence disabled)
svn-id: r21734
2006-04-09 22:03:29 +00:00
Max Horn
3add3dae95 Removed dupliate entry from extra_versions table
svn-id: r21701
2006-04-08 22:48:03 +00:00
Max Horn
c8ea13139d Our extra_versions table is a bit too eager in some cases to assign platform values; fixing some of these cases and adding code that detects these and triggers an according warning
svn-id: r21700
2006-04-08 22:05:45 +00:00
Max Horn
e7a8bb6abf Modified the REGISTER_PLUGIN macro so that it allows (and requires) a trailing semicolon (this helps certain tools to parse our code better)
svn-id: r21689
2006-04-08 12:06:07 +00:00
Max Horn
dc77d02c7e Removed common/map.h with the Common::Map template class (it was a very bad implementation, and our HashMap is simply better).
svn-id: r21688
2006-04-08 11:38:41 +00:00
Max Horn
30c2e13456 Move some more bits into namespace Scumm
svn-id: r21685
2006-04-08 08:43:28 +00:00
Max Horn
9c77c2ecd1 Renamed various *GameSettings to GameSettings (our namespaces are enough to distinguish them)
svn-id: r21684
2006-04-08 08:23:33 +00:00
Max Horn
1cda8e10f0 Finally got rid of multiple_versions_md5_settings in favor of extra_versions
svn-id: r21672
2006-04-07 22:40:45 +00:00
Max Horn
7ba17e0574 Paranoia change: catch invalid 'method' value in generateDetectName
svn-id: r21602
2006-04-04 21:18:15 +00:00
Max Horn
41f71238f2 Removing outdated and obsolete comment
svn-id: r21578
2006-04-03 12:11:04 +00:00
Max Horn
b9acc7a285 Since GF_HE_CURSORLESS is gone now, we can remove this special case for 'lost'
svn-id: r21577
2006-04-03 12:09:54 +00:00
Travis Howell
0e9b4ab17c GF_HE_CURSORLESS feature flag not required, since HE games always set a default cursor too.
svn-id: r21576
2006-04-03 11:35:02 +00:00
Max Horn
9f06a3bde6 Added variant string for some HE games
svn-id: r21574
2006-04-03 11:12:26 +00:00
Max Horn
3de55677b9 Typo
svn-id: r21540
2006-04-01 22:31:57 +00:00
Max Horn
e390639dd8 Use extra_versions to compute ScummGameSettings (currently only compared to the value determined via multiple_versions_md5_settings but not actively used; requires more testing, in particular with HE games)
svn-id: r21530
2006-04-01 18:20:35 +00:00
Travis Howell
f991b88da8 Fix skipping insane sequence in bundled Macintosh demo of FT
svn-id: r21507
2006-03-31 01:28:35 +00:00
Travis Howell
9c94670e22 Add another English version of Monkey Island for Macintosh
svn-id: r21483
2006-03-29 06:24:13 +00:00
Eugene Sandulenko
09b8869ef6 Implement feature request #1450364: "Suggestion on how to cope with
fan-translations"

svn-id: r21458
2006-03-26 04:50:09 +00:00
Eugene Sandulenko
4577ac2f65 Add Blue's ABC Time and upgrade demo target to full game
svn-id: r21444
2006-03-25 04:28:39 +00:00
Eugene Sandulenko
22042bc637 - Implemented case insensitive file reading. Left old system as a fallback
in case some engine writer decide to do something unwise
- Removed used of ConfMan.getKey("path") in file-related cases, because
  now File class handles that
- Fixed bug in ScummEngine_v80he::o80_getFileSize() where path delimiters
  weren't translated

svn-id: r21443
2006-03-25 04:17:17 +00:00
Max Horn
5f800bb9da Fixed my fix regarding the encoding of some filenames: Provide both Windows and UTF-8 encoded versions of the German puttzoo
svn-id: r21388
2006-03-19 18:18:07 +00:00
Max Horn
bc5ac5eaf4 Fix encoding issue (see scummvm-devel)
svn-id: r21387
2006-03-19 17:26:11 +00:00
Max Horn
03734aa876 Moved filename substitution code from scumm.cpp to plugin.cpp
svn-id: r21386
2006-03-19 17:25:13 +00:00
Eugene Sandulenko
3521d35085 Add Russian puttrace and pajama3
svn-id: r21209
2006-03-10 19:35:35 +00:00