ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > Help and Support > ScummVM won't find "The Dig" Goto page 1, 2  Next
ScummVM won't find "The Dig"
  Author    Thread Reply to topic
bhe



Joined: 22 Apr 2018
Posts: 9
ScummVM won't find "The Dig" 

HI all,

I'm trying to play "The Dig", but ScummVM can't find it. At first I tried with version 1.9.0.2, then with the current 2.0.0, but no success.

The game directory contains the files listed here. I tried to check the MD5 sums using the explanation here, but couldn't get any messages. I only got some kind of result by calling ScummVM the the --debuglevel=5 command, for the shortned output see below.

I find it somewhat strange that it doesn't even check for "dig" or "scumm" or so. can anyone give me any pointers what else to check?
If needed I may attach the full logfile.

code:
Debuglevel (from command line): 5
Starting detection in dir 'C:\thedig\'
Skipping game: amazon ((null) DOS/English) (0)
Skipping game: amazon ((null) DOS/Spanish) (1)
Skipping game: amazon (Demo DOS/English) (2)
Skipping game: amazon (CD DOS/English) (3)
Skipping game: martian ((null) DOS/English) (4)
Skipping game: martian (Demo DOS/English) (5)
Starting detection in dir 'C:\thedig\'
Skipping game: hires1 ((null) Apple II/English) (0)
Skipping game: hires1 ((null) Apple II/English) (1)
Skipping game: hires2 ((null) Apple II/English) (2)
Skipping game: hires0 ((null) Apple II/English) (3)
Skipping game: hires3 ((null) Apple II/English) (4)
Skipping game: hires4 ((null) Apple II/English) (5)
Skipping game: hires4 ((null) Atari 8-bit/English) (6)
Skipping game: hires5 ((null) Apple II/English) (7)
Skipping game: hires6 ((null) Apple II/English) (8)

[......]
WARNING: ScummVM could not find any game in C:\thedig\
WARNING: Consider using --path=<path> *before* --add or --detect to specify a directory
WARNING: Consider using --recursive *before* --add or --detect to search inside subdirectories



 Reply with quote  
Post Sun Apr 22, 2018 4:43 pm 
 View user's profile Send private message
dafioram



Joined: 24 Sep 2016
Posts: 29
 

Which version of the dig are you trying to play, PC? Are you adding the game using the command line or the gui?

 Reply with quote  
Post Sun Apr 22, 2018 5:05 pm 
 View user's profile Send private message
bhe



Joined: 22 Apr 2018
Posts: 9
 

Yes, I'm using PC. I tried adding the game via command line and via GUI, both didn't work.

 Reply with quote  
Post Sun Apr 22, 2018 6:38 pm 
 View user's profile Send private message
criezy
ScummVM Developer


Joined: 23 Sep 2006
Posts: 516
Location: West Sussex, UK
 

Is this the version from Steam?
If it is you also need the executable I believe as one of the data file is embedded into it.

 Reply with quote  
Post Sun Apr 22, 2018 6:59 pm 
 View user's profile Send private message
bhe



Joined: 22 Apr 2018
Posts: 9
 

It's the old DOS version. I think it's odd that the logfile won't show anything like "Skipped game: thedig" or so, just like it doesn't even try to find it.

 Reply with quote  
Post Sun Apr 22, 2018 8:59 pm 
 View user's profile Send private message
Raziel
ScummVM Porter


Joined: 25 Oct 2005
Posts: 960
Location: A haunted Castle somewhere in the Bavarian Mountains
 

quote:
Originally posted by bhe
Yes, I'm using PC. I tried adding the game via command line and via GUI, both didn't work.

Do you get an error message of some sorts while adding the game or something along the lines of "Your game is unknown, please report the following ... "?
 Reply with quote  
Post Mon Apr 23, 2018 8:09 am 
 View user's profile Send private message Visit poster's website
criezy
ScummVM Developer


Joined: 23 Sep 2006
Posts: 516
Location: West Sussex, UK
 

Those "Skipping game" messages are from the advanced detector that many engines are using, but not the scumm one. The scumm engines is using its own custom detection code, so you won't get those debug messages for SCUMM games I believe (unless a similar message is used in the detection code for those).

As for the game not being detected, if you don't get the message about having an unknown version of the game, then it likely means you are missing some game files used by the detection code.

 Reply with quote  
Post Mon Apr 23, 2018 12:23 pm 
 View user's profile Send private message
OmerMor
Got a warning


Joined: 17 Nov 2005
Posts: 147
Location: Israel
 

I believe the detection table for The Dig can be found here:
https://github.com/scummvm/scummvm/blob/366fbf5d2a7a427735c7f3c144359da21382f119/engines/scumm/detection_tables.h#L516

code:
   { "dig", "dig.la%d", kGenDiskNum, UNK_LANG, UNK, 0 },
   { "dig", "thedig.la%d", kGenDiskNum, UNK_LANG, UNK, "Demo" }, // Used by an alternate version of the demo
   { "dig", "The Dig Data", kGenUnchanged, UNK_LANG, Common::kPlatformMacintosh, 0 },
   { "dig", "The Dig Demo Data", kGenUnchanged, UNK_LANG, Common::kPlatformMacintosh, "Demo" },
   { "dig", "dig.la%d", kGenDiskNumSteam, UNK_LANG, Common::kPlatformWindows, "Steam" },
   { "dig", "dig.la%d", kGenDiskNumSteam, UNK_LANG, Common::kPlatformMacintosh, "Steam" },




