No project description provided
Project description
RLSDK Python
This is reverse engineered python SDK package aiming to read data from RocketLeague.exe.
How does it works
This SDK uses PyMem to read game memory and frida to hook game functions.
Installation
pip install rlsdk_python
Or
poetry add rlsdk_python
Usage
from rlsdk_python import RLSDK, EventTypes
import sys
rlsdk = RLSDK(hook_player_tick=True)
def on_tick(event):
game_event = rlsdk.get_game_event()
if game_event:
cars = game_event.get_cars()
for car in cars:
pri = car.get_pri()
player_name = pri.get_player_name()
# Display car position
x,y,z = car.get_location().get_xyz()
print(f"{player_name} is at {x},{y},{z}")
rlsdk.event.subscribe(EventTypes.ON_PLAYER_TICK, on_tick)
sys.stdin.read()
Events
You can attach a callback function to an event like this:
from rlsdk_python import RLSDK, EventTypes
sdk = RLSDK()
sdk.event.subscribe(EventTypes.ON_KEY_PRESSED, on_key_pressed)
def on_key_pressed(event):
print("Key pressed:", event.key)
More examples and documentation will be added if users ask for it.
Project using RLSDK Python
- RLMarlbot - Nexto bot based on my python SDK
Help needed
I need a way to find GObjects and GNames base offsets, because this offsets changes frequently (on each uptates) and are differents for Epic and Steam
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rlsdk_python-0.5.0.tar.gz
(17.1 kB
view hashes)
Built Distribution
Close
Hashes for rlsdk_python-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ea4fc4d538d0b79855685a1ff2bc811052bd48e9bbe21b3bed4fde91ce4f1a2 |
|
MD5 | 7662345f1eda97b1961c15ef2afa8a5b |
|
BLAKE2b-256 | 2405b5f8b14d6eba0398ae4226137da44a130abe2d1aefef290d21db709aaef2 |