A brand new way to get EE statistics! Open-Source and GDPR compliant!
By EnergyCube for the Empire Earth Community.
π All data is transferred to the server via TLS v1.3
π‘ End of the Computer's IP is hidden
π Unique Computer ID is protected with SHA512
π» Windows Version
β° Time Played
π· Wine Detection
πΊ County and City
β Hardware Informations (CPU/GPU/RAM)
π§ Compatibility Options (DirectX/FPS)
And some other useful infos to improve the compatibility of the game and follow the evolution of the game.
You can contact EnergyCube at any time on Discord with EnergyCube#7471 or by email with dev@energycube.fr to ask to have access to all the data concerning you and/or to ask for their deletion by providing your computer identifier available in the DLL logs in the game folder in "EEStats.log".
All the communicated data are the ones you can see manipulated in the code, feel free to build the dll and use it in debug mode to see all the communicated data in clear during execution (disabled for release for obvious privacy reasons!)
Require cURL x86 ! (tested with v7.84)
In EEStats\EEStats\curl place headers and libs (Release: libcurl_a.lib and Debug: libcurl_a_debug.lib)
cURL seems to require Windows Vista or 7 SP1 (I can't test), using boost with XP feature set could be a good idea.
The Art of Conquest is not supported at all for the moment.
If the computer is in hibernate/sleep, the calculated time will include the hibernate/sleep time.
Doing a file checksum on the game binary seems to give bad result (probably because the game is executed?)
Fix Known Limitation
Detect install way (Sierra, Community Setup, GOG, etc...) and report the setup version
Create a config file to allow Computer ID to be anonymized and/or specific reports to be disabled (or disable entirely the DLL).
Maybe stop using cURL to use boost with XP feature set to make the DLL working from XP :>
Add The Art of Conquest support, or at least for session informations.
zocker_160
cURL (License: https://github.com/curl/curl/blob/master/COPYING, Website: https://curl.se/)
sha512.h (License: BSD, Author: Stefan Wilhelm), sha1.h (License: "public domain", Author: Steve Reid)