Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i get fullClientGameVersion? #17

Open
0n1dev opened this issue Aug 20, 2018 · 3 comments
Open

How can i get fullClientGameVersion? #17

0n1dev opened this issue Aug 20, 2018 · 3 comments

Comments

@0n1dev
Copy link

0n1dev commented Aug 20, 2018

How can i get fullClientGameVersion?

i need fullClientGameVersion

@zyi1992
Copy link

zyi1992 commented Sep 11, 2018

check the pubg pc client version

@lemeshovich
Copy link

how could we do that? i found only 'clientGameVersion' on PC client

@zyi1992
Copy link

zyi1992 commented Dec 13, 2018

import os
import win32api

def getFileVersion(file_name):
    info = win32api.GetFileVersionInfo(file_name, os.sep)
    ms = info['FileVersionMS']
    ls = info['FileVersionLS']
    version = '%d.%d.%d.%04d' % (win32api.HIWORD(ms), win32api.LOWORD(ms), win32api.HIWORD(ls), win32api.LOWORD(ls))
    return version

This was the python function to get the fullClientGameVersion.
@lemeshovich

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants