Commit graph

88 commits

Author SHA1 Message Date
Eugene Sandulenko
c1c9e06573
DIRECTOR: Enable running unknown variants.
Since our fallback detection is pretty advanced, we may run games
not added to the detection tables.
2021-08-21 13:39:55 +02:00
Eugene Sandulenko
b53c87bf67
DIRECTOR: Re-add 32bpp debug flag 2021-07-16 22:03:13 +02:00
Cameron Cawley
be5452fccc DIRECTOR: Use the executable version info for fallback detection 2021-07-15 13:55:33 +02:00
Cameron Cawley
54b8ee6d41 DIRECTOR: Recognise files with "PJ01" version tags 2021-07-15 13:55:33 +02:00
Eugene Sandulenko
5ee3a2f51b
DIRECTOR: Extract platform/version from the falbback detection fienames 2021-06-21 12:11:40 +02:00
Cameron Cawley
5e304c9274 DIRECTOR: Fix compilation on platforms with dynamic detection 2021-06-13 14:17:06 +02:00
ysj1173886760
37a181f3db DIRECTOR: fix indent problem, and for custom target file name, we won't save it since we didn't use it. 2021-06-13 14:15:45 +02:00
ysj1173886760
073db5b715 DIRECTOR: resolve conflicts and remove warnings 2021-06-13 14:15:45 +02:00
ysj1173886760
6e3551049c DIRECTOR: pass extra info in fallback detection 2021-06-13 14:15:45 +02:00
ysj1173886760
7af3a3f84c ENGINES: introduce ADDectedGameExtraInfo to ADGameDetector, add extra info as parameter for fallback detect. 2021-06-13 14:15:45 +02:00
ysj1173886760
5ff5787cbf DIRECTOR: fix incorrect code of detection in director 2021-06-13 14:15:45 +02:00
ysj1173886760
ada288626d DIRECTOR: change customTargetList to hashmap 2021-06-13 14:15:45 +02:00
ysj1173886760
e1d047ca88 DIRECTOR: add comments for detect custom targets in director 2021-06-13 14:15:45 +02:00
ysj1173886760
55d1fd2042 DIRECTOR: add custom targets detect to director 2021-06-13 14:15:45 +02:00
Eugene Sandulenko
17b125b479
JANITORIAL: Fix indentation 2021-06-09 21:51:08 +02:00
trembyle
5094f0734d DIRECTOR: Fix directory globs
Correct the list to match their actual depth in directory structure
2021-06-09 21:49:28 +02:00
trembyle
bb84be66c9 DIRECTOR: Expose subdirectory list from detection
Clean up `director.cpp` by iterating over an exposed subdirectory
list from `detection.cpp`, rather than maintain similar data in two
places.
2021-06-09 21:49:28 +02:00
trembyle
9f3e3bc734 DIRECTOR: Add subdirectory matching
Add subdirectories to match in both detection and runtime
2021-06-09 21:49:28 +02:00
trembyle
7ba650d5bd DIRECTOR: Move game descriptions to detection_tables.h
The list will soon be getting very long and would require much
scrolling to view code in detection.cpp if not moved.
2021-06-09 21:49:28 +02:00
ysj1173886760
d7dfc15229 DIRECTOR: fix code style problem 2021-05-22 01:34:57 +02:00
ysj1173886760
d0ea1c5953 DIRECTOR: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Scott Percival
73d9aa2a83 DIRECTOR: Add P.A.W.S. to detection tables 2021-04-25 23:22:51 +08:00
Lenny
53fb65932c DIRECTOR: add The Simpsons Cartoon Studio WIN to detection 2021-02-04 01:56:53 +01:00
trembyle
22ea6375ed DIRECTOR: Add detection for Byron Preiss Multimedia products 2020-12-01 21:02:34 +01:00
Eugene Sandulenko
7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
Eugene Sandulenko
7ea6781043 PLUGINS: PLUGIN_TYPE_METAENGINE -> PLUGIN_TYPE_ENGINE_DETECTION 2020-10-11 23:12:32 +02:00
aryanrawlani28
d26bbe521c ENGINES: ALL: Finish renaming ME & AME classes
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28
a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
2020-10-03 14:56:36 +02:00
aryanrawlani28
29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28
8189a05316 ENGINES: ALL: Adapt to changes for new plugins by defining a new detection module
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28
7944a7b039 DIRECTOR: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Bastien Bouclet
0f2c6cd9ea ENGINES: Change mac resource fork file detection to use the file cache
Common::MacResMan is now able to open files from a specified
Common::Archive. This is a bit hacky as dynamic_cast is used to break
the Archive encapsulation to retreive the underlying FSNode. It should
however be more correct than the previous code that assumed files were
at the root of the currently running game's path.

