Commit Graph
23 Commits
Author SHA1 Message Date
Eugene Sandulenko d3f9ddcb44 AD: Move canPlayUnknownVariants() override to a flag. 2023-01-09 18:56:50 +01:00
Thierry Crozat ad47d02f4e AGS: Fix crash in debug builds when detecting ,exe files with non-standard characters
Commit 02bd4e46a3 changed AdvancedMetaEngineDetection::composeFileHashMap
to use the punycode-encoded file names, but the AGS engine fallback
detection was still looking for entries in the map using the non-encoded
file names.

This commit both adds punycode-encoding (in case we do have AGS games with
executable that contain non-standard character) and also adds a sanity
checks to avoid crashing if we do have a filename not in the map (which
should not happen, but better safe than sorry).
2022-07-23 00:48:33 +01:00
athrxx 54af166305 COMMON: (AD) - further reduce output of mass add detection
Follow-up to the feature that allows skipping certain ADGF flags.

This here now also allows skipping of incomplete file/md5/size matches. It is basically the same behavior as the graylist. For the mass add all files are treated as if they are on the list.
2022-06-12 10:12:39 +02:00
athrxx e01416ef32 COMMON: (AD) - allow mass add to skip targets with certain ADGF flags
I added skipping for the ADGF_WARNING and ADGF_UNSUPPORTED flags.

For me, this is mostly about fixing bug no. 13282. We sometimes have bogus entries which only have the purpose of presenting the error message (reasons for being unsupported) contained in the extra field of the detection entry.
2022-06-12 10:12:39 +02:00
Thierry Crozat 72e3090a5c AGS: Update POTFILES
The code for the engine options dialog for AGS was emoved from
detection.cpp to its own file a while back but we forgot to update
the POTFILES, so that dialog was no longer translated.

Also remove an include for translation.h in detection.cpp as it is
no longer needed.
2022-02-23 09:10:54 +00:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko ccfaf478ab AD: Make sure that we initialize hashmaps. Unfortunately, this leads to less const'ness 2021-11-29 01:50:03 +01:00
Cameron Cawley 06cd9b6d16 AGS: Move the engine options into the engine plugin 2021-09-18 11:57:29 +02:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
ysj1173886760 7af3a3f84c ENGINES: introduce ADDectedGameExtraInfo to ADGameDetector, add extra info as parameter for fallback detect. 2021-06-13 14:15:45 +02:00
Le Philousophe 799bf8aafa AGS: Move debug channels to detection
This fixes build with older compiler which don't support C++11 when
building detection code.
2021-05-22 13:45:21 +02:00
Orgad Shaneh a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Thierry Crozat 6d2a62fe72 AGS: Improve detection
For unknown variants it now checks that the file is actually an
AGS game to avoid false positive due to generic names used by
some of the detection entries (such as 'game.exe'). Also unknown
variants can now be added.
2021-04-17 22:20:59 +01:00
Thierry Crozat fece6ea40f AGS: Add option to force using antialiasing for text rendering 2021-04-08 00:45:46 +01:00
Thierry Crozat 65fa2fa61b AGS: Add engine option widget to select language
AGS games can have multiple languages by providing
additional translations as .tra files. The language
selection is done by setting the config "translation"
 key to the tra file name. This means that we cannot
easily use the standard ScummVM language selection
for this purpose as the tra file name may not map
to language names easily.

The approach in this commit does something similar
to the original games by detecting at runtime the
available tra files.
2021-02-18 22:17:03 +00:00
Paul Gilbert 4e0cb6e3b5 AGS: Allow fallback detection to match on exact md5 but different filename 2021-02-11 19:29:56 -08:00
Paul Gilbert 43ca0f149b AGS: Have fallback detection as kPlatformUnknown 2021-02-09 20:18:50 -08:00
Paul Gilbert 8aa4a9cf6b AGS: Shift game scanner to be available via command line 2021-02-09 19:54:33 -08:00
Paul Gilbert 9c74ac0f97 AGS: Show md5 when AGS game found in fallbackDetect 2021-02-06 16:37:31 -08:00
Paul Gilbert 8ec4829dcb AGS: Added fallback detector 2021-02-06 16:37:31 -08:00
Paul Gilbert b2ec154bca AGS: Added detection for AGDI KQ2 2021-02-06 16:37:31 -08:00
dreammaster 8026e4bb30 AGS: Run astyle formatting 2021-02-06 16:37:31 -08:00
Paul Gilbert 0faeeb8087 AGS: Skeleton engine
Based on AGS 3.5.0.27
2021-02-06 16:37:31 -08:00