@@ -52,6 +52,8 @@ namespace Scumm {
5252 */
5353static const char *const directoryGlobs[] = {
5454 " rooms *" , // Mac version of indy3/loom
55+ " Contents" , // Mac Steam versions
56+ " MacOS" , // Mac Steam versions
5557 0
5658};
5759
@@ -221,6 +223,7 @@ static const GameSettings gameVariantsTable[] = {
221223 {" indy3" , " EGA" , " ega" , GID_INDY3 , 3 , 0 , MDT_PCSPK | MDT_PCJR | MDT_CMS | MDT_ADLIB , 0 , UNK , GUIO2 (GUIO_NOSPEECH , GUIO_NOMIDI )},
222224 {" indy3" , " No AdLib" , " ega" , GID_INDY3 , 3 , 0 , MDT_PCSPK | MDT_PCJR , 0 , UNK , GUIO2 (GUIO_NOSPEECH , GUIO_NOMIDI )},
223225 {" indy3" , " VGA" , " vga" , GID_INDY3 , 3 , 0 , MDT_PCSPK | MDT_PCJR | MDT_CMS | MDT_ADLIB , GF_OLD256 | GF_FEW_LOCALS , Common::kPlatformDOS , GUIO2 (GUIO_NOSPEECH , GUIO_NOMIDI )},
226+ {" indy3" , " Steam" , " steam" , GID_INDY3 , 3 , 0 , MDT_PCSPK | MDT_PCJR | MDT_CMS | MDT_ADLIB , GF_OLD256 | GF_FEW_LOCALS , UNK , GUIO2 (GUIO_NOSPEECH , GUIO_NOMIDI )},
224227 {" indy3" , " FM-TOWNS" , 0 , GID_INDY3 , 3 , 0 , MDT_TOWNS , GF_OLD256 | GF_FEW_LOCALS | GF_AUDIOTRACKS , Common::kPlatformFMTowns , GUIO4 (GUIO_NOSPEECH , GUIO_NOMIDI , GUIO_MIDITOWNS , GUIO_NOASPECT )},
225228
226229 {" loom" , " EGA" , " ega" , GID_LOOM , 3 , 0 , MDT_PCSPK | MDT_PCJR | MDT_CMS | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32 , 0 , UNK , GUIO1 (GUIO_NOSPEECH )},
@@ -230,6 +233,7 @@ static const GameSettings gameVariantsTable[] = {
230233#endif
231234 {" loom" , " FM-TOWNS" , 0 , GID_LOOM , 3 , 0 , MDT_TOWNS , GF_AUDIOTRACKS | GF_OLD256 , Common::kPlatformFMTowns , GUIO4 (GUIO_NOSPEECH , GUIO_NOMIDI , GUIO_MIDITOWNS , GUIO_NOASPECT )},
232235 {" loom" , " VGA" , " vga" , GID_LOOM , 4 , 0 , MDT_NONE , GF_AUDIOTRACKS , Common::kPlatformDOS , GUIO2 (GUIO_NOSPEECH , GUIO_NOMIDI )},
236+ {" loom" , " Steam" , " steam" , GID_LOOM , 4 , 0 , MDT_NONE , GF_AUDIOTRACKS , UNK , GUIO2 (GUIO_NOSPEECH , GUIO_NOMIDI )},
233237
234238 {" pass" , 0 , 0 , GID_PASS , 4 , 0 , MDT_PCSPK | MDT_PCJR | MDT_CMS | MDT_ADLIB , GF_16COLOR , Common::kPlatformDOS , GUIO2 (GUIO_NOSPEECH , GUIO_NOMIDI )},
235239
@@ -245,6 +249,7 @@ static const GameSettings gameVariantsTable[] = {
245249 {" monkey2" , " FM-TOWNS" , 0 , GID_MONKEY2 , 5 , 0 , MDT_PCSPK | MDT_TOWNS | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32 , 0 , Common::kPlatformFMTowns , GUIO5 (GUIO_NOSPEECH , GUIO_MIDITOWNS , GUIO_MIDIADLIB , GUIO_MIDIMT32 , GUIO_NOASPECT )},
246250
247251 {" atlantis" , " " , 0 , GID_INDY4 , 5 , 0 , MDT_PCSPK | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32 , 0 , UNK , GUIO0 ()},
252+ {" atlantis" , " Steam" , " steam" , GID_INDY4 , 5 , 0 , MDT_PCSPK | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32 , 0 , UNK , GUIO0 ()},
248253 {" atlantis" , " Floppy" , 0 , GID_INDY4 , 5 , 0 , MDT_PCSPK | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32 , 0 , UNK , GUIO1 (GUIO_NOSPEECH )},
249254 {" atlantis" , " FM-TOWNS" , 0 , GID_INDY4 , 5 , 0 , MDT_TOWNS | MDT_ADLIB | MDT_MIDI | MDT_PREFER_MT32 , 0 , Common::kPlatformFMTowns , GUIO4 (GUIO_MIDITOWNS , GUIO_MIDIADLIB , GUIO_MIDIMT32 , GUIO_NOASPECT )},
250255
@@ -257,7 +262,8 @@ static const GameSettings gameVariantsTable[] = {
257262#ifdef ENABLE_SCUMM_7_8
258263 {" ft" , 0 , 0 , GID_FT , 7 , 0 , MDT_NONE , 0 , UNK , GUIO1 (GUIO_NOMIDI )},
259264
260- {" dig" , 0 , 0 , GID_DIG , 7 , 0 , MDT_NONE , 0 , UNK , GUIO1 (GUIO_NOMIDI )},
265+ {" dig" , " " , 0 , GID_DIG , 7 , 0 , MDT_NONE , 0 , UNK , GUIO1 (GUIO_NOMIDI )},
266+ {" dig" , " Steam" , " steam" , GID_DIG , 7 , 0 , MDT_NONE , 0 , UNK , GUIO1 (GUIO_NOMIDI )},
261267
262268 {" comi" , 0 , 0 , GID_CMI , 8 , 0 , MDT_NONE , 0 , Common::kPlatformWindows , GUIO2 (GUIO_NOMIDI , GUIO_NOASPECT )},
263269#endif
@@ -422,10 +428,10 @@ static const GameSettings gameVariantsTable[] = {
422428using Common::UNK_LANG ;
423429
424430// The following describes how Fingolfin thinks this table might be used one day;
425- // this is work in progress, so read this with a salt of grain ...
431+ // this is work in progress, so read this with a grain of salt ...
426432//
427433// The following table maps gameids to possible filename variants for that game.
428- // This information is used by the detector to determin possible "detect files".
434+ // This information is used by the detector to determine possible "detect files".
429435// It is also later used by the engine creation code to verify the game to be
430436// launched is present. Finally, the correct GameFilenamePattern entry is passed on
431437// to the engine which uses it to locate the files for the game.
@@ -451,13 +457,17 @@ static const GameFilenamePattern gameFilenamesTable[] = {
451457 { " zak" , " zak1.d64" , kGenUnchanged , UNK_LANG , Common::kPlatformC64 , " V1" }, // ... and zak2.d64
452458
453459 { " indy3" , " %02d.LFL" , kGenRoomNum , UNK_LANG , UNK , 0 },
460+ { " indy3" , " %02d.LFL" , kGenRoomNumSteam , UNK_LANG , Common::kPlatformWindows , " Steam" },
461+ { " indy3" , " %02d.LFL" , kGenRoomNumSteam , UNK_LANG , Common::kPlatformMacintosh , " Steam" },
454462
455463 { " indyloom" , " %02d.LFL" , kGenRoomNum , UNK_LANG , UNK , 0 },
456464 { " indyzak" , " %02d.LFL" , kGenRoomNum , UNK_LANG , UNK , 0 },
457465 { " zakloom" , " %02d.LFL" , kGenRoomNum , UNK_LANG , UNK , 0 },
458466
459467 { " loom" , " %02d.LFL" , kGenRoomNum , UNK_LANG , UNK , 0 },
460468 { " loom" , " %03d.LFL" , kGenRoomNum , UNK_LANG , UNK , " VGA" }, // Loom CD
469+ { " loom" , " %03d.LFL" , kGenRoomNumSteam , UNK_LANG , Common::kPlatformWindows , " Steam" },
470+ { " loom" , " %03d.LFL" , kGenRoomNumSteam , UNK_LANG , Common::kPlatformMacintosh , " Steam" },
461471
462472 { " pass" , " %03d.LFL" , kGenRoomNum , UNK_LANG , UNK , 0 },
463473
@@ -471,6 +481,8 @@ static const GameFilenamePattern gameFilenamesTable[] = {
471481 { " monkey2" , " mi2demo.%03d" , kGenDiskNum , UNK_LANG , UNK , 0 },
472482
473483 { " atlantis" , " atlantis.%03d" , kGenDiskNum , UNK_LANG , UNK , 0 },
484+ { " atlantis" , " atlantis.%03d" , kGenDiskNumSteam , UNK_LANG , Common::kPlatformWindows , " Steam" },
485+ { " atlantis" , " atlantis.%03d" , kGenDiskNumSteam , UNK_LANG , Common::kPlatformMacintosh , " Steam" },
474486 { " atlantis" , " fate.%03d" , kGenDiskNum , UNK_LANG , UNK , 0 },
475487 { " atlantis" , " playfate.%03d" , kGenDiskNum , UNK_LANG , UNK , 0 },
476488 { " atlantis" , " indy4.%03d" , kGenDiskNum , Common::JA_JPN , Common::kPlatformFMTowns , " FM-TOWNS" },
@@ -494,6 +506,8 @@ static const GameFilenamePattern gameFilenamesTable[] = {
494506
495507#ifdef ENABLE_SCUMM_7_8
496508 { " dig" , " dig.la%d" , kGenDiskNum , UNK_LANG , UNK , 0 },
509+ { " dig" , " dig.la%d" , kGenDiskNumSteam , UNK_LANG , Common::kPlatformWindows , " Steam" },
510+ { " dig" , " dig.la%d" , kGenDiskNumSteam , UNK_LANG , Common::kPlatformMacintosh , " Steam" },
497511 { " dig" , " thedig.la%d" , kGenDiskNum , UNK_LANG , UNK , " Demo" }, // Used by an alternate version of the demo
498512 { " dig" , " The Dig Data" , kGenUnchanged , UNK_LANG , Common::kPlatformMacintosh , 0 },
499513 { " dig" , " The Dig Demo Data" , kGenUnchanged , UNK_LANG , Common::kPlatformMacintosh , " Demo" },
0 commit comments