On Thu, Mar 21, 2002 at 08:57:04PM +0100, Christoph Reichenbach wrote:
> OK, this ought to help quite a bit with the current situation. However,
> the Amiga/MacOS etc. versions probably have their interpreter named
> differently, so we can't use this for identification there.

Of course.  Still, it's a start.
 
> Whatever we do, it might be a good idea to print out whatever we use for
> identifying the interpreter version later on, so that people will have an
> easy time extending the table or reporting the changes.

It's documented in the games.h file, and it prints out 
"Detected interpreter version 0.000.685 (ARTHUR)" or something similar
on startup.
 
> IIRC, resource.001 is present in all games, except perhaps for (potential)
> fan-made ones. Running a CRC on it would have the advantage of not
> requiring people to keep their old binaries around.

At least for SCI0/01 games.   Later on they tended to get a little less
consistent with their naming conventions.  But that's a moot point for
now.  :)

> I still think checking for [01]\.00[01]\.[0-9]{3} in the interpreter
> binary would be preferrable as a first pass when trying to auto-detect, at
> least for SCI0- particularly because it'd relieve us of the need to keep a
> mapping table...

ARTHUR (and potentially others) shipped using pklite'd .exe files, so
the version isn't in plaintext.  and extracting pklite files in *nix
isn't quite so trivial..

Another problem with the resource.00? route is that the same game may
have been packaged in many formats, like 360k floppies vs 720k floppies
so the filesizes will be different. That's quite a lot of CRCs.. :)

Or, we can use script.000 instead, which still may not be unique across
games with multiple versions..

 - Pizza
-- 
Solomon Peachy                                    pizzaATfucktheusers.org
I ain't broke, but I'm badly bent.                           ICQ# 1318344
Patience comes to those who wait.
    ...It's not "Beanbag Love", it's a "Transanimate Relationship"...

-- Attached file included as plaintext by Listar --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8mkEgysXuytMhc5ERAgCNAJ9AmNIlrmfqIB3uAP87K42b6TISmgCfT6sc
nvJMh8ea3kCfSoCaeZex2bE=
=MBG0
-----END PGP SIGNATURE-----



Reply via email to