Difference between revisions of "AGIdentify"

From AGI Wiki
Jump to navigationJump to search
Line 13: Line 13:
 
<div align="center"><span style="font-size: 22pt">AGIdentify</span><br />
 
<div align="center"><span style="font-size: 22pt">AGIdentify</span><br />
 
''Author: [[User:Coldturkey|Cold Turkey]]''<br />
 
''Author: [[User:Coldturkey|Cold Turkey]]''<br />
03/23/14</div>
+
11/23/14</div>
  
 
&nbsp;
 
&nbsp;
Line 19: Line 19:
 
== <br />Description ==
 
== <br />Description ==
  
I took the ScummVM (sierragi.txt). People can add new games to the file without changing the programs code!
+
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.
 
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.
Line 27: Line 27:
 
=== <br />Why? ===
 
=== <br />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.
+
[[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.
 
</blockquote>
 
</blockquote>
  

Revision as of 11:17, 29 November 2014

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



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