How jussihi/pubg-map-hack works
Kernel Driver
• Located under “kernel driver” and built with Visual Studio 2015 (using WDK/KMDF).
• Its purpose is to interface at a low level with the game (reading memory, intercepting data) to extract necessary information.
• It serves as the trusted system component for retrieving in-game data.
Usermode App
• Found under “usermode app” and built with Visual Studio 2017.
• It bridges communication between the kernel driver and the external web interface by accessing the kernel driver’s data.
• It also uses libcurl (and JSON parsing) to update an external Firebase database.
• This component orchestrates the flow of data both from the low-level kernel process and towards the web map.
Online Map
• Under “online map,” this folder contains an HTML-based web interface.
• The online map retrieves data from a Firebase database (which the usermode app continuously updates) to display player positions on an interactive map.
• The README notes that the map works with Firebase and may require API key updates.
A. Identify Main Components:
• Usermode Application: Include distinctions such as “Usermode App (C++, Visual Studio 2017, libcurl integration, JSON parsing).”
• External Service – Firebase Database: Represent it as an external cloud service.
B. Determine Relationships and Data Flow:
• Optionally, you could highlight the external network boundary for the Online Map if it is hosted on a separate web server.
C. Highlight Architectural Patterns and Technologies:
• Separation of concerns: low-level memory access via the kernel driver, business logic data handling via the usermode app, and presentation via the online map.
• Mention that the Usermode App uses HTTP requests via the CURL library to communicate with Firebase.
• Clearly separate each “layer”:
• The kernel/driver layer (operating at OS level),
• The user-mode application layer (application logic and data processing),
• The web/cloud layer (Firebase as a data store and the online map interface).
• From the Kernel Driver to the Usermode App;
• From the Usermode App to the Firebase Database;
• From the Firebase Database to the Online Map.
E. Additional Tips for the Principal Software Engineer:
• Be as detailed as possible when mapping out interactions – include every component seen in the file tree (even auxiliary libraries like the CURL include and library folders, if they affect integration).
• If applicable, show how configuration (Firebase API keys, for instance) flows through the system (perhaps a note near the online map and CURLWrapper.hpp).