#14569 closed defect (invalid)

incorrect version of the "access.dat" engine data file found. Expected 2.0 but got 1.0

Reported by: DeadVoivod Owned by: sev-
Priority: normal Component: Engine: Access
Version: Keywords: "access.dat" engine data file found
Cc: Game: Amazon: Guardians of Eden

Description

Hi, I have following problem with Amazon: Guardians of Eden

  • ScummVM 2.7.1 and 2.7.0
  • Game is DOS and English

The game works fine on my desktop PC, Win 11 Home 22H2 OS build 22621.1992

But on my ROG Ally, Win 11 Home 22H2 OS build 22621.2070 the exact same game gets this error straight away when launching the game.

incorrect version of the "access.dat" engine data file found. Expected 2.0 but got 1.0

What could be the issue?

Thanks

Change History (7)

comment:1 by AndywinXp, 16 months ago

Component: Engine: SCUMMEngine: Access

comment:2 by antoniou79, 16 months ago

This is indeed odd. ScummVM executable for Windows should include the "access.dat" engine data file within itself, and thus it shouldn't complain about a wrong version.

Could you check if you have a rogue "access.dat" file either within the folder where your game installed or the path where you run scummvm from? Maybe such file is taking precedence over the one that should be loaded and causing a conflict.

comment:3 by DeadVoivod, 16 months ago

Hi, unfortunately I cannot locate such file in either of the 2 installations.

comment:4 by antoniou79, 16 months ago

Could you please check again with a tool like WizFile (https://antibody-software.com/wizfile/) just to make 100% sure there's no rogue access.dat file on your system where the error occurs.

The code checking for this error for the engine is quite simple (https://github.com/scummvm/scummvm/blob/9c38762278fb4a330e92990c13a4a6ffa8d0e418/engines/access/resources.cpp#L55) and only reaches that point if a "access.dat" file is successfully opened up for reading.

It should open the "access.dat" that's included in the scummvm executable (in Windows), but that one has the valid version of the file. However, if another access.dat was found in one of the paths that ScummVM is likely to search (typically those are the scummvm.exe's folder or the game data folder/subfolders), then it's going to try to use that one (and will not fall back to its own).

comment:5 by sev-, 16 months ago

access.dat file was bumped to 2.0 in August 2021, long before we branched 2.7.0, thus, it cannot be that you have an old access.dat bundled with the executable, there is just no source for that in our code tree.

That means, that you have access.dat file in one of your ScummVM-accessible paths. Like extrapath or the game path, e.g. you could copy it earlier to the game directory.

I rechecked our code and it cannot be an endianness issue either, e.g. if, say your second machine runs on old ARM.

comment:6 by DeadVoivod, 16 months ago

Ok, found the culprit. For information, I'm using RetroBat on my ROG Ally.

I used the program Everything to find files, and one access.dat entry was found under retrobat\bios\scummvm\extra. I deleted it and now everything works fine.

Many thanks for your help.

comment:7 by dreammaster, 16 months ago

Owner: set to sev-
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.