Metadata-Version: 2.4
Name: ExternalAPI
Version: 0.1.0
Summary: ExternalAPI
Author: Eclipse
License: Copyright (c) 2026 Eclipse Hack
        
        Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file



---

# ExternalAPI Eclipse 🌑

**CS2 Eclipse** is a high-performance External Memory Interface (EMI) designed for Counter-Strike 2. This framework provides a clean abstraction layer over Source 2 engine offsets, enabling seamless interaction with game memory for research and development purposes.

---

## 🌑 Installation & Dependencies

The project relies on low-level libraries to handle process memory and Windows API calls. To set up your environment, ensure you have Python installed and run the following command:

```bash
python -m pip install -r requirements.txt

```

> **Core Dependencies:** `Pymem`, `pywin32`.

---

## 🌑 Technical Specifications (Core Offsets)

The API is architected to support all critical memory addresses, categorized by their function within the game engine:

### 1. Global & Engine Access

Primary entry points within `client.dll`:

* **`dwEntitySystem` / `dwEntityList**` — Global entity registry management.
* **`dwLocalPlayerController`** — Local player metadata and network state.
* **`dwViewMatrix`** — $4 \times 4$ transformation matrix for World-to-Screen calculations.
* **`dwGameRules`** — Internal match state and round parameters.

### 2. Player Pawn & Data Members

Specific offsets for real-time entity state monitoring:

* **Combat:** `m_iHealth`, `m_ArmorValue`, `m_iShotsFired`, `m_aimPunchAngle`.
* **Movement:** `m_vecVelocity`, `m_fFlags`, `m_vOldOrigin`.
* **Status:** `m_bIsScoped`, `m_bIsDefusing`, `m_flFlashDuration`, `m_lifeState`.

### 3. World & Objects

Environment-specific offsets:

* **C4 Dynamics:** `dwPlantedC4`, `m_flC4Blow`, `m_bBombPlanted`.
* **Equipment:** `m_pClippingWeapon`, `m_iItemDefinitionIndex`, `m_iClip1`.

---

## ⚠️ Disclaimer

**Educational Purpose Only.** This framework is intended for reverse engineering and software architecture research.

* The developer is not responsible for any account restrictions or bans.
* Usage on VAC-secured (Valve Anti-Cheat) servers is strictly discouraged.

---