AdvancedDetector constructs a Common::Archive from its FileMap based
filesystem cache and uses it to detect the mac resource fork files.

This cuts the time it takes to run the detection code with all the
engines enabled as dynamic plugins on the 3DS to 30 s from 280 s.
2020-09-20 16:33:45 +02:00
Cameron Cawley
51789f8fea DIRECTOR: Show the unknown game dialog for fallback detection entries 2020-09-19 23:21:44 +02:00
trembyle
6b15081607 DIRECTOR: Add detection for more games
Fix minor version numbers for new entries. Existing entries will need
to be revised to include minor version numbers.
2020-08-20 23:53:13 +02:00
Eugene Sandulenko
237a3674a0 DIRECTOR: Fix fallback detection for triple-digit version numbers 2020-08-18 01:34:44 +02:00
Nathanael Gentry
87a59c6064 DIRECTOR: Add detection for Mercer Mayer storybook 2020-08-04 18:33:09 -04:00
Roland van Laar
644704a5ba DIRECTOR: Allow Director Version change during runtime
There are subtle versions between director versions.
Changing the version during runtime allows for testing these
changes from the lingo tests.

Includes a new kThe keyword: kTheScummvmVersion.
The Director Version can be set and queried with it.
2020-08-03 12:01:15 +02:00
Eugene Sandulenko
ebbd65e13b DIRECTOR: Added 'extra' field to the patcher
Some games have more than one version. In order to have possibility
to specify what is it, we now match desc.extra too
2020-08-03 10:22:01 +02:00
Roland van Laar
df4cbe8ab0 DIRECTOR: rename variable to split char
The ':' was replaced in favor of '@' in a later iteration.
This commit reflects that by updating the variables names.
2020-07-24 22:45:41 +02:00
Roland van Laar
14c92e6179 DIRECTOR: Extend --start-movie to start at frame
A frame number can be given to --start-movie and it will start
at that frame.
Examples:
    --start-movie=movie.dir@45  # start movie.dir at frame 45
    --start-movie=@23           # start the default movie frame 23
    --start-movie=movie.dir     # start movie.dir as usual
2020-07-24 20:57:52 +02:00
Eugene Sandulenko
78df0dea5b DIRECTOR: Fix detection and startup for Win L-ZONE 2020-07-14 00:23:17 +02:00
trembyle
cef7a85cb1 DIRECTOR: Fix detection version for warlock-win
Also add a few more D4 targets
2020-06-18 01:55:57 +02:00
trembyle
601ea58054 DIRECTOR: Add detection for more v4 targets 2020-06-14 01:08:31 +02:00
trembyle
7997c93057 DIRECTOR: Add detection for Journeyman 2 and Daedalus
Later editions of Journeyman 2 included an interactive Making Of video.
This is now in detection, along with other Journeyman demos. Also added
various Windows demos from Activision.
2020-06-09 22:57:07 +02:00
trembyle
fb3eccda61 DIRECTOR: Organize detection entries
We sort by Director version, then alphabetically, with sections for
version clearly labeled. To clean up non-English versions, use new
macros to pass language.
2020-06-09 22:57:07 +02:00
trembyle
14d1d1d064 DIRECTOR: Add detection for many Director games 2020-06-09 22:57:07 +02:00
Eugene Sandulenko
ec85ef99c7 DIRECTOR: Distinguish between GIDs and gameIds 2020-05-22 15:38:49 +02:00
Eugene Sandulenko
42a03ccc19 DIRECTOR: Added detection for "Iron Helix" 2020-05-18 23:56:58 +02:00
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00