Difference between revisions of "AGIdentify"

From AGI Wiki
Jump to navigationJump to search
Line 5: Line 5:
 
| Language = [[w:C#|C#]]
 
| Language = [[w:C#|C#]]
 
| Version = 1.0
 
| Version = 1.0
| OS = {{WinTool}}
+
| OS = {{WindowsTool}}
 
| Type = [[:Category:Misc Utilities|Misc Utilities]]
 
| Type = [[:Category:Misc Utilities|Misc Utilities]]
 
| Localization = [[w:English|English]]
 
| Localization = [[w:English|English]]

Revision as of 19:17, 9 July 2016

Template:AGI Software

AGIdentify

Author: Cold Turkey

11/23/14

 


Description

I took the ScummVM AGI games database and reformatted some of it into (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?


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.


Download

  • TXT File File:Sierragi.txt (TXT file) [4.74 KB]
    • This is the games database. This file will be updated as more games are added. If you are unable to detect a game, check for a new version of this file.


Usage

agidentify "pathToGameDirectory" *

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


Known issues


Credits


See Also