Detect game version, pid.ini?

03/07/2012 14:11 DitDat#1
How can I tell if a client is pwi or pw-my etc

I found a file:- patcher/server/pid.ini

Can i use the number in this file to tell what version the game is?

131 = Int
71 = MY

Im hoping these numbers dont change during patch, anyone else tested this or know another way to determine game version
03/07/2012 14:31 Interest07#2
I'd suggest checking element\userdata\server\serverlist.txt
03/07/2012 14:53 DitDat#3
yeah thats my backup plan

i was just hoping pid.ini would never change so i dont have update anything

serverlist should only change with new servers or merges which is still less that offset changes i suppose, and if i come up with clever search i might not have update at all.
03/07/2012 18:11 Sᴡoosh#4
PWI one is signed by Perfect World Entertainment, Inc. , wheras MY one is signed by Beijing Perfect World Network Technology Co.,Ltd.. Maybe this could also be used - it's a DER Encoded ASN.1 structure in the exe somewhere, can't remember where. Just search for these strings :)
03/11/2012 11:35 DitDat#5
cool, ill try that too, thx