665c08716fd71

665c0871706ff
1 Guest is here.
 

Topic: Reliable way to determine SS2 version? Read 1826 times  

665c087170a4cCamo Yoshi

665c087170ab9
I'm thinking of making a program that will check (based on MD5 checksums) what version of SS2 the user has; so my question is what is a reliable file to run a checksum on in order to determine what version of the program the user has installed?

Thanks. :)

665c087170c20ZylonBane

665c087170c6e
Ummm... why don't you just query shock2.exe's metadata for the version?

665c087170d4cbluemess

665c087170da2
There is official patch 2.3, NewDark 2.4 and 2.41 and that's about it. Checking exe file will determine which is it. Older versions AFAIK would not even run on modern OS. I don't think that information what user has installed could be presented as one number because there are additional dll files that could be in different versions, game might be mod ready or not mod ready and so on. Exe file version number doesn't say too much.

665c087170e67Camo Yoshi

665c087170eba
Alrighty, sounds like this is out of my realm of programming (or lack thereof) ability; thanks for the info. :)
1 Guest is here.
The man who can smile when things go wrong has thought of someone he can blame it on.
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
665c087171ac7