AGIdentify

From AGI Wiki
Revision as of 15:19, 28 November 2014 by Andrew Branscom (talk | contribs) (Created page with "AGI Game Identifier Version 1 By Cold Turkey - Nov 23 2014 ---------------------------------------------------------- I took the ScummVM (sierragi.txt). People can add new gam...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

AGI Game Identifier Version 1 By Cold Turkey - Nov 23 2014


I took the ScummVM (sierragi.txt). People can add new games to the file without changing the programs code!

The source code is in C# .NET 2.0 for compatibility. The class for detection can be used by any other code you have, and can return a struct instead of just printing to the console. This should be useful to those wanting to do detection from their programs.

I really don't know anything about .NET dependencies, so if this doesn't run on your Windows, maybe you need to install a .NET runtime?


Usage

agidentify "pathToGameDirectory"

  • Remember to put quotes surrounding the path if it has spaces. If you don't, this program will fail!!


Why?

AGInfo is old, and there didn't seem to be anything else. I also wrote getVerA2 which decodes strings in AGI games looking for the version number (AGI 2 only at this time). The idea was "pure" in the sense that it doesn't require external data. What was unfortunate is that sierra didn't use a standard for encoding version strings in their games, so the tool could miss something. It also couldn't find the date, since this was arbitrarily encoded into the game data, if it even existed at all.