I think DIG.LA0 should trigger the detection.
 Reply with quote  
Post Mon Apr 23, 2018 4:41 pm 
 View user's profile Send private message Visit poster's website
bhe



Joined: 22 Apr 2018
Posts: 9
 

quote:
Originally posted by Raziel

Do you get an error message of some sorts while adding the game or something along the lines of "Your game is unknown, please report the following ... "?


No Sad
 Reply with quote  
Post Mon Apr 23, 2018 4:44 pm 
 View user's profile Send private message
bhe



Joined: 22 Apr 2018
Posts: 9
 

quote:
Originally posted by criezy
The scumm engines is using its own custom detection code, so you won't get those debug messages for SCUMM games I believe (unless a similar message is used in the detection code for those).

As for the game not being detected, if you don't get the message about having an unknown version of the game, then it likely means you are missing some game files used by the detection code.


Is there any way to make the scumm engine to be more verbose?
 Reply with quote  
Post Mon Apr 23, 2018 4:44 pm 
 View user's profile Send private message
bhe



Joined: 22 Apr 2018
Posts: 9
 

quote:
Originally posted by OmerMor

I think DIG.LA0 should trigger the detection.


This file is in the directory Sad
 Reply with quote  
Post Mon Apr 23, 2018 4:50 pm 
 View user's profile Send private message
criezy
ScummVM Developer


Joined: 23 Sep 2006
Posts: 516
Location: West Sussex, UK
 

I looked quickly at the code and it does indeed look like the detection for the DOS version uses the DIG.LA0 file (which I confirmed by copying that file alone from my DOS version of the game into a new directory and the game is correctly detected in that directory).

Also there is not a lot of debug messages for the SCUMM detection unfortunately. With debug level 1 you will get a message if a game is detected ("SCUMM detector found matching file 'xxx' with MD5 xxx, size xxx") but I don't think you will even get one when nothing is detected.

Your game data files are directly in the directory you select for the detection (C:\thedig\ according to one of your previous messages)? If they are in a sub-directory, this might be the issue. The detector does not look into sub-directories (although with the command line you can use '--recursive').

Another possibility would be that you have a ScummVM build that doesn't include the SCUMM engine. You can see which engines are included in the About dialog in ScummVM. The SCUMM engine should be first in the list (and then the other ones are listed alphabetically).

 Reply with quote  
Post Mon Apr 23, 2018 8:25 pm 
 View user's profile Send private message
bhe



Joined: 22 Apr 2018
Posts: 9
 

quote:
Originally posted by criezy
I looked quickly at the code and it does indeed look like the detection for the DOS version uses the DIG.LA0 file (which I confirmed by copying that file alone from my DOS version of the game into a new directory and the game is correctly detected in that directory).


Do I understand correctly, the directory only contained DIG.LA0 and ScummVM detected the game successfully?


quote:
Originally posted by criezy

Also there is not a lot of debug messages for the SCUMM detection unfortunately. With debug level 1 you will get a message if a game is detected ("SCUMM detector found matching file 'xxx' with MD5 xxx, size xxx") but I don't think you will even get one when nothing is detected.


On github I found the file https://github.com/scummvm/scummvm/blob/366fbf5d2a7a427735c7f3c144359da21382f119/engines/scumm/scumm-md5.h#L613 and my DIG.LA0 file has exactly this md5! Why the f*** isn't the game detected? Evil or Very Mad
Does it make any difference if the game is in German? On the other hand: md5 still is the same.


quote:
Originally posted by criezy

Your game data files are directly in the directory you select for the detection (C:\thedig\ according to one of your previous messages)? If they are in a sub-directory, this might be the issue. The detector does not look into sub-directories (although with the command line you can use '--recursive').


Tried this as well, but made no difference.

quote:
Originally posted by criezy

Another possibility would be that you have a ScummVM build that doesn't include the SCUMM engine. You can see which engines are included in the About dialog in ScummVM. The SCUMM engine should be first in the list (and then the other ones are listed alphabetically).

No, scumm is included. Sad
 Reply with quote  
Post Tue Apr 24, 2018 7:03 pm 
 View user's profile Send private message
bhe



Joined: 22 Apr 2018
Posts: 9
 

Found the reason: For whatever reason DIG.LA0 was set hidden. Removed the attribute and it's found. Rolling Eyes

 Reply with quote  
Post Tue Apr 24, 2018 7:27 pm 
 View user's profile Send private message
criezy
ScummVM Developer


Joined: 23 Sep 2006
Posts: 516
Location: West Sussex, UK
 

That's an interesting one. I didn't know the detection code skipped hidden files. Although it does make sense I guess.

 Reply with quote  
Post Tue Apr 24, 2018 7:43 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 
Goto page 1, 2  Next


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge