Skip to content

A brand new way to get EE statistics! Open-Source and GDPR compliant!

License

Notifications You must be signed in to change notification settings

EE-modders/Empire-Earth-Stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Visitor count Stars Forks Release License

📊 Empire Earth Stats

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

🔍 What is collected ?

💻 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.

⚖️ Your data rights

You can contact EnergyCube at any time on Discord with EnergyCube#7471 or by email with [email protected] 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!)

🔨 Build

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)

🧾 Note

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.

⚠️ Known Limitation

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?)

💡 Ideas / TODO

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.

❤️ Credit

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)

📖 License

GNU General Public License v3.0